@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Nunito:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --bg-lighter: #21262d;
    --accent-teal: #00d9ff;
    --accent-cyan: #58a6ff;
    --accent-gradient: linear-gradient(135deg, #00d9ff, #58a6ff);
    --text-white: #f0f6fc;
    --text-gray: #8b949e;
    --border-subtle: #30363d;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--accent-cyan);
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 900;
    padding: 0.75rem 1.5rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.current {
    color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.current::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 901;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 17, 23, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 899;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Main */
.page-main {
    padding-top: 70px;
}

/* Landing Hero */
.landing-hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(88, 166, 255, 0.08) 0%, transparent 50%),
        var(--bg-dark);
}

.hero-text {
    max-width: 850px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text h1 .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--bg-dark);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.4);
    color: var(--bg-dark);
}

/* Feature Boxes */
.features-area {
    padding: 5rem 2rem;
    background: var(--bg-card);
}

.features-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-box {
    background: var(--bg-lighter);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--accent-teal);
    transform: translateY(-4px);
}

.feature-box .icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Game Area */
.game-area {
    padding: 5rem 2rem;
}

.game-area-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.game-area h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.game-area .subtitle {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.game-frame {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 5/4;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Text Content */
.text-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.text-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--accent-teal);
}

.text-content p {
    color: var(--text-gray);
    margin-bottom: 1.25rem;
}

.text-content ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 0;
}

.text-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.text-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

/* Footer */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.gambling-help h5 {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gambling-help a {
    margin: 0 1rem;
    font-size: 0.85rem;
}

.footer-nav {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.copyright-text {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate.dismissed {
    display: none;
}

.age-gate-box {
    background: var(--bg-card);
    border: 1px solid var(--accent-teal);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    margin: 1rem;
    text-align: center;
}

.age-gate-box h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.age-gate-box p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-confirm {
    background: var(--accent-gradient);
    color: var(--bg-dark);
}

.btn-deny {
    background: transparent;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-gray);
}

.btn-confirm:hover {
    transform: scale(1.05);
}

.btn-deny:hover {
    border-color: #f85149 !important;
    color: #f85149;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        aspect-ratio: 4/3;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .gambling-help a {
        display: block;
        margin: 0.5rem 0;
    }
}
