/* Dark Theme Variables */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #3498db;
    --accent-light: #5dade2;
    --success: #2ecc71;
    --warning: #f1c40f;
    --danger: #e74c3c;
    --info: #3498db;
    --border: #333;
    --twitter: #1DA1F2;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hero-section { order: 1; }
.newsletter-cta { order: 2; }
.games-section { order: 3; }
.features-section { order: 4; }

main {
    flex: 1;
}

h1, h2, h3, h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

h1 {
    text-align: center;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}


h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

/* Header Styles */
header {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-nav a.active {
    color: var(--accent);
    background-color: rgba(52, 152, 219, 0.1);
}

/* Modern glassmorphism button style - referral link */
.main-nav .referral-link {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    letter-spacing: 0.5px;
}

.main-nav .referral-link {
    padding: 8px 16px;
    font-size: 0.95rem;
}

.main-nav .referral-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.main-nav .referral-link:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.main-nav .social-link {
    padding: 8px 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twitter-icon {
    color: var(--twitter);
    transition: transform 0.3s ease;
    display: block;
}

.social-link:hover .twitter-icon {
    transform: scale(1.1);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Add hamburger menu active styles */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section – Desktop: static directional fade toward headline */
.hero-section {
    position: relative;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    background:
        radial-gradient(circle at 70% 40%, rgba(230, 201, 122, 0.18), transparent 55%),
        linear-gradient(90deg, #0F1623 0%, #101826 40%, #141414 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
}

.hero-headline {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #F3D07A;
    text-shadow: 0 0 18px rgba(230, 201, 122, 0.25);
    line-height: 1.15;
    margin-bottom: 10px;
    text-align: left;
}

.hero-subline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 10px;
    margin-bottom: 18px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 24px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.25s ease;
    cursor: pointer;
}

.hero-btn.primary {
    background: linear-gradient(180deg, #E6C97A 0%, #D5B464 100%);
    color: #0B0F16;
    box-shadow:
        0 22px 50px rgba(230, 201, 122, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.hero-divider {
    display: none;
}

.hero-visual {
    position: relative;
    min-height: 280px;
}

/* Desktop hero: stronger fade on ultrawide */
@media (min-width: 1400px) {
    .hero-section {
        background:
            radial-gradient(circle at 72% 42%, rgba(230, 201, 122, 0.2), transparent 60%),
            linear-gradient(90deg, #0F1623 0%, #101826 40%, #141414 100%);
    }
}

/* Newsletter CTA Section */
.newsletter-cta {
    margin-bottom: 2.5rem;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, rgba(10, 25, 22, 1), rgba(10, 35, 30, 1));
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 10px;
}

.newsletter-text .newsletter-headline {
    font-size: 1.15rem;
    font-weight: 600;
    color: #00FFD0;
    margin: 0 0 0.25rem 0;
}

.newsletter-icon-mobile {
    display: none;
}

.newsletter-text .newsletter-subline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.newsletter-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    background: rgba(0, 255, 200, 0.15);
    border: 1px solid rgba(0, 255, 200, 0.35);
    border-radius: 10px;
    color: #00FFD0;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: rgba(0, 255, 200, 0.25);
    border-color: rgba(0, 255, 200, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.2);
}

/* Leaderboard Callout Strip */
.leaderboard-strip {
    margin: 1rem 0 1.5rem 0;
}

.leaderboard-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 1rem;
    background: rgba(15, 22, 35, 0.6);
    border: 1px solid rgba(230, 201, 122, 0.2);
    border-radius: 8px;
}

.leaderboard-strip-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(230, 201, 122, 0.4));
}

.leaderboard-strip-text {
    flex: 1;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.leaderboard-strip-btn {
    flex-shrink: 0;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #E6C97A;
    background: rgba(230, 201, 122, 0.1);
    border: 1px solid rgba(230, 201, 122, 0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.leaderboard-strip-btn:hover {
    background: rgba(230, 201, 122, 0.2);
    border-color: rgba(230, 201, 122, 0.5);
    color: #E6C97A;
}

/* Games Section */
.games-section {
    margin-bottom: 3rem;
    padding-top: 20px;
    scroll-margin-top: 80px;
}

.section-title {
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin: 10px auto 0;
    background: #E6C97A;
}

.game-banners {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
    border-color: rgba(230, 201, 122, 0.25);
}

.game-banner a {
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
    height: 100%;
}

/* New Banner Styles */
.banner-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2rem;
    min-height: 200px;
}

.banner-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 2.5rem;
}

.game-svg-icon {
    width: 80px;
    height: 80px;
    stroke: white;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.game-banner:hover .game-svg-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

.lottery-banner .game-svg-icon {
    stroke: #f1c40f;
    fill: rgba(241, 196, 15, 0.1);
}

.race-banner .game-svg-icon {
    stroke: #f15a24;
    fill: rgba(241, 90, 36, 0.1);
}

.slots-banner .game-svg-icon {
    stroke: #39b54a;
    fill: rgba(57, 181, 74, 0.1);
}

.dice-banner .game-svg-icon {
    stroke: #7953f5;
    fill: rgba(121, 83, 245, 0.1);
}

.plinko-banner .game-svg-icon {
    stroke: #74b9ff;
    fill: rgba(116, 185, 255, 0.1);
}

.flip-banner .game-svg-icon {
    stroke: #1a8fe3;
    fill: rgba(26, 143, 227, 0.1);
}

.scratch-banner .game-svg-icon {
    stroke: #5bc6be;
    fill: rgba(91, 198, 190, 0.1);
}

.banner-text {
    flex: 1;
}

.banner-text h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.play-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.lottery-banner .play-button {
    border-color: rgba(241, 196, 15, 0.3);
    color: #f1c40f;
}

.race-banner .play-button {
    border-color: rgba(241, 90, 36, 0.3);
    color: #f15a24;
}

.slots-banner .play-button {
    border-color: rgba(57, 181, 74, 0.3);
    color: #39b54a;
}

.dice-banner .play-button {
    border-color: rgba(121, 83, 245, 0.3);
    color: #7953f5;
}

.plinko-banner .play-button {
    border-color: rgba(116, 185, 255, 0.35);
    color: #74b9ff;
}

.flip-banner .play-button {
    border-color: rgba(26, 143, 227, 0.3);
    color: #1a8fe3;
}

.scratch-banner .play-button {
    border-color: rgba(91, 198, 190, 0.3);
    color: #5bc6be;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Banner Colors */
.lottery-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-left: 4px solid #f1c40f;
}

.race-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-left: 4px solid #f15a24;
}

.slots-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-left: 4px solid #39b54a;
}

.dice-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-left: 4px solid #7953f5;
}

.plinko-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-left: 4px solid #74b9ff;
}

.flip-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-left: 4px solid #1a8fe3;
}

.scratch-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-left: 4px solid #5bc6be;
}

.lottery-banner:hover {
    border-left-color: #f8d84a;
}

.race-banner:hover {
    border-left-color: #f47c51;
}

.slots-banner:hover {
    border-left-color: #5ad36a;
}

.dice-banner:hover {
    border-left-color: #9a7df8;
}

.plinko-banner:hover {
    border-left-color: #a4d0ff;
}

.flip-banner:hover {
    border-left-color: #4aa3e8;
}

.scratch-banner:hover {
    border-left-color: #7dd3ce;
}

/* Features Section */
.features-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-links .social-link {
    color: var(--text-secondary);
    padding: 5px;
    display: flex;
    align-items: center;
}

.footer-links .social-link:hover {
    color: var(--twitter);
}

.footer-links .telegram-icon {
    margin-left: -10px;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.95);
    z-index: 1000;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    background-color: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-content h3 {
    margin: 0;
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 600;
}

.toggle-details {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.toggle-details .arrow {
    transition: transform 0.3s ease;
}

.toggle-details:hover {
    color: var(--text-primary);
}

.cookie-content > p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cookie-details {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
}

.cookie-details.collapsed {
    display: none;
}

.cookie-type {
    margin-bottom: 15px;
}

.cookie-type h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 500;
}

.cookie-type p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.cookie-type ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.cookie-type li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cookie-type li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--accent);
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-btn {
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--accent);
    color: white;
}

.cookie-btn.accept:hover {
    background-color: var(--accent-light);
}

.cookie-btn.reject {
    background-color: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
}

.cookie-btn.reject:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    display: none;
}

.modal-content {
    max-width: 450px;
    width: 90%;
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-content h4 {
    color: var(--danger);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-btn {
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-btn.confirm {
    background-color: var(--danger);
    color: white;
}

.modal-btn.confirm:hover {
    background-color: #c0392b;
}

.modal-btn.cancel {
    background-color: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
}

.modal-btn.cancel:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 350px;
    background-color: var(--accent);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    opacity: 0;
}

.notification.active {
    transform: translateX(0);
    opacity: 1;
}

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

.notification-message {
    flex: 1;
    font-size: 0.95rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: none;
    }

    .hero-headline,
    .hero-subline {
        text-align: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        min-height: 150px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-content {
        padding: 1.5rem;
    }
    
    .banner-icon {
        margin-right: 2rem;
    }
    
    .game-svg-icon {
        width: 70px;
        height: 70px;
    }
    
    .banner-text h3 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
    }

    .games-section {
        padding-top: 30px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        max-width: none;
    }

    .hero-headline {
        font-size: 30px;
        line-height: 1.2;
        font-weight: 700;
        text-align: center;
    }

    .hero-subline {
        text-align: center;
        color: rgba(255, 255, 255, 0.65);
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn.primary {
        width: 100%;
        height: 46px;
    }

    .hero-visual {
        min-height: 120px;
    }

    .hero-glow {
        width: 120px;
        height: 120px;
    }

    .newsletter-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 70px;
        padding: 0 18px;
        background: rgba(10, 25, 22, 0.85);
        border: 1px solid rgba(0, 255, 200, 0.18);
        border-radius: 10px;
    }

    .newsletter-text {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .newsletter-icon-mobile {
        display: inline;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .newsletter-text .newsletter-headline {
        font-size: 0.95rem;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .newsletter-text .newsletter-subline {
        display: none;
    }

    .newsletter-btn {
        width: auto;
        flex-shrink: 0;
        height: 38px;
        padding: 0 20px;
        font-size: 0.9rem;
        border-radius: 999px;
        background: rgba(0, 255, 200, 0.12);
        border: 1px solid rgba(0, 255, 200, 0.35);
    }

    .leaderboard-strip-inner {
        padding: 0.5rem 0.875rem;
        gap: 0.75rem;
    }

    .leaderboard-strip-text {
        font-size: 0.8rem;
    }

    .leaderboard-strip-btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 10px;
    }
    
    .hamburger-menu {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 102;
    }
    
    .main-nav {
        width: 100%;
    }
    
    .nav-menu {
        display: none !important;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 101;
    }
    
    .nav-menu.active {
        display: grid !important;
        grid-template-columns: auto auto;
        justify-content: center;
        column-gap: 1rem;
        background-color: var(--bg-dark);
        border-radius: 4px;
        margin-top: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding-bottom: 1rem;
    }
    
    .nav-menu.active li {
        grid-column: 1 / -1;
    }
    
    .nav-menu.active li:has(.social-link) {
        grid-column: auto;
        margin-top: 0.5rem;
        width: auto;
    }
    
    .nav-menu.active li:has(.referral-link) {
        display: flex;
        justify-content: center;
        padding: 0 1rem;
    }
    
    .nav-menu.active li:has(.referral-link) a {
        width: auto;
        display: inline-flex;
    }
    
    .main-nav a {
        display: flex;
        justify-content: center;
        padding: 1rem;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .banner-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .game-svg-icon {
        width: 100px;
        height: 100px;
    }
    
    .banner-text h3 {
        font-size: 1.8rem;
    }
    
    .banner-text p {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .play-button {
        display: none;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
        text-align: center;
    }
}

/* Mobile hero: tighter, banner-like, spotlight behind headline (768px = when layout goes mobile) */
@media (max-width: 768px) {
    .hero-section {
        min-height: 240px;
        padding: 18px;
        margin-bottom: 1.5rem;
        background:
            linear-gradient(180deg, rgba(11, 15, 22, 0.35) 0%, rgba(11, 15, 22, 0.75) 70%, rgba(11, 15, 22, 0.9) 100%),
            radial-gradient(circle at 50% 35%, rgba(230, 201, 122, 0.16), transparent 55%),
            linear-gradient(180deg, #141E2B 0%, #0F1623 100%);
    }

    .hero-section::before {
        display: none;
    }

    .hero-inner {
        gap: 0;
        min-height: 0;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        margin-top: 6px;
        max-width: none;
    }

    .hero-headline {
        font-size: 22px;
        line-height: 1.2;
        text-align: center;
        margin-bottom: 8px;
    }

    .hero-subline {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.7);
        text-align: center;
        margin-top: 0;
        margin-bottom: 16px;
    }

    .hero-ctas {
        margin-bottom: 0;
    }

    .hero-btn.primary {
        height: 46px;
        border-radius: 14px;
        box-shadow:
            0 18px 40px rgba(230, 201, 122, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .hero-visual {
        display: none;
    }
}

/* Mobile refinements: compact entry card, top-anchored, premium feel */
@media (max-width: 640px) {

    .hero-section {
        min-height: 180px;
        padding: 18px 16px;
        margin-bottom: 24px;
        background:
            radial-gradient(circle at 50% 18%, rgba(230, 201, 122, 0.14), transparent 52%),
            linear-gradient(180deg, #141E2B 0%, #0F1623 100%);
    }

    .hero-inner {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        margin-top: 0;
        padding-top: 6px;
    }

    .hero-headline {
        margin-bottom: 6px;
    }

    .hero-subline {
        margin-bottom: 0;
    }

    .hero-divider {
        display: block;
        height: 1px;
        width: 100%;
        background: rgba(255, 255, 255, 0.06);
        margin: 6px 0 4px;
    }

    .hero-ctas {
        margin-bottom: 0;
    }

    .hero-btn.primary {
        width: 94%;
        margin: 0 auto;
        height: 46px;
        border-radius: 14px;
        box-shadow:
            0 14px 30px rgba(230, 201, 122, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .newsletter-cta {
        margin-bottom: 1.5rem;
    }

    .newsletter-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 70px;
        padding: 0 18px;
        background: rgba(10, 25, 22, 0.85);
        border: 1px solid rgba(0, 255, 200, 0.18);
        border-radius: 10px;
    }

    .newsletter-text {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .newsletter-icon-mobile {
        display: inline;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .newsletter-text .newsletter-headline {
        font-size: 0.95rem;
        font-weight: 600;
        color: #00FFD0;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .newsletter-text .newsletter-subline {
        display: none;
    }

    .newsletter-btn {
        flex-shrink: 0;
        height: 38px;
        padding: 0 20px;
        font-size: 0.9rem;
        border-radius: 999px;
        background: rgba(0, 255, 200, 0.12);
        border: 1px solid rgba(0, 255, 200, 0.35);
    }

    .leaderboard-strip {
        margin: 0.75rem 0 1.25rem 0;
    }

    .leaderboard-strip-inner {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .leaderboard-strip-text {
        font-size: 0.78rem;
    }

    .leaderboard-strip-btn {
        padding: 0.3rem 0.65rem;
        font-size: 0.72rem;
    }

    .games-section {
        margin-top: 32px;
        padding-top: 32px;
    }

    .section-title::after {
        width: 48px;
        height: 3px;
    }
}

@media (max-width: 576px) {
    .newsletter-inner {
        padding: 1rem;
    }

    .newsletter-text .newsletter-headline {
        font-size: 1rem;
    }

    .newsletter-text .newsletter-subline {
        font-size: 0.85rem;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .game-svg-icon {
        width: 80px;
        height: 80px;
    }
    
    .banner-text h3 {
        font-size: 1.5rem;
    }
    
    .banner-text p {
        font-size: 0.95rem;
    }
    
    .cookie-content {
        padding: 10px;
    }
    
    .notification {
        max-width: calc(100% - 40px);
        top: 10px;
        right: 10px;
        left: 10px;
    }
} 