/* Nornveil.xyz - Mystical Elegant Theme with Sidebar */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;900&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8b5cf6;
    --deep-purple: #6d28d9;
    --gold: #fbbf24;
    --dark-bg: #1a1625;
    --darker-bg: #0f0d15;
    --card-bg: #251f31;
    --text-light: #e8e3f0;
    --text-muted: #a396b8;
    --border-glow: rgba(139, 92, 246, 0.3);
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    color: var(--text-light);
    line-height: 1.7;
    display: flex;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(15, 13, 21, 0.95);
    backdrop-filter: blur(10px);
    border-right: 2px solid var(--border-glow);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(139, 92, 246, 0.2);
}

.sidebar-logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.sidebar-nav {
    flex: 1;
    padding: 0 1rem;
}

.sidebar-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-purple), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-nav a:hover {
    background: rgba(139, 92, 246, 0.15);
    padding-left: 2rem;
}

.sidebar-nav a:hover::before {
    opacity: 1;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glow);
}

/* Hamburger for Mobile */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 13, 21, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-glow);
    padding: 1rem 1.5rem;
    z-index: 2000;
    align-items: center;
    justify-content: space-between;
}

.mobile-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-purple);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(251, 191, 36, 0.1));
    border-radius: 20px;
    border: 2px solid var(--border-glow);
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gold);
    text-align: center;
    letter-spacing: 2px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.mystical-card {
    background: var(--card-bg);
    border: 2px solid var(--border-glow);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mystical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.mystical-card:hover::before {
    left: 100%;
}

.mystical-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.mystical-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.mystical-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Notice Box */
.mystical-notice {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.mystical-notice h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mystical-notice ul {
    list-style: none;
    padding: 0;
}

.mystical-notice li {
    padding: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Game Container */
.game-container {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 2px solid var(--gold);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(251, 191, 36, 0.2);
}

.game-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.game-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    border-top: 2px solid var(--border-glow);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--dark-bg), var(--card-bg));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--primary-purple);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
    font-weight: 900;
}

.age-modal-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--primary-purple), var(--deep-purple));
    color: white;
}

.age-btn.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.7);
}

.age-btn.no {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.age-btn.no:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.7);
}

/* Text Content Styles */
.text-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.9;
}

.text-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-purple);
    margin: 2.5rem 0 1rem;
    font-size: 2rem;
}

.text-content ul {
    margin: 1rem 0 1rem 2rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-header {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 70px;
        padding: 2rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .age-modal-content {
        margin: 20px;
        padding: 2rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
