/*
Daniel's website - Red Lion Labs Portfolio
Red Lion is a nick name for Daniel and Labs refers to technology
Labsite v.3 - 2026-07-23
*/

/* Import Orbitron, Montserrat, and Source Code Pro fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Orbitron:wght@400;500;700;800&family=Source+Code+Pro:wght@400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES: Define reusable color and font values
   CSS variables allow consistent styling and easy theme updates
   ======================================== */
:root {
    /* Primary red color with transparency for branding */
    --color-primary: rgba(255, 0, 30, 0.8);
    /* Dark background for main page body */
    --color-bg-dark: #0a0a0a;
    /* Background color for main content sections */
    --color-bg-section: rgba(18, 18, 18, 0.65);
    /* Alternative background for alternating sections (visual variety) */
    --color-bg-section-alt: rgba(28, 28, 28, 0.65);
    /* Text color - white for dark background contrast */
    --color-text: #ffffff;
    /* Accent color - lighter red for highlights */
    --color-accent: rgba(255, 0, 25, 0.4);
    /* Border color for subtle lines and dividers */
    --color-border: rgba(255, 255, 255, 0.12);
    /* Monospace font for body text (professional appearance) */
    --font-mono: 'Source Code Pro', monospace, sans-serif;
    /* Display font for large headings (eye-catching) */
    --font-display: 'Orbitron', sans-serif;
    /* Accent font for secondary headings */
    --font-accent: 'Montserrat', sans-serif;
}

/* ========================================
   BASE STYLES: Default styling for all elements
   ======================================== */
/* Apply box-sizing to all elements for predictable width/height calculations */
/* border-box includes padding and border in width/height */
* {
    box-sizing: border-box;
}

/* HTML element configuration */
html {
    /* Enable smooth scrolling animation when clicking anchor links */
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Ensure HTML fills full viewport width */
    width: 100%;
    /* Prevent exceeding viewport width on ultra-wide screens */
    max-width: 100vw;
}

/* Body element configuration */
body {
    /* Remove default margin to prevent unwanted spacing */
    margin: 0;
    /* Ensure body fills at least full viewport height */
    min-height: 100vh;
    /* Hide horizontal scrollbars on overflow */
    overflow-x: hidden;
    /* Set width to full viewport width */
    width: 100%;
    /* Prevent exceeding viewport width */
    max-width: 100vw;
    /* Set base background color (dark theme) */
    background-color: var(--color-bg-dark);
    /* Multiple background layers create depth */
    background-image:
        /* Radial gradient: dark center fading to transparent (vignette effect) */
        radial-gradient(circle at center, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0.45) 50%, rgba(10, 10, 10, 0.25) 100%),
        /* Background pattern image (honeycomb texture) */
        url("img/Honeycomb.svg");
    /* Don't repeat the background image */
    background-repeat: no-repeat;
    /* Center the background image */
    background-position: center;
    /* Keep background fixed while page scrolls (parallax effect) */
    background-attachment: fixed;
    /* Scale background to cover entire viewport */
    background-size: cover;
    /* Set default text color to white */
    color: var(--color-text);
    /* Apply monospace font to all text */
    font-family: var(--font-mono);
    /* Set base font size (larger for readability) */
    font-size: 1.5rem;
    /* Set line height for readable text spacing */
    line-height: 1.6;
}

/* ========================================
   TYPOGRAPHY: Styling for text elements
   ======================================== */
/* Large heading styles (h1, h2) */
h1,
h2 {
    /* Use display font for attention-grabbing headings */
    font-family: var(--font-display);
    /* Add letter spacing for dramatic effect */
    letter-spacing: 0.2em;
}

/* Medium heading styles (h3) */
h3 {
    /* Use accent font for secondary headings */
    font-family: var(--font-accent);
    /* Make text extra bold */
    font-weight: 800;
    /* Slightly less letter-spacing than h1/h2 */
    letter-spacing: 0.1em;
}

/* Link styling */
a {
    /* Links inherit text color from parent */
    color: var(--color-text);
    /* Remove default underline */
    text-decoration: none;
    /* Smooth animation when background color changes */
    transition: background 0.2s ease;
}

/* Link hover state - when user hovers over link */
a:hover {
    /* Add underline on hover for visual feedback */
    text-decoration: underline;
}

/* ========================================
   NAVBAR: Fixed navigation bar at top of page
   ======================================== */
.navbar {
    /* Fixed positioning keeps navbar at top while page scrolls */
    position: fixed;
    /* Align to top of viewport */
    top: 0;
    /* Align to left edge */
    left: 0;
    /* High z-index keeps navbar above all other content */
    z-index: 10;
    /* Full width of viewport */
    width: 100%;
    /* Prevent exceeding viewport width */
    max-width: 100vw;
    /* Flexbox for centering content */
    display: flex;
    /* Center content horizontally */
    justify-content: center;
    /* Center content vertically */
    align-items: center;
    /* Center text alignment */
    text-align: center;
    /* Gradient background: opaque black fading to transparent */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.65) 70%, rgba(0, 0, 0, 0) 100%);
    /* Subtle border separating navbar from content */
    border-bottom: 1px solid var(--color-border);
    /* Hide horizontal scrollbars */
    overflow-x: hidden;
}

/* Menu list styling */
.navbar ul {
    /* Remove default margin */
    margin: 0;
    /* Add padding around menu items */
    padding: 0.8rem 1rem;
    /* Remove bullet points */
    list-style: none;
    /* Flexbox for horizontal layout */
    display: inline-flex;
    /* Don't wrap menu items to next line */
    flex-wrap: nowrap;
    /* Space between menu items */
    gap: 1rem;
    /* Center items */
    justify-content: center;
    /* Prevent text wrapping */
    white-space: nowrap;
    /* Hide horizontal overflow */
    overflow-x: hidden;
}

/* Individual menu item styling */
.navbar li {
    /* Use flexbox for alignment */
    display: flex;
    /* Vertically center the link within list item */
    align-items: center;
}

/* Styling for navbar links and buttons */
.navbar a,
.navbar button {
    /* Color links with primary red */
    color: var(--color-primary);
    /* Add padding around text */
    padding: 0.5rem 0.75rem;
    /* Slightly rounded corners */
    border-radius: 0.25rem;
    /* Transparent background by default */
    background: transparent;
    /* Remove button borders */
    border: none;
    /* Inherit font settings from parent */
    font: inherit;
    /* Change cursor to pointer on hover */
    cursor: pointer;
}

/* Link hover and focus states */
.navbar a:hover,
.navbar a:focus {
    /* Add subtle red background highlight */
    background: rgba(255, 0, 0, 0.144);
}

/* HOME LINK: Shows icon on desktop, text on mobile */
.home-link {
    /* Display as flexbox to center icon and text */
    display: inline-flex;
    /* Center content */
    align-items: center;
    /* Padding for clickable area */
    padding: 0.5rem 0.5rem;
}

/* Home icon styling */
.home-icon {
    /* Icon size on desktop */
    width: 28px;
    height: 28px;
    /* Hide text on desktop initially */
    display: block;
}

/* Home text label */
.home-text {
    /* Hide text on desktop by default */
    display: none;
}

/* HAMBURGER MENU TOGGLE: Mobile navigation button */
.menu-toggle {
    /* Hidden by default - shown only on mobile (see media query below) */
    display: none;
    /* Flexbox stacked vertically for hamburger lines */
    flex-direction: column;
    /* Space between hamburger lines */
    gap: 0.25rem;
    /* Transparent background */
    background: transparent;
    /* Remove button border */
    border: none;
    /* Padding around button */
    padding: 0.5rem;
    /* Pointer cursor on hover */
    cursor: pointer;
}

/* Individual hamburger menu lines */
.menu-toggle span {
    /* Display as block to stack vertically */
    display: block;
    /* Width of each line */
    width: 1.5rem;
    /* Height of each line (thickness) */
    height: 2px;
    /* Line color - primary red */
    background: var(--color-primary);
    /* Rounded ends for modern look */
    border-radius: 999px;
}

/* DROPDOWN MENU: Hidden menu items for dropdowns */
.navbar .dropdown {
    /* Relative positioning as context for absolutely positioned dropdown-menu */
    position: relative;
}

/* Dropdown menu items container */
.navbar .dropdown-menu {
    /* Hidden by default */
    display: none;
    /* Absolute positioning below parent dropdown */
    position: absolute;
    /* Position directly below dropdown button */
    top: 100%;
    /* Align left edge with parent */
    left: 0;
    /* Minimum width for dropdown menu */
    min-width: 220px;
    /* Dark semi-transparent background */
    background: rgba(10, 10, 10, 0.99);
    /* Subtle border around menu */
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Rounded corners */
    border-radius: 0.35rem;
    /* Remove bullet points */
    list-style: none;
    /* Padding inside menu */
    padding: 0.5rem 0;
    /* Remove default margin */
    margin: 0;
    /* High z-index keeps dropdown above other content */
    z-index: 20;
}

/* Show dropdown menu on hover or focus */
.navbar .dropdown:hover .dropdown-menu,
.navbar .dropdown:focus-within .dropdown-menu {
    /* Display dropdown when parent is hovered or focused */
    display: block;
}

/* Dropdown menu items */
.navbar .dropdown-menu li {
    /* Remove default margin */
    margin: 0;
}

/* Dropdown menu links */
.navbar .dropdown-menu a {
    /* Display as block to take full width */
    display: block;
    /* Full width of menu */
    width: 100%;
    /* Padding inside each menu item */
    padding: 0.5rem 1rem;
}

/* ========================================
   HERO SECTION: Large banner at page top
   ======================================== */
.hero {
    /* Minimum height of full viewport */
    min-height: 100vh;
    /* Padding around content (top padding accounts for fixed navbar) */
    padding: 6rem 1.5rem 4rem;
    /* Flexbox for centering */
    display: flex;
    /* Vertically center content */
    align-items: center;
    /* Horizontally center content */
    justify-content: center;
    /* Relative positioning so hero scrolls naturally with page */
    position: relative;
    /* Full width */
    width: 100%;
    /* Layer level */
    z-index: 1;
    /* Semi-transparent gradient overlay to show fixed background */
    background: linear-gradient(180deg, rgba(255, 0, 0, 0.15), rgba(10, 10, 10, 0.5));
    /* Glassmorphism blur for readability over fixed background */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Introduction container within hero */
.intro {
    /* Center text alignment */
    text-align: center;
    /* Maximum width of container */
    max-width: 960px;
}

/* Main and secondary headings in intro */
.intro h1,
.intro h2 {
    /* Use display font for impact */
    font-family: var(--font-display);
}

/* Primary heading (h1) in intro */
.intro h1 {
    /* Responsive font size: minimum 2.5rem, 4vw of viewport width, maximum 4rem */
    /* clamp() ensures readability on all screen sizes */
    font-size: clamp(2.5rem, 4vw, 4rem);
    /* Bottom margin only */
    margin: 0 0 1rem;
}

/* Secondary heading (h2) in intro */
.intro h2 {
    /* Responsive font size: minimum 1.5rem, 2vw of viewport width, maximum 2rem */
    font-size: clamp(1.5rem, 2vw, 2rem);
    /* Top margin only */
    margin: 1rem 0 0;
}

/* ========================================
   MAIN CONTENT & SECTIONS: Main page content area
   ======================================== */
/* Main content wrapper */
.content {
    /* Relative positioning for positioning context */
    position: relative;
    /* Layer level matching hero section */
    z-index: 1;
    /* No top padding needed since hero is now in normal page flow */
    padding-top: 0;
}

/* Individual page sections */
.page-section {
    /* Height adjusts to match the exact size of content */
    min-height: auto;
    /* Equal vertical and horizontal padding for consistent extra space across all sections */
    padding: 4.5rem 1.5rem;
    /* Full width */
    width: 100%;
    /* Relative positioning */
    position: relative;
    /* Higher z-index than hero */
    z-index: 1;
    /* Margin for anchor link scrolling (account for fixed navbar) */
    scroll-margin-top: 6rem;
    /* Background color from CSS variables */
    background: var(--color-bg-section);
    /* Glassmorphism blur for content readability over fixed background */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Alternate background color for even-numbered sections */
/* Creates visual separation between sections */
.page-section:nth-of-type(even) {
    /* Use alternate background color */
    background: var(--color-bg-section-alt);
}

/* Section heading (h2) styling */
.page-section h2 {
    /* Primary red color for headings */
    color: var(--color-primary);
    /* Bottom margin only */
    margin: 0 0 1.5rem;
    /* Use display font */
    font-family: var(--font-display);
    /* Responsive font size: minimum 1.75rem, 2vw of viewport, maximum 2.5rem */
    font-size: clamp(1.75rem, 2vw, 2.5rem);
}

/* Subsection heading (h3) styling */
.page-section h3 {
    /* Fixed font size for consistency */
    font-size: 2rem;
}

/* Paragraph and list styling in sections */
.page-section p,
.page-section ul {
    /* Maximum width for readability */
    max-width: 1200px;
    /* Center horizontally using margin */
    margin: 0 auto 0;
    /* Left-aligned text for body content */
    text-align: left;
    /* Padding (note: 'auto' in padding doesn't work as expected) */
    padding: 0.5rem auto 0;
}

/* List and paragraph margin-bottom for spacing */
.page-section ul,
.page-section p,
.page-section li {
    /* Space below each element */
    margin-bottom: 1rem;
}

/* GitHub repos container styling */
#github-repos>div {
    /* Maximum width for content */
    max-width: 1200px;
    /* Center horizontally */
    margin: 0 auto 1rem;
    /* Top padding */
    padding: 0.5rem auto 0;
    /* Left-aligned text */
    text-align: left;
    /* Add bottom border to separate repos */
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-primary);
}

/* Remove border from last repo item */
#github-repos>div:last-child {
    border-bottom: none;
}

/* Experience Section Job Styling */
.job {
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.job-meta {
    font-style: italic;
    color: #ffffff;
    margin-top: -0.5rem;
}

/* ========================================
   GITHUB PAGE & REPOSITORY SECTIONS
   ======================================== */
#github-main .page-section {
    min-height: auto;
    padding: 4.5rem 1.5rem;
}

#github-header {
    padding-top: 6rem;
}

.repo-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.repo-container h2 {
    margin-bottom: 1rem;
}

.repo-container h2 a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.repo-container h2 a:hover {
    color: #ff334b;
    text-shadow: 0 0 12px rgba(255, 0, 30, 0.6);
    text-decoration: underline;
}

.repo-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    max-width: 900px;
}

.repo-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
}

.repo-stat {
    font-size: 1.1rem;
    color: var(--color-text);
}

.repo-stat strong {
    color: var(--color-primary);
}

.repo-actions {
    margin-top: 1rem;
}

.repo-index-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.repo-tag-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 0, 30, 0.15);
    border: 1px solid var(--color-border);
    border-radius: 0.3rem;
    color: var(--color-text);
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.repo-tag-link:hover {
    background: rgba(255, 0, 30, 0.4);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    text-decoration: none;
}

.github-link {
    display: inline-block;
    padding: 0.75rem 1.2rem;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 0.3rem;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.github-link:hover {
    background-color: rgba(255, 0, 30, 1);
    transform: translateY(-1px);
    text-decoration: none;
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */
/* Main form container */
.contact-form {
    /* Maximum width for readability */
    max-width: 600px;
    /* Center horizontally using margin */
    margin: 0 auto 2rem;
    /* Padding inside form */
    padding: 1.5rem;
    /* Subtle background for form distinction */
    background: rgba(255, 0, 30, 0.05);
    /* Border to frame the form */
    border: 1px solid var(--color-border);
    /* Rounded corners for modern look */
    border-radius: 0.5rem;
}

/* Form heading */
.contact-form h3 {
    /* Top margin for spacing */
    margin-top: 0;
    /* Color with primary brand color */
    color: var(--color-primary);
    /* Center text alignment */
    text-align: center;
}

/* Form group - container for each form field */
.form-group {
    /* Bottom margin for spacing between fields */
    margin-bottom: 1.5rem;
    /* Flexbox for better organization */
    display: flex;
    /* Stack items vertically */
    flex-direction: column;
}

/* Label styling */
.contact-form label {
    /* Bottom margin separating label from input */
    margin-bottom: 0.5rem;
    /* Font weight for emphasis */
    font-weight: 600;
    /* Primary color for visual hierarchy */
    color: var(--color-primary);
}

/* Input field styling (text, email, tel inputs) */
.contact-form input,
.contact-form textarea {
    /* Padding inside input */
    padding: 0.75rem;
    /* Dark background matching theme */
    background: rgba(20, 20, 20, 0.8);
    /* Text color */
    color: var(--color-text);
    /* Border styling */
    border: 1px solid var(--color-border);
    /* Rounded corners */
    border-radius: 0.25rem;
    /* Font settings */
    font-family: var(--font-mono);
    font-size: 1rem;
    /* Transition effect for focus state */
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Input focus state - visual feedback when user clicks field */
.contact-form input:focus,
.contact-form textarea:focus {
    /* Remove default browser outline */
    outline: none;
    /* Bright red border to indicate focus */
    border-color: var(--color-primary);
    /* Slightly lighter background */
    background: rgba(30, 30, 30, 0.8);
}

/* Submit button styling */
.submit-btn {
    /* Padding for button size */
    padding: 0.75rem 1.5rem;
    /* Primary red background */
    background-color: var(--color-primary);
    /* White text for contrast */
    color: #ffffff;
    /* Font settings */
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1rem;
    /* Remove button borders */
    border: none;
    /* Rounded corners */
    border-radius: 0.25rem;
    /* Pointer cursor */
    cursor: pointer;
    /* Smooth transition for hover effect */
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Button hover state */
.submit-btn:hover {
    /* Darker red on hover */
    background-color: rgba(255, 0, 30, 1);
    /* Slight scale effect for interactivity */
    transform: scale(1.05);
}

/* Button active/click state */
.submit-btn:active {
    /* Scale down slightly when clicked */
    transform: scale(0.98);
}

/* Social media and other contact links list */
.contact-links {
    /* Maximum width for readability */
    max-width: 1200px;
    /* Center horizontally */
    margin: 2rem auto 1rem;
    /* Remove default list styling */
    list-style: none;
    /* Remove default padding */
    padding: 0;
}

/* ========================================
   RESPONSIVE DESIGN: Mobile and tablet styles
   Media query applies styles when viewport width is 900px or smaller
   ======================================== */
@media (max-width: 900px) {

    /* Adjust navbar layout for mobile */
    .navbar {
        /* Space between items (navbar on left, toggle on right) */
        justify-content: space-between;
        /* Adjust padding for smaller screens */
        padding: 0.75rem 1rem;
    }

    /* Show hamburger menu button on mobile */
    .menu-toggle {
        /* Display hamburger menu button (hidden on desktop) */
        display: flex;
    }

    /* Hide menu list by default on mobile */
    .navbar ul {
        /* Hidden until menu is opened */
        display: none;
        position: fixed;
        top: 3.5rem;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 0;
        margin: 0;
        background: rgba(0, 0, 0, 0.95);
        overflow-y: auto;
        max-height: calc(100vh - 3.5rem);
        z-index: 15;
    }

    .navbar.open ul {
        background: rgba(0, 0, 0, 0.97);
    }

    .navbar li {
        width: 100%;
        justify-content: center;
    }

    .navbar a {
        width: 100%;
        display: block;
    }

    /* Contact form responsive adjustments */
    .contact-form {
        /* Reduce padding on small screens */
        padding: 1rem;
        /* Reduce bottom margin */
        margin: 0 auto 1.5rem;
    }

    /* Form input fields responsive styling */
    .contact-form input,
    .contact-form textarea {
        /* Slightly smaller padding for mobile */
        padding: 0.6rem;
        /* Larger font size to prevent zoom on iOS */
        font-size: 1.1rem;
    }

    /* Submit button responsive styling */
    .submit-btn {
        /* Slightly smaller padding on mobile */
        padding: 0.6rem 1.2rem;
        /* Ensure button is easily tappable */
        font-size: 1rem;
        /* Full width on very small screens */
        width: 100%;
    }

    /* Social media links responsive styling */
    .contact-links {
        /* Reduce margins on small screens */
        margin: 1.5rem auto 0.5rem;
    }

    /* Mobile Home link styling */
    .home-icon {
        /* Hide icon on mobile */
        display: none;
    }

    .home-text {
        /* Show text on mobile */
        display: inline;
    }

    .home-link {
        /* Adjust padding for mobile */
        padding: 0.5rem 0.75rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CUSTOM LION CURSOR & FIRE PARTICLES
   ======================================== */
/* Hide default cursor on devices with fine pointer (mouse) */
@media (pointer: fine) {

    body,
    a,
    button,
    input,
    textarea,
    select {
        cursor: none;
    }
}

/* Canvas layer for fire trail particles */
#fire-trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
}

/* Custom Lion SVG cursor */
#lion-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    background-image: url('img/RedLionLogo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.15s ease, height 0.15s ease, filter 0.15s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Link and button hover state */
#lion-cursor.hovering {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 12px rgba(255, 0, 30, 0.9));
}

/* Disable custom cursor entirely on touch devices */
@media (hover: none) and (pointer: coarse) {

    #fire-trail-canvas,
    #lion-cursor {
        display: none;
    }
}

/* ========================================
   FULLSCREEN INTRO VIDEO PRESENTATION
   ======================================== */
.video-intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.video-intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skip-video-btn {
    position: absolute;
    bottom: 35px;
    right: 35px;
    z-index: 10001;
    background: rgba(10, 10, 10, 0.75);
    color: #ffffff;
    border: 1px solid rgba(255, 0, 30, 0.6);
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.skip-video-btn:hover {
    background: rgba(255, 0, 30, 0.85);
    border-color: rgba(255, 0, 30, 1);
    box-shadow: 0 0 20px rgba(255, 0, 30, 0.7);
    transform: translateY(-2px);
}