:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-subtle: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-card: #cbd5e1;
  --accent-titanium: #334155;
  --accent-silver: #94a3b8;
  --accent-gold: #b45309;
  --accent-amber: #d97706;
  --accent-emerald: #059669;
  --accent-teal: #0d9488;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
}

.container-custom {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.steelballclub-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  transition: all var(--transition-smooth);
}

.steelballclub-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.steelballclub-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steelballclub-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.steelballclub-nav a:hover,
.steelballclub-nav a.active {
  color: var(--text-primary);
}

.steelballclub-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: width var(--transition-fast);
}

.steelballclub-nav a:hover::after {
  width: 100%;
}

.steelballclub-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

#steelballclub-phone,
#steelballclub-mail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
}

.steelballclub-burger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.steelballclub-mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-xl);
  z-index: 999;
}

.steelballclub-mobile-menu.active {
  display: block;
}

.steelballclub-mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steelballclub-mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.steelballclub-mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.steelball-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem 0;
  color: var(--text-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 1.25rem 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-contacts-list a {
  color: var(--text-secondary);
}

.footer-contacts-list a:hover {
  color: var(--text-primary);
}

.footer-registration-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-registration-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.section-padding {
  padding: 6rem 0;
  position: relative;
}

.section-padding-lg {
  padding: 8rem 0;
  position: relative;
}

.section-bg-white {
  background-color: #ffffff;
}

.section-bg-subtle {
  background-color: #f8fafc;
}

.section-bg-elevated {
  background-color: #f1f5f9;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-titanium);
  margin-bottom: 1.25rem;
}

.badge-tag-amber {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.badge-tag-emerald {
  background: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}

.badge-tag-dark {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: var(--text-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #1e293b;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: #059669;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #059669;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-emerald:hover {
  background: #047857;
  transform: translateY(-1px);
}

.card-light {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.card-light:hover {
  border-color: var(--border-card);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-elevated {
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.ticker-wrap {
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  display: flex;
}

.ticker-move {
  display: flex;
  white-space: nowrap;
  animation: tickerSlide 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 3rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ticker-item i {
  color: var(--accent-amber);
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.audio-tab-btn {
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--border-light);
  background: #ffffff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.audio-tab-btn.active,
.audio-tab-btn:hover {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-card);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.75rem;
}

.faq-item.active .faq-body {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem 1.75rem;
}

.faq-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.timeline-step {
  display: flex;
  gap: 1.75rem;
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  z-index: 1;
}

.filter-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.table-light-custom {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.table-light-custom th {
  background: var(--bg-elevated);
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-card);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.table-light-custom td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.table-light-custom tr:hover td {
  background: var(--bg-elevated);
}

.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text-primary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 99999;
  transform: translateY(150%);
  transition: transform var(--transition-smooth);
}

.toast-notification.show {
  transform: translateY(0);
}

.machine-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.machine-card.is-hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .steelballclub-nav,
  .steelballclub-contacts {
    display: none;
  }
  .steelballclub-burger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section-padding {
    padding: 4rem 0;
  }
  .section-padding-lg {
    padding: 5rem 0;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}
