@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --gamma-bg: #0a0a0a;
    --gamma-card: #1F1F1F;
    --gamma-border: #242424;
    --gamma-text-main: #FEFEFE;
    --gamma-text-muted: #BFBFBF;
    --gamma-accent: #F5F547;
}

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

body {
    background-color: var(--gamma-bg);
    color: var(--gamma-text-main);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.yoga-bg {
    background-image: url('./Aurum---19.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--gamma-text-main);
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gamma-accent);
}

p {
    color: var(--gamma-text-muted);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Accent Highlight */
.accent-text {
    color: var(--gamma-accent);
    font-weight: 600;
}

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Sections as Slides */
.gamma-slide {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--gamma-border);
}

.gamma-slide.hero {
    text-align: left;
    align-items: flex-start;
}

.hero p.subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    color: var(--gamma-text-muted);
}

/* Cards layout (Gamma Grid) */
.gamma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.gamma-card {
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 215, 0, 0.15); /* Gold glass border */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    z-index: 1;
}

.gamma-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 40px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    z-index: 10;
}

.gamma-card h3 {
    margin-top: 0;
    color: var(--gamma-text-main);
    font-family: 'Lora', serif;
    font-size: 1.8rem;
}

/* Images */
.image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Full Width Image Section */
.full-width-image {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* Button */
.gamma-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gamma-accent), #FFD700);
    color: #000000;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px; /* More rounded for modern look */
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(245, 245, 71, 0.2);
    position: relative;
    overflow: hidden;
}

.gamma-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    transition: 0.7s ease;
}

.gamma-btn:hover::before {
    left: 150%;
}

.gamma-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(245, 245, 71, 0.4), 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Back Button */
.back-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: inline-flex;
    align-items: center;
    color: var(--gamma-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: var(--gamma-card);
    border: 1px solid var(--gamma-border);
    z-index: 100;
    transition: color 0.2s, border-color 0.2s;
}

.back-btn:hover {
    color: var(--gamma-text-main);
    border-color: var(--gamma-text-muted);
}

.back-btn svg {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

/* Lists */
.gamma-list {
    list-style: none;
    margin-top: 1rem;
}

.gamma-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gamma-text-muted);
}

.gamma-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gamma-accent);
    font-size: 1.5rem;
    line-height: 1;
    top: 0;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 1.8rem !important; }
    .gamma-slide { padding: 3rem 1rem !important; min-height: auto; }
    .container { padding: 2rem 1rem !important; }
    .gamma-card { padding: 1.5rem !important; }
    
    /* Fix for iOS Parallax Zoom Bug */
    .gamma-slide, .image-wrapper, .full-width-image { background-attachment: scroll !important; }
    
    /* Back button fix for mobile */
    .back-btn { top: 0.5rem; left: 0.5rem; padding: 0.4rem 0.8rem; font-size: 0.8rem; }

    /* Make Spotify widget a full-width sticky footer on mobile to avoid obscuring text */
    .spotify-float {
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
        background: rgba(15, 15, 15, 0.45) !important;
        backdrop-filter: blur(25px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3) !important;
        padding: 5px 0 0 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
    }
    .spotify-float iframe {
        width: 100% !important;
        height: 80px !important;
        border-radius: 0 !important;
    }
    
    /* Add padding to body so the sticky footer doesn't hide content */
    body { padding-bottom: 85px !important; }
}

/* Floating Spotify Widget - Glassmorphism iOS Style */
.spotify-float {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Enable Parallax background only on Desktop (Fixes iOS Zoom bug) */
@media (min-width: 769px) {
    .gamma-slide.hero, .image-wrapper, .full-width-image { background-attachment: fixed !important; }
}

/* =========================================
   ✦ FABLE 5 MASTERPIECE ELITE STYLES ✦
   ========================================= */

/* 1. Cinematic Film Grain Overlay */
.fable-film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. Liquid Gold/Silver Typography (Text Masking) */
.fable-text-gold {
    background: linear-gradient(135deg, #FFDF00 0%, #D4AF37 50%, #FFF8DC 75%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0px 4px 15px rgba(255, 215, 0, 0.15);
}

/* 3. Deep Glassmorphism V2 (Volumetric) */
.gamma-card.fable-glass-v2 {
    background: linear-gradient(145deg, rgba(20, 20, 24, 0.8), rgba(10, 10, 12, 0.95));
    backdrop-filter: blur(25px) saturate(120%);
    -webkit-backdrop-filter: blur(25px) saturate(120%);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-top: 1px solid rgba(255, 215, 0, 0.3); /* Cenital Light */
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 2px 20px rgba(255, 215, 0, 0.03);
}
.gamma-card.fable-glass-v2:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0,0,0,0.95), 0 0 60px rgba(255, 215, 0, 0.2), inset 0 2px 30px rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
}

/* 4. Hypnotic Scroll Indicator */
.fable-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    z-index: 10;
}
.fable-scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--gamma-accent);
    border-radius: 50%;
    animation: scrollDrop 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
@keyframes scrollDrop {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(24px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* 5. Floating Quotes */
.fable-quote {
    position: relative;
    font-size: 1.3rem !important;
    line-height: 1.8;
    color: #EAEAEA;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    padding: 2rem 3rem !important;
    border-left: none !important;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}
.fable-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-family: 'Lora', serif;
    font-size: 6rem;
    color: rgba(255, 215, 0, 0.1);
    line-height: 1;
}

