*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Gotag";
    src: url("./fonts/Gotag.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* outfit-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/outfit-v15-latin-300.woff2') format('woff2');
}

/* outfit-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/outfit-v15-latin-regular.woff2') format('woff2');
}

/* outfit-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/outfit-v15-latin-500.woff2') format('woff2');
}

/* outfit-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/outfit-v15-latin-600.woff2') format('woff2');
}

/* outfit-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/outfit-v15-latin-700.woff2') format('woff2');
}

/* outfit-800 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/outfit-v15-latin-800.woff2') format('woff2');
}

/* outfit-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  src: url('./fonts/outfit-v15-latin-900.woff2') format('woff2');
}

:root {
    --pink: #ec4899;
    --darker: #0d0d1a;
    --purple: #9434e6;
    --pl: #b06aff;
    --w: #fff;
    --dark: #04040a;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow: rgba(176, 106, 255, 0.4);
}

.section-label-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--pl);
    margin-top: 40px;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.section-label-alt .label-line {
    width: 30px;
    height: 1px;
    background: var(--pl);
    opacity: 0.5;
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--dark);
    font-family: "Outfit", sans-serif;
    color: var(--w);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* scrollbar aur text selection */
::selection {
    background: rgba(176, 106, 255, 0.4);
    color: #fff;
}

::-moz-selection {
    background: rgba(176, 106, 255, 0.4);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #04040a;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 52, 230, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 52, 230, 0.8);
}

/* 3d canvas peeche background ke liye */
canvas#webgl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Sits behind everything */
    pointer-events: none;
    /* Allows clicking through to content */
}

/* chhote mote helper classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-white {
    color: #ffffff;
}

.text-highlight {
    color: var(--pl);
}

.d-none {
    display: none !important;
}

.icon-yellow {
    color: #eab308;
}

.icon-green {
    color: #22c55e;
}

/* scroll krne pe jo animate hoga uska system */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(160px);
    transition:
        opacity 1.4s cubic-bezier(0.2, 1, 0.2, 1),
        transform 1.4s cubic-bezier(0.2, 1, 0.2, 1),
        filter 1.4s cubic-bezier(0.2, 1, 0.2, 1);
    filter: blur(12px);
    will-change: opacity, transform, filter;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ek ke baad ek nikalne wala delay */
.reveal-on-scroll.visible:nth-child(1) {
    transition-delay: 0s;
}

.reveal-on-scroll.visible:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-on-scroll.visible:nth-child(3) {
    transition-delay: 0.4s;
}

.reveal-on-scroll.visible:nth-child(4) {
    transition-delay: 0.6s;
}

.reveal-on-scroll.visible:nth-child(5) {
    transition-delay: 0.8s;
}

.reveal-on-scroll.visible:nth-child(6) {
    transition-delay: 1s;
}

/* page khulte hi hero section ka animation */
.reveal-on-load {
    opacity: 0;
    transform: translateY(120px);
    transition:
        opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(12px);
    will-change: opacity, transform, filter;
}

.reveal-on-load.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.hero-btns .reveal-on-load.visible:nth-child(1) {
    transition-delay: 0.2s;
}

.hero-btns .reveal-on-load.visible:nth-child(2) {
    transition-delay: 0.4s;
}

/* Directional reveal variants */
.reveal-left {
    transform: translateX(-60px) translateY(0);
}

.reveal-left.visible {
    transform: translateX(0) translateY(0);
}

.reveal-right {
    transform: translateX(60px) translateY(0);
}

.reveal-right.visible {
    transform: translateX(0) translateY(0);
}

.reveal-scale {
    transform: scale(0.85) translateY(0);
}

.reveal-scale.visible {
    transform: scale(1) translateY(0);
}

.section-pad {
    padding: 120px 0;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.full-width {
    max-width: 100%;
    padding: 0;
}

.contact-max-width {
    max-width: 1000px;
}

.contact-select-panel {
    padding: 40px 0;
}

.process-panel {
    padding: 120px 60px;
}

.process-content {
    max-width: 1450px;
}

/* upar ka nav bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: navbar-slide-down 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navbar-slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar.scrolled {
    background: rgba(4, 4, 10, 0.8);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(176, 106, 255, 0.1);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    position: relative;
}

.nav-menu a:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(176, 106, 255, 0.6);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* saare buttons yahan hain */
.btn-primary,
.btn-retry,
.btn-contact {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    border-radius: 30px;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    cursor: pointer;
    overflow: visible;
    z-index: 1;
    background: transparent;
    border: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

/* Primary CTA specifically for "Start a Project" (spinning gradient border + glow) */
@property --spin-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.navbar .btn-primary {
    background: transparent !important;
    border: 2px solid transparent;
    background-image:
        linear-gradient(#04040a, #04040a),
        linear-gradient(var(--spin-angle), #9434e6, #4f46e5, #9434e6) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    transition: transform 0.3s ease;
    animation: spin-border 3s linear infinite;
    position: relative;
    z-index: 1;
}

.navbar .btn-primary::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(var(--spin-angle), #9434e6, #4f46e5, #9434e6);
    filter: blur(12px);
    opacity: 0.5;
    z-index: -1;
    border-radius: inherit;
    animation: spin-border 3s linear infinite;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.navbar .btn-primary:hover::before {
    opacity: 0.8;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
}

.navbar .btn-primary::after {
    display: none;
}

@keyframes spin-border {
    to {
        --spin-angle: 360deg;
    }
}

.btn-retry {
    margin-top: 24px;
}

/* Gradient Glow Effect (matches border exactly) */
.btn-primary::before,
.btn-retry::before,
.btn-contact::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: var(--purple);
    filter: blur(10px);
    opacity: 0;
    z-index: -2;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    border-radius: 40px;
    pointer-events: none;
}

/* Inner Purple Fill */
.btn-primary::after,
.btn-retry::after,
.btn-contact::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(135deg, #7b2fd4, #9434e6);
    z-index: -1;
    transition: background 0.3s ease;
}

/* @keyframes btn-spin removed for simplicity */

.btn-primary:hover,
.btn-retry:hover {
    transform: translateY(-6px) scale(1.1);
}

.btn-contact:hover {
    transform: scale(1.05); /* Reduced scale for contact cards */
}

.btn-primary:hover::before,
.btn-retry:hover::before {
    opacity: 0.75;
    transform: scale(1.12);
}

.btn-contact:hover::before {
    opacity: 0.85;
    transform: scale(1.08);
}

.btn-primary:hover::after,
.btn-retry:hover::after {
    background: linear-gradient(135deg, #8b3fe4, #a44cf6);
}

.btn-primary:active,
.btn-retry:active,
.btn-contact:active {
    transform: translateY(0) scale(0.98);
}

/* For outline buttons that need a dark inner */
.btn-outline::after {
    background: var(--dark);
}

/* Specific sizing for CTA submit button */
.cta-sub {
    width: auto !important;
    min-width: 200px;
    padding: 10px 24px !important;
    margin: 0 auto;
}

/* Custom Interactive Glow Logic for Hero Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

/* 1. "See Our Work" (Primary) Glows by default */
.hero-btns .btn-primary:not(.btn-outline) {
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(148, 52, 230, 0.4),
        0 0 50px rgba(79, 70, 229, 0.2);
}

.hero-btns .btn-primary:not(.btn-outline)::before {
    opacity: 0.75;
}

/* 1.1 Special Hover for See Our Work (Specificity Fix) */
.hero-btns .btn-primary:not(.btn-outline):hover {
    transform: translateY(-6px) scale(1.1);
}

/* 2. "Contact Us" (Outline) has NO glow by default */
.hero-btns .btn-outline {
    box-shadow: none;
    transform: none;
}

.hero-btns .btn-outline::before {
    opacity: 0;
}

/* 3. When hovering over "Contact Us", turn ON its glow */
.hero-btns .btn-outline:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow:
        0 0 20px rgba(148, 52, 230, 0.5),
        0 0 50px rgba(79, 70, 229, 0.3);
}

.hero-btns .btn-outline:hover::before {
    opacity: 0.8;
}

/* 4. When hovering anywhere inside .hero-btns BUT specifically hovering "Contact Us", turn OFF "See Our Work" */
.hero-btns:has(.btn-outline:hover) .btn-primary:not(.btn-outline) {
    transform: none;
    box-shadow: none;
}

.hero-btns:has(.btn-outline:hover) .btn-primary:not(.btn-outline)::before {
    opacity: 0;
}

.btn-retry {
    margin-top: 24px;
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* section padding aur basics */
#scroll-driver {
    position: relative;
    z-index: 100;
}

.panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-panel {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
}

.panel-content {
    text-align: center;
    padding: 0 32px;
}

.hero-logo {
    width: auto;
    height: auto !important;
    max-width: 100%;
    max-height: min(850px, 80vh);
    object-fit: contain;
    position: relative;
    z-index: 10;
    animation: hero-breathe 4s ease-in-out infinite;
}

@keyframes hero-breathe {
    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(176, 106, 255, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(176, 106, 255, 0.5));
    }
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.hero-btns .reveal-on-scroll.visible:nth-child(1) {
    transition-delay: 1s !important;
}

.hero-btns .reveal-on-scroll.visible:nth-child(2) {
    transition-delay: 1.6s !important;
}

/* video ke card wali styling */
.floating-reels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
    gap: 30px;
    padding: 60px 0;
    margin-bottom: 80px;
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    perspective: 800px;
}

.longform-reels {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1100px;
    perspective: 900px;
}

.video-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    outline: none;
}

.video-trigger:focus-visible {
    box-shadow: 0 0 0 4px var(--pl);
    border-radius: 16px;
}

/* button dabane se jab category change hoga uska animation */
.category-layer {
    opacity: 0;
    transform: scale(0.97);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    width: 100%;
    position: absolute; /* Stack layers on top of each other */
    top: 0;
    left: 0;
    pointer-events: none; /* Prevent clicks on hidden layers */
}

.category-layer.active-layer {
    opacity: 1;
    transform: scale(1);
    position: relative; /* Base layer dictates height */
    pointer-events: auto;
    z-index: 2;
}

#short-reels-switch-wrapper {
    position: relative;
    width: 100%;
}

#long-reels-switch-wrapper {
    position: relative;
    width: 100%;
}

.floating-phone {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    aspect-ratio: 9 / 17;
    border-radius: 14px;
    position: relative;
    background: rgba(255, 255, 255, 0.025);
    border: 1.3px solid var(--purple);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.float-wrapper:nth-child(odd) .floating-phone {
    transform: rotateY(-15deg);
}

.float-wrapper:nth-child(even) .floating-phone {
    transform: rotateY(15deg);
}

.floating-screen {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    position: relative;
    background: rgba(255, 255, 255, 0.025);
    border: 1.3px solid var(--purple);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.float-wrapper:nth-child(odd) .floating-screen {
    transform: rotateY(-12deg);
}

.float-wrapper:nth-child(even) .floating-screen {
    transform: rotateY(12deg);
}

.float-wrapper {
    display: block;
    animation: float-card 5s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -0.8s);
    will-change: transform;
}

@keyframes float-card {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(0.5deg);
    }

    50% {
        transform: translateY(-16px) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) rotate(-0.5deg);
    }
}

.float-wrapper.playing {
    animation-play-state: paused;
}

.float-wrapper.playing .floating-phone,
.float-wrapper.playing .floating-screen {
    transform: translateY(-8px) scale(1.02) rotateY(0deg) !important;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(148, 52, 230, 0.2);
    z-index: 60;
}

/* .float-wrapper:hover {
    animation-play-state: paused;
} */

.float-wrapper:hover .floating-phone,
.float-wrapper:hover .floating-screen {
    border-color: var(--pl) !important;
    box-shadow:
        0 0 25px rgba(176, 106, 255, 0.5),
        0 0 60px rgba(176, 106, 255, 0.3),
        0 0 100px rgba(148, 52, 230, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(176, 106, 255, 0.06);
    transform: translateY(-14px) scale(1.05) rotateY(0deg);
    z-index: 50;
}

.phone-inner,
.screen-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #05050a;
}

.phone-inner video,
.screen-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.play-icon {
    display: none !important; /* Fully removing from view */
}

/* video ke neeche wala time slider */
.video-trigger:hover .timeline-wrapper,
.video-trigger:focus-within .timeline-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.timeline-wrapper {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 64px; /* Space for the volume button */
    height: 12px;
    z-index: 30;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
}

.time-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15); /* Fallback */
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    /* We'll set the dynamic background in JS for the filled effect */
}

.time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--w);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(var(--pl-rgb), 0.6);
    border: 2px solid var(--pl);
    opacity: 0;
    transition: all 0.2s ease;
}

.video-trigger:hover .time-slider::-webkit-slider-thumb {
    opacity: 1;
}

.time-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 2px solid var(--pl);
    border-radius: 50%;
    background: var(--w);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(var(--pl-rgb), 0.6);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-trigger:hover .time-slider::-moz-range-thumb {
    opacity: 1;
}

/* beech wala play pause icon */
.center-play-pause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--w);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 40;
}

.video-trigger:hover .center-play-pause {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.center-play-pause svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 8px rgba(var(--pl-rgb), 0.4));
}

.play-state-icon,
.pause-state-icon {
    display: none;
    transition: all 0.2s ease;
}

.play-state-icon.show,
.pause-state-icon.show {
    display: flex;
}

@keyframes play-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(176, 106, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(176, 106, 255, 0);
    }
}

.volume-control-wrapper {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-trigger:hover .volume-control-wrapper,
.video-trigger:focus-within .volume-control-wrapper {
    opacity: 1;
    pointer-events: auto;
}

.slider-container {
    height: 90px;
    width: 36px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.volume-control-wrapper:hover .slider-container,
.volume-control-wrapper:focus-within .slider-container {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    transform: rotate(-90deg);
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.mute-toggle {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.mute-toggle:hover {
    background: rgba(176, 106, 255, 0.3);
    border-color: rgba(176, 106, 255, 0.5);
}

.mute-toggle svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

/* text aur numbers ki styling */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pl);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-label::before,
.section-label::after {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--pl);
}

.section-title {
    font-family: "Gotag", sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}

.section-title .word {
    display: inline-block;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.4s ease;
}

.section-title:hover .word {
    animation: word-wave 0.5s ease forwards;
}

.section-title .word:nth-child(1) {
    animation-delay: 0s;
}

.section-title .word:nth-child(2) {
    animation-delay: 0.05s;
}

.section-title .word:nth-child(3) {
    animation-delay: 0.1s;
}

.section-title .word:nth-child(4) {
    animation-delay: 0.15s;
}

.section-title .word:nth-child(5) {
    animation-delay: 0.2s;
}

@keyframes word-wave {
    0% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.section-title[data-hl="1"] .word:last-child {
    color: var(--pl);
}

.section-title[data-hl="2"] .word:last-child {
    color: var(--pl);
}

.section-desc {
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.85;
    max-width: 800px;
    margin: 0 auto;
}

.stat-row {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 48px;
}

.stat-n {
    font-family: "Gotag", sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--w);
    display: flex;
    justify-content: center;
    position: relative;
    white-space: nowrap;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    transform: translateY(-6px);
}

.stat-item:hover .stat-n {
    text-shadow: 0 0 30px rgba(176, 106, 255, 0.5);
}

.stat-n::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(176, 106, 255, 0.1),
        transparent 70%
    );
    z-index: -1;
    transition: all 0.5s ease;
}

.stat-item:hover .stat-n::after {
    width: 160px;
    height: 160px;
    background: radial-gradient(
        circle,
        rgba(176, 106, 255, 0.2),
        transparent 70%
    );
}

.stat-ac {
    color: var(--pl);
}

.stat-l {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin-top: 6px;
    white-space: nowrap;
}

/* process line aur contact form */
.proc-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px 100px;
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    z-index: 10;
    padding-bottom: 120px;
}

.proc-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(176, 106, 255, 0.6));
}

.proc-step {
    position: relative;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(176, 106, 255, 0.35);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: left;
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    box-shadow:
        0 0 20px rgba(176, 106, 255, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition:
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.proc-step:hover {
    border-color: rgba(176, 106, 255, 0.85);
    box-shadow:
        0 0 40px rgba(176, 106, 255, 0.3),
        0 0 80px rgba(176, 106, 255, 0.15),
        0 15px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(176, 106, 255, 0.1);
}

.proc-step.reveal {
    opacity: 1;
}

.proc-step:nth-of-type(odd) {
    transform: translateY(40px);
}

.proc-step:nth-of-type(even) {
    transform: translateY(140px);
}

.proc-step.reveal:nth-of-type(odd) {
    transform: translateY(0);
}

.proc-step.reveal:nth-of-type(even) {
    transform: translateY(100px);
}

.proc-n {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--pl);
    margin-bottom: 28px;
}

.proc-t {
    font-size: 1.5rem;
    font-family: "Gotag", sans-serif;
    margin-bottom: 14px;
}

.proc-d {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
}

.label-note {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
}

.cta-sub {
    width: auto !important;
    min-width: 280px;
    margin: 32px auto 0;
    font-size: 1.1rem;
    padding: 16px 48px !important;
    text-transform: none;
    font-weight: 600;
}

/* Form field reveal order: Reference Link before Submit button */
.cta-form > .cta-inputs > .form-group.reveal-on-scroll.visible:last-of-type {
    transition-delay: 0.15s !important;
}

.cta-form div.reveal-on-scroll.visible:last-child {
    transition-delay: 0.3s !important;
}

.btn-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-status {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 4, 10, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-status.show {
    opacity: 1;
    pointer-events: auto;
}

.form-status h3,
.form-status p,
.form-status .btn-primary,
.form-status .btn-retry {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.form-status.show h3 {
    animation: status-pop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.form-status.show p {
    animation: status-pop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.45s;
}

.form-status.show .btn-primary,
.form-status.show .btn-retry {
    animation: status-pop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

@keyframes status-pop {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-status h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--pl));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-status p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    line-height: 1.6;
}

.error-title {
    background: #ff6b6b;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Gotag", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

#form-error {
    border-color: rgba(255, 0, 0, 0.3);
}

/* Footer & Marquee */
footer {
    position: relative;
    z-index: 20;
    /* Ensure clickable over 3D canvas */
    padding: 48px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(4, 4, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.f-copy {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.f-links {
    display: flex;
    gap: 24px;
}

.f-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.f-links a:hover {
    color: var(--pl);
}

.mq-strip {
    overflow: hidden;
    background: rgba(148, 52, 230, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    margin: 40px 0;
    position: relative;
}

.mq-strip::before,
.mq-strip::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.mq-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--dark), transparent);
}

.mq-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--dark), transparent);
}

.mq-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

/* .mq-track:hover {
    animation-play-state: paused;
} */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.mq-item {
    display: flex;
    gap: 20px;
    padding: 0 32px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mq-item:hover {
    color: var(--pl);
}

.mq-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--pl);
    border-radius: 50%;
    flex-shrink: 0;
    align-self: center;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 52px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 44px 40px 36px;
    text-align: left;
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 22px;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(176, 106, 255, 0),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contact-card:hover::before {
    opacity: 1;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(176, 106, 255, 0.12),
        transparent 70%
    );
}

.contact-card:hover {
    border-color: rgba(176, 106, 255, 0.6);
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 0 20px rgba(176, 106, 255, 0.25),
        0 0 60px rgba(176, 106, 255, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.4);
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 28px;
    color: var(--pl);
}

.card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
}

.contact-card h3 {
    font-family: "Gotag", sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
}

.cta-form {
    max-width: 860px;
    margin: 40px auto 0;
    background: rgba(15, 15, 25, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--w);
    letter-spacing: 0.5px;
}

.cta-inp {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--w);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cta-inp:focus {
    outline: none;
    border-color: var(--pl);
    background: rgba(176, 106, 255, 0.05);
    box-shadow: 0 0 15px rgba(176, 106, 255, 0.2);
}

select.cta-inp option {
    background: var(--darker);
    color: #fff;
}

.cta-inp:-webkit-autofill,
.cta-inp:-webkit-autofill:hover,
.cta-inp:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    transition: background-color 5000s ease-in-out 0s;
    background-color: transparent !important;
}

/* Multi-Select Dropdown */
.multi-select {
    position: relative;
    width: 100%;
}

.select-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--w);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.multi-select.active .select-header {
    border-color: var(--pl);
    background: rgba(176, 106, 255, 0.05);
    box-shadow: 0 0 15px rgba(176, 106, 255, 0.2);
}

/* Stacking context fix: ensure active dropdown is above other fields */
.form-group:has(.multi-select.active) {
    position: relative;
    z-index: 100;
}

.selected-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
    pointer-events: none;
}

.chevron {
    transition: transform 0.3s ease;
    opacity: 0.7;
    pointer-events: none;
}

.multi-select.active .chevron {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #0a0a12; /* Solid dark background to prevent overlap transparency */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px;
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.multi-select.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Custom Checkbox inside multi-select */
.check-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.check-group:hover {
    background: rgba(255, 255, 255, 0.05);
}

.check-group input {
    display: none;
}

.check-box {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.check-group input:checked + .check-box {
    background: var(--pl);
    border-color: var(--pl);
}

.check-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.check-group input:checked + .check-box::after {
    transform: rotate(45deg) scale(1);
}

.check-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.check-group:hover .check-text {
    color: #fff;
}

.check-group input:checked ~ .check-text {
    color: #fff;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.btn-contact {
    /* Shares core styles from .btn-primary block */
    width: 100%;
    padding: 15px 0;
    margin-bottom: 28px;
}

.card-footer {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tags */
.work-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 44px;
}

.work-tags .tag {
    padding: 9px 22px;
    background: transparent;
    border: 1.5px solid rgba(176, 106, 255, 0.5);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.4s;
}

.work-tags .tag.active {
    background: linear-gradient(135deg, #7b2fd4, #9434e6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(148, 52, 230, 0.4);
}

.work-tags .tag:not(.active):hover {
    background: rgba(176, 106, 255, 0.1);
    color: #fff;
    border-color: rgba(176, 106, 255, 0.6);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 5px 20px rgba(176, 106, 255, 0.25);
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* discord wala popup */
.discord-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        backdrop-filter 0.4s ease;
}

.discord-card-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.discord-profile-card {
    width: 100%;
    max-width: 380px;
    background: #1e1f22;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: "Outfit", sans-serif;
    color: #dbdee1;
}

.discord-card-overlay.active .discord-profile-card {
    transform: scale(1) translateY(0);
}

.card-header {
    position: relative;
    padding-bottom: 20px;
}

.card-header .banner {
    height: 100px;
    background: var(--purple);
}

.avatar-wrapper {
    position: absolute;
    top: 50px;
    left: 20px;
    width: 90px;
    height: 90px;
    padding: 6px;
    background: #1e1f22;
    border-radius: 50%;
}

.avatar-wrapper .avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 5px solid #1e1f22;
}

.status-indicator.online {
    background: #23a55a;
}

.message-bubble {
    position: absolute;
    top: 85px;
    left: 125px;
    background: #313338;
    padding: 8px 12px;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: bubble-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes bubble-pop {
    from {
        transform: scale(0.6) translateY(10px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.message-bubble .plus-icon {
    width: 18px;
    height: 18px;
    background: #4e5058;
    border-radius: 50%;
    color: #dbdee1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.bubble-text {
    font-size: 0.85rem;
    font-style: italic;
    color: #b5bac1;
}

.card-body {
    padding: 60px 20px 20px;
    background: #111214;
}

.profile-info {
    margin-bottom: 20px;
}

.username-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.display-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.tagline-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.username {
    font-size: 0.95rem;
    color: #b5bac1;
}

.badges {
    display: flex;
    gap: 6px;
}

.badge {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge.nitro {
    color: #f47fff;
}
.badge.legacy {
    color: #22c55e;
}

.copy-discord-btn {
    background: none;
    border: none;
    color: #dbdee1; /* Brighter discord gray */
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-left: 2px;
}

.copy-discord-btn svg {
    width: 16px;
    height: 16px;
}

.copy-discord-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.copy-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.copy-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.copy-discord-btn:hover .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-discord-btn.copied {
    color: #23a55a;
}

.badge-icon.status-icon-alt {
    width: 18px;
    color: #b5bac1;
}

.quote-section {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quote {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #dbdee1;
    font-weight: 400;
}

@media (max-width: 480px) {
    .discord-profile-card {
        max-width: 90%;
    }
}

@media (max-width: 860px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-col {
        gap: 32px;
    }

    .form-group {
        gap: 16px;
    }

    .cta-form {
        padding: 30px 20px;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        height: 100vh;
        background: rgba(4, 4, 10, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 60px 40px;
        gap: 35px;
        border-bottom: 1px solid rgba(176, 106, 255, 0.1);
        transform: none;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active a {
        font-size: 1.4rem;
        font-weight: 600;
        text-align: center;
        width: 100%;
        display: block;
        /* Ensure it's a block for centering */
    }

    .nav-menu.active li {
        width: 100%;
        display: block;
        list-style: none;
    }

    /* Adjust top when scrolled */
    .navbar.scrolled .nav-menu.active {
        top: 70px;
    }

    .stat-row {
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat-item {
        width: 45%;
    }

    .floating-reels {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px 0;
    }

    .proc-row {
        grid-template-columns: 1fr;
        margin-top: 40px;
        padding-bottom: 0;
    }

    .proc-step:nth-of-type(even) {
        transform: translateY(0) !important;
    }

    .proc-lines-overlay {
        display: none !important;
    }
}

@media (max-width: 500px) {
    .navbar {
        height: 70px;
        padding: 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-menu.active {
        top: 70px;
    }

    .nav-logo img {
        height: 50px;
    }

    .panel {
        padding: 80px 16px !important;
    }

    .hero-logo {
        margin-top: -2vh !important;
        margin-bottom: 16px !important;
    }

    .stat-row {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        /* Stack only on small mobile */
    }

    .floating-phone,
    .floating-screen,
    .proc-step,
    .contact-card {
        border: 1px solid rgba(176, 106, 255, 0.2);
    }

    footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 32px 20px;
    }
}

/* Landscape / Short Height Fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .section-pad {
        padding: 60px 0;
    }

    .hero-panel {
        padding-top: 60px !important;
    }

    .hero-logo {
        max-height: 70vh;
    }

    .proc-panel {
        padding: 60px 30px;
    }
}
