/* Quantory.xyz - Midnight Luxe Theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@400;600&display=swap');

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

:root {
    --primary-dark: #0d0b1e;
    --secondary-dark: #1a1640;
    --accent-purple: #6c5ce7;
    --accent-gold: #d4a574;
    --text-light: #f0eff4;
    --text-muted: #a8a5b8;
    --gradient-main: linear-gradient(135deg, #0d0b1e 0%, #1a1640 50%, #2d2760 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient-main);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 11, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-gold));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    transform: rotate(-5deg);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent-gold);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 11, 30, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}

.mobile-nav a:hover {
    background: rgba(108, 92, 231, 0.15);
}

/* Main Content */
main {
    padding-top: 85px;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Notice Cards */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 900px;
}

.notice-card {
    background: rgba(26, 22, 64, 0.6);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

.notice-card .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.notice-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.notice-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.game-wrapper {
    background: rgba(26, 22, 64, 0.5);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 12px;
    background: #000;
}

/* Info Section */
.info-section {
    padding: 5rem 2rem;
    background: rgba(26, 22, 64, 0.4);
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.info-box {
    background: rgba(13, 11, 30, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.info-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.info-box p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.responsible-links a {
    color: var(--accent-purple);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.responsible-links a:hover {
    color: var(--accent-gold);
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 11, 30, 0.97);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: var(--secondary-dark);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 480px;
    border: 1px solid rgba(108, 92, 231, 0.4);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.age-modal-content .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), #8b7cf5);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Page Header */
.page-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.1) 0%, transparent 100%);
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin: 2rem 0 1rem;
}

.content-section p, .content-section li {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.content-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.content-section ul li::before {
    content: '◆';
    color: var(--accent-purple);
    margin-right: 0.8rem;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .notice-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .game-frame {
        height: 450px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 0.5rem 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .age-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .responsible-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}
