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

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
}

.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: rgba(123, 47, 247, 0.9);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(241, 7, 163, 0.9);
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a0a2e 0%, #0f051d 100%);
    border-right: 2px solid rgba(123, 47, 247, 0.3);
    padding: 40px 20px;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.logo {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(123, 47, 247, 0.3);
}

.logo svg {
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(123, 47, 247, 0.6));
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #7b2ff7 0%, #f107a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 15px;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-menu a:hover {
    background: rgba(123, 47, 247, 0.2);
    border-color: rgba(123, 47, 247, 0.5);
    transform: translateX(5px);
}

.nav-menu a.active {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.3) 0%, rgba(241, 7, 163, 0.3) 100%);
    border-color: #7b2ff7;
}

.content {
    margin-left: 280px;
    padding: 0;
}

.hero {
    background: linear-gradient(135deg, #7b2ff7 0%, #f107a3 100%);
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(123, 47, 247, 0.4);
}

.hero.small {
    padding: 60px 40px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.intro-section, .notice-section, .game-section, .community-section, .game-play-section, .legal-section, .reminder-section {
    padding: 60px 40px;
    width: 100%;
}

.card {
    background: rgba(26, 10, 46, 0.6);
    border: 2px solid rgba(123, 47, 247, 0.3);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #f107a3;
}

.card p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #d0d0d0;
}

.notice-card {
    background: rgba(241, 7, 163, 0.1);
    border: 2px solid #f107a3;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
}

.notice-card.warning {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.notice-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.notice-card ul {
    list-style: none;
    padding-left: 0;
}

.notice-card li {
    font-size: 17px;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.notice-card li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

.game-container {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(123, 47, 247, 0.4);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-container-full {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(123, 47, 247, 0.4);
    border: 3px solid rgba(123, 47, 247, 0.5);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
    background: #000;
}

.game-note {
    text-align: center;
    font-size: 16px;
    color: #b0b0b0;
    margin-top: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    width: 100%;
}

.feature-card {
    background: rgba(26, 10, 46, 0.6);
    border: 2px solid rgba(123, 47, 247, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #7b2ff7;
    box-shadow: 0 8px 25px rgba(123, 47, 247, 0.4);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    margin-bottom: 15px;
    color: #f107a3;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #c0c0c0;
}

.gradient-card {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.2) 0%, rgba(241, 7, 163, 0.2) 100%);
}

.footer {
    background: #0f051d;
    border-top: 2px solid rgba(123, 47, 247, 0.3);
    padding: 50px 40px 20px;
    margin-left: 280px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    width: 100%;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: #7b2ff7;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #b0b0b0;
}

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

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

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(123, 47, 247, 0.2);
    color: #808080;
    font-size: 14px;
}

.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, #1a0a2e 0%, #0f051d 100%);
    border: 3px solid #7b2ff7;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(123, 47, 247, 0.5);
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #f107a3;
    margin-bottom: 20px;
    text-align: center;
}

.modal-body p {
    font-size: 17px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 15px 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #7b2ff7 0%, #f107a3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 47, 247, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.game-info-card {
    background: rgba(26, 10, 46, 0.6);
    border: 2px solid rgba(123, 47, 247, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.game-info-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #f107a3;
    margin-bottom: 20px;
}

.game-info-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.browser-support {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(123, 47, 247, 0.3);
}

.browser-support h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: #7b2ff7;
    margin-bottom: 15px;
}

.browser-support ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.browser-support li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.browser-support li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7b2ff7;
    font-weight: bold;
}

.tip {
    background: rgba(123, 47, 247, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #7b2ff7;
    margin-top: 15px;
}

.game-tips {
    background: rgba(26, 10, 46, 0.6);
    border: 2px solid rgba(123, 47, 247, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.game-tips h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #f107a3;
    margin-bottom: 20px;
}

.game-tips ul {
    list-style: none;
    padding-left: 0;
}

.game-tips li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.game-tips li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #7b2ff7;
    font-weight: bold;
}

.reminder-card {
    background: rgba(241, 7, 163, 0.1);
    border: 2px solid #f107a3;
    border-radius: 15px;
    padding: 30px;
}

.reminder-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #f107a3;
    margin-bottom: 15px;
}

.reminder-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #d0d0d0;
}

.legal-content {
    background: rgba(26, 10, 46, 0.6);
    border: 2px solid rgba(123, 47, 247, 0.3);
    border-radius: 15px;
    padding: 50px;
}

.legal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #f107a3;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: #7b2ff7;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.legal-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 17px;
    line-height: 1.7;
}

.legal-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7b2ff7;
    font-weight: bold;
    font-size: 20px;
}

.acknowledgment-box, .privacy-summary-box, .final-warning-box {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.2) 0%, rgba(241, 7, 163, 0.2) 100%);
    border: 2px solid #7b2ff7;
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
}

.disclaimer-highlight {
    background: rgba(255, 107, 107, 0.1);
    border: 3px solid #ff6b6b;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.disclaimer-highlight h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.disclaimer-highlight p {
    font-size: 19px;
    line-height: 1.7;
    color: #e0e0e0;
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
    }

    .footer {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .intro-section, .notice-section, .game-section, .community-section, .game-play-section, .legal-section, .reminder-section {
        padding: 40px 20px;
    }

    .card {
        padding: 25px;
    }

    .features-grid {
        padding: 40px 20px;
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .game-frame {
        height: 450px;
    }

    .game-frame-full {
        height: 500px;
    }
}
