:root {
    /* Color Palette - Deep Cosmos (High Contrast) */
    --bg-color: #020617;
    /* Slate 950 - Darker abyss */
    --text-primary: #ffffff;
    /* Pure White */
    --text-secondary: #cbd5e1;
    /* Slate 300 - Much lighter grey */
    --accent-primary: #a855f7;
    /* Purple 500 - Vivid Purple */
    --accent-secondary: #22d3ee;
    /* Cyan 400 - Electric Cyan */

    --glass-bg: rgba(255, 255, 255, 0.05);
    /* Slightly more visible glass */
    --glass-border: rgba(255, 255, 255, 0.15);
    /* Stronger borders */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Canvas Background */
.hero-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    /* Slight fade to keep text readable */
    pointer-events: none;
    /* Let clicks pass through */
}

/* Hide original CSS animated background to prioritize canvas */
.hero-bg {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Ambient Orbs (JS Controlled) */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    /* Massive blur */
    z-index: -1;
    opacity: 0.4;
    will-change: transform, background-color;
    /* Initial simple setup, JS handles the rest */
}

/* Header (Glass Enhanced) */
.main-header {
    background: rgba(15, 23, 42, 0.4);
    /* More transparent */
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Highlight top edge */
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    /* Inner glow */
    /* ... keep pos/size ... */
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    border-radius: 24px;
}

/* Main Header Content */
.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links .btn {
    color: var(--accent-primary);
}

.nav-links .btn:hover {
    color: var(--bg-color);
}

/* Buttons (Glass Enhanced) */
.btn {
    /* ... basics ... */
    padding: 12px 32px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;

    /* Advanced Glass */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
    /* Inner thickness */
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* ... (Keep sheen animation) ... */

/* Feature Cards (Glass Enhanced) */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    /* Very transparent */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    box-shadow:
        0 20px 40px -10px rgba(129, 140, 248, 0.2),
        inset 0 0 20px rgba(129, 140, 248, 0.1);
    /* Color glow inside */
}



/* Buttons (Restored & High Contrast) */
.btn {
    padding: 12px 32px;
    border-radius: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Passing Sheen Animation */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

.btn:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    /* Purple Glow */
    color: white;
    background: rgba(168, 85, 247, 0.2);
}

.btn-primary {
    background: rgba(168, 85, 247, 0.2);
    /* Semi-transparent Purple */
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
    background: var(--accent-primary);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    color: white;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Animated background gradient */
.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, rgba(10, 10, 10, 0) 50%),
        radial-gradient(circle at 80% 20%, rgba(189, 0, 255, 0.08) 0%, rgba(10, 10, 10, 0) 40%);
    animation: rotateBg 20s linear infinite;
    z-index: -1;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-subtitle,
.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.6s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    font-size: 2rem;
    color: var(--text-secondary);
    animation: bounce 2s infinite, fadeInUp 0.8s ease-out 1s forwards;
    opacity: 0;
    transform: translateY(30px);
    /* Initial state for fadeInUp */
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Features Section */
.features-section {
    padding: 120px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 24px;
    /* Intermediate rounding */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px -10px rgba(0, 243, 255, 0.15);
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--accent-secondary);
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Showcase Section */
.showcase-section {
    padding: 120px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.showcase-item {
    position: relative;
    border-radius: 24px;
    /* Intermediate rounding */
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    background: #1a1a1a;
    border: 1px solid var(--glass-border);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    transition: transform 0.5s ease;
}

.showcase-item:hover .placeholder-img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .overlay {
    transform: translateY(0);
}

/* Footer */
.main-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: #050505;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: flex;
        gap: 15px;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
        background: rgba(255, 255, 255, 0.03);
        padding: 10px 20px;
        border-radius: 20px;
        width: 100%;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .status-title {
        font-size: 2.5rem; /* Fix huge title */
    }

    .section-title {
        font-size: 2rem;
    }

    /* Timeline fixes */
    .timeline {
        grid-template-columns: 1fr; /* Single column */
    }

    .timeline-item {
        padding: 20px;
    }
}

/* Status Page Specific Styles */

/* Status Page V2 */
.status-hero {
    padding: 160px 0 60px;
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.status-title {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.status-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* DevLog Images */
.devlog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

/* Blog Article Layout */
.devlog-entry {
    max-width: 800px;
    margin: 0 auto;
    background: transparent;
    /* Remove default card bg if inherited */
    padding: 20px 0;
}

.visual-media {
    margin: 40px 0;
    text-align: center;
}

.visual-media img {
    max-width: 100%;
    max-height: 500px;
    /* Constrain height */
    width: auto;
    /* Allow width to shrink if height is hit */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

.caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
    font-style: italic;
}



/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    background: var(--accent-primary);
    transform: rotate(90deg);
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.lightbox-caption {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Roadmap Section */
.roadmap-section {
    padding: 80px 0;
}

.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.roadmap-phase {
    position: relative;
}

.phase-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid;
}

.phase-1 .phase-title {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.phase-2 .phase-title {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.timeline-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.timeline-item.done {
    border-color: var(--accent-secondary);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05), transparent);
}

.timeline-item.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.timeline-item.done .quarter {
    background: var(--accent-secondary);
    color: black;
}

.timeline-item.active .quarter {
    background: white;
    color: black;
}

.quarter {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-item h4 i {
    color: var(--accent-secondary);
}

.timeline-item.future h4 i {
    color: var(--accent-primary);
}

.timeline-item ul {
    list-style: none;
    padding-left: 5px;
}

.timeline-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.timeline-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
}

.timeline-item.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Blog Grid (New for blog.html) */
.blog-section {
    padding-bottom: 100px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: var(--accent-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For badge positioning */
}

.blog-card.latest {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.15);
}

.new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-secondary), #3b82f6);
    color: black;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(34, 211, 238, 0.4);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 211, 238, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
    }
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blog-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--accent-secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1rem;
    flex-grow: 1;
}

.read-more {
    color: white;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}


.devlog-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.devlog-body h3 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.devlog-body p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.devlog-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.devlog-body li {
    margin-bottom: 10px;
}

/* Custom Video Player Logic */
.custom-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    background: black;
    margin: 40px auto;
    max-width: 800px;
    width: 100%;
}

.custom-video-wrapper video {
    width: 100%;
    display: block;
    cursor: pointer;
}

/* Overlay Play Button (Minimalist) */
/* Overlay Play Button (Minimalist - Breathing) */
.video-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 5rem;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    /* animation: breathingFade removed */
}

.video-overlay-btn:hover {
    color: var(--accent-primary);
    transform: translate(-50%, -50%) scale(1.1);
    filter: drop-shadow(0 0 15px var(--accent-secondary));
}

@keyframes breathingFade {

    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Controls Bar (Floating & Rounded) */
.custom-video-controls {
    position: absolute;
    bottom: 15px;
    /* Floating */
    left: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    /* Darker glass */
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    /* Pill shape */
}

.custom-video-wrapper:hover .custom-video-controls,
.custom-video-wrapper.show-controls .custom-video-controls {
    opacity: 1;
}

/* Buttons inside controls */
.custom-video-controls button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    display: flex;
}

.custom-video-controls button:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

/* Progress Bar (Rounded) */
.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* Keep fill inside */
}

.progress-filled {
    height: 100%;
    background: var(--accent-primary);
    /* Use Primary for better visibility */
    width: 0%;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent-primary);
    transition: width 0.1s linear;
}

.time-display {
    font-size: 0.8rem;
    font-family: 'Fira Code', monospace;
    color: rgba(255, 255, 255, 0.7);
    min-width: 80px;
    text-align: center;
}

/* Video specific adjustment */
.visual-media video {
    /* Safe fallback if JS doesn't run */
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    /* Keep it nice even if raw */

    /* Reset other styles if wrapped */
    box-shadow: none;
    margin: 0 auto;
    display: block;
}

/* Visual Placeholders (GIFs) */
.visual-media {
    margin: 40px 0;
    text-align: center;
}

.media-placeholder {
    width: 100%;
    height: 300px;
    /* Reduced height for better flow */
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.media-placeholder:hover {
    border-color: var(--accent-primary);
    background: rgba(168, 85, 247, 0.05);
    color: white;
}

.media-placeholder i {
    font-size: 3rem;
    color: var(--accent-secondary);
}

.visual-media .caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Vulkan Section (Refined) */
.vulkan-section {
    padding: 80px 0;
    /* background removed to keep transparent flow */
}

.vulkan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    padding: 40px;
    border-radius: 24px;
    border-left: 4px solid #ff3b30;
}

.vulkan-highlight {
    color: #ff3b30;
    text-shadow: 0 0 15px rgba(255, 59, 48, 0.4);
    font-size: 2rem;
    margin-bottom: 20px;
}

.code-block {
    background: #0d1117;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #a9b7c6;
    overflow-x: auto;
}

/* Responsive Status Page */
@media (max-width: 768px) {
    .vulkan-content {
        grid-template-columns: 1fr;
    }

    .devlog-entry {
        padding: 30px;
    }

    .status-title {
        font-size: 2.5rem;
    }
}