/* Monarchis - Royal Theme with Purple and Gold */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6b46c1;
    --dark-purple: #4a2c7e;
    --light-purple: #9b7ed1;
    --gold: #ffd700;
    --dark-gold: #daa520;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.age-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.age-modal-header h2 {
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 900;
}

.age-modal-body p {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

.age-modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: var(--gold);
    color: var(--dark-purple);
}

.btn-yes:hover {
    background: var(--dark-gold);
    transform: scale(1.05);
}

.btn-no {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--gold);
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-purple);
    transition: 0.3s;
}

/* Header */
.main-header {
    background: rgba(74, 44, 126, 0.95);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo h1 {
    font-size: 32px;
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--gold);
    color: var(--dark-purple);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.3), rgba(155, 126, 209, 0.3));
    border-radius: 20px;
    margin-bottom: 40px;
    border: 2px solid var(--light-purple);
}

.hero-section h2 {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--white);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    padding: 30px;
    border-radius: 15px;
    border: 2px solid;
    transition: transform 0.3s ease;
}

.purple-card {
    background: rgba(107, 70, 193, 0.3);
    border-color: var(--light-purple);
}

.gold-card {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 900;
}

/* Notice Section */
.notice-section {
    margin: 40px 0;
}

.notice-box {
    background: rgba(255, 215, 0, 0.1);
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 30px;
}

.notice-box h3 {
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 900;
}

.notice-box ul {
    list-style: none;
    padding: 0;
}

.notice-box li {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(107, 70, 193, 0.3);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

/* Game Section */
.game-section {
    margin: 40px 0;
    text-align: center;
}

.game-section h2 {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 900;
}

.game-intro {
    font-size: 18px;
    margin-bottom: 30px;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid var(--gold);
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    background: rgba(107, 70, 193, 0.2);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--light-purple);
    text-align: center;
}

.feature-item h4 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Play Page Styles */
.play-page {
    padding: 20px;
}

.play-header {
    text-align: center;
    margin-bottom: 30px;
}

.play-header h2 {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 900;
}

.play-info {
    margin-bottom: 30px;
}

.info-banner {
    background: rgba(107, 70, 193, 0.3);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 25px;
}

.info-banner h3 {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 900;
}

.info-banner p {
    margin-bottom: 10px;
}

.game-section-full {
    display: flex;
    justify-content: center;
}

.game-container-full {
    width: 100%;
    max-width: 1200px;
    border: 3px solid var(--gold);
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h2 {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 900;
}

.legal-date {
    color: var(--light-purple);
    font-size: 16px;
}

.legal-content {
    background: rgba(107, 70, 193, 0.2);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--light-purple);
}

.legal-content h3 {
    color: var(--gold);
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.disclaimer-highlight {
    background: rgba(255, 215, 0, 0.1);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.disclaimer-highlight h3 {
    margin-top: 0;
}

/* Footer */
.main-footer {
    background: rgba(74, 44, 126, 0.95);
    border-top: 3px solid var(--gold);
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--light-purple);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: var(--gold);
    color: var(--dark-purple);
    border-color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-purple);
    color: var(--light-purple);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-header {
        padding: 15px 20px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(74, 44, 126, 0.98);
        width: 250px;
        height: calc(100vh - 70px);
        flex-direction: column;
        padding: 30px 20px;
        transition: right 0.3s ease;
        border-left: 3px solid var(--gold);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .hero-section h2 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .legal-content {
        padding: 25px;
    }

    .play-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero-section {
        padding: 40px 15px;
    }

    .hero-section h2 {
        font-size: 26px;
    }

    .age-modal-content {
        padding: 25px;
    }

    .age-modal-header h2 {
        font-size: 22px;
    }

    .btn-yes, .btn-no {
        padding: 12px 25px;
        font-size: 14px;
    }
}
