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

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

body {
    font-family: 'Poppins', sans-serif;
    background: #1c1c1e;
    color: #f0ebe5;
    line-height: 1.75;
    overflow-x: hidden;
}

a {
    color: #ff7854;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #ffa07a;
}

.header {
    background: linear-gradient(135deg, #252527 0%, #1c1c1e 100%);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo svg {
    width: 44px;
    height: 44px;
}

.site-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ff7854, #ff9a7a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: #ff7854;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.primary-nav a {
    display: block;
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #f0ebe5;
    border-radius: 25px;
    transition: all 0.3s;
}

.primary-nav a:hover {
    background: rgba(255, 120, 84, 0.15);
    color: #ff7854;
}

.banner {
    background: radial-gradient(ellipse at top, #2a2a2d 0%, #1c1c1e 70%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: #1c1c1e;
    clip-path: ellipse(70% 50% at 50% 100%);
}

.banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ff7854, #ffc3a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner p {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.tags-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, rgba(255,120,84,0.2), rgba(255,120,84,0.05));
    border: 1px solid rgba(255,120,84,0.3);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

.game-area {
    padding: 6rem 2rem 4rem;
    position: relative;
    z-index: 10;
}

.game-area h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #ff7854;
    margin-bottom: 2rem;
}

.game-frame {
    max-width: 1300px;
    margin: 0 auto;
    background: #252527;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.game-frame iframe {
    width: 100%;
    height: 550px;
    border: none;
    border-radius: 12px;
    display: block;
}

.cards-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.card {
    background: linear-gradient(145deg, #252527, #1c1c1e);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #333;
    transition: all 0.3s;
}

.card:nth-child(2) {
    transform: translateY(-20px);
}

.card:hover {
    border-color: #ff7854;
    box-shadow: 0 10px 40px rgba(255,120,84,0.15);
}

.card h3 {
    color: #ff7854;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 300;
}

.text-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.text-content h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff7854, #ffc3a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
}

.text-content h2 {
    font-size: 1.3rem;
    color: #ff7854;
    margin: 2.5rem 0 1rem;
}

.text-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.text-content ul, .text-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

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

.bottom {
    background: #151517;
    padding: 3rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid #333;
}

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

.bottom h4 {
    color: #ff7854;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.bottom p {
    font-size: 0.8rem;
    opacity: 0.6;
    max-width: 550px;
    margin: 0 auto;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 22, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-dialog {
    background: linear-gradient(145deg, #2a2a2d, #1c1c1e);
    padding: 3rem;
    border-radius: 24px;
    max-width: 400px;
    text-align: center;
    border: 1px solid #ff7854;
    box-shadow: 0 0 100px rgba(255,120,84,0.2);
}

.age-dialog h2 {
    color: #ff7854;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.age-dialog p {
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.age-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-option {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    border: none;
}

.age-option.accept {
    background: linear-gradient(135deg, #ff7854, #ff9a7a);
    color: #1c1c1e;
}

.age-option.accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255,120,84,0.4);
}

.age-option.decline {
    background: transparent;
    border: 2px solid #ff7854;
    color: #ff7854;
}

.age-option.decline:hover {
    background: rgba(255,120,84,0.1);
}

.rejected-content h2 {
    color: #ff5252;
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .card:nth-child(2) {
        transform: none;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #252527;
        padding: 1rem;
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .primary-nav.visible {
        display: block;
    }
    
    .primary-nav ul {
        flex-direction: column;
    }
    
    .primary-nav a {
        text-align: center;
        padding: 1rem;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .game-frame iframe {
        height: 380px;
    }
    
    .tags-group {
        flex-direction: column;
        align-items: center;
    }
}
