* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --coral: #ff7b54;
    --rose-gold: #e6a57e;
    --cream: #fff8f0;
    --dark: #2c2416;
    --light-bg: #fef5ed;
    --shadow: rgba(255, 123, 84, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral);
}

.brand-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--coral);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--coral);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--coral) 0%, var(--rose-gold) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.hero-heading {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subheading {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--coral);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Value Props */
.value-props {
    padding: 4rem 0;
    background: white;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.prop-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: transform 0.3s;
}

.prop-card:hover {
    transform: translateY(-5px);
}

.prop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.prop-card h3 {
    font-size: 1.5rem;
    color: var(--coral);
    margin-bottom: 1rem;
}

/* Notices Section */
.notices-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--coral);
    margin-bottom: 3rem;
}

.notice-cards {
    display: grid;
    gap: 1.5rem;
}

.notice-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid;
}

.notice-warning {
    border-color: #ef4444;
}

.notice-info {
    border-color: #3b82f6;
}

.notice-alert {
    border-color: #f59e0b;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.notice-emoji {
    font-size: 2rem;
}

.notice-card h4 {
    font-size: 1.3rem;
}

/* Game Showcase */
.game-showcase {
    padding: 4rem 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.game-display {
    max-width: 1000px;
    margin: 0 auto;
}

.game-frame-wrapper {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px var(--shadow);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.detail-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--coral);
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
}

/* Play Page */
.play-header {
    background: linear-gradient(135deg, var(--coral) 0%, var(--rose-gold) 100%);
    padding: 3rem 0;
    text-align: center;
    color: white;
}

.play-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.play-instructions {
    padding: 3rem 0;
    background: white;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.instruction-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.instruction-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.instruction-card h3 {
    color: var(--coral);
    margin-bottom: 0.5rem;
}

.play-game-area {
    padding: 3rem 0;
    background: var(--light-bg);
}

.play-reminder {
    padding: 2rem 0;
    background: white;
}

.reminder-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--coral);
    text-align: center;
}

.reminder-box h3 {
    color: var(--coral);
    margin-bottom: 1rem;
}

/* Legal Pages */
.legal-hero {
    background: linear-gradient(135deg, var(--coral) 0%, var(--rose-gold) 100%);
    padding: 3rem 0;
    text-align: center;
    color: white;
}

.legal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-updated {
    opacity: 0.9;
}

.legal-content {
    padding: 3rem 0;
    background: white;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.8rem;
    color: var(--coral);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text p,
.legal-text li {
    margin-bottom: 1rem;
}

.legal-text ul {
    margin-left: 2rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: var(--rose-gold);
    margin-bottom: 1rem;
}

.footer-notice {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
}

.age-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-content h2 {
    font-size: 2rem;
    color: var(--coral);
    margin-bottom: 1rem;
}

.age-modal-content p {
    margin-bottom: 1rem;
}

.age-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Poppins', sans-serif;
}

.age-btn:hover {
    transform: translateY(-2px);
}

.age-yes {
    background: var(--coral);
    color: white;
}

.age-no {
    background: #ef4444;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--light-bg);
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 1rem;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-content {
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}
