html {
    scroll-behavior: smooth;
}

/* Optional: Offset for the Sticky Navbar */
/* This prevents the section title from being hidden under the navbar */
section {
    scroll-margin-top: 80px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    /* Fallback sans-serif for body text */
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo {
    font-family: 'Rawest', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffffff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00FF88;
    /* Neon Green hover */
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

/* Hero Section Layout */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Ambient Background Glow */
.glow-orb {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(0, 255, 136, 0.05) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(60px);
    animation: pulse 6s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* The Animated Text Gradient */
.glowing-title {
    font-family: 'Rawest', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00FF88, #00D2FF, #00FF88);
    background-size: 200% auto;

    /* Correct syntax for text clipping */
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: shine 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.3));
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e0e0e0;
}

.description {
    max-width: 600px;
    color: #888888;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Interactive CTA Button */
.glow-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background: transparent;
    border: 2px solid #00D2FF;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.glow-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.6), inset 0 0 15px rgba(0, 210, 255, 0.4);
    border-color: #00FF88;
}

/* Keyframes */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Navigation Base */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    /* Makes it sticky */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

/* Glassmorphism effect applied via JS when scrolling */
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 210, 255, 0.1);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: 'Rawest', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    cursor: pointer;
}

/* A glowing dot for the logo */
.glow-dot {
    color: #00FF88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: color 0.3s ease;
}

/*navbar*/

/* Neon Underline Hover Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #00FF88, #00D2FF);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        /* Fixed is better than absolute for full-screen menus */
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(2, 2, 2, 0.98);
        /* Solid dark for readability */
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    /* Video Grid Adjustment for Tablets */
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

}

/*About*/
/* About Section Layout */
.about-section {
    padding: 8rem 5%;
    background-color: #050505;
    position: relative;
    z-index: 2;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* Image Wrapper & Glowing Backlight */
.about-image-wrapper {
    flex: 1;
    position: relative;
    max-width: 450px;
}

.image-glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00FF88, #00D2FF);
    filter: blur(40px);
    opacity: 0.3;
    border-radius: 10px;
    z-index: -1;
    animation: breathe 4s infinite alternate;
}

.about-portrait {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    /* filter: grayscale(100%) contrast(110%); */
    transition: filter 0.4s ease;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.about-image-wrapper:hover .about-portrait {
    filter: grayscale(0%) contrast(100%);
}

/* About Content & Typography */
.about-content {
    flex: 1;
}

.section-title {
    font-family: 'Rawest', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Reusable gradient text class */
.text-gradient {
    background: linear-gradient(90deg, #00FF88, #00D2FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-description {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Stats Layout */
.about-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-box {
    border-left: 2px solid #00FF88;
    padding-left: 1rem;
}

.stat-number {
    font-family: 'Rawest', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666666;
}

/* Secondary Button Variant */
.glow-btn.outline {
    border-color: #00FF88;
    color: #00FF88;
}

.glow-btn.outline:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    color: #ffffff;
}

@media (max-width: 480px) {

    /* Main Sections - Use more width */
    /* Main Sections - Use more width */
    .work-section,
    .about-section,
    .experience-section,
    .contact-section {
        padding: 4rem 5% !important;
        /* Reduces huge side padding on small screens */
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        /* Fluid typography instead of a rigid size */
        margin-left: 0 !important;
        /* Removed the layout-breaking 90px margin */
        text-align: center;
        /* Centers the title properly on mobile */
        line-height: 1.2;
        /* Prevents lines from overlapping if they do wrap */
        /* Video Grid - Force full width */
    }

    .video-grid {
        grid-template-columns: 1fr;
        /* One video per row */
        width: 100%;
        padding: 0;
    }

    .video-card {
        width: 100%;
    }

    /* Experience Cards */
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .exp-card {
        padding: 2rem 1.5rem;
    }

    /* Hero Text */
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Mobile Responsiveness for About Section */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .about-stats {
        justify-content: center;
        gap: 2rem;
    }

    .stat-box {
        border-left: none;
        border-top: 2px solid #00FF88;
        padding: 1.5rem 0 0 0;
    }
}

/* Simple breathing animation for the image glow */
@keyframes breathe {
    0% {
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(0.95);
    }

    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/*work section*/
/* Work Section Layout */
.work-section {
    padding: 6rem 5%;
    background-color: #020202;
    /* Slightly darker than the about section for contrast */
    position: relative;
    z-index: 2;
}

.work-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.work-subtitle {
    color: #888888;
    margin-bottom: 4rem;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* The Responsive Grid */
.video-grid {
    display: grid;
    /* Changed minmax from 350px to 280px to make cards smaller */
    /* added 'justify-content: center' to keep them tidy on large screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    /* Limits how wide the whole section can get */
    margin: 0 auto;
}

/* Video Card Styling */
.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /* Default subtle border */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-card:hover {
    transform: translateY(-10px);
    /* Neon glow effect on hover */
    box-shadow: 0 15px 30px rgba(0, 255, 136, 0.15), 0 0 15px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
}

/* Updated Base Wrapper (Defaults to Widescreen 16:9) */
.video-wrapper {
    position: relative;
    width: 100%;
    /* This ensures the video never "overflows" its boundaries */
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

/* NEW: Modifier for Portrait/Vertical Videos (Reels/TikToks) */
.video-wrapper.portrait {
    aspect-ratio: 9 / 16;
    /* Perfect vertical ratio */
}

/* Make sure the video fills whichever shape the wrapper is */
.portfolio-video {
    width: 100%;
    height: 100%;
    /* 'cover' ensures the video fills the frame without black bars */
    /* If you prefer to see the WHOLE video without any cropping, change this to 'contain' */
    object-fit: cover;
    display: block;
}

.video-card:hover .portfolio-video {
    filter: brightness(1) grayscale(0%);
}

/* Text Overlay */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.video-card:hover .video-overlay {
    transform: translateY(0);
    opacity: 1;
}

.video-title {
    font-family: 'Rawest', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.play-indicator {
    color: #00FF88;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Cinematic Vignette Effect on the wrapper */
.video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    /* Lets clicks pass through to the video */
    z-index: 1;
}

/* The Loading Spinner */
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 210, 255, 0.2);
    border-top-color: #00FF88;
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Upgraded Text Overlay Animation */
.video-overlay {
    z-index: 3;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 3rem 1.5rem 1.5rem;
    /* Taller gradient for better text reading */
}

.video-meta {
    color: #a0a0a0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    /* This makes the text slide up from the bottom */
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
    /* Slight delay for a cascading effect */
}

.video-card:hover .video-meta {
    transform: translateY(0);
    opacity: 1;
}

/* Experience */
/* Experience Section Styling */
.experience-section {
    padding: 8rem 5%;
    background-color: #050505;
    position: relative;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.exp-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
}

/* The subtle glow effect on hover */
.exp-card:hover {
    transform: translateY(-10px);
    border-color: #00FF88;
    /* Green glow */
    background: rgba(0, 255, 136, 0.02);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.05);
}

.exp-number {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: rgba(7, 175, 213, 0.716);
    /* Very faint blue */
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.exp-card:hover .exp-number {
    color: rgba(9, 255, 0, 0.823);
    /* Brightens on hover */
}

.brand-name {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.exp-role {
    color: #00FF88;
    /* Green accent */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    letter-spacing: 2px;
}

.exp-desc {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 1rem;
}

/* Background Ambient Glow for the card */
.exp-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.experience-intro {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    /* Centers the div and adds space below */
    text-align: center;
}

.experience-intro p {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 1rem;
}

/* Optional: Add a very subtle green/blue top border line to separate the title */
.experience-intro::before {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #00FF88, #00d2ff);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
}

/* Contact */
/* Contact Section */
.contact-section {
    padding: 8rem 5%;
    background-color: #020202;
    text-align: center;
}

.contact-subtitle {
    color: #888;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    background: #0a0a0a;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.contact-card:hover {
    border-color: #00d2ff;
    /* Blue glow on hover */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #a0a0a0;
    margin-bottom: 2rem;
}

/* Professional Buttons */
.contact-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.email-btn {
    background: transparent;
    border: 1px solid #00FF88;
    color: #00FF88;
}

.email-btn:hover {
    background: #00FF88;
    color: #000;
}

.wa-btn {
    background: #00d2ff;
    color: #000;
}

.wa-btn:hover {
    background: #fff;
    box-shadow: 0 0 20px #00d2ff;
}

/* Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    border-color: #00FF88;
    color: #00FF88;
}

/* Styling for the large brand icons */
.contact-icon-brand {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

/* Social icons circle layout */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific Brand Hovers for the Circle and the Icon */

/* Instagram - Pink/Orange border and icon */
.social-icon:hover:has(.fa-instagram) {
    border-color: #e1306c !important;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}

.social-icon:hover .fa-instagram {
    color: #e1306c;
}

/* X / Twitter - Black border and white icon */
.social-icon:hover:has(.fa-x-twitter) {
    border-color: #ffffff !important;
    /* Using white for visibility on black, or use #000 if you want pure black */
    background-color: #000;
}

.social-icon:hover .fa-x-twitter {
    color: #fff;
}

/* LinkedIn - Blue border and icon */
.social-icon:hover:has(.fa-linkedin-in) {
    border-color: #0077b5 !important;
}

.social-icon:hover .fa-linkedin-in {
    color: #0077b5;
}

/* Facebook - Deep Blue border and icon */
.social-icon:hover:has(.fa-facebook-f) {
    border-color: #1877f2 !important;
}

.social-icon:hover .fa-facebook-f {
    color: #1877f2;
}

/* WhatsApp - Green border and icon */
.social-icon:hover:has(.fa-whatsapp) {
    border-color: #25d366 !important;
}

.social-icon:hover .fa-whatsapp {
    color: #25d366;
}

/* Intro Video Section */
.intro-video-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.intro-skip-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    padding: 0.7rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    z-index: 10000;
}

.intro-skip-btn:hover {
    background: #00FF88;
    color: #000;
    border-color: #00FF88;
}

.intro-video-section.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

body.intro-active {
    overflow: hidden;
    /* locks scrolling while intro plays */
}

/* Mobile: landscape video on a portrait screen — keep it centered and readable instead of harshly cropped */
/* Mobile: landscape video on a portrait screen — show the FULL frame, no cropping */
@media (max-width: 768px) {
    .intro-video-section {
        height: 100dvh;
        background: #000;
        /* fills the letterbox bars with black instead of leaving gaps */
    }

    .intro-video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* shows the entire video frame, adds black bars top/bottom instead of cropping */
    }

    .intro-skip-btn {
        bottom: 1.2rem;
        right: 1.2rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}
/* Glassmorphic backdrop for the intro video on mobile */
@media (max-width: 768px) {
    .intro-video-section {
        background: linear-gradient(145deg, #0a0a0a, #050505);
        /* position is already 'fixed' from the base rule — don't override it */
    }

    .intro-video-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 20%, rgba(0, 255, 136, 0.12) 0%, transparent 55%),
                    radial-gradient(circle at 75% 80%, rgba(0, 210, 255, 0.12) 0%, transparent 55%);
        filter: blur(40px);
        z-index: 1;
        animation: glowShift 8s ease-in-out infinite alternate;
    }

    .intro-video {
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        border-radius: 0;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.5) inset;
    }

    .intro-skip-btn {
        z-index: 3;
    }
}

@keyframes glowShift {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(15px, -10px);
    }
}
/* .play
{
    border-radius:50%;
    background-color:rgba(255, 255, 255, 0.208);
    position:fixed;
    top:50%;
    left:50%;
    padding:10px 20px;
    font-size:1.5rem;
    display:none;
} */