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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #0A2F35 0%, #0D7377 100%);
    min-height: 100vh;
    color: #333;
}

/* Age Overlay */
.age-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 47, 53, 0.98);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.age-overlay.visible {
    display: flex;
}

.age-box {
    background: white;
    padding: 55px 45px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.age-icon {
    margin-bottom: 25px;
}

.age-box h2 {
    color: #0D7377;
    font-size: 34px;
    margin-bottom: 20px;
    font-weight: 800;
}

.age-message {
    font-size: 17px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.age-confirm-text {
    font-size: 19px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.age-action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-enter,
.btn-exit {
    padding: 17px 38px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-enter {
    background: linear-gradient(135deg, #0D7377 0%, #14FFEC 100%);
    color: white;
}

.btn-enter:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(13, 115, 119, 0.4);
}

.btn-exit {
    background: #ddd;
    color: #666;
}

.btn-exit:hover {
    background: #ccc;
}

/* Header */
.main-header {
    background: rgba(13, 115, 119, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-name {
    font-size: 30px;
    font-weight: 800;
    color: #14FFEC;
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: #14FFEC;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-link:hover {
    background: rgba(20, 255, 236, 0.15);
    color: #14FFEC;
}

.nav-link.active {
    background: rgba(20, 255, 236, 0.25);
    color: #14FFEC;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 40px;
}

.welcome-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text h1 {
    color: #14FFEC;
    font-size: 58px;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.lead {
    color: white;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 300;
}

.play-button {
    display: inline-block;
    background: linear-gradient(135deg, #14FFEC 0%, #0D7377 100%);
    color: white;
    padding: 18px 42px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(20, 255, 236, 0.3);
}

.play-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(20, 255, 236, 0.4);
}

.welcome-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(20, 255, 236, 0.3);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    font-size: 64px;
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: scale(1.05);
    border-color: #14FFEC;
}

/* About Section */
.about-section {
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.05);
}

.about-section h2 {
    color: #14FFEC;
    font-size: 46px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-col p {
    color: white;
    font-size: 18px;
    line-height: 1.8;
}

/* Notices Section */
.notices-section {
    padding: 80px 40px;
}

.notices-section h2 {
    color: #14FFEC;
    font-size: 46px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.notice-item {
    padding: 45px;
    border-radius: 18px;
    color: white;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.notice-item:hover {
    transform: translateY(-6px);
}

.notice-item.teal {
    background: linear-gradient(135deg, #0D7377 0%, #0A5F62 100%);
}

.notice-item.cyan {
    background: linear-gradient(135deg, #0D7377 0%, #14FFEC 100%);
}

.notice-item.turquoise {
    background: linear-gradient(135deg, #0A5F62 0%, #0D7377 100%);
}

.notice-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.notice-header svg {
    margin-bottom: 15px;
}

.notice-header h3 {
    font-size: 25px;
    font-weight: 700;
}

.notice-item p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}

/* Game Section */
.game-section {
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.05);
}

.game-section h2 {
    color: #14FFEC;
    font-size: 46px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.game-intro {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-bottom: 45px;
    opacity: 0.9;
}

.game-wrapper {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
}

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

.game-note {
    color: white;
    text-align: center;
    font-size: 16px;
    opacity: 0.85;
}

/* Features Section */
.features-section {
    padding: 80px 40px;
}

.features-section h2 {
    color: #14FFEC;
    font-size: 46px;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
}

.feature-box h3 {
    font-size: 22px;
    color: #0D7377;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0D7377 0%, #14FFEC 100%);
    padding: 90px 40px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 22px;
    font-weight: 300;
}

/* Instructions Section */
.instructions-section {
    padding: 80px 40px;
}

.instructions-section h2 {
    color: #14FFEC;
    font-size: 46px;
    margin-bottom: 45px;
    text-align: center;
    font-weight: 700;
}

.instruction-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 35px;
}

.instruction-box {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instruction-box .icon {
    font-size: 56px;
    display: block;
    margin-bottom: 18px;
}

.instruction-box h3 {
    font-size: 20px;
    color: #0D7377;
    margin-bottom: 12px;
    font-weight: 700;
}

.instruction-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.important-notice {
    background: linear-gradient(135deg, #0D7377 0%, #14FFEC 100%);
    color: white;
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    font-size: 17px;
}

/* Play Game Section */
.play-game-section {
    padding: 0 40px 80px;
}

/* Legal Content */
.legal-content {
    padding: 80px 40px;
}

.terms-article {
    background: white;
    padding: 55px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.terms-article h2 {
    color: #0D7377;
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.terms-article h2:first-child {
    margin-top: 0;
}

.terms-article p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
}

.terms-article ul {
    margin: 20px 0;
    padding-left: 30px;
}

.terms-article li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
}

.disclaimer-highlight {
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.08) 0%, rgba(20, 255, 236, 0.08) 100%);
    padding: 35px;
    border-radius: 12px;
    border-left: 6px solid #0D7377;
    margin-bottom: 35px;
}

.disclaimer-points {
    list-style: none;
    padding-left: 0;
}

.disclaimer-points li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 10px;
}

.disclaimer-points li:before {
    content: "✓";
    position: absolute;
    left: 8px;
    color: #0D7377;
    font-weight: bold;
    font-size: 18px;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #0A2F35 0%, #0D7377 100%);
    color: white;
    padding: 70px 40px 35px;
    border-top: 3px solid #14FFEC;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-section h4 {
    color: #14FFEC;
    font-size: 21px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #14FFEC;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(20, 255, 236, 0.2);
    opacity: 0.7;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: #0D7377;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.open {
        max-height: 400px;
    }

    .nav-link {
        border-radius: 0;
        border-bottom: 1px solid rgba(20, 255, 236, 0.1);
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-text h1 {
        font-size: 42px;
    }

    .about-columns,
    .notice-cards,
    .features-grid,
    .instruction-boxes {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 42px;
    }

    .game-display {
        height: 500px;
    }

    .content-wrapper {
        padding: 0 25px;
    }

    .welcome-section,
    .about-section,
    .notices-section,
    .game-section,
    .features-section,
    .instructions-section,
    .legal-content {
        padding: 50px 25px;
    }

    .terms-article {
        padding: 35px 25px;
    }

    .age-box {
        padding: 40px 25px;
    }

    .age-action-buttons {
        flex-direction: column;
    }

    .btn-enter,
    .btn-exit {
        width: 100%;
    }
}
