* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #1a0033 100%);
    color: #e0d4f7;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(51, 0, 102, 0.95);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
    border-bottom: 3px solid #9945ff;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9945ff, #ff45f5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(153, 69, 255, 0.5);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #e0d4f7;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

nav ul li a:hover {
    color: #fff;
    background: rgba(153, 69, 255, 0.3);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #9945ff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(153, 69, 255, 0.1), transparent);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 30px rgba(153, 69, 255, 0.8);
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #d4c5f9;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 60px 0;
    padding: 0 20px;
}

.notice-card {
    background: rgba(51, 0, 102, 0.6);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid #9945ff;
    box-shadow: 0 8px 32px rgba(153, 69, 255, 0.3);
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(153, 69, 255, 0.5);
    border-color: #ff45f5;
}

.notice-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: #9945ff;
}

.notice-card p {
    font-size: 16px;
    line-height: 1.8;
}

.game-section {
    margin: 60px auto;
    padding: 0 20px;
    max-width: 1400px;
}

.game-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.game-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #9945ff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
}

.content-section {
    margin: 60px auto;
    padding: 40px 20px;
    max-width: 1200px;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.content-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 30px 0 15px;
    color: #9945ff;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #d4c5f9;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section ul li {
    margin: 10px 0;
    font-size: 17px;
    line-height: 1.7;
}

footer {
    background: rgba(26, 0, 51, 0.95);
    padding: 50px 20px 30px;
    margin-top: 80px;
    border-top: 3px solid #9945ff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9945ff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff45f5;
    text-decoration: underline;
}

.footer-text {
    color: #b8a9d4;
    font-size: 14px;
    line-height: 1.8;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #330066, #1a0033);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #9945ff;
    box-shadow: 0 0 50px rgba(153, 69, 255, 0.6);
}

.age-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: #fff;
}

.age-modal-content p {
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-btn {
    padding: 15px 45px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn.yes {
    background: linear-gradient(135deg, #9945ff, #ff45f5);
    color: #fff;
}

.age-btn.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.6);
}

.age-btn.no {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #9945ff;
}

.age-btn.no:hover {
    background: rgba(255, 69, 245, 0.2);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(26, 0, 51, 0.98);
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        border-left: 2px solid #9945ff;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid rgba(153, 69, 255, 0.3);
    }

    nav ul li a {
        display: block;
        padding: 18px 15px;
        font-size: 18px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .notice-cards {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 500px;
    }

    .content-section h2 {
        font-size: 32px;
    }

    .age-modal-content {
        margin: 20px;
        padding: 35px 25px;
    }

    .age-modal-content h2 {
        font-size: 28px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}
