* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #ff6b9d;
    --cyan: #00d9ff;
    --yellow: #ffd93d;
    --bg-dark: #1a1a2e;
    --bg-mid: #232342;
    --bg-card: #2d2d4a;
    --text-light: #f8f8ff;
    --text-muted: #a0a0c0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Popup */
.popup-layer {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.popup-layer.gone {
    display: none;
}

.popup-box {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-mid));
    border: 2px solid var(--pink);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 0 60px rgba(255, 107, 157, 0.2);
}

.popup-emoji {
    font-size: 60px;
    margin-bottom: 20px;
}

.popup-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-box p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.popup-ask {
    color: var(--text-light) !important;
    font-weight: 600;
    margin-top: 25px !important;
}

.popup-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.popup-btns button {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-btns button:first-child {
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    color: white;
}

.popup-btns button:first-child:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4);
}

.popup-btns button:last-child {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.popup-btns button:last-child:hover {
    border-color: #ff4757;
    color: #ff4757;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 157, 0.2);
}

.header-row {
    max-width: 1500px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
}

.brand-dots {
    background: linear-gradient(90deg, var(--pink), var(--cyan), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    border-radius: 3px;
    transition: 0.3s;
}

.header-nav {
    display: flex;
    gap: 35px;
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--pink);
}

/* Welcome */
.welcome-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 40px 80px;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 157, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 217, 255, 0.1) 0%, transparent 40%),
        var(--bg-dark);
    text-align: center;
}

.welcome-content {
    max-width: 800px;
}

.welcome-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.welcome-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 25px;
}

.welcome-content > p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.welcome-btn {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 10px 35px rgba(255, 107, 157, 0.3);
}

.welcome-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(255, 107, 157, 0.4);
}

/* Notices */
.notice-section {
    padding: 80px 40px;
    background: var(--bg-mid);
}

.notice-row {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.notice-box {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border-top: 4px solid var(--pink);
}

.notice-icon {
    font-size: 46px;
    display: block;
    margin-bottom: 18px;
}

.notice-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.notice-box p {
    color: var(--text-muted);
}

/* Game Section */
.game-section {
    padding: 100px 40px;
    background: var(--bg-dark);
}

.game-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.game-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.game-tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--bg-dark);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.game-title h2 {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.game-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.game-window {
    background: var(--bg-mid);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.game-window iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.game-hint {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
}

/* About */
.about-section {
    padding: 100px 40px;
    background: var(--bg-mid);
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.85;
}

.about-stats {
    display: grid;
    gap: 20px;
}

.stat-box {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border-left: 5px solid var(--pink);
}

.stat-val {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    margin-top: 5px;
}

/* Perks */
.perks-section {
    padding: 100px 40px;
    background: var(--bg-dark);
}

.perks-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 55px;
}

.perks-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.perk {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.3s;
}

.perk:hover {
    transform: translateY(-8px);
}

.perk-icon {
    font-size: 44px;
    margin-bottom: 18px;
    display: block;
}

.perk h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.perk p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background: var(--bg-mid);
    border-top: 1px solid rgba(255, 107, 157, 0.15);
    padding: 55px 40px 25px;
}

.footer-row {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 55px;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h4,
.footer-help h4 {
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer-links a,
.footer-help a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-help a:hover {
    color: var(--pink);
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 107, 157, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .notice-row {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .header-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header-row {
        padding: 14px 20px;
    }
    
    .welcome-section {
        padding: 100px 25px 60px;
    }
    
    .notice-section,
    .game-section,
    .about-section,
    .perks-section {
        padding: 60px 25px;
    }
    
    .perks-grid {
        grid-template-columns: 1fr;
    }
    
    .game-window iframe {
        height: 420px;
    }
    
    .popup-box {
        padding: 40px 25px;
    }
}
