/* ============================================
   SEANCE LANDING PAGE
   Matches the app's mystical dark aesthetic
   ============================================ */

:root {
    /* Color palette - mystical dark tones */
    --color-black: #000000;
    --color-void: #0a0a0a;
    --color-deep-green: #0d3b2e;
    --color-emerald: #1a6b4c;
    --color-crimson: #8b1a1a;
    --color-blood: #6b0f0f;
    --color-ember: #c94a1a;
    --color-midnight: #1a2a4a;
    --color-deep-blue: #0f1f3a;
    --color-spirit-blue: #2a4a6b;
    --color-amber: #8b6914;
    --color-gold: #c9941a;
    
    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.5);
    --glass-blur: 20px;
    
    /* Typography */
    --font-display: 'Cinzel Decorative', serif;
    --font-body: 'Crimson Text', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background-color: var(--color-black);
    font-family: var(--font-body);
    color: #e8e4dc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* App Container */
.app {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(13, 59, 46, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 26, 26, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(26, 42, 74, 0.2) 0%, transparent 60%),
        var(--color-black);
}

/* ============================================
   FLOATING ORBS
   ============================================ */
.orbs-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-deep-green) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-crimson) 0%, transparent 70%);
    top: 60%;
    right: -5%;
    animation-delay: -5s;
    animation-duration: 22s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-midnight) 0%, transparent 70%);
    bottom: -10%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 28s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--color-ember) 0%, transparent 70%);
    top: 20%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 20s;
}

.orb-5 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-emerald) 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation-delay: -8s;
    animation-duration: 24s;
}

.orb-6 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--color-spirit-blue) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: -12s;
    animation-duration: 26s;
}

.orb-7 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    top: 10%;
    left: 60%;
    animation-delay: -18s;
    animation-duration: 30s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

/* ============================================
   PARTICLES
   ============================================ */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: rise 8s ease-in infinite;
}

@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

/* ============================================
   CORNER DECORATIONS
   ============================================ */
.corner-decor {
    position: fixed;
    width: 20%;
    max-width: 200px;
    height: 30%;
    max-height: 250px;
    background-image: url('../img/bottom-right.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4;
    pointer-events: none;
    z-index: 3;
}

.corner-top-left {
    top: 0;
    left: 0;
    background-position: bottom right;
    transform: rotate(180deg);
}

.corner-bottom-right {
    bottom: 0;
    right: 0;
    background-position: bottom right;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.landing-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) var(--space-md);
    padding-bottom: 120px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    max-width: 800px;
    margin-bottom: var(--space-xl);
}

.title-container {
    margin-bottom: var(--space-md);
}

.title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.1;
    background: linear-gradient(
        135deg,
        #e8e4dc 0%,
        #c9941a 25%,
        #e8e4dc 50%,
        #8b6914 75%,
        #e8e4dc 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    filter: drop-shadow(0 0 30px rgba(201, 148, 26, 0.3));
}

.title-word {
    display: block;
}

.title-word:first-child {
    font-size: 0.6em;
    letter-spacing: 0.3em;
    font-weight: 400;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: rgba(232, 228, 220, 0.6);
    letter-spacing: 0.2em;
    margin-top: var(--space-sm);
    text-transform: lowercase;
}

.tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(232, 228, 220, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* ============================================
   STORE BUTTONS
   ============================================ */
.store-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #e8e4dc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(201, 148, 26, 0.2);
}

.store-icon {
    width: 32px;
    height: 32px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 0.7rem;
    color: rgba(232, 228, 220, 0.6);
    letter-spacing: 0.05em;
}

.store-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
}

.feature {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: var(--space-md);
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 148, 26, 0.3);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(201, 148, 26, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.feature p {
    font-size: 1rem;
    color: rgba(232, 228, 220, 0.6);
    font-style: italic;
}

/* ============================================
   GLASS PANEL
   ============================================ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    z-index: 20;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: rgba(232, 228, 220, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.divider {
    color: rgba(232, 228, 220, 0.3);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(232, 228, 220, 0.4);
}

.lavation-credit {
    font-size: 0.75rem;
    color: rgba(232, 228, 220, 0.3);
    margin-top: var(--space-xs);
}

.lavation-credit a {
    color: rgba(232, 228, 220, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lavation-credit a:hover {
    color: var(--color-gold);
}

/* ============================================
   DECORATIVE PENTAGRAM
   ============================================ */
.footer-decor {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
    z-index: 15;
    pointer-events: none;
}

.pentagram::before {
    content: '⛤';
    font-size: 2rem;
    color: var(--color-gold);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        filter: drop-shadow(0 0 10px rgba(201, 148, 26, 0.3));
    }
    50% {
        opacity: 0.6;
        filter: drop-shadow(0 0 20px rgba(201, 148, 26, 0.5));
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
    .landing-content {
        padding: var(--space-md) var(--space-sm);
        padding-bottom: 140px;
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        max-width: 100%;
    }
    
    .corner-decor {
        display: none;
    }
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */
.legal-page {
    min-height: 100vh;
    padding: var(--space-lg) var(--space-md);
    padding-top: 80px;
}

.legal-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #e8e4dc;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-gold);
    letter-spacing: 0.1em;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    margin: var(--space-lg) 0 var(--space-sm);
}

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

.legal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(232, 228, 220, 0.85);
    margin-bottom: var(--space-sm);
}

.legal-content ul {
    margin: var(--space-sm) 0;
    padding-left: var(--space-md);
}

.legal-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(232, 228, 220, 0.8);
    margin-bottom: var(--space-xs);
}

.legal-content a {
    color: var(--color-gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.last-updated {
    font-size: 0.9rem;
    color: rgba(232, 228, 220, 0.5);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

