@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=Lora:wght@400;500;600&display=swap');

:root {
    --royal-blue: #1E3A8A;
    --bright-blue: #3B82F6;
    --gold: #F59E0B;
    --light-gold: #FCD34D;
    --off-white: #F9FAFB;
    --rich-black: #111827;
    --slate: #475569;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Archivo', sans-serif;
    background: var(--off-white);
    color: var(--rich-black);
    line-height: 1.75;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
}

.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--off-white);
    box-shadow: 0 2px 15px rgba(30, 58, 138, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-emblem {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--royal-blue), var(--bright-blue));
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
}

.logo-text {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-blue);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--slate);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--bright-blue);
}

.mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-btn span {
    width: 28px;
    height: 3px;
    background: var(--royal-blue);
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-btn.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-btn.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-panel {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--royal-blue);
    padding: 6rem 2rem;
    z-index: 999;
    transition: right 0.4s;
}

.mobile-panel.open {
    right: 0;
}

.mobile-panel a {
    display: block;
    color: white;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.champion-hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--bright-blue) 100%);
    display: flex;
    align-items: center;
}

.hero-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hero-message {
    color: white;
}

.hero-message h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-message h1 span {
    color: var(--light-gold);
}

.hero-message > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 480px;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-gold {
    background: var(--gold);
    color: var(--rich-black);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
    background: var(--light-gold);
    transform: translateY(-3px);
}

.btn-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-white:hover {
    background: white;
    color: var(--royal-blue);
}

.trust-marks {
    display: flex;
    gap: 2rem;
}

.mark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.mark-icon {
    font-size: 1.2rem;
}

.game-showcase {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.game-showcase iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
}

.content-block {
    padding: 5rem 2rem;
}

.content-block.blue-bg {
    background: var(--royal-blue);
    color: white;
}

.block-container {
    max-width: 1200px;
    margin: 0 auto;
}

.block-header {
    text-align: center;
    margin-bottom: 3rem;
}

.block-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.content-block.blue-bg .block-header h2 {
    color: var(--light-gold);
}

.block-header p {
    color: var(--slate);
    max-width: 500px;
    margin: 0 auto;
}

.content-block.blue-bg .block-header p {
    color: rgba(255,255,255,0.8);
}

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

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.08);
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
}

.feat-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.15rem;
    color: var(--royal-blue);
    margin-bottom: 0.5rem;
}

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

.notice-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.notice-block {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--light-gold);
}

.notice-block h3 {
    font-size: 1.2rem;
    color: var(--light-gold);
    margin-bottom: 0.75rem;
}

.notice-block p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.site-footer {
    background: var(--rich-black);
    color: white;
    padding: 3rem 2rem;
}

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

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--gold);
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.help-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
}

.help-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Age Popup */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.98);
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.age-popup.hidden {
    display: none;
}

.popup-box {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
}

.popup-box h2 {
    font-size: 1.8rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
}

.popup-box p {
    color: var(--slate);
    margin-bottom: 2rem;
}

.popup-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.popup-yes {
    background: linear-gradient(135deg, var(--royal-blue), var(--bright-blue));
    color: white;
}

.popup-no {
    background: var(--off-white);
    color: var(--rich-black);
    border: 1px solid #E5E7EB;
}

.popup-btn:hover {
    transform: scale(1.05);
}

.denied-msg {
    display: none;
    color: #DC2626;
}

/* Inner Pages */
.page-hero {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, var(--royal-blue), var(--bright-blue));
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

.page-hero p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 2rem;
}

.text-content {
    max-width: 850px;
    margin: 0 auto;
}

.text-content h2 {
    font-size: 1.6rem;
    color: var(--royal-blue);
    margin: 2rem 0 1rem;
}

.text-content h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
}

.text-content p {
    color: var(--slate);
    margin-bottom: 1rem;
}

.text-content ul {
    color: var(--slate);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

.game-area {
    max-width: 1000px;
    margin: 0 auto;
}

.game-box {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.15);
}

.game-box iframe {
    width: 100%;
    height: 580px;
    border: none;
    display: block;
}

.game-note {
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, var(--royal-blue), var(--bright-blue));
    color: white;
}

.game-note h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.game-note p {
    font-size: 0.95rem;
    opacity: 0.95;
}

@media (max-width: 1100px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-message > p {
        margin: 0 auto 2rem;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .trust-marks {
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-btn {
        display: flex;
    }
    
    .mobile-panel {
        display: block;
    }
    
    .hero-message h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-blocks {
        grid-template-columns: 1fr;
    }
    
    .game-showcase iframe {
        height: 380px;
    }
    
    .trust-marks {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .game-box iframe {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .champion-hero {
        padding: 7rem 1rem 3rem;
    }
    
    .content-block {
        padding: 3rem 1rem;
    }
    
    .popup-box {
        padding: 2rem 1.5rem;
    }
    
    .popup-btns {
        flex-direction: column;
    }
}
