/* Design Tokens & Variables */
:root {
    --bg-dark: hsl(222, 28%, 7%);
    --bg-card: hsla(222, 28%, 12%, 0.7);
    --border-color: hsla(215, 20%, 30%, 0.3);
    --text-primary: hsl(210, 20%, 95%);
    --text-secondary: hsl(215, 15%, 70%);
    --accent-orange: hsl(30, 95%, 53%);
    --accent-orange-glow: hsla(30, 95%, 53%, 0.6);
    --accent-blue: hsl(190, 90%, 55%);
    --accent-blue-glow: hsla(190, 90%, 55%, 0.5);
    
    --font-heading: 'Orbitron', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Starry Sky & Nebula Background */
.stars, .twinkling, .nebula, .shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
}

.stars {
    background: #03050a url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><circle cx="15" cy="40" r="0.8" fill="%23fff" opacity="0.4"/><circle cx="100" cy="50" r="1.2" fill="%23aae8ff" opacity="0.7"/><circle cx="250" cy="180" r="0.9" fill="%23ffd4aa" opacity="0.5"/><circle cx="320" cy="300" r="1.5" fill="%23fff" opacity="0.8"/><circle cx="75" cy="280" r="0.7" fill="%23fff" opacity="0.3"/><circle cx="180" cy="350" r="2.0" fill="%23aae8ff" opacity="0.9"/><circle cx="290" cy="90" r="1.1" fill="%23ffd4aa" opacity="0.4"/><circle cx="45" cy="190" r="1.3" fill="%23fff" opacity="0.6"/><circle cx="130" cy="220" r="0.8" fill="%23fff" opacity="0.5"/><circle cx="220" cy="310" r="1.4" fill="%23aae8ff" opacity="0.7"/><circle cx="370" cy="150" r="1.0" fill="%23ffd4aa" opacity="0.5"/></svg>') repeat;
}

.twinkling {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" viewBox="0 0 800 800"><defs><radialGradient id="glow1" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23fff" stop-opacity="1"/><stop offset="30%" stop-color="%23aae8ff" stop-opacity="0.8"/><stop offset="100%" stop-color="%23aae8ff" stop-opacity="0"/></radialGradient><radialGradient id="glow2" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23fff" stop-opacity="1"/><stop offset="30%" stop-color="%23ffd4aa" stop-opacity="0.8"/><stop offset="100%" stop-color="%23ffd4aa" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="120" r="8" fill="url(%23glow1)"/><path d="M50 114 L50 126 M44 120 L56 120" stroke="%23fff" stroke-width="0.8" opacity="0.8"/><circle cx="450" cy="200" r="10" fill="url(%23glow2)"/><path d="M450 192 L450 208 M442 200 L458 200" stroke="%23fff" stroke-width="0.8" opacity="0.9"/><circle cx="650" cy="500" r="7" fill="url(%23glow1)"/><path d="M650 495 L650 505 M645 500 L655 500" stroke="%23fff" stroke-width="0.6" opacity="0.7"/><circle cx="200" cy="600" r="9" fill="url(%23glow2)"/><path d="M200 593 L200 607 M193 600 L207 600" stroke="%23fff" stroke-width="0.8" opacity="0.8"/><circle cx="350" cy="400" r="12" fill="url(%23glow1)"/><path d="M350 390 L350 410 M340 400 L360 400" stroke="%23fff" stroke-width="1.0" opacity="0.9"/><circle cx="100" cy="300" r="2.5" fill="%23fff" opacity="0.9"/><circle cx="580" cy="150" r="2.0" fill="%23aae8ff" opacity="0.8"/><circle cx="700" cy="700" r="2.5" fill="%23ffd4aa" opacity="0.9"/><circle cx="300" cy="750" r="1.8" fill="%23fff" opacity="0.7"/></svg>') repeat;
    animation: move-twink-back 120s linear infinite;
    mix-blend-mode: screen;
}

.nebula {
    background: 
        radial-gradient(circle at 20% 30%, hsla(190, 90%, 45%, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, hsla(30, 95%, 45%, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, hsla(270, 80%, 40%, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    animation: nebula-drift 30s ease-in-out infinite alternate;
}

/* Shooting Stars Effect */
.shooting-stars {
    background: transparent;
    overflow: hidden;
    pointer-events: none;
}

.shooting-stars::before, .shooting-stars::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(0,204,255,0.7), rgba(255,255,255,1));
    transform: rotate(-45deg) translate(-200px, -200px);
    opacity: 0;
    animation: shooting-star 12s ease-in-out infinite;
}

.shooting-stars::after {
    left: 20%;
    animation-delay: 6s;
    animation-duration: 16s;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,120,0,0.6), rgba(255,255,255,1));
}

@keyframes move-twink-back {
    from { background-position: 0 0; }
    to { background-position: -2000px 1000px; }
}

@keyframes nebula-drift {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(2%, 2%);
    }
}

@keyframes shooting-star {
    0% {
        transform: rotate(-45deg) translate(-300px, -300px);
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    5% {
        transform: rotate(-45deg) translate(800px, 800px);
        opacity: 0;
    }
    100% {
        transform: rotate(-45deg) translate(800px, 800px);
        opacity: 0;
    }
}

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

.text-center {
    text-align: center;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Header Styles */
header {
    background: hsla(222, 28%, 5%, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.6rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.cta-nav {
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px var(--accent-orange-glow);
    box-shadow: 0 0 5px var(--accent-orange-glow);
}

.nav-links a.cta-nav:hover {
    background: var(--accent-orange);
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 15px var(--accent-orange);
}

/* Hero Section & Stargate Ring */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Stargate CSS Art */
.stargate-ring-container {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: perspective(1200px) rotateX(15deg) rotateY(-18deg);
    transform-style: preserve-3d;
    filter: drop-shadow(-15px 22px 20px rgba(0, 0, 0, 0.75));
    animation: gate-float 15s ease-in-out infinite;
}

@keyframes gate-float {
    0% {
        transform: perspective(1200px) rotateX(15deg) rotateY(-18deg) translateY(0px) rotateZ(0deg);
    }
    50% {
        transform: perspective(1200px) rotateX(13deg) rotateY(-15deg) translateY(-14px) rotateZ(0.5deg);
    }
    100% {
        transform: perspective(1200px) rotateX(15deg) rotateY(-18deg) translateY(0px) rotateZ(0deg);
    }
}

.stargate-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* No background fill — the ring is purely built from border + box-shadow */
    background: transparent;
    /* Thick metallic ring border */
    border: 20px solid hsl(215, 8%, 20%);
    border-top-color: hsl(215, 8%, 25%);
    border-left-color: hsl(215, 8%, 17%);
    border-bottom-color: hsl(215, 8%, 14%);
    border-right-color: hsl(215, 8%, 22%);
    box-shadow: 
        /* Inner edge shadow for depth */
        inset 0 0 12px 4px rgba(0,0,0,0.7),
        inset 0 -3px 6px rgba(255,255,255,0.04),
        /* Outer edge glow & shadow */
        0 0 8px rgba(0,0,0,0.85),
        0 0 20px hsla(190, 90%, 55%, 0.05),
        /* 3D extruded rim */
        -1px 1px 0px hsl(215, 8%, 18%),
        -2px 2px 0px hsl(215, 8%, 15%),
        -3px 3px 0px hsl(215, 8%, 12%),
        -4px 4px 0px hsl(215, 8%, 10%),
        -5px 5px 0px hsl(215, 8%, 8%),
        -6px 6px 2px rgba(0,0,0,0.6);
    pointer-events: none;
    z-index: 3;
}

.stargate-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Rotating Inner Ring with Glyphs */
.inner-glyphs {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    /* No fill — ring built from border only */
    background: transparent;
    /* Thick metallic track ring */
    border: 12px solid hsl(215, 10%, 26%);
    border-top-color: hsl(215, 10%, 30%);
    border-left-color: hsl(215, 10%, 22%);
    border-bottom-color: hsl(215, 10%, 18%);
    border-right-color: hsl(215, 10%, 28%);
    box-shadow: 
        inset 0 0 10px 3px rgba(0,0,0,0.6),
        inset 0 -2px 4px rgba(255,255,255,0.05),
        0 0 6px rgba(0,0,0,0.8);
    transform: rotate(0deg);
    transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
    pointer-events: none;
}

.inner-glyphs.spinning {
    animation: gate-spin-3d 80s linear infinite;
}

@keyframes gate-spin-3d {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Event Horizon/Wormhole Effect */
.wormhole-horizon {
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    border-radius: 50%;
    background: 
        radial-gradient(circle at center, 
            rgba(160, 235, 255, 0.65) 0%,
            rgba(100, 205, 255, 0.55) 20%, 
            rgba(0, 100, 210, 0.5) 50%, 
            rgba(1, 35, 90, 0.8) 80%,
            rgba(0, 5, 15, 0.98) 100%
        );
    box-shadow: 
        inset 0 0 35px rgba(0, 204, 255, 0.75),
        0 0 30px rgba(0, 120, 255, 0.4);
    position: absolute;
    z-index: 1;
    overflow: hidden;
    clip-path: circle(50% at 50% 50%);
    filter: url(#wormhole-ripple);
    /* z-index handles stacking */
    animation: horizon-pulse 6s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.wormhole-horizon.active {
    opacity: 1;
}

.noise-layer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-repeat: repeat;
    mix-blend-mode: color-dodge;
    pointer-events: none;
    opacity: 0.35;
}

.noise-1 {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256'><filter id='noise'><feTurbulence type='fractalNoise' baseFrequency='0.035' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0.1 0 0 0 0  0.5 0 0 0 0  0.95 0 0 0 0  0 0 0 0 1'/></filter><rect width='100%25' height='100%25' filter='url(%23noise)'/></svg>");
    animation: noise-shift-1 20s ease-in-out infinite alternate;
}

.noise-2 {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256'><filter id='noise2'><feTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0.05 0 0 0 0  0.6 0 0 0 0  0.99 0 0 0 0  0 0 0 0 1'/></filter><rect width='100%25' height='100%25' filter='url(%23noise2)'/></svg>");
    animation: noise-shift-2 28s ease-in-out infinite alternate;
    opacity: 0.45;
    mix-blend-mode: screen;
}

@keyframes noise-shift-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-4%, -2%) scale(1.08);
    }
    100% {
        transform: translate(2%, 3%) scale(0.96);
    }
}

@keyframes noise-shift-2 {
    0% {
        transform: translate(0, 0) scale(1.08);
    }
    50% {
        transform: translate(3%, 4%) scale(0.96);
    }
    100% {
        transform: translate(-2%, -3%) scale(1.04);
    }
}

@keyframes horizon-pulse {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.02); }
}

/* Kawoosh Activation Blast */
.wormhole-kawoosh {
    position: absolute;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    border-radius: 50%;
    background: radial-gradient(circle at center,
        #ffffff 0%,
        #e3f7ff 30%,
        rgba(0, 204, 255, 0.8) 60%,
        transparent 100%
    );
    box-shadow: 0 0 60px rgba(0, 204, 255, 1);
    z-index: 3;
    opacity: 0;
    transform: scale(0.1);
    pointer-events: none;
}

.wormhole-kawoosh.active {
    animation: kawoosh-blast 4s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes kawoosh-blast {
    0% {
        opacity: 0;
        transform: scale(0.05);
    }
    10% {
        opacity: 1;
        transform: scale(1.3);
        filter: brightness(2);
    }
    15% {
        transform: scale(1.1);
    }
    30% {
        transform: scale(1.2);
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Chevrons */
.chevron {
    position: absolute;
    width: 26px;
    height: 26px;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.85;
}

/* Outer chevron claw bracket */
.chevron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsl(215, 6%, 22%) 0%, hsl(215, 6%, 12%) 100%);
    clip-path: polygon(50% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 0 4px rgba(0,0,0,0.6);
}

/* Inner chevron light block */
.chevron::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 30%;
    width: 40%;
    height: 40%;
    background: #252528;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Positioning 9 Chevrons around the circle (positioned in 3D space) */
.chevron-1 { transform: rotate(40deg) translateY(-185px) rotate(180deg); }
.chevron-2 { transform: rotate(80deg) translateY(-185px) rotate(180deg); }
.chevron-3 { transform: rotate(120deg) translateY(-185px) rotate(180deg); }
.chevron-4 { transform: rotate(160deg) translateY(-185px) rotate(180deg); }
.chevron-5 { transform: rotate(200deg) translateY(-185px) rotate(180deg); }
.chevron-6 { transform: rotate(240deg) translateY(-185px) rotate(180deg); }
.chevron-7 { transform: rotate(280deg) translateY(-185px) rotate(180deg); }
.chevron-8 { transform: rotate(320deg) translateY(-185px) rotate(180deg); }
.chevron-9 { transform: rotate(0deg) translateY(-185px) rotate(180deg); }

/* Locked chevron active state */
.chevron.locked {
    opacity: 1;
    filter: drop-shadow(0 0 6px var(--accent-orange-glow));
}

.chevron.locked::before {
    background: linear-gradient(135deg, hsl(30, 95%, 45%) 0%, hsl(30, 95%, 20%) 100%);
    box-shadow: 0 0 8px var(--accent-orange-glow);
}

.chevron.locked::after {
    background: #ffaa44;
    filter: drop-shadow(0 0 5px #ff6600);
}

.chevron-1.locked { transform: rotate(40deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-2.locked { transform: rotate(80deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-3.locked { transform: rotate(120deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-4.locked { transform: rotate(160deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-5.locked { transform: rotate(200deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-6.locked { transform: rotate(240deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-7.locked { transform: rotate(280deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-8.locked { transform: rotate(320deg) translateY(-182px) rotate(180deg) scale(1.15); }
.chevron-9.locked { transform: rotate(0deg) translateY(-182px) rotate(180deg) scale(1.15); }

/* Hero Text & Info */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 40%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Button UI */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-orange);
    color: #000;
    box-shadow: 0 4px 15px var(--accent-orange-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-orange);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-blue);
    box-shadow: 0 4px 15px var(--accent-blue-glow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: hsla(190, 90%, 55%, 0.1);
    box-shadow: 0 6px 20px var(--accent-blue);
}

.btn-tertiary {
    background: transparent;
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    box-shadow: 0 4px 15px var(--accent-orange-glow);
}

.btn-tertiary:hover {
    transform: translateY(-2px);
    background: hsla(30, 95%, 53%, 0.1);
    box-shadow: 0 6px 20px var(--accent-orange);
}

.hashtags {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hashtag {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Content Sections */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.section-label {
    font-family: var(--font-heading);
    color: var(--accent-orange);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.author-tag {
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-top: 0.5rem;
}

.section-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.section-body strong {
    color: var(--text-primary);
}

.quote-card {
    border-left: 3px solid var(--accent-orange);
    background: hsla(30, 95%, 53%, 0.05);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-primary);
}

.quote-card cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-style: normal;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* Actions Section */
.actions-section {
    padding: 7rem 0;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 3.5rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.action-card {
    background: hsla(222, 28%, 10%, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 204, 255, 0.1);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.action-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
}

.action-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    min-height: 60px;
}

.action-card .btn {
    width: 100%;
    margin-top: auto;
}

.social-share-buttons {
    width: 100%;
    margin-top: auto;
}

.share-link {
    display: block;
    width: 100%;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
}

.twitter-link {
    background: #1da1f2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4);
}

.twitter-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.6);
}

/* Footer Styles */
footer {
    background: hsla(222, 28%, 4%, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .stargate-ring-container {
        width: 320px;
        height: 320px;
    }
    
    .chevron-1 { transform: rotate(40deg) translateY(-155px) rotate(180deg); }
    .chevron-2 { transform: rotate(80deg) translateY(-155px) rotate(180deg); }
    .chevron-3 { transform: rotate(120deg) translateY(-155px) rotate(180deg); }
    .chevron-4 { transform: rotate(160deg) translateY(-155px) rotate(180deg); }
    .chevron-5 { transform: rotate(200deg) translateY(-155px) rotate(180deg); }
    .chevron-6 { transform: rotate(240deg) translateY(-155px) rotate(180deg); }
    .chevron-7 { transform: rotate(280deg) translateY(-155px) rotate(180deg); }
    .chevron-8 { transform: rotate(320deg) translateY(-155px) rotate(180deg); }
    .chevron-9 { transform: rotate(0deg) translateY(-155px) rotate(180deg); }

    .chevron-1.locked { transform: rotate(40deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-2.locked { transform: rotate(80deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-3.locked { transform: rotate(120deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-4.locked { transform: rotate(160deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-5.locked { transform: rotate(200deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-6.locked { transform: rotate(240deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-7.locked { transform: rotate(280deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-8.locked { transform: rotate(320deg) translateY(-152px) rotate(180deg) scale(1.15); }
    .chevron-9.locked { transform: rotate(0deg) translateY(-152px) rotate(180deg) scale(1.15); }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* Community Videos Section */
#community-videos {
    padding-top: 0;
}

.video-community-section {
    margin-top: 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.video-pitch {
    font-size: 1.2rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-carousel-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.video-carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: hsla(222, 28%, 10%, 0.4);
    padding: 1rem; /* Add some padding so card borders aren't clipped */
}

.video-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-card {
    --cols: 4;
    flex: 0 0 calc((100% - (var(--cols) - 1) * 1.5rem) / var(--cols));
    width: calc((100% - (var(--cols) - 1) * 1.5rem) / var(--cols));
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: hsla(222, 28%, 8%, 0.8);
    transition: all 0.3s ease;
}

.video-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 15px rgba(255, 120, 0, 0.15);
}

@media (max-width: 1200px) {
    .video-card {
        --cols: 3;
    }
}

@media (max-width: 992px) {
    .video-card {
        --cols: 2;
    }
}

@media (max-width: 600px) {
    .video-card {
        --cols: 1;
    }
}

.video-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumb-container img {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.video-card:hover .video-play-overlay {
    background: rgba(0,0,0,0.1);
}

.play-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px var(--accent-orange-glow);
    transition: all 0.3s ease;
}

.play-icon svg {
    width: 20px;
    height: 20px;
    fill: #000;
    margin-left: 3px;
}

.video-card:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--accent-orange);
}

.video-info {
    padding: 0.75rem 1rem;
    background: hsla(222, 28%, 6%, 0.9);
}

.video-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
}

.video-creator {
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.carousel-control {
    background: hsla(222, 28%, 15%, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    user-select: none;
    z-index: 10;
}

.carousel-control:hover {
    background: var(--accent-orange);
    color: #000;
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange-glow);
}

/* Modal for YouTube Video Player */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    overflow: hidden;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.video-modal-close:hover {
    color: var(--accent-orange);
}

/* Petition Progress Bar */
.petition-progress-container {
    margin-top: 1.5rem;
    background: hsla(222, 28%, 10%, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.progress-bar-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

#petition-count {
    color: var(--accent-orange);
    font-weight: 700;
    text-shadow: 0 0 5px var(--accent-orange-glow);
}

#petition-goal {
    color: var(--text-primary);
}

.progress-bar-outer {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-orange) 100%);
    box-shadow: 0 0 10px var(--accent-orange-glow);
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* Extra Mile Fold-out Section */
.extra-mile-section {
    margin-top: 4rem;
    width: 100%;
    text-align: left;
}

.extra-mile-details {
    background: hsla(222, 28%, 10%, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.extra-mile-details[open] {
    border-color: var(--accent-orange-glow);
    box-shadow: 0 0 25px rgba(255, 170, 68, 0.1);
}

.extra-mile-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    list-style: none; /* Hide default arrow */
    background: hsla(222, 28%, 12%, 0.8);
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.extra-mile-summary::-webkit-details-marker {
    display: none; /* Hide default safari arrow */
}

.extra-mile-summary:hover {
    background: hsla(222, 28%, 16%, 0.9);
    color: var(--accent-orange);
    text-shadow: 0 0 8px var(--accent-orange-glow);
}

.extra-mile-details[open] .extra-mile-summary {
    border-bottom: 1px solid var(--border-color);
    background: hsla(222, 28%, 8%, 0.9);
}

.extra-mile-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--accent-blue);
}

.extra-mile-details[open] .extra-mile-arrow {
    transform: rotate(180deg);
    color: var(--accent-orange);
}

.extra-mile-content {
    padding: 2.5rem 2rem;
    animation: fade-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fade-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.extra-mile-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.extra-mile-intro strong {
    color: var(--text-primary);
}

.extra-mile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .extra-mile-grid {
        grid-template-columns: 1fr;
    }
}

.extra-mile-card {
    background: hsla(222, 28%, 6%, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.extra-mile-card:hover {
    border-color: var(--accent-blue-glow);
    box-shadow: 0 4px 20px rgba(0, 204, 255, 0.05);
    transform: translateY(-2px);
}

.extra-mile-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.extra-mile-card-icon {
    font-size: 1.8rem;
}

.extra-mile-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.extra-mile-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.extra-mile-card strong {
    color: var(--text-primary);
}

.extra-mile-card ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.extra-mile-card li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.extra-mile-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.extra-mile-card .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.address-block {
    background: rgba(0,0,0,0.3);
    border: 1px dashed var(--border-color);
    padding: 1rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: pre-line;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.extra-mile-card a {
    color: var(--accent-blue);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-blue);
    transition: all 0.2s ease;
}

.extra-mile-card a:hover {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
    text-shadow: 0 0 5px var(--accent-orange-glow);
}

.extra-mile-card .btn-small {
    border-bottom: none !important;
}

.extra-mile-intro h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.extra-mile-intro p {
    margin-bottom: 0.75rem;
}

.extra-mile-intro p:last-child {
    margin-bottom: 0;
}


