/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #ff4757;
    --primary-dark: #e03e4a;
    --secondary: #3742fa;
    --dark: #0c0c0c;
    --dark-light: #1a1a1a;
    --text: #ffffff;
    --text-muted: #b3b3b3;
    --border: #333333;
    --gradient: linear-gradient(135deg, #ff4757 0%, #3742fa 100%);
    --gradient-hover: linear-gradient(135deg, #e03e4a 0%, #2d35d1 100%);
    
    /* Spacing */
    --container-padding: 20px;
    --section-padding: 80px 0;
    
    /* Typography */
    --font-primary: 'Inter', Arial, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 48px;
    --font-size-5xl: 64px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.35);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure text is visible while webfont loads */
body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Make sure images don't create inline unexpected space */
img { display: block; max-width:100%; height:auto; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: var(--text);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
    height: 64px; /* fixed height reserved in inline critical CSS */
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
h3 {
    margin-bottom: 20px; /* увеличь число по вкусу */
}

ul, ol {
    margin-top: 20px;     /* отступ сверху */
    margin-bottom: 20px;  /* отступ снизу */
}

.hero {
    position: relative;
    min-height: calc(100vh - 64px); /* reserve space to avoid layout shift */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #0c0c0c; /* reserve background color */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(12, 12, 12, 0.8) 0%,
        rgba(255, 71, 87, 0.2) 50%,
        rgba(55, 66, 250, 0.2) 100%
    );
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-xl);
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--section-padding);
    background: var(--dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
}

.feature-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-description {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.feature-link:hover {
    gap: 12px;
}

/* ===== LIVE STREAM SECTION ===== */
.live-stream {
    padding: var(--section-padding);
    background: var(--dark);
}

.stream-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 24px;
}

.live-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.stream-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 16px;
}

.stream-description {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.stream-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.stream-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.stream-stat i {
    color: var(--primary);
}

.stream-preview {
    aspect-ratio: 16/9;
    background: var(--dark-light);
    border: 2px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.stream-preview:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.stream-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.stream-placeholder i {
    font-size: var(--font-size-5xl);
    margin-bottom: 16px;
    display: block;
}

/* ===== GAMES SECTION ===== */
.games {
    padding: var(--section-padding);
    background: var(--dark-light);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.game-card {
    background: var(--dark);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.game-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #111; /* reserve background while image loads */
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: 24px;
}

.game-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 8px;
}

.game-description {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.games-actions {
    text-align: center;
}

/* ===== BONUSES SECTION ===== */
.bonuses {
    padding: var(--section-padding);
    background: var(--dark);
}

.bonuses-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.bonus-card {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.bonus-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1) 0%, rgba(55, 66, 250, 0.1) 100%);
}

.bonus-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--gradient);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.bonus-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 16px;
}

.bonus-amount {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.bonus-description {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.bonus-features {
    list-style: none;
    margin-bottom: 24px;
}

.bonus-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: var(--font-size-sm);
}

.bonus-features i {
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-light);
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 32px;
    width: 32px;
    border-radius: 6px;
}

.footer-logo span {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.contact-item i {
    color: var(--primary);
    width: 16px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transform: translateX(-100%);
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 48px;
        --font-size-4xl: 36px;
        --section-padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stream-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 36px;
        --font-size-4xl: 28px;
        --font-size-3xl: 24px;
        --section-padding: 40px 0;
        --container-padding: 16px;
    }
    
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

  /* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: var(--dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}
.table-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  border-collapse: collapse;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
  overflow: hidden;
  border-radius: 12px;
}

.styled-table thead tr {
  background: linear-gradient(135deg, #292929, #3a3a3a);
}

.styled-table th {
  color: #fff;
  font-weight: 600;
  padding: 14px 18px;
  font-size: 16px;
  border-bottom: 2px solid #444;
}

.styled-table td {
  background: #1b1b1b;
  color: #ddd;
  padding: 14px 18px;
  vertical-align: middle;
}

.styled-table tr + tr td {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Убираем линии между ячейками по горизонтали */
.styled-table td + td {
  border-left: none;
}

/* Hover эффект */
.styled-table tr:hover td {
  background: #222;
  transition: background 0.2s ease-in-out;
}
/* ===== STYLED BLOCKQUOTE ===== */
.about-content blockquote {
    position: relative;
    padding: 24px 32px;
    margin: 24px 0;
    background: var(--dark-light);
    border-left: 6px solid var(--primary);
    border-radius: 12px;
    font-style: italic;
    color: var(--text);
    font-size: var(--font-size-lg);
    line-height: 1.8;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-content blockquote:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-content blockquote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 48px;
    color: var(--primary);
    font-weight: bold;
}

.about-content blockquote::after {
    content: "”";
    position: absolute;
    bottom: -10px;
    right: 16px;
    font-size: 48px;
    color: var(--primary);
    font-weight: bold;
}

/* Автор цитаты */
.about-content blockquote footer {
    display: block;
    margin-top: 12px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: right;
}

@media (max-width: 480px) {
    :root {
        --font-size-5xl: 28px;
        --font-size-4xl: 24px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: var(--font-size-base);
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .feature-card,
    .bonus-card {
        padding: 24px;
    }

  .styled-table th, .styled-table td {
    font-size: 14px;
    padding: 10px 12px;
  }
}
