@charset "UTF-8";
/* =========================================================
   DHURVEX PORTFOLIO — GLOBAL LUXURY DESIGN SYSTEM
   9 THEMES, COMPACT NAVBAR, FUTURISTIC ICON ANIMATIONS, CARDS & BUTTONS
   ========================================================= */

/* =========================================================
   1. THEME DEFINITIONS (APPLIES ACROSS ENTIRE WEBSITE)
   ========================================================= */

:root,
html[data-theme="gold"] {
    --bg-base: #060708;
    --bg-surface: #0e1014;
    --bg-card: rgba(18, 20, 26, 0.88);
    --bg-card-hover: rgba(28, 32, 42, 0.98);
    --bg-glass: rgba(12, 14, 18, 0.78);
    --bg-input: #0a0c10;

    --primary: #d4af37;
    --primary-light: #f5df88;
    --primary-dark: #aa820a;
    --primary-dim: var(--primary-dark);
    --primary-glow: rgba(212, 175, 55, 0.35);
    --primary-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa820a 100%);
    --primary-text-on: #080808;

    --accent: #6fa8ff;
    --accent-glow: rgba(111, 168, 255, 0.25);

    --text-primary: #ffffff;
    --text-secondary: #c5cbd5;
    --text-muted: #848d9a;

    --border: rgba(212, 175, 55, 0.28);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(212, 175, 55, 0.55);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(212, 175, 55, 0.14);
    --ambient-2: rgba(111, 168, 255, 0.10);
}

html[data-theme="cyber"] {
    --bg-base: #030712;
    --bg-surface: #081024;
    --bg-card: rgba(11, 23, 48, 0.88);
    --bg-card-hover: rgba(18, 36, 75, 0.98);
    --bg-glass: rgba(8, 17, 36, 0.78);
    --bg-input: #050c1b;

    --primary: #00f2fe;
    --primary-light: #70f7ff;
    --primary-dark: #0070f3;
    --primary-glow: rgba(0, 242, 254, 0.38);
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --primary-text-on: #030712;

    --accent: #a855f7;
    --accent-glow: rgba(168, 85, 247, 0.28);

    --text-primary: #ffffff;
    --text-secondary: #bae6fd;
    --text-muted: #64748b;

    --border: rgba(0, 242, 254, 0.30);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.60);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(0, 242, 254, 0.14);
    --ambient-2: rgba(168, 85, 247, 0.12);
}

html[data-theme="emerald"] {
    --bg-base: #020d07;
    --bg-surface: #06190f;
    --bg-card: rgba(8, 32, 19, 0.88);
    --bg-card-hover: rgba(14, 48, 29, 0.98);
    --bg-glass: rgba(6, 25, 15, 0.78);
    --bg-input: #04140b;

    --primary: #10b981;
    --primary-light: #6ee7b7;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.38);
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #34d399 50%, #059669 100%);
    --primary-text-on: #020d07;

    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.25);

    --text-primary: #ffffff;
    --text-secondary: #a7f3d0;
    --text-muted: #6b7280;

    --border: rgba(16, 185, 129, 0.30);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(16, 185, 129, 0.60);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(16, 185, 129, 0.14);
    --ambient-2: rgba(56, 189, 248, 0.10);
}

html[data-theme="crimson"] {
    --bg-base: #0b0306;
    --bg-surface: #18060b;
    --bg-card: rgba(32, 9, 16, 0.88);
    --bg-card-hover: rgba(50, 14, 25, 0.98);
    --bg-glass: rgba(24, 7, 12, 0.78);
    --bg-input: #100307;

    --primary: #ff2d55;
    --primary-light: #ff6b81;
    --primary-dark: #b91c1c;
    --primary-glow: rgba(255, 45, 85, 0.38);
    --primary-gradient: linear-gradient(135deg, #ff2d55 0%, #f87171 50%, #b91c1c 100%);
    --primary-text-on: #ffffff;

    --accent: #fbbf24;
    --accent-glow: rgba(251, 191, 36, 0.25);

    --text-primary: #ffffff;
    --text-secondary: #fecaca;
    --text-muted: #9ca3af;

    --border: rgba(255, 45, 85, 0.30);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 45, 85, 0.60);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(255, 45, 85, 0.14);
    --ambient-2: rgba(251, 191, 36, 0.10);
}

html[data-theme="amethyst"] {
    --bg-base: #080312;
    --bg-surface: #140824;
    --bg-card: rgba(28, 12, 50, 0.88);
    --bg-card-hover: rgba(42, 18, 75, 0.98);
    --bg-glass: rgba(20, 9, 36, 0.78);
    --bg-input: #0e051a;

    --primary: #a855f7;
    --primary-light: #c084fc;
    --primary-dark: #7e22ce;
    --primary-glow: rgba(168, 85, 247, 0.38);
    --primary-gradient: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #7e22ce 100%);
    --primary-text-on: #ffffff;

    --accent: #f43f5e;
    --accent-glow: rgba(244, 63, 94, 0.25);

    --text-primary: #ffffff;
    --text-secondary: #e9d5ff;
    --text-muted: #94a3b8;

    --border: rgba(168, 85, 247, 0.30);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.60);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(168, 85, 247, 0.16);
    --ambient-2: rgba(244, 63, 94, 0.10);
}

html[data-theme="glass"] {
    --bg-base: #070d18;
    --bg-surface: #101c34;
    --bg-card: rgba(18, 32, 60, 0.88);
    --bg-card-hover: rgba(26, 46, 84, 0.98);
    --bg-glass: rgba(16, 28, 52, 0.78);
    --bg-input: #0b1426;

    --primary: #38bdf8;
    --primary-light: #bae6fd;
    --primary-dark: #0284c7;
    --primary-glow: rgba(56, 189, 248, 0.38);
    --primary-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    --primary-text-on: #070d18;

    --accent: #818cf8;
    --accent-glow: rgba(129, 140, 248, 0.28);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --border: rgba(56, 189, 248, 0.30);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.60);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(56, 189, 248, 0.14);
    --ambient-2: rgba(129, 140, 248, 0.12);
}

html[data-theme="dark"] {
    --bg-base: #090a0f;
    --bg-surface: #10121a;
    --bg-card: rgba(20, 24, 34, 0.88);
    --bg-card-hover: rgba(28, 34, 48, 0.98);
    --bg-glass: rgba(14, 17, 24, 0.78);
    --bg-input: #0c0e14;

    --primary: #60a5fa;
    --primary-light: #93c5fd;
    --primary-dark: #2563eb;
    --primary-glow: rgba(96, 165, 250, 0.35);
    --primary-gradient: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #2563eb 100%);
    --primary-text-on: #090a0f;

    --accent: #34d399;
    --accent-glow: rgba(52, 211, 153, 0.25);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    --border: rgba(96, 165, 250, 0.28);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(96, 165, 250, 0.55);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(96, 165, 250, 0.14);
    --ambient-2: rgba(52, 211, 153, 0.10);
}

html[data-theme="midnight"] {
    --bg-base: #050814;
    --bg-surface: #0a0f24;
    --bg-card: rgba(14, 21, 46, 0.88);
    --bg-card-hover: rgba(22, 33, 70, 0.98);
    --bg-glass: rgba(10, 15, 34, 0.78);
    --bg-input: #080c1e;

    --primary: #818cf8;
    --primary-light: #c7d2fe;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(129, 140, 248, 0.38);
    --primary-gradient: linear-gradient(135deg, #818cf8 0%, #c7d2fe 50%, #4f46e5 100%);
    --primary-text-on: #050814;

    --accent: #f472b6;
    --accent-glow: rgba(244, 114, 182, 0.25);

    --text-primary: #ffffff;
    --text-secondary: #c7d2fe;
    --text-muted: #64748b;

    --border: rgba(129, 140, 248, 0.30);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(129, 140, 248, 0.60);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px var(--primary-glow);

    --ambient-1: rgba(129, 140, 248, 0.14);
    --ambient-2: rgba(244, 114, 182, 0.10);
}

html[data-theme="minimal"] {
    --bg-base: #0a0a0a;
    --bg-surface: #141414;
    --bg-card: rgba(24, 24, 24, 0.88);
    --bg-card-hover: rgba(34, 34, 34, 0.98);
    --bg-glass: rgba(18, 18, 18, 0.78);
    --bg-input: #101010;

    --primary: #f1f5f9;
    --primary-light: #ffffff;
    --primary-dark: #94a3b8;
    --primary-glow: rgba(241, 245, 249, 0.28);
    --primary-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    --primary-text-on: #0a0a0a;

    --accent: #94a3b8;
    --accent-glow: rgba(148, 163, 184, 0.20);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #78716c;

    --border: rgba(255, 255, 255, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 255, 255, 0.45);

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px var(--primary-glow);

    --ambient-1: rgba(255, 255, 255, 0.08);
    --ambient-2: rgba(148, 163, 184, 0.06);
}

html[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-glass: rgba(255, 255, 255, 0.82);
    --bg-input: #f1f5f9;

    --primary: #d4af37;
    --primary-light: #f5df88;
    --primary-dark: #aa820a;
    --primary-glow: rgba(212, 175, 55, 0.28);
    --primary-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa820a 100%);
    --primary-text-on: #ffffff;

    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.18);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --border: rgba(212, 175, 55, 0.35);
    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(212, 175, 55, 0.55);

    --shadow-sm: 0 3px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 16px 38px rgba(15, 23, 42, 0.08), 0 0 25px rgba(212, 175, 55, 0.16);

    --ambient-1: rgba(212, 175, 55, 0.10);
    --ambient-2: rgba(99, 102, 241, 0.08);
}

/* ── Natural Soft Shadows for Light Mode (Large Rounded Elements) ── */
html[data-theme="light"] .dx-css3d-medallion {
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08), 0 0 24px rgba(212, 175, 55, 0.20) !important;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0.98) 78%) !important;
    border-color: rgba(212, 175, 55, 0.60) !important;
}

html[data-theme="light"] .dx-ring-outer {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
}

html[data-theme="light"] .about-portrait-frame {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 0 24px rgba(212, 175, 55, 0.22) !important;
}

html[data-theme="light"] .about-status-badge {
    background: #ffffff !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .auth-card,
html[data-theme="light"] .auth-3d-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.06),
        0 0 30px rgba(212, 175, 55, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

html[data-theme="light"] .auth-card:hover,
html[data-theme="light"] .auth-3d-card:hover {
    box-shadow:
        0 24px 55px rgba(15, 23, 42, 0.09),
        0 0 38px rgba(212, 175, 55, 0.15) !important;
}

html[data-theme="light"] .auth-brand-logo {
    box-shadow:
        0 6px 20px rgba(212, 175, 55, 0.25),
        0 0 0 4px rgba(212, 175, 55, 0.08) !important;
}

/* =========================================================
   2. RESET & BASE BODY
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    font-family: "Poppins", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Ambient Glow Blobs */
.dx-ambient-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(90px);
    opacity: 0.85;
    transition: background 0.5s ease;
}

.dx-glow-1 {
    width: clamp(280px, 45vw, 550px);
    height: clamp(280px, 45vw, 550px);
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, var(--ambient-1) 0%, transparent 70%);
}

.dx-glow-2 {
    width: clamp(300px, 50vw, 600px);
    height: clamp(300px, 50vw, 600px);
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--ambient-2) 0%, transparent 70%);
}

.dx-site-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* =========================================================
   3. PAGE LOADER
   ========================================================= */

.dx-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dx-page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dx-loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.dx-loader-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: loaderPulse 1.8s ease-in-out infinite;
}

.dx-loader-bar {
    width: 140px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.dx-loader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: var(--primary);
    border-radius: 10px;
    animation: loaderSlide 1.2s infinite ease-in-out;
}

@keyframes loaderSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(350%);
    }
}

@keyframes loaderPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.03);
    }
}

/* =========================================================
   4. COMPACT GLASS NAVBAR & FUTURISTIC ICON ANIMATIONS
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    background: linear-gradient(180deg, rgba(6, 7, 10, 0.94) 0%, rgba(10, 12, 18, 0.88) 100%) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.05) inset !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(4, 5, 8, 0.98) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.15) !important;
    border-bottom-color: rgba(212, 175, 55, 0.35) !important;
}

.navbar-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 3px 16px !important;
    min-height: 44px !important;
    height: 44px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Brand Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.navbar-logo:hover {
    transform: scale(1.03);
}

.logo-avatar-wrap {
    position: relative;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50%;
    padding: 1.5px;
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa820a 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.navbar-logo:hover .logo-avatar-wrap {
    transform: rotate(12deg);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

.logo-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-surface);
}

.logo-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    border: 1.5px solid #060708;
    box-shadow: 0 0 5px #10b981;
    animation: statusPulse 2s infinite alternate;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 8px #10b981;
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 0.90rem !important;
    font-weight: 800;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 60%, #f3e5ab 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    transition: all 0.3s ease;
}

.brand-subtitle {
    font-size: 0.54rem !important;
    color: var(--text-muted);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
    margin-top: 2px;
}

/* Mobile Nav Header & Close Button (Hidden on Desktop) */
.nav-menu-header {
    display: none;
}

.nav-menu-close {
    display: none;
}

/* Compact Nav Menu Capsule */
.nav-menu-inner {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 5px !important;
    background: linear-gradient(135deg, rgba(14, 16, 22, 0.92) 0%, rgba(8, 10, 14, 0.96) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.24) !important;
    border-radius: 24px !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 3px 14px rgba(0, 0, 0, 0.45);
    animation: navPillGlow 4s ease-in-out infinite;
}

@keyframes navPillGlow {

    0%,
    100% {
        border-color: rgba(212, 175, 55, 0.22);
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 3px 12px rgba(0, 0, 0, 0.4);
    }

    50% {
        border-color: rgba(212, 175, 55, 0.5);
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 4px 16px rgba(212, 175, 55, 0.16);
    }
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px !important;
    border-radius: 16px;
    font-size: 0.69rem !important;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #c0c8d8 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-decoration: none;
}

.nav-text {
    font-size: 0.69rem !important;
}

.nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
}

.nav-icon-wrap i {
    font-size: 0.67rem !important;
    transition: transform 0.22s ease, color 0.22s ease;
}

.nav-link:hover .nav-icon-wrap i {
    transform: translateY(-2px) scale(1.15);
    color: var(--primary);
}

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(212, 175, 55, 0.14) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.nav-link.active {
    color: #060708 !important;
    background: linear-gradient(135deg, #d4af37 0%, #f9f0ca 100%) !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45) !important;
    position: relative;
    overflow: hidden;
}

.nav-link.active .nav-icon-wrap i {
    color: #060708 !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: activeLinkSheen 3.5s infinite;
}

@keyframes activeLinkSheen {
    0% {
        left: -100%;
    }

    25%,
    100% {
        left: 100%;
    }
}


/* =========================================================
   STYLISH FUTURISTIC NAVBAR ICON ANIMATIONS
   ========================================================= */

/* Home Mini Badge */
.nav-mini-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%) scale(0.72);
    background: var(--primary-gradient);
    color: var(--primary-text-on);
    font-size: 0.54rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 0 10px var(--primary-glow);
    animation: badgeFloat 2.6s ease-in-out infinite;
    pointer-events: none;
    letter-spacing: 0.2px;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(0.72);
    }

    50% {
        transform: translateX(-50%) translateY(-3px) scale(0.76);
    }
}

/* About Scanning Ring */
.nav-fx-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px dashed var(--primary);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.nav-link:hover .nav-fx-ring,
.nav-link.active .nav-fx-ring {
    opacity: 0.85;
    animation: spinSlow 4s linear infinite;
}

/* Projects Coding Brackets */
.nav-fx-code {
    position: absolute;
    top: -9px;
    right: -7px;
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.7;
    font-family: monospace;
    animation: codePulse 2s ease-in-out infinite;
}

@keyframes codePulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
        text-shadow: 0 0 6px var(--primary);
    }
}

/* Gallery Sparkle */
.nav-fx-sparkle {
    position: absolute;
    top: -7px;
    right: -6px;
    font-size: 0.52rem;
    color: var(--primary);
    animation: sparkleSpin 3s linear infinite;
}

@keyframes sparkleSpin {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.4;
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
        text-shadow: 0 0 6px var(--primary);
    }

    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.4;
    }
}

/* Music Soundwave Bars */
.nav-fx-soundwave {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 5px;
    pointer-events: none;
}

.nav-fx-soundwave i {
    width: 2px;
    background: var(--primary);
    border-radius: 1px;
    display: block;
}

.nav-fx-soundwave i:nth-child(1) {
    height: 2px;
    animation: waveBar 0.8s ease-in-out infinite alternate;
}

.nav-fx-soundwave i:nth-child(2) {
    height: 5px;
    animation: waveBar 0.8s ease-in-out 0.2s infinite alternate;
}

.nav-fx-soundwave i:nth-child(3) {
    height: 3px;
    animation: waveBar 0.8s ease-in-out 0.4s infinite alternate;
}

@keyframes waveBar {
    0% {
        height: 2px;
    }

    100% {
        height: 5px;
    }
}

/* Story Star Glow */
.nav-fx-star {
    position: absolute;
    top: -8px;
    right: -5px;
    font-size: 0.5rem;
    color: var(--primary);
    animation: pulseStar 1.8s ease-in-out infinite;
}

@keyframes pulseStar {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        text-shadow: 0 0 6px var(--primary);
    }
}

/* Blog Pulse Dot */
.nav-fx-pulse {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary);
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

/* People Node Dots */
.nav-fx-nodes {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
}

.nav-fx-nodes i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--primary);
    display: block;
    animation: nodePulse 1.2s ease-in-out infinite alternate;
}

.nav-fx-nodes i:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes nodePulse {
    0% {
        opacity: 0.3;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Contact Radar Pulse */
.nav-fx-radar {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    opacity: 0;
    animation: radarWave 2s ease-out infinite;
}

@keyframes radarWave {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Controls */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.22s ease;
    position: relative;
}

.theme-toggle-btn:hover {
    transform: rotate(20deg) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

.theme-active-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.theme-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 270px;
    padding: 14px;
    border-radius: 14px;
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1010;
}

.theme-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.theme-menu-header {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle);
}

.theme-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.theme-opt {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-size: 0.74rem;
    color: var(--text-secondary);
    text-align: left;
}

.theme-opt:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.theme-opt.active {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.10);
    color: var(--primary);
    font-weight: 600;
}

.color-preview {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: all 0.22s ease;
}

.nav-admin-btn:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    box-shadow: 0 3px 14px var(--primary-glow);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background: var(--primary);
}

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

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: var(--primary);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden !important;
}

/* =========================================================
   5. COMMON PAGE CONTAINERS, HEROES & LABELS
   ========================================================= */

.main-content,
main {
    flex: 1;
    width: 100%;
}

.page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 45px 20px 80px;
}

.section-hero,
.page-hero,
.about-hero,
.projects-hero,
.gallery-hero,
.music-hero,
.story-hero,
.blog-hero,
.people-hero,
.contact-hero {
    text-align: center;
    padding: 50px 18px 40px;
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.section-label,
.section-tag,
.projects-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    margin-bottom: 14px;
    box-shadow: 0 2px 10px var(--primary-glow);
}

.section-hero h1,
.page-title,
.about-hero h1,
.projects-hero h1,
.gallery-hero h1,
.music-hero h1,
.story-hero h1,
.blog-hero h1,
.people-hero h1,
.contact-hero h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.18;
    margin-bottom: 14px;
}

.section-hero h1 span,
.page-title span,
.about-hero h1 span,
.projects-hero h1 span,
.gallery-hero h1 span,
.music-hero h1 span,
.story-hero h1 span,
.blog-hero h1 span,
.people-hero h1 span,
.contact-hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text,
.section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.7vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 8px;
}

.section-heading h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   6. PREMIUM MODERN STATIC BUTTONS (LARGE & SMALL)
   ========================================================= */

/* ── Base Button ── */
.btn,
.dx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 12px;
    font-size: 0.93rem;
    font-weight: 600;
    letter-spacing: 0.15px;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    line-height: 1.4;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Ripple pseudo-element */
.btn::after,
.dx-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
}

.btn:active::after,
.dx-btn:active::after {
    opacity: 1;
}

.btn:focus-visible,
.dx-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ── Primary (Gradient Fill) ── */
.btn-primary,
.dx-btn-primary {
    background: var(--primary-gradient);
    color: var(--primary-text-on);
    box-shadow: 0 4px 18px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-primary:hover,
.dx-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: brightness(1.07);
    color: var(--primary-text-on);
}

.btn-primary:active,
.dx-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px var(--primary-glow);
}

/* ── Outline ── */
.btn-outline,
.dx-btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(6px);
}

.btn-outline:hover,
.dx-btn-outline:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline:active,
.dx-btn-outline:active {
    transform: translateY(0);
}

/* ── Ghost (Transparent, Subtle Border) ── */
.btn-ghost,
.dx-btn-ghost {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.btn-ghost:hover,
.dx-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* ── Danger ── */
.btn-danger,
.dx-btn-danger {
    background: rgba(248, 81, 73, 0.12);
    border: 1.5px solid rgba(248, 81, 73, 0.4);
    color: #ff7b72;
}

.btn-danger:hover,
.dx-btn-danger:hover {
    background: #f85149;
    color: #fff;
    border-color: #f85149;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(248, 81, 73, 0.4);
}

/* ── Success ── */
.btn-success,
.dx-btn-success {
    background: rgba(63, 185, 80, 0.12);
    border: 1.5px solid rgba(63, 185, 80, 0.4);
    color: #7ee787;
}

.btn-success:hover,
.dx-btn-success:hover {
    background: #3fb950;
    color: #fff;
    border-color: #3fb950;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(63, 185, 80, 0.4);
}

/* ================================================================
   BESPOKE 3D BUTTONS & MICRO-ANIMATIONS (Sign In, Sign Up & Google)
   Tactile Depth, Multi-Layered Extrusions & Light Reflections
   ================================================================ */

.btn-3d-signin,
.btn-3d-signup,
.btn-3d-google {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.2s ease;
    will-change: transform, box-shadow;
}

.btn-3d-sm {
    padding: 6px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    border-radius: 8px;
    box-shadow: 0 3px 0 #05070c, 0 5px 12px rgba(0, 0, 0, 0.45);
}

.btn-3d-signup.btn-3d-sm {
    box-shadow: 0 3px 0 #6e5405, 0 5px 14px rgba(212, 175, 55, 0.4);
}

.btn-3d-full {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
}

/* Specular Light Reflection Animation */
.btn-3d-signin::before,
.btn-3d-signup::before,
.btn-3d-google::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.28) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: btn3dLightSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btn3dLightSweep {

    0%,
    65% {
        left: -120%;
    }

    100% {
        left: 160%;
    }
}

/* 1. SIGN IN 3D BUTTON (Cyber-Dark Platinum with Gold Rim & Tactile Drop) */
.btn-3d-signin {
    background: linear-gradient(180deg, #1e2638 0%, #101522 60%, #0a0d16 100%);
    color: #ffffff !important;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 0 #05070c,
        0 7px 16px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-3d-signin i {
    color: var(--primary);
    transition: transform 0.2s ease;
}

.btn-3d-signin:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 6px 0 #05070c,
        0 10px 22px rgba(212, 175, 55, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
}

.btn-3d-signin:hover i {
    transform: translateX(2px);
}

.btn-3d-signin:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #05070c,
        0 3px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 2. SIGN UP 3D BUTTON (Signature DhurveX Solid Gold Bullion with 3D Depth) */
.btn-3d-signup {
    background: linear-gradient(180deg, #fae69e 0%, #d4af37 55%, #a88310 100%);
    color: #060708 !important;
    border: 1.5px solid #ffea9f;
    box-shadow: 0 4px 0 #6e5405,
        0 7px 18px rgba(212, 175, 55, 0.45),
        inset 0 1px 2px rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
}

.btn-3d-signup i {
    color: #060708;
    transition: transform 0.2s ease;
}

.btn-3d-signup:hover {
    transform: translateY(-4px);
    filter: brightness(1.06);
    box-shadow: 0 6px 0 #6e5405,
        0 12px 26px rgba(212, 175, 55, 0.65),
        inset 0 1px 2px rgba(255, 255, 255, 0.95);
    color: #060708 !important;
}

.btn-3d-signup:hover i {
    transform: scale(1.18);
}

.btn-3d-signup:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #6e5405,
        0 3px 8px rgba(212, 175, 55, 0.4),
        inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* 3. GOOGLE 3D AUTH BUTTON (Modern White Bevel with Official Google Palette) */
.btn-3d-google {
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 70%, #e2e6eb 100%);
    color: #1f2937 !important;
    border: 1.5px solid #d1d5db;
    box-shadow: 0 4px 0 #9ca3af,
        0 7px 18px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px #ffffff;
    font-size: 0.92rem;
    padding: 11px 22px;
    width: 100%;
    transform: translateY(-2px);
}

.btn-3d-google svg,
.btn-3d-google img,
.btn-3d-google i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-3d-google:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 0 #9ca3af,
        0 11px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px #ffffff;
    color: #111827 !important;
}

.btn-3d-google:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #9ca3af,
        0 3px 8px rgba(0, 0, 0, 0.4);
}

/* Cybersecurity Badge on Auth Pages */
.auth-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 16px;
}

.auth-security-badge i {
    color: #10b981;
}

.auth-privacy-consent {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 14px 0;
    text-align: center;
}

.auth-privacy-consent a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-privacy-consent a:hover {
    color: var(--primary-light);
}

/* ================================================================
   PREMIUM SMALL BUTTONS — elegant, readable, with icon support
   ================================================================ */

.btn-sm,
.dx-btn-sm,
.btn-action-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1.4;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.btn-sm:focus-visible,
.dx-btn-sm:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-sm:active,
.dx-btn-sm:active {
    transform: scale(0.97) translateY(0) !important;
}

/* Small Primary */
.btn-sm.btn-primary,
.dx-btn-sm.dx-btn-primary,
.btn-action-sm.btn-primary {
    background: var(--primary-gradient);
    color: var(--primary-text-on);
    box-shadow: 0 2px 10px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-sm.btn-primary:hover,
.dx-btn-sm.dx-btn-primary:hover,
.btn-action-sm.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px var(--primary-glow);
    filter: brightness(1.08);
    color: var(--primary-text-on);
}

/* Small Outline */
.btn-sm.btn-outline,
.dx-btn-sm.dx-btn-outline,
.btn-action-sm.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
}

.btn-sm.btn-outline:hover,
.dx-btn-sm.dx-btn-outline:hover,
.btn-action-sm.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--primary-glow);
}

/* Small Ghost */
.btn-sm.btn-ghost,
.dx-btn-sm.dx-btn-ghost {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.btn-sm.btn-ghost:hover,
.dx-btn-sm.dx-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Small Danger */
.btn-sm.btn-danger,
.dx-btn-sm.dx-btn-danger {
    background: rgba(248, 81, 73, 0.1);
    border: 1px solid rgba(248, 81, 73, 0.35);
    color: #ff7b72;
}

.btn-sm.btn-danger:hover,
.dx-btn-sm.dx-btn-danger:hover {
    background: #f85149;
    color: #fff;
    border-color: #f85149;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(248, 81, 73, 0.4);
}

/* Small Success */
.btn-sm.btn-success,
.dx-btn-sm.dx-btn-success {
    background: rgba(63, 185, 80, 0.1);
    border: 1px solid rgba(63, 185, 80, 0.35);
    color: #7ee787;
}

.btn-sm.btn-success:hover,
.dx-btn-sm.dx-btn-success:hover {
    background: #3fb950;
    color: #fff;
    border-color: #3fb950;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(63, 185, 80, 0.4);
}

/* ── Square / Icon-Only Button ── */
.btn-icon,
.btn-icon-sm {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.88rem;
}

.btn-icon:hover,
.btn-icon-sm:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-icon:focus-visible,
.btn-icon-sm:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-icon:active,
.btn-icon-sm:active {
    transform: scale(0.95);
}

/* Larger icon button variant */
.btn-icon-lg {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 1rem;
}


/* =========================================================
   7. PREMIUM CARDS (GLOBAL THEMING)
   ========================================================= */

.glass-card,
.dx-card,
.project-card,
.gallery-card,
.video-card,
.music-card,
.story-card,
.blog-card,
.person-card,
.stat-card,
.feature-card {
    background: var(--bg-card) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border) !important;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: var(--text-primary);
}

.glass-card:hover,
.dx-card:hover,
.project-card:hover,
.gallery-card:hover,
.video-card:hover,
.music-card:hover,
.story-card:hover,
.blog-card:hover,
.person-card:hover,
.stat-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow) !important;
    background: var(--bg-card-hover) !important;
    box-shadow: var(--shadow-lg);
}

/* Card Elements */
.card-tag,
.project-category,
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.card-title,
.project-title,
.blog-title,
.story-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.card-desc,
.project-desc,
.blog-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

/* =========================================================
   8. VAM POETIC QUOTE BANNER
   ========================================================= */

.vam-quote-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 18px;
    padding: 36px 26px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    margin: 50px 0;
}

.vam-quote-card::before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 7rem;
    color: var(--primary);
    opacity: 0.12;
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

.vam-quote-text {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.vam-quote-author {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* =========================================================
   8b. BLOG LISTING & DETAIL PAGE
   ========================================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.blog-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.blog-card-meta small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.blog-tag {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: 4px;
}

.blog-card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

/* Blog Post Detail */
.blog-post-page {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.blog-breadcrumb {
    margin-bottom: 28px;
}

.blog-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.blog-breadcrumb a:hover {
    color: var(--primary);
}

.blog-post-header {
    text-align: center;
    margin-bottom: 36px;
}

.blog-post-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 16px 0 18px;
    letter-spacing: -0.02em;
}

.blog-post-excerpt {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 20px;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.blog-post-meta span i {
    margin-right: 6px;
    color: var(--primary);
}

.blog-post-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-post-featured {
    margin-bottom: 40px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.blog-post-featured img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.blog-post-body {
    margin-bottom: 48px;
}

.blog-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-blocks {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-paragraph {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin: 0;
}

.blog-heading-block {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0 4px;
    letter-spacing: -0.01em;
}

.blog-quote-block {
    margin: 8px 0;
    animation: pulseGlow 5s ease-in-out infinite;
}

.blog-image-block {
    margin: 12px 0;
}

.blog-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.3);
}

.blog-image-wrap img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.blog-image-block:hover .blog-image-wrap img {
    transform: scale(1.02);
}

.blog-image-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

.blog-author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 18px;
    margin-top: 20px;
}

.blog-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glow);
    flex-shrink: 0;
}

.blog-author-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    font-size: 1.4rem;
}

.blog-author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.blog-author-name {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 4px 0 6px;
}

.blog-author-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

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

    .blog-author-card {
        flex-direction: column;
        text-align: center;
    }

    .vam-quote-card {
        padding: 28px 18px;
    }
}

/* =========================================================
   9. EMPTY STATES
   ========================================================= */

.dx-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 18px;
    max-width: 620px;
    margin: 30px auto;
}

.dx-empty-icon {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 14px;
    opacity: 0.85;
}

.dx-empty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dx-empty-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* =========================================================
   10. FORMS & INPUTS
   ========================================================= */

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: all 0.22s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
    min-height: 130px;
    resize: vertical;
}

/* =========================================================
   11. FOOTER STYLING
   ========================================================= */

.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 55px 20px 25px;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 45px;
}

.footer-brand-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand-author {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.footer-bio {
    margin: 12px 0 18px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.22s ease;
}

.social-icon-btn:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 3px 12px var(--primary-glow);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav-list a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.footer-nav-list a i {
    font-size: 0.65rem;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.footer-nav-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.f-contact-item i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.f-contact-item:hover {
    color: var(--primary);
}

.footer-bottom-row {
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-row strong {
    color: var(--text-primary);
}

.back-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-3px);
}

/* =========================================================
   12. HOMEPAGE HERO SECTION (DESKTOP & MOBILE RESPONSIVE)
   ========================================================= */

.home-hero {
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 24px 16px;
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.home-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr;
    align-items: center;
    gap: clamp(20px, 3.5vw, 48px);
    width: 100%;
    margin: auto 0;
}

/* 1. Introduction — LEFT Side (Column 1, Row 1) */
.home-hero-content {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 1 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    align-self: center;
    width: 100%;
    animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* 2. 3D Logo — RIGHT Side (Column 2, Row 1) */
.home-hero-visual {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: 2 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    position: relative;
    width: 100%;
    margin-top: -24px;
    animation: slideInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

.dhurvex-3d-logo-container {
    width: clamp(250px, 25vw, 350px);
    height: clamp(250px, 25vw, 350px);
    aspect-ratio: 1 / 1;
    max-width: 100%;
    position: relative;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.dx-css3d-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dx-css3d-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.dx-ring-outer {
    inset: -10px;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    animation: rotateOuterRing 35s linear infinite;
    box-shadow: 0 0 25px var(--primary-glow);
}

.dx-ring-inner {
    inset: -4px;
    border: 1.5px solid rgba(212, 175, 55, 0.6);
    animation: rotateInnerRing 20s linear infinite reverse;
}

@keyframes rotateOuterRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateInnerRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.dx-css3d-medallion {
    width: 86%;
    height: 86%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--primary-glow);
    border: 2.5px solid var(--primary);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(6, 7, 8, 0.95) 80%);
    animation: floatMedallion 6s ease-in-out infinite alternate;
}

@keyframes floatMedallion {
    0% {
        transform: translateY(0) rotateY(-3deg);
    }

    100% {
        transform: translateY(-8px) rotateY(3deg);
    }
}

.dx-css3d-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* =========================================================
   FUTURISTIC HERO TYPOGRAPHY & DESIGN SYSTEM
   Orbitron (Headings/Pillars) | Space Grotesk (Name/Brand) | Poppins & Inter (Body)
   ========================================================= */

/* 1. Futuristic Welcome Badge */
.hero-futuristic-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(14, 18, 24, 0.75) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(12px);
    margin-bottom: 12px;
    position: relative;
    animation: heroFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-futuristic-badge .badge-wave {
    font-size: 1.05rem;
    display: inline-block;
    animation: handWave 2.2s infinite ease-in-out;
    transform-origin: 70% 70%;
}

@keyframes handWave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(14deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    45% {
        transform: rotate(14deg);
    }

    60% {
        transform: rotate(-4deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.hero-futuristic-badge .badge-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.4px;
}

.hero-futuristic-badge .badge-brand {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.hero-futuristic-badge .badge-glow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ffc8;
    box-shadow: 0 0 10px #00ffc8;
    animation: blinkGlow 1.8s infinite alternate;
}

@keyframes blinkGlow {
    0% {
        opacity: 0.4;
        transform: scale(0.85);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 2. Main Futuristic Headline */
.home-hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.9rem, 3.4vw, 3.1rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
    animation: heroFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s both;
}

.hero-name-glow {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 40%, var(--primary) 70%, #f39c12 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
    display: inline-block;
    position: relative;
}

.hero-name-separator {
    color: var(--primary);
    opacity: 0.7;
    margin: 0 6px;
    font-weight: 400;
}

.hero-aka-text {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(0.72em, 1.1vw, 0.8em);
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.9;
    margin: 0 4px;
    letter-spacing: 0.2px;
}

.hero-brand-glow {
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: 1.2px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #00e5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
    display: inline-block;
}

.hero-rocket-emoji {
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(255, 120, 50, 0.5));
    animation: rocketHover 3s ease-in-out infinite alternate;
    margin-left: 4px;
}

@keyframes rocketHover {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-4px) rotate(6deg);
    }
}

/* =========================================================
   3. UNBOXED NATURAL HERO TYPING ANIMATION
   "Student & [Content Creator / YouTuber / Web Developer...]"
   ========================================================= */

.home-hero-typing-line {
    font-family: 'Space Grotesk', 'Poppins', -apple-system, sans-serif;
    font-size: clamp(1.45rem, 2.7vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 6px 0 16px;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 6px;
    row-gap: 4px;
    min-height: 1.3em;
    animation: heroFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.14s both;
    position: relative;
    max-width: 100%;
}

/* Static "Student &" text */
.typing-static-prefix {
    color: var(--text-primary, #ffffff);
    font-weight: 800;
    letter-spacing: -0.2px;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Dynamic Rotating Title with Cyan → Blue → Purple → Magenta Shimmer */
.typing-dynamic-word {
    font-family: 'Space Grotesk', 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.2px;
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 25%, #7f7fd5 50%, #b865ff 75%, #ff007f 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShimmer 6s linear infinite;
    filter: drop-shadow(0 0 14px rgba(79, 172, 254, 0.45)) drop-shadow(0 0 24px rgba(184, 101, 255, 0.25));
    display: inline-block;
    white-space: nowrap;
}

@keyframes gradientShimmer {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* Blinking Neon Cursor */
.typing-dynamic-cursor {
    color: #00f2fe;
    font-family: monospace, sans-serif;
    font-weight: 400;
    font-size: 1.05em;
    line-height: 1;
    margin-left: 2px;
    vertical-align: baseline;
    text-shadow: 0 0 8px #00f2fe, 0 0 16px #4facfe;
    animation: typingCursorBlink 0.85s infinite;
    user-select: none;
    display: inline-block;
}

@keyframes typingCursorBlink {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 4px #00f2fe);
    }

    50% {
        opacity: 0;
    }
}

/* 5. Learning & Exploring Statement - Premium Introduction Text */
.hero-narrative-text {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.92rem, 1.15vw, 1.02rem);
    font-weight: 400;
    line-height: 1.76;
    margin-bottom: 16px;
    max-width: 660px;
    letter-spacing: 0.15px;
    position: relative;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(0, 242, 254, 0.02) 40%, rgba(131, 56, 236, 0.03) 80%, rgba(212, 175, 55, 0.025) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, #00f2fe 0%, #4facfe 30%, #8338ec 70%, #d4af37 100%) 1;
    color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), 0 0 16px rgba(0, 242, 254, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: introTextReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-narrative-text strong {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

@keyframes introTextReveal {
    0% {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* 6. Core Pillars: Learn • Build • Create • Innovate */
.hero-pillars-wrap {
    margin-bottom: 14px;
    animation: heroFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.32s both;
}

.hero-pillars-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(14, 18, 26, 0.95) 0%, rgba(20, 26, 38, 0.9) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(212, 175, 55, 0.12);
    font-family: 'Orbitron', 'Space Grotesk', sans-serif;
    font-size: clamp(0.74rem, 0.92vw, 0.84rem);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hero-pillars-pill .pillar-lead {
    font-size: 1rem;
}

.hero-pillars-pill .pillar-item {
    color: #ffffff;
    transition: color 0.25s ease;
}

.hero-pillars-pill .pillar-item:hover {
    color: var(--primary-light);
}

.hero-pillars-pill .pillar-bullet {
    color: var(--primary);
    font-size: 0.9em;
    opacity: 0.8;
}

/* 7. Digital Space Box */
.hero-digital-space-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(10, 12, 16, 0.85) 100%);
    border-left: 3.5px solid var(--primary);
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 14px 14px 0;
    padding: 10px 18px;
    margin-bottom: 12px;
    max-width: 650px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: heroFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.38s both;
}

.digital-space-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), transparent);
    pointer-events: none;
}

.digital-space-text {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(0.86rem, 1.1vw, 0.94rem);
    color: var(--text-secondary);
    line-height: 1.62;
    margin: 0;
}

.digital-space-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* 8. Closing Invitation */
.hero-invitation-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(0.86rem, 1.1vw, 0.96rem);
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px dashed rgba(212, 175, 55, 0.25);
    animation: heroFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.44s both;
}

.hero-invitation-banner .sparkle-icon {
    font-size: 1rem;
    animation: sparkleSpin 4s linear infinite;
    display: inline-block;
}

@keyframes sparkleSpin {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.15) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.home-hero-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.hero-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-social-btn:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 16px var(--primary-glow);
}

.home-hero-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

/* ─── Nepal / Quick Stats — Compact Horizontal Chip Strip ─── */
.home-hero-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    margin-top: 0;
}

.home-stat {
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(12, 14, 20, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 30px;
    padding: 5px 14px 5px 10px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.home-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.home-stat:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.18);
    transform: translateY(-2px);
}

.home-stat:hover::before {
    opacity: 1;
}

.home-stat-icon {
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.85;
}

.home-stat strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.home-stat small {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.home-stat-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

/* Subtle Animated Scroll Indicator */
.home-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
    transition: color 0.25s ease;
}

.home-scroll-indicator:hover {
    color: var(--primary);
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-wheel {
    width: 4px;
    height: 6px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

.scroll-arrow {
    font-size: 0.8rem;
    animation: bounceArrow 1.8s infinite;
    color: var(--primary);
}

@keyframes bounceArrow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(2px);
    }
}

/* =========================================================
   13. SKILLS SECTION STYLING
   ========================================================= */

.skills-filter-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 28px;
    scrollbar-width: thin;
}

.skills-tab-btn {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.84rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.22s ease;
}

.skills-tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.06);
}

.skills-tab-btn.active {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.skills-interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.skill-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

.skill-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.skill-card-body {
    flex: 1;
    min-width: 0;
}

.skill-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skill-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.75rem;
}

.skill-card-category {
    color: var(--text-muted);
}

.skill-card-level {
    color: var(--primary);
    font-weight: 600;
}

/* =========================================================
   14. RESPONSIVE HERO — INTRODUCTION LEFT | LOGO RIGHT
   ========================================================= */

/* Tablets & Laptops (681px - 1024px): Keep Side-by-Side (Intro Left | Logo Right) */
@media (max-width: 1024px) and (min-width: 681px) {
    .home-hero {
        padding: 20px 18px;
        min-height: calc(100vh - 72px);
    }

    .home-hero-container {
        display: grid !important;
        grid-template-columns: 1.15fr 0.85fr !important;
        grid-template-rows: 1fr !important;
        gap: 24px !important;
        align-items: center !important;
        text-align: left;
    }

    .home-hero-content {
        grid-column: 1 !important;
        grid-row: 1 !important;
        order: 1 !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100%;
    }

    .home-hero-visual {
        grid-column: 2 !important;
        grid-row: 1 !important;
        order: 2 !important;
        align-self: center !important;
        justify-content: center !important;
        width: 100%;
        margin-top: -20px;
    }

    .dhurvex-3d-logo-container {
        width: clamp(210px, 28vw, 300px);
        height: clamp(210px, 28vw, 300px);
    }
}

/* Mobile Phones (<= 680px): Logo FIRST, Introduction BELOW */
@media (max-width: 680px) {
    .home-hero {
        padding: 20px 14px 28px;
        min-height: auto;
    }

    .home-hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center;
    }

    /* 1. Logo FIRST on mobile (centered, positioned slightly upward) */
    .home-hero-visual {
        order: 1 !important;
        width: 100% !important;
        margin: -10px auto 14px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .dhurvex-3d-logo-container {
        width: clamp(190px, 48vw, 250px) !important;
        height: clamp(190px, 48vw, 250px) !important;
        margin: 0 auto !important;
    }

    /* 2. Introduction naturally BELOW the logo */
    .home-hero-content {
        order: 2 !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .home-hero-title {
        margin-bottom: 8px;
        text-align: center;
    }

    .home-hero-typing-line {
        justify-content: center;
        text-align: center;
        width: 100%;
        margin: 4px 0 14px;
        font-size: clamp(1.28rem, 5.8vw, 1.85rem);
    }

    .hero-narrative-text {
        text-align: center;
        border-left: none;
        border-top: 2.5px solid transparent;
        border-image: linear-gradient(90deg, #00f2fe 0%, #8338ec 50%, #d4af37 100%) 1;
        padding: 10px 14px;
        margin-bottom: 14px;
    }

    .hero-pillars-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hero-pillars-pill {
        padding: 6px 14px;
        gap: 6px;
        font-size: 0.72rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-digital-space-card {
        border-left: none;
        border-top: 3px solid var(--primary);
        border-radius: 0 0 12px 12px;
        text-align: center;
        width: 100%;
        padding: 10px 14px;
    }

    .hero-invitation-banner {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .home-hero-socials {
        justify-content: center;
        margin-bottom: 16px;
    }

    .home-hero-buttons {
        justify-content: center;
        width: 100%;
        margin-bottom: 18px;
    }

    .home-hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .home-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   COMPACT & REASONABLE GALLERY PHOTO SIZING
   ========================================================= */

/* Gallery Page Masonry Grid */
.gallery-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.gallery-card {
    background: rgba(16, 18, 24, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 14px;
    padding: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 14px rgba(212, 175, 55, 0.2);
}

.gallery-card-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    border-radius: 10px;
    overflow: hidden;
    background: #060709;
}

.gallery-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
    transform: scale(1.06);
}

.gallery-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(6, 8, 12, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 2;
}

.gallery-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 12, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    color: var(--primary);
    font-size: 1.15rem;
    z-index: 1;
}

.gallery-card:hover .gallery-card-hover-overlay {
    opacity: 1;
}

.gallery-card-body {
    padding: 8px 4px 4px;
}

.gallery-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-card-loc {
    font-size: 0.72rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.gallery-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Homepage Gallery Preview Grid */
.home-gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.home-gallery-thumb {
    height: 155px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: block;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: #060709;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.4s ease;
}

.home-gallery-thumb:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 14px rgba(212, 175, 55, 0.25);
}

.home-gallery-thumb:hover img {
    transform: scale(1.08);
}

/* Slimmer & Color Graded Navbar Action Buttons */
.sound-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 19, 26, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: var(--primary);
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sound-toggle-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.theme-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 19, 26, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: var(--primary);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    transform: rotate(20deg) scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.4);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    object-fit: cover;
}

/* =========================================================
   GALLERY CATEGORY FILTER BAR — Premium Pill Tabs
   ========================================================= */

.gallery-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 28px 0 20px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(12, 14, 20, 0.85) 0%, rgba(18, 22, 30, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* gallery-filter-bar::before — decorative only, no text injected */

.gallery-filter-btn {
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.gallery-filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: opacity 0.22s ease;
    border-radius: inherit;
}

.gallery-filter-btn:hover::before {
    opacity: 1;
}

.gallery-filter-btn:hover {
    border-color: rgba(212, 175, 55, 0.5);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.18);
    transform: translateY(-1px);
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #f5df88 50%, #aa820a 100%);
    border-color: transparent;
    color: #060708;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
}

/* Gallery card filter transition */
.gallery-card {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease,
        box-shadow 0.3s ease, opacity 0.3s ease !important;
}

.gallery-card.filter-hidden {
    opacity: 0 !important;
    transform: scale(0.94) !important;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* =========================================================
   SLIDE & SCROLL ANIMATIONS
   ========================================================= */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-55px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(55px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

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

/* Apply slide-up to section headings */
.section-heading,
.page-title {
    animation: slideUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Staggered card animations */
.glass-card.reveal.show,
.project-card.reveal.show,
.blog-card.reveal.show,
.gallery-card.reveal.show,
.people-card.reveal.show {
    animation: fadeScaleIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Stagger delays for grid items */
.gallery-card:nth-child(1),
.project-card:nth-child(1),
.blog-card:nth-child(1) {
    animation-delay: 0s;
}

.gallery-card:nth-child(2),
.project-card:nth-child(2),
.blog-card:nth-child(2) {
    animation-delay: 0.08s;
}

.gallery-card:nth-child(3),
.project-card:nth-child(3),
.blog-card:nth-child(3) {
    animation-delay: 0.16s;
}

.gallery-card:nth-child(4),
.project-card:nth-child(4),
.blog-card:nth-child(4) {
    animation-delay: 0.24s;
}

.gallery-card:nth-child(5),
.project-card:nth-child(5),
.blog-card:nth-child(5) {
    animation-delay: 0.32s;
}

.gallery-card:nth-child(6),
.project-card:nth-child(6),
.blog-card:nth-child(6) {
    animation-delay: 0.40s;
}

.gallery-card:nth-child(7) {
    animation-delay: 0.48s;
}

.gallery-card:nth-child(8) {
    animation-delay: 0.56s;
}

.gallery-card:nth-child(9) {
    animation-delay: 0.64s;
}

/* VAM Quote Card slide-up */
.vam-quote-card {
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both;
}

/* Home stat chips slide-up stagger */
.home-stat:nth-child(1) {
    animation: slideUp 0.5s ease 0.25s both;
}

.home-stat:nth-child(2) {
    animation: slideUp 0.5s ease 0.35s both;
}

.home-stat:nth-child(3) {
    animation: slideUp 0.5s ease 0.45s both;
}

.home-stat:nth-child(4) {
    animation: slideUp 0.5s ease 0.55s both;
}

/* Section headings slide in */
.home-section .section-heading,
.home-section .card-tag {
    animation: slideInLeft 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* =========================================================
   MODERN LIGHTBOX MODAL SYSTEM
   ========================================================= */
.dx-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(3, 4, 6, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dx-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dx-lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dx-lightbox-overlay.active .dx-lightbox-content {
    transform: scale(1) translateY(0);
}

.dx-lightbox-image-wrap {
    position: relative;
    max-width: 100%;
    max-height: 74vh;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(212, 175, 55, 0.22);
    background: #000;
}

.dx-lightbox-image-wrap img {
    max-width: 100%;
    max-height: 74vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
}

.dx-lightbox-meta {
    margin-top: 14px;
    text-align: center;
    max-width: 650px;
    color: var(--text-primary);
}

.dx-lightbox-meta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.dx-lightbox-meta p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.dx-lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dx-lightbox-close:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    transform: scale(1.1);
    box-shadow: 0 0 18px var(--primary-glow);
}

.dx-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 12, 16, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.dx-lightbox-nav:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-50%) scale(1.1);
}

.dx-lightbox-prev {
    left: -65px;
}

.dx-lightbox-next {
    right: -65px;
}

@media (max-width: 820px) {
    .dx-lightbox-prev {
        left: 6px;
    }

    .dx-lightbox-next {
        right: 6px;
    }

    .dx-lightbox-close {
        top: -42px;
        right: 4px;
        width: 36px;
        height: 36px;
    }

    .dx-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }

    .dx-lightbox-image-wrap {
        max-height: 65vh;
    }
}

/* =========================================================
   COMMUNITY & MEMBER PORTAL (PEOPLE PAGE BOTTOM)
   ========================================================= */
.people-community-portal {
    margin: 60px auto 30px;
    max-width: 850px;
}

.community-portal-card {
    padding: clamp(28px, 4vw, 44px);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.15);
}

.community-portal-card::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.community-portal-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #060708;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px var(--primary-glow);
    position: relative;
    z-index: 1;
}

.community-portal-title {
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.community-portal-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.community-portal-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.community-portal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.community-portal-actions .btn-3d-signin,
.community-portal-actions .btn-3d-signup {
    padding: 12px 28px;
    font-size: 0.95rem;
    border-radius: 12px;
    font-weight: 700;
}

/* =========================================================
   TRUE MULTI-PAGE HOME EXECUTIVE SHOWCASE PORTAL
   ========================================================= */
.home-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 20px 0 40px;
}

.home-portal-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid var(--border);
}

.home-portal-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px var(--primary-glow);
}

.home-portal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.home-portal-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.home-portal-card:hover .home-portal-card-icon {
    background: var(--primary);
    color: var(--primary-text-on);
    box-shadow: 0 0 18px var(--primary-glow);
    transform: scale(1.08) rotate(5deg);
}

.home-portal-card-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.home-portal-card-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.home-portal-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.25s ease, color 0.25s ease;
}

.home-portal-card:hover .home-portal-link {
    gap: 12px;
    color: #fff;
}

/* =========================================================
   ABOUT PAGE STYLING
   ========================================================= */
.about-id-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 8px 4px;
}

.about-id-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.about-id-badge:hover {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.06);
    transform: translateY(-2px);
}

.about-id-badge i {
    font-size: 1.4rem;
    color: var(--primary);
    text-shadow: 0 0 12px var(--primary-glow);
}

.about-id-badge small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-id-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.about-main-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .about-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.about-portrait-card {
    text-align: center;
    padding: 32px 24px;
}

.about-portrait-frame {
    position: relative;
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 24px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #d4af37, #f3e5ab, #aa820a);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 35px var(--primary-glow);
}

.about-portrait-frame img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.about-status-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #0d0f14;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.about-portrait-info h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-tagline {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

.about-bio-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.about-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.about-contact-snippet {
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.about-contact-snippet .ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-contact-snippet .ac-item i {
    color: var(--primary);
    width: 16px;
}

.about-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card-title i {
    color: var(--primary);
}

.about-text-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-quote-box {
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.06);
    border-left: 3px solid var(--primary);
}

.aq-nepali {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
}

/* =========================================================
   MISSING CSS CLASSES — RESOLVED
   ========================================================= */

/* Glass Button */
.btn-glass,
.dx-btn-glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-glass:hover,
.dx-btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-glass:active,
.dx-btn-glass:active {
    transform: translateY(0);
}

/* Page Container Narrow */
.page-container-narrow {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header Row */
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-header-row h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 6px 0 0;
    line-height: 1.25;
}

/* Home section spacing */
.home-section {
    padding: 50px 0 20px;
}

/* Gallery thumb overlay */
.home-gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(4, 5, 8, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 12px;
    text-align: center;
    gap: 4px;
}

.home-gallery-thumb:hover .home-gallery-thumb-overlay {
    opacity: 1;
}

/* Splash loader logo ring */
.dx-loader-logo-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #d4af37, #f3e5ab, #aa820a);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    animation: loaderRingSpin 2s linear infinite;
    margin: 0 auto;
}

@keyframes loaderRingSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.dx-loader-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.dx-loader-brand {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: loaderPulse 1.8s ease-in-out infinite;
}

.dx-loader-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.dx-page-loader.dx-loader-fadeout {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Footer Aurora */
.dx-footer-aurora {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
    margin-bottom: -4px;
    z-index: 1;
}

.dx-aurora-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dx-aurora-1 {
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.06) 70%, rgba(212, 175, 55, 0.12) 100%);
    animation: auroraWave1 8s ease-in-out infinite;
}

.dx-aurora-2 {
    background: linear-gradient(180deg, transparent 0%, rgba(111, 168, 255, 0.04) 60%, rgba(111, 168, 255, 0.08) 100%);
    animation: auroraWave2 12s ease-in-out infinite reverse;
}

.dx-aurora-3 {
    background: linear-gradient(180deg, transparent 30%, rgba(212, 175, 55, 0.04) 100%);
}

.dx-aurora-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    animation: auroraShimmer 5s ease-in-out infinite;
}

@keyframes auroraWave1 {

    0%,
    100% {
        transform: scaleY(1) translateX(0);
    }

    50% {
        transform: scaleY(1.15) translateX(10px);
    }
}

@keyframes auroraWave2 {

    0%,
    100% {
        transform: scaleY(1) translateX(0);
    }

    50% {
        transform: scaleY(0.9) translateX(-8px);
    }
}

@keyframes auroraShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.dx-aurora-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dx-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.5s);
    left: calc(var(--i, 0) * 8.33%);
    bottom: 10px;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    30% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1.2);
    }
}

/* Footer compact grid */
.footer-top-grid--compact {
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 30px;
}

@media (max-width: 900px) {
    .footer-top-grid--compact {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top-grid--compact .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-top-grid--compact {
        grid-template-columns: 1fr;
    }
}

/* Footer nav 2-column grid */
.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}

/* Auth nav */
.auth-nav-wrap {
    position: relative;
}

.auth-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 5px;
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.22s ease;
    text-decoration: none;
    cursor: pointer;
}

.auth-user-chip:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--primary);
    color: var(--primary);
}

.auth-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #060708;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.auth-user-avatar-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--primary);
}

.auth-user-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* User Profile Dropdown */
.user-profile-menu-wrap {
    position: relative;
}

.user-profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1010;
    overflow: hidden;
}

.user-profile-menu-wrap:hover .user-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.up-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.up-dropdown-header strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.up-dropdown-header small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.up-role-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-admin {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
}

.badge-user {
    background: rgba(111, 168, 255, 0.15);
    color: var(--accent);
}

.badge-member {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.up-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.18s ease;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
}

.up-dropdown-item i {
    font-size: 0.85rem;
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.up-dropdown-item:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--text-primary);
    padding-left: 20px;
}

.up-dropdown-item.text-danger {
    color: #ff7b72;
}

.up-dropdown-item.text-danger i {
    color: #ff7b72;
}

.up-dropdown-item.text-danger:hover {
    background: rgba(248, 81, 73, 0.1);
}

.up-dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 4px 0;
}

/* Theme switcher */
.theme-switcher-wrapper {
    position: relative;
}

.theme-options-grid--compact {
    grid-template-columns: repeat(3, 1fr);
}

/* Copyright and footer brand */
.copyright-text {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-brand-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

/* =================================================================
   PREMIUM AUTH PAGES — FULL DESIGN SYSTEM
   Sign In, Sign Up, Forgot Password, Reset Password, Two-Factor
   ================================================================= */

/* ── Auth Page Layout ── */
.auth-page-container {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 60px;
    position: relative;
    z-index: 1;
}

/* Subtle radial ambient glow behind auth card */
.auth-page-container::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    animation: authAmbientPulse 8s ease-in-out infinite alternate;
}

@keyframes authAmbientPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* ── Card Centering Wrapper ── */
.auth-card-wrap {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
    animation: authCardEntrance 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.auth-card-wrap--wide {
    max-width: 680px;
}

@keyframes authCardEntrance {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.97);
    }

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

/* ── Premium 3D Glass Auth Card ── */
.auth-card {
    background: linear-gradient(145deg,
            rgba(16, 20, 32, 0.96) 0%,
            rgba(10, 12, 20, 0.99) 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.32) !important;
    border-radius: 24px !important;
    padding: 36px 32px !important;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.85),
        0 0 50px rgba(212, 175, 55, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.09) inset,
        0 -1px 0 rgba(0, 0, 0, 0.5) inset !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Animated gold shimmer top border */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary),
            var(--primary-light),
            var(--primary),
            transparent);
    animation: authCardTopSheen 4s cubic-bezier(0.4, 0, 0.6, 1) 0.8s infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes authCardTopSheen {

    0%,
    50% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Subtle inner corner glow */
.auth-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08) 0%, transparent 65%);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.auth-card:hover {
    border-color: rgba(212, 175, 55, 0.48) !important;
    box-shadow:
        0 38px 90px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(212, 175, 55, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.12) inset !important;
}

/* ── Auth Card Header (Logo + Welcome Text) ── */
.auth-card-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.auth-card-header h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 12px 0 4px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.auth-card-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Compact Brand Logo — THE FIX for oversized logo ── */
.auth-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa820a 100%);
    box-shadow:
        0 8px 28px rgba(212, 175, 55, 0.40),
        0 0 0 4px rgba(212, 175, 55, 0.12);
    animation: authLogoPulse 3.5s ease-in-out infinite alternate;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

@keyframes authLogoPulse {
    0% {
        box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35), 0 0 0 4px rgba(212, 175, 55, 0.10);
    }

    100% {
        box-shadow: 0 10px 36px rgba(212, 175, 55, 0.55), 0 0 0 6px rgba(212, 175, 55, 0.18);
    }
}

.auth-brand-logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 66px !important;
    max-height: 66px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* ── Auth Form ── */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.auth-form label i {
    color: var(--primary);
    font-size: 0.8rem;
    width: 14px;
    text-align: center;
}

.auth-form .form-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(8, 10, 18, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.22);
    color: #fff;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.auth-form .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
    background: rgba(12, 14, 24, 0.95);
}

.auth-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

/* File input styling */
.form-input-file {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(8, 10, 18, 0.85);
    border: 1px dashed rgba(212, 175, 55, 0.30);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.22s ease;
}

.form-input-file:hover {
    border-color: var(--primary);
}

/* ── Form Grid Layouts (for signup wide card) ── */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

/* ── Label Row (label left + forgot right) ── */
.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.form-label-row label {
    margin-bottom: 0;
}

/* ── Auth Inline Links ── */
.auth-link-sm {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.auth-link-sm:hover {
    color: var(--primary);
}

.auth-link-highlight {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    letter-spacing: 0.1px;
}

.auth-link-highlight:hover {
    color: var(--primary-light);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* ── OR Divider ── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(212, 175, 55, 0.20);
}

.auth-divider span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 4px;
}

/* ── Auth Social Buttons Grid ── */
.auth-social-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.auth-social-grid .btn {
    flex: 1;
    min-width: 100px;
    justify-content: center;
}

/* ── Footer Prompt (Don't have account? / Already have?) ── */
.auth-footer-prompt {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

/* ── Alert / Flash Message Styles ── */
.dx-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.dx-alert i {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 0.9rem;
}

.dx-alert-danger {
    background: rgba(248, 81, 73, 0.12);
    border: 1px solid rgba(248, 81, 73, 0.35);
    color: #ff9d9a;
}

.dx-alert-danger i {
    color: #f85149;
}

.dx-alert-success {
    background: rgba(63, 185, 80, 0.12);
    border: 1px solid rgba(63, 185, 80, 0.35);
    color: #7ee787;
}

.dx-alert-success i {
    color: #3fb950;
}

.dx-alert-info {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.30);
    color: #bae6fd;
}

.dx-alert-info i {
    color: #38bdf8;
}

.dx-alert-warning {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fde68a;
}

.dx-alert-warning i {
    color: #fbbf24;
}

/* ── Mobile Responsive Auth ── */
@media (max-width: 680px) {
    .auth-page-container {
        padding: 20px 12px 50px;
        align-items: flex-start;
        min-height: calc(100vh - 60px);
    }

    .auth-card-wrap,
    .auth-card-wrap--wide {
        max-width: 100%;
    }

    .auth-card {
        padding: 26px 18px !important;
        border-radius: 20px !important;
    }

    .auth-brand-logo {
        width: 58px;
        height: 58px;
    }

    .auth-brand-logo img {
        max-width: 52px !important;
        max-height: 52px !important;
    }

    .auth-card-header h2 {
        font-size: 1.3rem;
    }

    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .form-label-row {
        flex-wrap: wrap;
        gap: 4px;
    }

    .btn-3d-signin,
    .btn-3d-signup {
        font-size: 0.88rem !important;
    }

    .auth-divider {
        margin: 18px 0 14px;
    }
}

@media (max-width: 400px) {
    .auth-brand-logo {
        width: 50px;
        height: 50px;
    }

    .auth-brand-logo img {
        max-width: 44px !important;
        max-height: 44px !important;
    }

    .auth-card-header h2 {
        font-size: 1.2rem;
    }
}

/* Scroll indicator text label */
.scroll-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.home-scroll-indicator:hover .scroll-text {
    color: var(--primary);
}

/* =========================================================
   PROJECT SLIDER COMPONENT
   ========================================================= */
.project-slider-section {
    margin: 30px auto 50px;
    max-width: 1100px;
    position: relative;
}

.project-slider-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.project-slider-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 6px 0 0;
}

.project-slider-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-slider-controls-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(8px);
}

.ps-btn:hover {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 0 20px var(--primary-glow);
}

.project-slider-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.project-slider-track {
    position: relative;
    width: 100%;
}

.project-slide {
    display: none;
    opacity: 0;
    transform: scale(0.97) translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-slide.active {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.project-slide-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    padding: clamp(20px, 3.5vw, 36px);
    border-radius: 22px;
    align-items: center;
    min-height: 400px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(14px);
}

@media (max-width: 860px) {
    .project-slide-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 20px;
    }
}

.project-slide-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

@media (max-width: 860px) {
    .project-slide-image {
        height: 220px;
    }
}

.project-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-slide-card:hover .project-slide-image img {
    transform: scale(1.05);
}

.project-slide-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    border-radius: 30px;
    background: rgba(8, 10, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.project-slide-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-slide-body .card-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.25;
}

.project-slide-body .card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-slide-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-slide-tech span {
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.project-slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.ps-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ps-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.ps-autoplay-toggle {
    position: absolute;
    bottom: 18px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.25s;
    backdrop-filter: blur(6px);
}

.ps-autoplay-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* =========================================================
   PROJECTS FILTER & ARCHIVE GRID
   ========================================================= */
.projects-archive-section {
    margin: 50px auto 40px;
    max-width: 1100px;
}

.projects-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 36px;
}

.projects-filter-btn {
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.projects-filter-btn:hover,
.projects-filter-btn.active {
    background: var(--primary);
    color: var(--primary-text-on);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.project-grid-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid var(--border);
}

.project-grid-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary-glow);
}

.project-grid-image {
    width: 100%;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    border: 1px solid var(--border-subtle);
}

.project-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-grid-card:hover .project-grid-image img {
    transform: scale(1.06);
}

.project-grid-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-grid-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-grid-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.project-grid-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

/* =========================================================
   STORY TIMELINE STYLES
   ========================================================= */
.timeline-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-axis {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--border) 10%, var(--border) 90%, transparent 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative !important;
    width: calc(50% - 30px);
    padding: 32px;
    border-radius: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary-glow) !important;
}

.timeline-dot {
    position: absolute;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.25), 0 0 15px var(--primary-glow);
    z-index: 2;
}

@media (max-width: 780px) {
    .timeline-wrap {
        max-width: 100% !important;
    }

    .timeline-axis {
        left: 18px !important;
        transform: none !important;
    }

    .timeline-item {
        width: calc(100% - 56px) !important;
        align-self: flex-end !important;
        margin-left: 14px;
    }

    .timeline-dot {
        left: -46px !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
}

/* =========================================================
   MUSIC & VIDEO SHOWCASE STYLES
   ========================================================= */
.music-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.music-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary-glow) !important;
}

.waveform-bars {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.waveform-bars span {
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--primary-dim));
    border-radius: 2px;
    animation: waveEq 0.9s ease-in-out infinite alternate;
}

.video-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary-glow) !important;
}

.video-thumb-box {
    width: 100%;
    height: 210px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb-box img {
    transform: scale(1.06);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 2.5rem;
    transition: background 0.25s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-play-overlay i {
    color: var(--primary);
    filter: drop-shadow(0 0 15px var(--primary-glow));
    transition: transform 0.3s ease;
}

.video-play-overlay:hover i {
    transform: scale(1.15);
}

/* =========================================================
   CONTACT PAGE STYLES
   ========================================================= */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    margin-top: 20px;
    align-items: start;
}

@media (max-width: 850px) {
    .contact-page-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
    outline: none !important;
}

.back-to-top-btn:active {
    transform: translateY(0) scale(0.92);
}

/* =========================================================
   PAGE CLOSING STATUS / QUOTE (BILINGUAL ENGLISH + NEPALI)
   ========================================================= */
.page-closing-quote-wrap {
    margin: 60px auto 40px;
    max-width: 900px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
}

.page-closing-quote-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06) 0%, rgba(10, 14, 22, 0.85) 60%, rgba(6, 7, 10, 0.95) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    border-radius: 20px;
    padding: 32px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 55, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-closing-quote-card:hover {
    border-color: rgba(212, 175, 55, 0.45) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.page-closing-quote-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.pcq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pcq-text-en {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.pcq-divider {
    width: 48px;
    height: 2px;
    background: var(--primary-gradient);
    margin: 10px auto 14px;
    border-radius: 2px;
    opacity: 0.8;
}

.pcq-text-np {
    font-size: clamp(0.96rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

.pcq-author {
    margin-top: 14px;
    display: inline-block;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 680px) {
    .page-closing-quote-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .page-closing-quote-wrap {
        margin: 40px auto 24px;
    }
}

/* =========================================================
   VIDEO LIGHTBOX MODAL
   ========================================================= */
.dx-video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dx-video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dx-video-modal-dialog {
    width: 100%;
    max-width: 900px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--primary-glow);
    position: relative;
    transform: scale(0.94);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dx-video-modal-overlay.active .dx-video-modal-dialog {
    transform: scale(1);
}

.dx-video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
}

.dx-video-container iframe,
.dx-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.dx-video-modal-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.dx-video-modal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.dx-video-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.dx-video-modal-close:hover {
    background: var(--primary);
    color: #000;
    transform: scale(1.08);
}

/* =========================================================
   PREMIUM 3D AUTHENTICATION EXPERIENCE (PEOPLE & AUTH PAGES)
   ========================================================= */
.auth-3d-stage {
    perspective: 1200px;
    width: 100%;
    max-width: 540px;
    margin: 28px auto 0;
}

.auth-3d-card {
    background: linear-gradient(145deg, rgba(14, 18, 28, 0.95) 0%, rgba(8, 10, 16, 0.98) 100%) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.12), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.auth-3d-card:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.2);
}

.auth-3d-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.auth-3d-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 24px;
    gap: 6px;
}

.auth-3d-tab {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-3d-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.auth-3d-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.auth-password-wrap {
    position: relative;
    width: 100%;
}

.auth-password-wrap input {
    padding-right: 46px !important;
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.auth-password-toggle:hover {
    color: var(--primary);
}

.auth-submit-btn {
    width: 100%;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-submit-btn.loading {
    opacity: 0.8;
    pointer-events: none;
}

.auth-submit-btn .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.auth-submit-btn.loading .spinner {
    display: inline-block;
}

.auth-submit-btn.loading .btn-icon {
    display: none;
}

/* =========================================================
   MOBILE GALLERY: 2-COLUMN COMPACT THUMBNAILS
   ========================================================= */
@media (max-width: 680px) {
    .gallery-masonry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 18px !important;
    }

    .gallery-card {
        padding: 6px !important;
        border-radius: 12px !important;
    }

    .gallery-card-img-wrap {
        height: 120px !important;
        border-radius: 8px !important;
    }

    .gallery-card-body {
        padding: 6px 4px 4px !important;
    }

    .gallery-card-title {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gallery-card-badge {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
        top: 6px !important;
        left: 6px !important;
    }

    .gallery-card-loc,
    .gallery-card-desc {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .gallery-card-img-wrap {
        height: 105px !important;
    }
}

/* =========================================================
   MOBILE PROJECTS: COMPACT & BALANCED SIZING
   ========================================================= */
@media (max-width: 680px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .project-grid-card {
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .project-grid-image {
        height: 155px !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    .project-grid-title {
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
    }

    .project-grid-desc {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }

    .project-grid-actions {
        padding-top: 10px !important;
        gap: 8px !important;
    }

    .project-grid-actions .btn {
        padding: 7px 14px !important;
        font-size: 0.8rem !important;
    }

    .auth-3d-card {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }
}


/* =========================================================
   USER PORTAL — COMPLETE STYLES
   Dashboard, Media, Security, Activity, Reports
   ========================================================= */

/* ----- Container & Layout ----- */
.user-portal-container {
    max-width: 1100px;
    padding-top: 30px;
    padding-bottom: 60px;
}

.user-portal-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ----- Hero Banner ----- */
.user-portal-hero {
    margin-bottom: 24px;
    padding: 28px 32px 0;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    overflow: visible;
}

.user-portal-hero-flex {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 22px;
}

.user-avatar-hero-wrap {
    position: relative;
    flex-shrink: 0;
}

.user-hero-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    display: block;
}

.user-hero-avatar-initials {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    letter-spacing: -1px;
}

.user-status-pill {
    position: absolute;
    bottom: -4px;
    right: -4px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--bg-surface);
}

.badge-approved,
.badge-active {
    background: #22c55e;
    color: #000;
}

.badge-pending {
    background: #f59e0b;
    color: #000;
}

.badge-banned,
.badge-suspended {
    background: #ef4444;
    color: #fff;
}

.user-hero-info {
    flex: 1;
    min-width: 180px;
}

.user-hero-info h1 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
    line-height: 1.2;
}

.user-hero-info p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.user-role-tag {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.user-hero-quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-left: auto;
}

/* ----- Portal Navigation Tabs ----- */
.user-portal-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid var(--border-subtle);
    margin: 0 -32px;
    padding: 0 32px;
    overflow-x: auto;
    scrollbar-width: none;
}

.user-portal-nav-tabs::-webkit-scrollbar {
    display: none;
}

.up-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 18px;
    color: var(--text-secondary);
    font-size: 0.87rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.22s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.up-tab i {
    font-size: 0.9rem;
}

.up-tab:hover {
    color: var(--text-primary);
    border-bottom-color: rgba(212, 175, 55, 0.4);
}

.up-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

/* ----- Section Titles ----- */
.user-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-section-title i {
    color: var(--primary);
    font-size: 1.05rem;
}

/* ----- Stat Cards Row ----- */
.user-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.user-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.user-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 18px var(--primary-glow);
}

.user-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.user-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.user-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ----- Personal Media Grid ----- */
.user-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.user-media-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    position: relative;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.user-media-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px var(--primary-glow);
}

.user-media-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.user-media-thumb-placeholder {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(212, 175, 55, 0.07);
}

.user-media-card-body {
    padding: 10px 12px 12px;
}

.user-media-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.user-media-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.user-media-card-actions {
    display: flex;
    gap: 6px;
}

.user-media-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.user-media-badge.public {
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.user-media-badge.private {
    border-color: rgba(239, 68, 68, 0.5);
    color: #f87171;
}

.user-media-badge.hidden {
    border-color: rgba(156, 163, 175, 0.5);
    color: #9ca3af;
}

/* ----- Video Cards ----- */
.user-video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.user-video-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.user-video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px var(--primary-glow);
}

.user-video-thumb-box {
    width: 100%;
    height: 170px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.user-video-thumb-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.8;
}

.user-video-body {
    padding: 12px 16px 14px;
}

/* ----- Document List ----- */
.user-doc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.user-doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.user-doc-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.user-doc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.user-doc-info {
    flex: 1;
    min-width: 0;
}

.user-doc-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.user-doc-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.user-doc-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* ----- Activity Log ----- */
.user-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.user-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.user-activity-item:last-child {
    border-bottom: none;
}

.user-activity-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.user-activity-body {
    flex: 1;
}

.user-activity-action {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-activity-detail {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.user-activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* ----- Security Events ----- */
.user-security-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.user-security-item:last-child {
    border-bottom: none;
}

.user-security-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.security-icon-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.security-icon-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.security-icon-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.security-icon-info {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

/* ----- Session Cards ----- */
.user-session-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.user-session-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.22s ease;
}

.user-session-card.current-session {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.04);
}

.user-session-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary);
    flex-shrink: 0;
}

.user-session-info {
    flex: 1;
    min-width: 0;
}

.user-session-device {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-session-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ----- Report Categories ----- */
.user-report-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.user-report-cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    text-align: center;
}

.user-report-cat-btn i {
    font-size: 1.4rem;
    color: var(--primary);
}

.user-report-cat-btn:hover,
.user-report-cat-btn.selected {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.08);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ----- Notification Items ----- */
.user-notif-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.user-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.user-notif-item:last-child {
    border-bottom: none;
}

.user-notif-item.unread {
    background: rgba(212, 175, 55, 0.03);
    padding: 14px 8px;
    border-radius: 10px;
}

.user-notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
    flex-shrink: 0;
}

.user-notif-body {
    flex: 1;
}

.user-notif-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.user-notif-msg {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.user-notif-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ----- Profile Completion ----- */
.user-completion-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    margin: 8px 0;
}

.user-completion-bar-fill {
    height: 100%;
    border-radius: 8px;
    background: var(--primary-gradient);
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ----- Empty States ----- */
.user-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.user-empty-state i {
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.25);
    margin-bottom: 14px;
    display: block;
}

.user-empty-state h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.user-empty-state p {
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 380px;
    margin: 0 auto 16px;
}

/* ----- Tiny icon buttons ----- */
.btn-icon-xs {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-icon-xs:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-icon-xs.danger:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
    color: #f87171;
}

/* Profile edit card */
.user-edit-profile-card {
    padding: 28px;
}

/* ----- Responsive Mobile ----- */
@media (max-width: 800px) {
    .user-portal-hero {
        padding: 20px 20px 0;
    }

    .user-portal-nav-tabs {
        margin: 0 -20px;
        padding: 0 20px;
    }

    .user-portal-hero-flex {
        gap: 14px;
    }

    .user-hero-avatar-img,
    .user-hero-avatar-initials {
        width: 62px;
        height: 62px;
        font-size: 1.5rem;
    }

    .user-hero-info h1 {
        font-size: 1.3rem;
    }

    .user-hero-quick-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .user-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .user-media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .user-video-list {
        grid-template-columns: 1fr;
    }

    .user-report-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .user-portal-hero {
        padding: 14px 14px 0;
    }

    .user-portal-nav-tabs {
        margin: 0 -14px;
        padding: 0 4px;
    }

    .up-tab {
        padding: 10px 12px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .up-tab span {
        display: none;
    }

    .user-hero-info p {
        font-size: 0.8rem;
    }

    .user-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .user-stat-value {
        font-size: 1.5rem;
    }

    .user-media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .user-media-thumb,
    .user-media-thumb-placeholder {
        height: 120px;
    }

    .user-portal-container {
        padding-top: 16px;
    }
}

/* =========================================================
   USER PHOTO / VIDEO CARDS (gallery.php & videos.php)
   ========================================================= */
.user-photo-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.user-photo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 20px var(--primary-glow);
}

.user-photo-img-wrap {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.user-photo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.user-photo-card:hover .user-photo-img-wrap img {
    transform: scale(1.06);
}

.user-vis-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.vis-public {
    border-color: rgba(34, 197, 94, 0.5) !important;
    color: #4ade80 !important;
}

.vis-private {
    border-color: rgba(239, 68, 68, 0.5) !important;
    color: #f87171 !important;
}

.vis-hidden {
    border-color: rgba(156, 163, 175, 0.5) !important;
    color: #9ca3af !important;
}

.user-photo-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-photo-body h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-photo-body p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0 0 8px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.user-photo-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
    gap: 8px;
    flex-wrap: wrap;
}

.user-photo-footer small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Danger icon button */
.btn-icon-danger {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-icon-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    transform: scale(1.08);
}

/* =========================================================
   EMPTY STATE (gallery, videos, documents, etc.)
   ========================================================= */
.dx-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.dx-empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(212, 175, 55, 0.35);
    margin-bottom: 16px;
}

.dx-empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0 0 6px;
}

.dx-empty-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 380px;
    margin: 0;
}

/* =========================================================
   FILE INPUT STYLING
   ========================================================= */
.form-input-file {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.22s ease, background 0.22s ease;
    box-sizing: border-box;
}

.form-input-file:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.04);
}

.form-input-file:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-input-file::file-selector-button {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--primary);
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    margin-right: 10px;
    transition: background 0.2s ease;
}

.form-input-file::file-selector-button:hover {
    background: rgba(212, 175, 55, 0.22);
}

/* =========================================================
   FORM GRID HELPERS
   ========================================================= */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 680px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .form-grid-3 {
        grid-template-columns: 1fr;
    }

    .user-photo-img-wrap {
        height: 140px;
    }
}

/* =========================================================
   DHURVEX PORTFOLIO — UPGRADED GALLERY & MEDIA STYLES
   Downloads, Deduplicated Likes, Comments & Social Share
   ========================================================= */

/* Gallery Card Quick Action Buttons */
.gallery-card-quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.gallery-quick-btn {
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-quick-btn:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.gallery-quick-btn .dx-like-count {
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 4px;
}

.gallery-quick-btn.dx-like-btn {
    width: auto;
    padding: 0 10px;
    border-radius: 20px;
}

.dx-like-btn.liked {
    color: #ff4757 !important;
    border-color: rgba(255, 71, 87, 0.5) !important;
    background: rgba(255, 71, 87, 0.15) !important;
}

.dx-like-btn.liked i {
    color: #ff4757;
    animation: dxHeartBeat 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dx-like-btn.liking {
    opacity: 0.7;
    pointer-events: none;
}

@keyframes dxHeartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

/* Lightbox Header & Action Bar */
.dx-lightbox-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.dx-lightbox-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.dx-lightbox-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dx-lightbox-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.dx-lightbox-btn.liked {
    color: #ff4757;
    border-color: rgba(255, 71, 87, 0.5);
    background: rgba(255, 71, 87, 0.15);
}

/* Lightbox Comments Panel */
.dx-lightbox-comments-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    animation: dxFadeSlideDown 0.3s ease;
}

@keyframes dxFadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.dx-comments-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dx-comments-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-right: 6px;
}

.dx-comments-list::-webkit-scrollbar {
    width: 5px;
}

.dx-comments-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.dx-comment-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 14px;
}

.dx-comment-item.dx-comment-new {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.06);
}

.dx-comment-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.dx-comment-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dx-comment-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.dx-comment-body {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    word-break: break-word;
}

.dx-comment-form-row {
    margin-bottom: 10px;
}

.dx-comment-input,
.dx-comment-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.86rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dx-comment-input:focus,
.dx-comment-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.dx-comments-loading,
.dx-no-comments {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 10px 0;
}

/* Social Share Fallback Modal */
.dx-share-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dx-share-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dx-share-modal-box {
    background: #111;
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dx-share-modal-overlay.active .dx-share-modal-box {
    transform: scale(1);
}

.dx-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dx-share-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dx-share-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.dx-share-close:hover {
    color: #fff;
}

.dx-share-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.dx-share-btn {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.dx-share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.share-whatsapp {
    background: #25D366;
}

.share-facebook {
    background: #1877F2;
}

.share-twitter {
    background: #0f1419;
    border: 1px solid #333;
}

.share-telegram {
    background: #229ED9;
}

.dx-share-copy-row {
    display: flex;
    gap: 8px;
}

.dx-share-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #fff;
}

.dx-copy-toast {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #2ed573;
    text-align: center;
    font-weight: 600;
}

/* Album badge filter */
.album-filter-btn {
    border-color: rgba(212, 175, 55, 0.4);
}

.album-filter-btn:hover,
.album-filter-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
    border-color: var(--primary);
}

/* Accessible focus visible outlines */
.nav-link:focus-visible,
.social-icon-btn:focus-visible,
.menu-toggle:focus-visible,
.theme-toggle-btn:focus-visible,
.back-to-top-btn:focus-visible,
.gallery-quick-btn:focus-visible,
.dx-lightbox-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}