@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-deep: #0a2463;
    --ocean-mid: #1e5ea8;
    --ocean-light: #3e92cc;
    --sand: #fffacd;
    --coral: #ff6b9d;
    --white: #ffffff;
    --light-bg: #f0f4f8;
    --shadow: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, var(--light-bg) 0%, #d4e7f5 100%);
    min-height: 100vh;
    color: var(--ocean-deep);
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
    padding: 1rem 0;
    box-shadow: 0 4px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--ocean-light), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand h1 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: var(--white);
    border: none;
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--ocean-deep);
    margin: 4px 0;
    transition: 0.3s;
}

/* Main Content */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Card System */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-hero {
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    color: var(--white);
    text-align: center;
    padding: 4rem 3rem;
}

.card-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.card-hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1rem;
}

/* Notice Card */
.card-notice {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    border-left: 8px solid var(--sand);
}

.card-notice h3 {
    color: var(--ocean-deep);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.card-notice ul {
    list-style: none;
}

.card-notice li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    font-weight: 500;
}

.card-notice li:before {
    content: "🌊";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

/* Game Card */
.card-game {
    background: var(--ocean-deep);
    color: var(--white);
    padding: 3rem;
}

.card-game h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--sand);
    font-weight: 700;
}

.game-wrapper {
    text-align: center;
}

.game-wrapper iframe {
    width: 100%;
    max-width: 850px;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Feature Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card-feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--ocean-light), var(--coral));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    box-shadow: 0 6px 20px var(--shadow);
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.card-feature:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.card-feature h3 {
    color: var(--ocean-mid);
    font-size: 1.7rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-feature p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ocean-deep);
}

/* Content Card */
.card-content h2 {
    color: var(--ocean-mid);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.card-content h3 {
    color: var(--ocean-deep);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.card-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: #2c3e50;
}

.card-content ul,
.card-content ol {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.card-content li {
    margin: 1rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--ocean-deep), #051639);
    color: var(--white);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrapper h3 {
    color: var(--sand);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ocean-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sand);
}

/* Age Modal */
.modal-age {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 36, 99, 0.97);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-age.show {
    display: flex;
}

.modal-box {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 25px;
    max-width: 600px;
    margin: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-box h2 {
    color: var(--ocean-deep);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.modal-box p {
    font-size: 1.25rem;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.modal-buttons button {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    color: var(--white);
}

.btn-accept:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-reject {
    background: var(--coral);
    color: var(--white);
}

.btn-reject:hover {
    background: #e5568a;
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 75%;
        background: var(--ocean-deep);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .card-hero h2 {
        font-size: 2rem;
    }

    .card-hero p {
        font-size: 1.05rem;
    }

    .game-wrapper iframe {
        height: 400px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
