/* ============================================================
   MISS LEE — MAIN STYLESHEET
   Celestial Dark Aesthetic with DEEP BLUE, VIOLET & BLACK
   ============================================================ */

:root {
    --bg-primary: #03020a;
    --bg-secondary: #050311;
    --bg-card: #0a0818;
    --bg-card-hover: #100d22;
    --text-primary: #e8e0f4;
    --text-secondary: #9080b8;
    --text-muted: #3a2a5a;
    --accent: #5b21b6;
    --accent-light: #8b5cf6;
    --accent-dark: #3b0764;
    --accent-glow: rgba(91, 33, 182, 0.3);
    --blue: #1d4ed8;
    --blue-light: #60a5fa;
    --blue-glow: rgba(29, 78, 216, 0.25);
    --violet: #7c3aed;
    --violet-glow: rgba(124, 58, 237, 0.2);
    --indigo: #312e81;
    --gradient-accent: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--blue));
    --gradient-glow: linear-gradient(135deg, #1d4ed8, #5b21b6, #7c3aed);
    --border: rgba(91, 33, 182, 0.22);
    --border-blue: rgba(29, 78, 216, 0.15);
    --border-light: rgba(232, 224, 244, 0.06);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.75);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.9);
    --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
    --font-gothic: 'UnifrakturMaguntia', cursive;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1280px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(91, 33, 182, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(29, 78, 216, 0.06) 0%, transparent 60%);
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--blue-light);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.accent {
    color: var(--accent-light);
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-ring {
    width: 60px;
    height: 60px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-right-color: var(--blue);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: preloader-spin 1s linear infinite;
    box-shadow: 0 0 20px var(--accent-glow);
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}

.main-nav.scrolled {
    background: rgba(3, 2, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(91, 33, 182, 0.12);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(91, 33, 182, 0.7));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-accent) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 2px;
    color: #fff !important;
    font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 25px var(--accent-glow), 0 4px 25px var(--blue-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.05);
    animation: hero-zoom 20s ease-in-out infinite alternate;
    filter: saturate(0.75) contrast(1.1);
}

@keyframes hero-zoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(3, 2, 10, 0.45) 0%, rgba(3, 2, 10, 0.6) 35%,
            rgba(3, 2, 10, 0.88) 72%, rgba(3, 2, 10, 1) 100%),
        linear-gradient(to right, rgba(91, 33, 182, 0.15), transparent, rgba(29, 78, 216, 0.15));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-crown {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(91, 33, 182, 0.9));
    animation: crown-glow 3s ease-in-out infinite;
}

@keyframes crown-glow {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(91, 33, 182, 0.7)); }
    50% { filter: drop-shadow(0 0 35px rgba(139, 92, 246, 0.95)) drop-shadow(0 0 60px rgba(29, 78, 216, 0.5)); }
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 30%, var(--blue-light) 55%, var(--violet) 75%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 6s ease-in-out infinite;
}

@keyframes text-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), var(--blue), transparent);
    margin: 0 auto;
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border-radius: 1px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow), 0 8px 30px var(--blue-glow);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent-light);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-sm {
    padding: 0.65rem 1.8rem;
    font-size: 0.75rem;
}

/* --- Section Styles --- */
.section-label {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-label.center { text-align: center; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title.text-left { text-align: left; }

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

/* --- Social Section --- */
.social-section {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--blue), var(--accent), transparent);
}

.social-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--accent-dark), var(--violet), transparent);
    opacity: 0.5;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.social-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.social-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(91, 33, 182, 0.07), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.social-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--accent-glow);
    background: var(--bg-card-hover);
}

.social-card:hover::before { opacity: 1; }
.social-card:hover::after { opacity: 1; }

.social-icon {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--accent-light);
}

.social-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.social-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- About Section --- */
.about-section {
    padding: 8rem 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 10%; right: 0;
    width: 300px; height: 600px;
    background: radial-gradient(ellipse at right, rgba(91, 33, 182, 0.06), transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-image-wrapper img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.85);
    transition: var(--transition);
    border-radius: 2px;
}

.about-image-wrapper:hover img {
    filter: contrast(1.1) saturate(1.0);
}

.about-image-border {
    position: absolute;
    inset: 15px -15px -15px 15px;
    border: 1px solid var(--accent);
    z-index: -1;
    transition: var(--transition);
    border-radius: 2px;
}

.about-image-accent {
    position: absolute;
    inset: -15px 15px 15px -15px;
    border: 1px solid var(--blue);
    z-index: -1;
    transition: var(--transition);
    border-radius: 2px;
    opacity: 0.4;
}

.about-image-wrapper:hover .about-image-border {
    inset: 10px -10px -10px 10px;
    box-shadow: 0 0 30px var(--accent-glow);
}

.about-image-wrapper:hover .about-image-accent {
    inset: -10px 10px 10px -10px;
    opacity: 0.7;
    box-shadow: 0 0 20px var(--blue-glow);
}

.about-content { position: relative; }

.about-role {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--accent-light);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    font-style: italic;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.role-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.role-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.role-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    background: var(--bg-card-hover);
}

.role-card:hover::after { opacity: 1; }

.role-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.role-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Core Sections --- */
.sections-area {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.sections-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-dark), transparent);
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.section-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.section-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.section-card-img {
    position: absolute;
    inset: 0;
}

.section-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: saturate(0.7);
}

.section-card:hover .section-card-img img {
    transform: scale(1.05);
    filter: saturate(0.9);
}

.section-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: linear-gradient(to top, rgba(3, 2, 10, 0.95) 0%, rgba(3, 2, 10, 0.5) 70%, transparent 100%);
    width: 100%;
}

.section-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-card-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Impact / Stats Section --- */
.impact-section {
    padding: 7rem 0;
    position: relative;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue), var(--accent), var(--blue), transparent);
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-3px);
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-light);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-family: var(--font-body);
}

/* --- Quotes Section --- */
.quotes-section {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.quotes-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--blue), var(--accent), transparent);
}

.quotes-carousel {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    min-height: 180px;
}

.quote-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.quote-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.quote-card blockquote p {
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
    font-weight: 300;
}

.quote-card cite {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-top: 1.5rem;
    display: block;
}

.quote-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 3.5rem;
}

.quote-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.quote-dot.active {
    background: var(--accent-light);
    box-shadow: 0 0 10px var(--accent-glow);
    transform: scale(1.3);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.5) brightness(0.5);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(3, 2, 10, 0.92) 0%,
        rgba(59, 7, 100, 0.7) 50%,
        rgba(3, 2, 10, 0.92) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    font-size: 1.1rem;
    display: block;
    margin: 0.5rem 0 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links ul li a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.footer-cta h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-cta p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* --- Gallery Page --- */
.page-hero {
    padding: 12rem 0 5rem;
    text-align: center;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 3rem 0 7rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px var(--accent-glow);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: saturate(0.8);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.0);
}

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(3, 2, 10, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.gallery-caption p {
    font-size: 0.8rem;
    color: var(--accent-light);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(3, 2, 10, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-inner {
    position: relative;
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.lightbox-inner img {
    max-height: 75vh;
    width: auto;
    max-width: 100%;
    border: 1px solid var(--border);
    box-shadow: 0 0 60px var(--accent-glow);
}

.lightbox-caption {
    margin-top: 1.5rem;
}

#lightboxTitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

#lightboxDesc {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-light);
    transform: rotate(90deg);
}

/* --- Contracts Page --- */
.contracts-intro {
    padding: 7rem 0;
    text-align: center;
}

.contracts-warning {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 680px;
    text-align: left;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

.contracts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-bottom: 7rem;
}

.contract-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contract-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.contract-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 50px var(--accent-glow);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.contract-card:hover::before { opacity: 1; }

.contract-number {
    font-family: var(--font-gothic);
    font-size: 3rem;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.contract-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contract-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contract-rules {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contract-rules li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.contract-rules li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.6rem;
    top: 0.35em;
}

/* --- Slaves / Devoted Page --- */
.slaves-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 7rem;
}

.slave-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.slave-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
}

.slave-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--accent-glow);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.slave-card:hover::after { opacity: 1; }

.slave-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.slave-card:hover .slave-avatar {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.slave-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.slave-rank {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}

.slave-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Animate Utilities --- */
.animate-fade-in {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.3s;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.6s;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.85s;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 0.9s ease both;
    animation-delay: 1.1s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Floating Orbs on Hero --- */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: orb-drift 12s ease-in-out infinite;
}

.orb-1 {
    width: 350px; height: 350px;
    background: rgba(91, 33, 182, 0.12);
    top: 10%; left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 280px; height: 280px;
    background: rgba(29, 78, 216, 0.1);
    top: 30%; right: 8%;
    animation-delay: -4s;
}

.orb-3 {
    width: 200px; height: 200px;
    background: rgba(124, 58, 237, 0.09);
    bottom: 20%; left: 20%;
    animation-delay: -8s;
}

@keyframes orb-drift {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33%       { transform: translateY(-30px) translateX(15px); }
    66%       { transform: translateY(15px) translateX(-20px); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .slaves-grid { grid-template-columns: repeat(2, 1fr); }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(3, 2, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1rem; }
    .nav-toggle { display: flex; z-index: 10; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-roles { grid-template-columns: 1fr; }
    .sections-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contracts-grid { grid-template-columns: 1fr; }
    .slaves-grid { grid-template-columns: repeat(2, 1fr); }
    .social-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .slaves-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
}
