@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Poppins:wght@400;500;600;700&display=swap');

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

:root {
    --cherry-red: #dc3545;
    --cherry-dark: #a71d2a;
    --cream: #fff8e7;
    --cream-dark: #f5e6c8;
    --wood-brown: #5d4037;
    --wood-light: #8d6e63;
    --text-dark: #2c2016;
    --gold-trim: #daa520;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.75;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(180deg, var(--cherry-red) 0%, var(--cherry-dark) 100%);
    padding: 16px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(167, 29, 42, 0.4);
}

.top-strip {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-emblem {
    width: 50px;
    height: 50px;
    margin-right: 14px;
}

.brand-label {
    font-family: 'Abril Fatface', cursive;
    font-size: 32px;
    color: var(--cream);
    letter-spacing: 2px;
}

.nav-bar ul {
    display: flex;
    list-style: none;
    gap: 38px;
}

.nav-bar ul li a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.nav-bar ul li a:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.mobile-nav span {
    width: 30px;
    height: 3px;
    background: var(--cream);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
}

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

.mobile-nav.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* Main */
main {
    margin-top: 86px;
}

/* Welcome */
.welcome-section {
    background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
    padding: 90px 30px;
    text-align: center;
    border-bottom: 4px solid var(--cherry-red);
}

.welcome-section h1 {
    font-family: 'Abril Fatface', cursive;
    font-size: 60px;
    color: var(--cherry-red);
    margin-bottom: 25px;
    text-shadow: 2px 2px 0 rgba(220, 53, 69, 0.2);
}

.welcome-section .intro {
    font-size: 20px;
    color: var(--wood-brown);
    max-width: 750px;
    margin: 0 auto;
}

/* Notice Frames */
.notice-frames {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.notice-frame {
    background: var(--cream);
    border: 3px solid var(--wood-brown);
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.15);
    position: relative;
}

.notice-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 20%;
    right: 20%;
    height: 6px;
    background: var(--cherry-red);
    border-radius: 0 0 5px 5px;
}

.frame-icon {
    font-size: 48px;
    margin-bottom: 18px;
    display: block;
}

.notice-frame h3 {
    font-family: 'Abril Fatface', cursive;
    color: var(--cherry-dark);
    font-size: 22px;
    margin-bottom: 12px;
}

.notice-frame p {
    color: var(--wood-brown);
    font-size: 15px;
}

/* Game Display */
.game-display {
    background: var(--wood-brown);
    padding: 70px 30px;
}

.game-display h2 {
    font-family: 'Abril Fatface', cursive;
    text-align: center;
    font-size: 44px;
    color: var(--cream);
    margin-bottom: 40px;
}

.display-frame {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid var(--gold-trim);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.display-frame iframe {
    width: 100%;
    height: 660px;
    border: none;
    display: block;
}

/* Perks */
.perks-section {
    padding: 80px 30px;
    background: var(--cream);
}

.perks-section h2 {
    font-family: 'Abril Fatface', cursive;
    text-align: center;
    font-size: 40px;
    color: var(--cherry-red);
    margin-bottom: 50px;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.perk-card {
    background: var(--cream-dark);
    border-radius: 15px;
    padding: 35px 28px;
    text-align: center;
    border: 2px solid var(--wood-light);
    transition: all 0.3s ease;
}

.perk-card:hover {
    border-color: var(--cherry-red);
    transform: translateY(-5px);
}

.perk-icon {
    font-size: 46px;
    margin-bottom: 18px;
    display: block;
}

.perk-card h4 {
    font-family: 'Abril Fatface', cursive;
    font-size: 20px;
    color: var(--wood-brown);
    margin-bottom: 12px;
}

.perk-card p {
    color: var(--text-dark);
    font-size: 15px;
}

/* Article */
.article-section {
    padding: 70px 30px;
    max-width: 950px;
    margin: 0 auto;
}

.article-section h1 {
    font-family: 'Abril Fatface', cursive;
    font-size: 52px;
    color: var(--cherry-red);
    margin-bottom: 35px;
    text-align: center;
}

.article-section h2 {
    font-family: 'Abril Fatface', cursive;
    font-size: 28px;
    color: var(--wood-brown);
    margin: 40px 0 18px;
}

.article-section p {
    margin-bottom: 18px;
    color: var(--text-dark);
    font-size: 16px;
}

.article-section ul {
    margin-left: 28px;
    margin-bottom: 22px;
}

.article-section ul li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--cherry-dark) 0%, var(--cherry-red) 100%);
    padding: 55px 30px 35px;
}

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

.footer-inner h4 {
    font-family: 'Abril Fatface', cursive;
    color: var(--cream);
    font-size: 22px;
    margin-bottom: 25px;
}

.help-row {
    display: flex;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.help-row a {
    color: var(--cream);
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.help-row a:hover {
    opacity: 1;
}

.footer-legal {
    color: var(--cream);
    font-size: 14px;
    padding-top: 25px;
    border-top: 2px solid rgba(255, 248, 231, 0.2);
    opacity: 0.8;
}

/* Age Wall */
.age-wall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 32, 22, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-wall-box {
    background: var(--cream);
    padding: 50px 45px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 92%;
    border: 4px solid var(--cherry-red);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.age-wall-box h2 {
    font-family: 'Abril Fatface', cursive;
    color: var(--cherry-red);
    font-size: 36px;
    margin-bottom: 20px;
}

.age-wall-box p {
    color: var(--text-dark);
    font-size: 17px;
    margin-bottom: 35px;
}

.wall-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.wall-btn {
    padding: 16px 42px;
    font-family: 'Abril Fatface', cursive;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wall-btn.yes {
    background: var(--cherry-red);
    color: var(--cream);
}

.wall-btn.yes:hover {
    background: var(--cherry-dark);
}

.wall-btn.no {
    background: transparent;
    color: var(--wood-brown);
    border: 2px solid var(--wood-brown);
}

.wall-btn.no:hover {
    background: var(--wood-brown);
    color: var(--cream);
}

.blocked-screen {
    text-align: center;
    padding: 100px 30px;
}

.blocked-screen h1 {
    font-family: 'Abril Fatface', cursive;
    color: var(--cherry-dark);
    font-size: 40px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .notice-frames {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }
    
    .nav-bar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--cherry-dark);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }
    
    .nav-bar.active {
        right: 0;
    }
    
    .nav-bar ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .nav-bar ul li a {
        font-size: 20px;
    }
    
    .welcome-section h1 {
        font-size: 38px;
    }
    
    .welcome-section .intro {
        font-size: 17px;
    }
    
    .notice-frames {
        grid-template-columns: 1fr;
    }
    
    .display-frame iframe {
        height: 440px;
    }
    
    .brand-label {
        font-size: 22px;
    }
    
    .brand-emblem {
        width: 40px;
        height: 40px;
    }
    
    .age-wall-box {
        padding: 35px 25px;
    }
    
    .wall-btns {
        flex-direction: column;
    }
    
    .help-row {
        flex-direction: column;
        gap: 15px;
    }
}
