/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    /* Color Palette */
    --color-bg: #000000;
    --color-neon-red: #FF1A1A;
    --color-dark-red: #800000;
    --color-text-primary: #FFFFFF;
    --color-text-muted: #B3B3B3;
    --color-glass: rgba(0, 0, 0, 0.9);

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --glow-standard: 0 0 10px rgba(255, 26, 26, 0.5), 0 0 20px rgba(255, 26, 26, 0.3);
    --glow-text: 0 0 10px rgba(255, 26, 26, 0.7);
    --glow-input: 0 0 15px rgba(255, 26, 26, 0.4);

    /* Transitions */
    --trans-speed: 0.3s;
    --trans-scroll: 0.6s ease-out;
}

/* =========================================
   0. OVERLAY & SYSTEM UI
   ========================================= */
#enter-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: opacity 0.8s ease;
}

#sound-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-neon-red);
    border-radius: 50%;
    color: var(--color-neon-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px var(--color-neon-red);
    transition: all 0.3s ease;
    opacity: 0;
    /* Hidden initially until overlay click */
    pointer-events: none;
}

#sound-toggle.visible {
    opacity: 1;
    pointer-events: auto;
}

#sound-toggle:hover {
    background: var(--color-neon-red);
    color: #000;
    box-shadow: 0 0 20px var(--color-neon-red);
    transform: scale(1.1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* NEW: Button Click Chromatic Aberration */
@keyframes chromaticWithShift {
    0% {
        text-shadow: none;
        transform: translateX(0);
    }

    20% {
        text-shadow: 2px 0 0 #0ff, -2px 0 0 #f00;
        transform: translateX(-2px);
    }

    40% {
        text-shadow: -2px 0 0 #0ff, 2px 0 0 #f00;
        transform: translateX(2px);
    }

    60% {
        text-shadow: 2px 0 0 #0ff, -2px 0 0 #f00;
        transform: translateX(-1px);
    }

    80% {
        text-shadow: -1px 0 0 #0ff, 1px 0 0 #f00;
        transform: translateX(1px);
    }

    100% {
        text-shadow: none;
        transform: translateX(0);
    }
}

.glitch-click,
.glitch-active {
    animation: chromaticWithShift 0.3s linear forwards;
}

/* NEW: Contact Button Thunder Shock */
@keyframes thunderShock {
    0% {
        box-shadow: 0 0 0 0 transparent;
        border-color: var(--color-neon-red);
    }

    20% {
        box-shadow: 0 0 20px 5px #00ffff;
        /* Blue */
        border-color: #00ffff;
    }

    40% {
        box-shadow: 0 0 30px 10px #ffffff;
        /* White */
        border-color: #ffffff;
    }

    60% {
        box-shadow: 0 0 20px 5px var(--color-neon-red);
        /* Red */
        border-color: var(--color-neon-red);
    }

    80% {
        box-shadow: 0 0 10px 2px #fff;
        border-color: #fff;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
        border-color: var(--color-neon-red);
    }
}

.thunder-shock {
    animation: thunderShock 0.8s ease-in-out forwards;
}

/* NEW: Incredible Lightning Strike (Violent Impact) */
@keyframes lightning-strike {
    0% {
        background-color: #FFFFFF;
        color: #000000;
        box-shadow: 0 0 40px #FFFFFF, 0 0 80px #FFFFFF;
        border-color: #FFFFFF;
        transform: scale(1.1);
        text-shadow: none;
    }

    10% {
        background-color: #FFFFFF;
        color: #000000;
        box-shadow: 0 0 20px #FFFFFF;
    }

    20% {
        background-color: var(--color-neon-red);
        color: #FFFFFF;
        border-color: #00FFFF;
        /* Blue flicker */
        transform: translate(-4px, 4px) scale(1.05);
        /* Violent seek */
        box-shadow: 0 0 20px var(--color-neon-red);
    }

    25% {
        border-color: var(--color-neon-red);
        transform: translate(4px, -4px) scale(1.05);
    }

    30% {
        border-color: #00FFFF;
        transform: translate(-4px, -4px) scale(1.05);
    }

    35% {
        border-color: var(--color-neon-red);
        transform: translate(4px, 4px) scale(1.05);
    }

    40% {
        background-color: transparent;
        transform: translate(0, 0) scale(1);
    }

    100% {
        background-color: transparent;
        color: var(--color-text-primary);
        border-color: var(--color-neon-red);
        box-shadow: none;
        transform: scale(1);
    }
}

.lightning-struck {
    animation: lightning-strike 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
    pointer-events: none;
    /* Locked during animation */
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: linear-gradient(rgba(255, 26, 26, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 26, 26, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    text-shadow: var(--glow-text);
}

h2 {
    font-size: 2.5rem;
    text-shadow: var(--glow-text);
    margin-bottom: 2rem;
    text-align: center;
    transition: all 0.2s;
}

h2:hover {
    text-shadow: 2px 2px 0px #00ffff, -2px -2px 0px #ff0000;
    animation: glitch 0.2s cubic-bezier(.25, .46, .45, .94) both infinite;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.text-glow {
    text-shadow: var(--glow-text);
}

/* =========================================
   3. COMPONENTS
   ========================================= */
/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all var(--trans-speed) ease;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: transparent;
    border: 2px solid var(--color-neon-red);
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--color-neon-red);
    color: #000000;
    box-shadow: var(--glow-standard);
}

.btn-pulse {
    animation: neonPulse 2s infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border-bottom: 2px solid transparent;
    padding: 0.5rem 0;
}

.btn-secondary:hover {
    border-bottom-color: var(--color-neon-red);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Cards */
.card {
    background-color: #000000;
    border: 1px solid #333;
    padding: 2rem;
    transition: all var(--trans-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    border-right: 4px solid var(--color-neon-red);
}

.card:hover {
    border-color: var(--color-neon-red);
    box-shadow: var(--glow-standard);
    transform: scale(1.02);
}

/* SILVER THEME - Metallic & Premium */
.card-silver {
    border-right: 4px solid #C0C0C0;
}

.card-silver h3 {
    background: linear-gradient(135deg, #E0E0E0 0%, #757575 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.card-silver .workout-icon {
    color: #C0C0C0;
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.card-silver:hover {
    border-color: #E0E0E0;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.4), inset 0 0 20px rgba(192, 192, 192, 0.1);
}

.card-silver:hover .workout-icon {
    animation: glowSilver 1.5s infinite alternate;
}

@keyframes glowSilver {
    from {
        text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
    }

    to {
        text-shadow: 0 0 25px rgba(192, 192, 192, 0.9), 0 0 10px #fff;
    }
}

/* GOLD THEME - Rich & Lux */
.card-gold {
    border-right: 4px solid #FFD700;
}

.card-gold h3 {
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.card-gold .workout-icon {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.card-gold:hover {
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.card-gold:hover .workout-icon {
    animation: glowGold 1.5s infinite alternate;
}

@keyframes glowGold {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    to {
        text-shadow: 0 0 25px rgba(255, 215, 0, 0.9), 0 0 10px #FFA500;
    }
}

/* DIAMOND THEME - Icy & Futuristic */
.card-diamond {
    border-right: 4px solid #00FFFF;
}

.card-diamond h3 {
    background: linear-gradient(135deg, #E0F7FA 0%, #00BCD4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.card-diamond .workout-icon {
    color: #00FFFF;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.card-diamond:hover {
    border-color: #00FFFF;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.card-diamond:hover .workout-icon {
    animation: glowDiamond 1.5s infinite alternate;
}

@keyframes glowDiamond {
    from {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }

    to {
        text-shadow: 0 0 25px rgba(0, 255, 255, 0.9), 0 0 10px #fff;
    }
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--trans-speed);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--color-neon-red);
    box-shadow: 0 10px 10px -10px rgba(255, 26, 26, 0.2);
}

/* Fix Dropdown Visibility & Styling - Cyberpunk */
select {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--color-neon-red) 50%),
        linear-gradient(135deg, var(--color-neon-red) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    transition: all var(--trans-speed);
}

select:focus {
    outline: none;
    border-color: var(--color-neon-red);
    box-shadow: var(--glow-input);
}

option {
    background-color: #000000;
    color: #FFFFFF;
    padding: 1rem;
}

/* Dividers */
hr.neon-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-neon-red), transparent);
    margin: 4rem 0;
}

/* =========================================
   4. LAYOUT & SECTIONS
   ========================================= */
section {
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    z-index: 1000;
    transition: all var(--trans-speed);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-primary);
    text-decoration: none;
}

.logo span {
    color: var(--color-neon-red);
    text-shadow: var(--glow-text);
}

.nav-links {
    display: none;
    /* Mobile first */
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    /* Essential for canvas positioning */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    /* Ensure content is above canvas */
}

.hero h1 {
    font-size: 3rem;
    /* Mobile */
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Ambient Background Logic */
.ambient-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(128, 0, 0, 0.2), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* About Section */
#about {
    border-bottom: 1px solid #111;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-img-container {
    position: relative;
    border-right: none;
}

.about-img {
    filter: grayscale(100%) contrast(120%);
    transition: filter var(--trans-speed);
    border: 1px solid #333;
}

.about-img:hover {
    filter: grayscale(0%) contrast(100%);
}

.about-text {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 26, 26, 0.1);
    border-radius: 4px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    /* Subtle blend */
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 26, 26, 0.3);
}

/* Workouts Section */
.workout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.workout-icon {
    font-size: 3rem;
    color: var(--color-neon-red);
    margin-bottom: 1rem;
}

/* Nutrition Section */
#nutrition {
    background-color: #050505;
}

.nutrition-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nutrition-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 26, 26, 0.1);
    border-radius: 4px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    /* Ensure it fills container if needed */
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
    border-right: 4px solid var(--color-neon-red);
}

.nutrition-item i {
    font-size: 2rem;
    color: var(--color-neon-red);
}

/* Transformation Slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 650px;
    margin: 0 auto 3rem;
    overflow: hidden;
    border: 1px solid #333;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
}

/* Grid Layout for Multiple Sliders */
.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.img-after {
    /* Background set via specific client class */
    width: 100%;
    /* Full width allowing clip-path to work */
    z-index: 2;
    border-right: 2px solid var(--color-neon-red);
    /* Default Clip Path: Reveals the 'After' image fully, or we can start at 50% */
    clip-path: inset(0 50% 0 0);
}

.img-before {
    /* Background set via specific client class */
    z-index: 1;
}

/* Specific Client Images */
.client-1 .img-before {
    background-image: url('results/before.png');
}

.client-1 .img-after {
    background-image: url('results/after.jpg');
}

.client-2 .img-before {
    background-image: url('results/before2.png');
}

.client-2 .img-after {
    background-image: url('results/after2.png');
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Starts at 50% */
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-neon-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: var(--glow-standard);
}

/* YouTube Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #333;
    transition: var(--trans-speed);
}

/* Instagram Reels Iframe Specifics */
.reel-frame {
    height: 600px;
    /* Force height for vertical reels */
    border: 1px solid #333;
    border-radius: 8px;
    transition: var(--trans-speed);
    padding-bottom: 0 !important;
    /* Override video wrapper 16:9 */
    position: relative;
    /* For Overlay */
}

.reel-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 9/16;
}

.reel-frame:hover {
    border-color: var(--color-neon-red);
    box-shadow: var(--glow-standard);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper:hover {
    border-color: var(--color-neon-red);
    box-shadow: var(--glow-standard);
}

/* Mute Overlay */
.mute-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reel-frame:hover .mute-overlay {
    opacity: 0;
}

/* Instagram Reels Placeholders */
.reel-placeholder {
    position: relative;
    padding-bottom: 177.77%;
    /* 9:16 Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #333;
    transition: var(--trans-speed);
    display: block;
    /* It's a div */
}

/* Glowing Red Border and Overlay */
.reel-placeholder:hover,
.reel-placeholder {
    border-color: var(--color-neon-red);
    box-shadow: var(--glow-standard);
}

.reel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reel-content i {
    font-size: 3rem;
    color: var(--color-neon-red);
    margin-bottom: 1rem;
    text-shadow: var(--glow-text);
}

.reel-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* =========================================
   10. DIGITAL FRACTURE (CRACK FX)
   ========================================= */
.digital-crack {
    position: absolute;
    /* Critical for document-based positioning */
    pointer-events: none;
    z-index: 0;
    /* Behind content but above background */
    filter: drop-shadow(0 0 5px var(--color-neon-red)) drop-shadow(0 0 15px var(--color-neon-red));
    overflow: visible;
}

.digital-crack path {
    stroke: var(--color-neon-red);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    animation: crack-appear 0.1s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

/* Specific delay for "shards" effect if we have multiple paths, 
   but for now we animate the main path */
.digital-crack {
    animation: digital-flash 0.15s ease-out;
}

@keyframes crack-appear {
    0% {
        stroke-dasharray: 0, 1000;
        opacity: 0.5;
        stroke-width: 4;
    }

    100% {
        stroke-dasharray: 1000, 0;
        opacity: 0.8;
        stroke-width: 2;
    }
}

@keyframes digital-flash {
    0% {
        filter: drop-shadow(0 0 20px #fff) drop-shadow(0 0 40px var(--color-neon-red));
        opacity: 1;
    }

    100% {
        filter: drop-shadow(0 0 5px var(--color-neon-red)) drop-shadow(0 0 15px var(--color-neon-red));
        opacity: 1;
    }
}



/* Quote Rotator */
#quotes {
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    font-family: serif;
    /* Cinematic subtitle look */
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    color: var(--color-neon-red);
    font-size: 3rem;
    font-family: var(--font-heading);
    position: absolute;
}

.quote-text::before {
    top: -1rem;
    left: -2rem;
}

.quote-text::after {
    bottom: -2rem;
    right: -2rem;
}

/* Contact & Footer */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

footer {
    border-top: 1px solid #111;
    padding: 3rem 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: var(--trans-speed);
}

.social-icon:hover {
    color: var(--color-neon-red);
    text-shadow: var(--glow-text);
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}

/* =========================================
   5. ANIMATIONS & MEDIA QUERIES
   ========================================= */

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--trans-scroll);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    animation: flash 0.5s ease-out;
}

@keyframes flash {
    0% {
        filter: brightness(1.5);
    }

    100% {
        filter: brightness(1);
    }
}

/* Neon Pulse Animation */
@keyframes neonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 26, 26, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 0 rgba(255, 26, 26, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 26, 26, 0);
    }
}

/* Desktop Media Query */
@media (min-width: 768px) {
    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3.5rem;
    }

    .nav-links {
        display: flex;
        gap: 2rem;
    }

    .nav-links a {
        color: var(--color-text-primary);
        text-decoration: none;
        font-family: var(--font-heading);
        text-transform: uppercase;
        font-weight: 700;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--color-neon-red);
        text-shadow: var(--glow-text);
        letter-spacing: 2px;
    }

    .nav-links a::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: var(--color-neon-red);
        transition: width 0.3s;
        box-shadow: var(--glow-standard);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .about-img-container {
        border-right: 2px solid var(--color-neon-red);
        padding-right: 2rem;
        box-shadow: 10px 0 20px -10px rgba(255, 26, 26, 0.2);
    }

    .workout-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   NEW: Motivation Pop-up (TRAIN!)
   ========================================= */
@keyframes popFade {
    0% {
        transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(0.5);
        opacity: 0;
    }

    20% {
        transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, calc(-50% - 50px)) rotate(var(--rot, 0deg)) scale(1.0);
        opacity: 0;
    }
}

.train-pop {
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    font-size: 1rem;
    color: var(--color-neon-red);
    text-shadow: 0 0 20px var(--color-neon-red), 0 0 40px var(--color-neon-red);
    pointer-events: none;
    z-index: 9999;
    white-space: nowrap;
    animation: popFade 0.8s ease-out forwards;
}

/* =========================================
   5. ELITE GUIDANCE THEMES
   ========================================= */

/* Neon List Styling */
.neon-list {
    list-style: none;
    text-align: left;
    width: 100%;
    margin: 1rem 0;
    padding-left: 1rem;
}

.neon-list li {
    margin-bottom: 0.8rem;
    color: #fff;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.neon-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Theme: Vitality (Habits - Heart) - Pink/Red */
.theme-vitality {
    border-right: 4px solid #FF0055;
}

.theme-vitality .workout-icon,
.theme-vitality h3 {
    color: #FF0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.theme-vitality .neon-list li::before {
    color: #FF0055;
    text-shadow: 0 0 5px #FF0055;
}

.theme-vitality:hover {
    border-color: #FF0055;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

/* Theme: Logic (Principles - Cogs) - Cyan */
.theme-logic {
    border-right: 4px solid #00FFFF;
}

.theme-logic .workout-icon,
.theme-logic h3 {
    color: #00FFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.theme-logic .neon-list li::before {
    color: #00FFFF;
    text-shadow: 0 0 5px #00FFFF;
}

.theme-logic:hover {
    border-color: #00FFFF;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Theme: Bio (Foods - Apple) - Neon Green */
.theme-bio {
    border-right: 4px solid #39FF14;
}

.theme-bio .workout-icon,
.theme-bio h3 {
    color: #39FF14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.theme-bio .neon-list li::before {
    color: #39FF14;
    text-shadow: 0 0 5px #39FF14;
}

.theme-bio:hover {
    border-color: #39FF14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}