@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0a0e27;
    color: #e0e0e0;
    overflow-x: hidden;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00BCD4;
    z-index: 1000;
    padding: 0 30px;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.site-logo {
    font-size: 28px;
    font-weight: 700;
    color: #00BCD4;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #00BCD4;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-nav a:hover::before,
.main-nav a.active::before {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: #00BCD4;
}

/* Hamburger for mobile */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-hamburger span {
    width: 28px;
    height: 3px;
    background: #00BCD4;
    transition: 0.3s;
    border-radius: 3px;
}

/* Split Screen Layout */
.split-container {
    display: flex;
    min-height: 100vh;
    margin-top: 70px;
}

.split-left,
.split-right {
    flex: 1;
    padding: 60px 50px;
}

.split-left {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    border-right: 2px solid #00BCD4;
}

.split-right {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

/* Content Styling */
.page-title {
    font-size: 52px;
    font-weight: 700;
    color: #00BCD4;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(0, 188, 212, 0.6);
}

.page-subtitle {
    font-size: 20px;
    color: #b0bec5;
    margin-bottom: 40px;
    line-height: 1.6;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 32px;
    color: #00BCD4;
    margin-bottom: 20px;
    font-weight: 600;
}

.content-block h3 {
    font-size: 24px;
    color: #4DD0E1;
    margin: 25px 0 15px;
    font-weight: 600;
}

.content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #b0bec5;
    margin-bottom: 20px;
}

/* Warning Banner */
.warning-banner {
    background: linear-gradient(135deg, #FF5722, #E64A19);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 5px solid #BF360C;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.warning-banner h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 12px;
}

.warning-banner p {
    color: white;
    margin: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    background: rgba(0, 188, 212, 0.1);
    border: 2px solid #00BCD4;
    border-radius: 15px;
    padding: 30px 25px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 188, 212, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #00BCD4;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #90a4ae;
    font-size: 15px;
    line-height: 1.6;
}

/* Game Container */
.game-display {
    background: rgba(0, 188, 212, 0.05);
    border: 2px solid #00BCD4;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.game-display h2 {
    margin-bottom: 30px;
}

.game-embed {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0, 188, 212, 0.3);
    margin: 0 auto;
    display: block;
}

/* Full Width Layout (for pages without split) */
.full-width-layout {
    max-width: 1400px;
    margin: 90px auto 0;
    padding: 60px 50px;
}

/* Footer */
.site-footer {
    background: #0a0e27;
    border-top: 2px solid #00BCD4;
    padding: 50px 30px;
    text-align: center;
}

.footer-links-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-links-list a {
    color: #00BCD4;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links-list a:hover {
    color: #4DD0E1;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.footer-text {
    color: #607d8b;
    font-size: 14px;
}

/* Age Verification Overlay */
.age-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 39, 0.98);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-overlay.show {
    display: flex;
}

.age-box {
    background: linear-gradient(135deg, #1a1f3a, #0a0e27);
    border: 3px solid #00BCD4;
    border-radius: 20px;
    padding: 60px 50px;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 188, 212, 0.5);
}

.age-box h2 {
    font-size: 36px;
    color: #00BCD4;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.age-box p {
    font-size: 18px;
    color: #b0bec5;
    margin-bottom: 35px;
    line-height: 1.6;
}

.age-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-button {
    padding: 15px 45px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.age-confirm {
    background: #00BCD4;
    border-color: #00BCD4;
    color: #0a0e27;
}

.age-confirm:hover {
    background: #4DD0E1;
    border-color: #4DD0E1;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
}

.age-decline {
    background: transparent;
    border-color: #FF5722;
    color: #FF5722;
}

.age-decline:hover {
    background: #FF5722;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .split-container {
        flex-direction: column;
    }

    .split-left {
        border-right: none;
        border-bottom: 2px solid #00BCD4;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 2px solid #00BCD4;
        transform: translateY(-200%);
        transition: transform 0.3s ease;
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .nav-hamburger {
        display: flex;
    }

    .site-logo {
        font-size: 22px;
    }

    .split-left,
    .split-right,
    .full-width-layout {
        padding: 40px 25px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 17px;
    }

    .game-embed {
        height: 400px;
    }

    .footer-links-list {
        flex-direction: column;
        gap: 20px;
    }

    .age-box {
        margin: 20px;
        padding: 40px 30px;
    }

    .age-box h2 {
        font-size: 28px;
    }

    .age-actions {
        flex-direction: column;
    }
}
