* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #0a4b78 0%, #1e3c72 50%, #2a5298 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: rgba(10, 20, 40, 0.95);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Righteous', cursive;
    font-size: 1.8rem;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00d4ff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 60, 114, 0.3) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-family: 'Righteous', cursive;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
}

.important-notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.notice-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.notice-card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.notice-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.about-section,
.responsibility-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    border-left: 4px solid #00d4ff;
}

.about-section h2,
.responsibility-section h2 {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #00d4ff;
}

.game-section {
    margin: 4rem 0;
    text-align: center;
}

.game-section h2 {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.game-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 15px;
    margin: 0 auto;
    max-width: 900px;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.game-note {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(30, 60, 114, 0.2) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.play-hero {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.play-hero h1 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.game-play-section {
    margin: 2rem 0;
}

.game-container-full {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 15px;
    margin: 0 auto;
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.game-info {
    margin: 4rem 0;
}

.game-info h2 {
    font-family: 'Righteous', cursive;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00d4ff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 3px solid #00d4ff;
}

.info-item h3 {
    margin-bottom: 0.8rem;
    color: #00d4ff;
}

.play-tips {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.play-tips h2 {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #00d4ff;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tips-list li:last-child {
    border-bottom: none;
}

.legal-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    max-width: 1000px;
    margin: 2rem auto;
}

.legal-content h1 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.legal-content h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.last-updated {
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 2rem;
}

footer {
    background: rgba(10, 20, 40, 0.95);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 0.5rem 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid #00d4ff;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.modal-content h2 {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #00d4ff;
}

.modal-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-buttons button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.btn-yes {
    background: #00d4ff;
    color: #0a4b78;
}

.btn-yes:hover {
    background: #00a8cc;
    transform: scale(1.05);
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 20, 40, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .game-frame {
        height: 450px;
    }

    .game-frame-full {
        height: 500px;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    main {
        padding: 1rem;
    }

    .legal-content {
        padding: 1.5rem;
    }
}
