/* ==========================================================================
   Modern Portfolio - Dark Noir & Crimson Theme
   Exact Replica of Pinterest Layout
   ========================================================================== */

:root {
    --bg-main: #000000;
    --bg-card: #000000;
    --bg-card-hover: #131720;
    --bg-card-inner: #161A24;
    --border-card: rgba(255, 255, 255, 0.08);
    --border-red: rgba(255, 60, 75, 0.20);
    --primary-red: #FF2A3B;
    --primary-red-hover: #E01B2C;
    --primary-red-glow: rgba(255, 60, 75, 0.22);
    --text-white: #FFFFFF;
    --text-muted: #CBD5E1;
    --text-dim: #94A3B8;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Caveat', cursive;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: clip;
    position: relative;
    min-height: 100vh;
    padding: 20px 16px 60px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ambient Background Red Light Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-top-left {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 42, 59, 0.15) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.glow-top-right {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 42, 59, 0.12) 0%, transparent 70%);
    top: 5%;
    right: -200px;
}

.glow-center {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 42, 59, 0.08) 0%, transparent 70%);
    top: 45%;
    left: 20%;
}

/* ==========================================================================
   Main Wrapper (Central Frame + Side Elements)
   ========================================================================== */
.main-wrapper {
    max-width: 1680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 510px;
    gap: 24px; /* Clean, elegant separation gap */
    position: relative;
    z-index: 10;
    align-items: start;
    transition: grid-template-columns 0.4s ease;
}

.main-wrapper.full-width-page {
    grid-template-columns: 1fr !important;
}

/* Central Portfolio Frame */
.portfolio-container {
    background: #000000 !important;
    border: 1px solid var(--border-red) !important;
    border-radius: var(--radius-lg) !important;
    padding: 32px 36px 48px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(255, 42, 59, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    backdrop-filter: blur(16px);
    z-index: 1;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin: -32px -36px 30px -36px;
    padding: 20px 36px 18px 36px;
    border-bottom: 1px solid rgba(255, 42, 59, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px var(--primary-red-glow));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.25s ease;
    position: relative;
    padding: 6px 0;
    cursor: pointer;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-red), 0 0 4px var(--primary-red);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
}

.nav-item:hover {
    color: var(--text-white);
}

.nav-item:hover::after {
    left: 20%;
    width: 60%;
    opacity: 0.4;
}

.nav-item.active {
    color: var(--text-white);
    font-weight: 600;
}

.nav-item.active::after {
    left: 0;
    width: 100%;
    opacity: 1;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--text-white);
    padding: 11px 24px;
    box-shadow: 0 4px 20px var(--primary-red-glow);
}

.btn-primary:hover {
    background: var(--primary-red-hover);
    box-shadow: 0 6px 28px rgba(255, 42, 59, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.15);
    padding: 11px 24px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: rgba(255, 42, 59, 0.05);
    box-shadow: 0 0 16px rgba(255, 42, 59, 0.2);
}

.arrow {
    transition: transform 0.2s ease;
    font-size: 1.1em;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: start;
    padding-top: 24px !important;
    padding-bottom: 40px;
    margin-top: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #000000 !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 42, 59, 0.1);
    border: 1px solid var(--border-red);
    box-shadow: 0 0 20px rgba(255, 42, 59, 0.18), inset 0 0 10px rgba(255, 42, 59, 0.1);
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
    transition: var(--transition);
    min-height: 38px;
    white-space: nowrap;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red);
    animation: pulseRed 2s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes pulseRed {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.badge-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #FF2A3B;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 42, 59, 0.5);
}

.badge-cursor {
    color: #FF2A3B;
    font-weight: 400;
    margin-left: 2px;
    animation: cursorBlink 0.8s infinite;
}

.hero-headline {
    margin-bottom: 22px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-hi-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 6px;
    opacity: 0;
    animation: heroFadeSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hi-wave {
    display: inline-block;
    animation: handWave 2.5s infinite ease-in-out;
    transform-origin: 70% 70%;
}

@keyframes handWave {
    0%, 100% { transform: rotate(0deg); }
    20%, 60% { transform: rotate(14deg); }
    40%, 80% { transform: rotate(-8deg); }
}

.hero-name-together {
    display: block;
    font-size: clamp(2.5rem, 4.3vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    white-space: nowrap;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 25%, #E2E8F0 65%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.7));
    opacity: 0;
    animation: heroFadeSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
    width: fit-content;
}



.hero-craft-line {
    display: block;
    font-size: clamp(1.8rem, 3.1vw, 2.7rem);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 4px;
    white-space: nowrap;
    opacity: 0;
    animation: heroFadeSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-dynamic-row {
    display: inline-flex;
    align-items: center;
    min-height: clamp(2.4rem, 4vw, 3.6rem);
    opacity: 0;
    animation: heroFadeSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-headline .glow-text {
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    display: inline-block;
    background: linear-gradient(135deg, #FF4D5E 0%, #FF2A3B 55%, #FF7A59 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 42, 59, 0.55));
}

.typing-cursor {
    display: none !important;
    color: var(--primary-red);
    font-size: clamp(2.2rem, 3.8vw, 3.3rem);
    font-weight: 300;
    margin-left: 4px;
    animation: cursorBlink 0.8s infinite;
}

@keyframes heroFadeSlide {
    0% { opacity: 0; transform: translateY(18px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.glow-text {
    text-shadow: 0 0 35px var(--primary-red-glow);
}

.hero-subtext {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 440px;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.scroll-down-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 10px;
}

.mouse-icon {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 3px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 2px;
    animation: scrollAnim 1.6s infinite ease-in-out;
}

@keyframes scrollAnim {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

.scroll-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-dim);
}

/* ==========================================================================
   Hero Avatar & Orbital Concentric Rings (Large Circular Design)
   ========================================================================== */
.hero-avatar-wrapper {
    position: relative;
    width: 440px;
    height: 440px;
    max-width: 100%;
    margin: 15px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-avatar-wrapper:hover {
    transform: translateY(-4px);
}

.orbital-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bi-Directional Continuous Orbital Rotations */
@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* 1. Outermost Ring: Rotates CLOCKWISE (ডান দিকে) with glowing orbital satellite */
.ring-outer {
    width: 440px;
    height: 440px;
    border: 1.5px dotted rgba(255, 42, 59, 0.45);
    box-shadow: 0 0 30px rgba(255, 42, 59, 0.15);
    animation: rotateClockwise 32s linear infinite;
}

.ring-outer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: calc(50% - 4.5px);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FF2A3B;
    box-shadow: 0 0 14px #FF2A3B, 0 0 25px rgba(255, 42, 59, 0.9);
}

/* 2. Middle Dashed Ring: Rotates COUNTER-CLOCKWISE (বাম দিকে) with secondary satellite */
.ring-dashed {
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(255, 60, 75, 0.7);
    box-shadow: 0 0 25px rgba(255, 42, 59, 0.16);
    animation: rotateCounterClockwise 22s linear infinite;
}

.ring-dashed::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: calc(50% - 3.5px);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF6B6B;
    box-shadow: 0 0 12px #FF6B6B, 0 0 20px rgba(255, 107, 107, 0.8);
}

/* 3. Dotted Tech Ring: Rotates CLOCKWISE (ডান দিকে) */
.ring-dots {
    width: 370px;
    height: 370px;
    border: 2px dotted rgba(255, 42, 59, 0.75);
    box-shadow: 0 0 20px rgba(255, 42, 59, 0.22);
    animation: rotateClockwise 16s linear infinite;
}

.ring-dots::before {
    content: '';
    position: absolute;
    right: -4px;
    top: calc(50% - 3.5px);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF2A3B;
    box-shadow: 0 0 12px #FF2A3B;
}

/* 4. Innermost Halo Ring: Rotates COUNTER-CLOCKWISE (বাম দিকে) */
.ring-inner {
    width: 345px;
    height: 345px;
    border: 2px solid transparent;
    border-top: 2.5px solid #FF2A3B;
    border-bottom: 2.5px solid #FF2A3B;
    border-left: 2px solid rgba(255, 42, 59, 0.35);
    border-right: 2px solid rgba(255, 42, 59, 0.35);
    box-shadow: 0 0 35px var(--primary-red-glow), inset 0 0 15px rgba(255, 42, 59, 0.3);
    animation: rotateCounterClockwise 11s linear infinite;
}

.avatar-frame {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #060709;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-frame:hover .avatar-img {
    transform: scale(1.05);
}

.availability-badge {
    position: absolute;
    bottom: 24px;
    right: 8px;
    z-index: 5;
    background: rgba(13, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 42, 59, 0.25);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.15); }
}

.status-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-white);
}

/* ==========================================================================
   Section Shared Headers
   ========================================================================== */
.section-container {
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.section-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 0 8px var(--primary-red);
}

.section-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-white);
}

/* ==========================================================================
   Featured Projects Section & Category Filters
   ========================================================================== */
.project-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.project-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 18px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.project-filter-btn:hover {
    border-color: rgba(255, 42, 59, 0.5);
    color: #fff;
    background: rgba(255, 42, 59, 0.08);
}

.project-filter-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 18px rgba(255, 42, 59, 0.45);
}

.filter-count {
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

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

.project-card {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
    border-color: var(--border-red);
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 42, 59, 0.25);
}

.project-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.badge-web {
    background: rgba(0, 242, 254, 0.2);
    border: 1px solid rgba(0, 242, 254, 0.6);
    color: #00F2FE;
}

.badge-auto {
    background: rgba(255, 42, 59, 0.25);
    border: 1px solid var(--border-red);
    color: #FF5E62;
}

.project-thumb-box {
    width: 100%;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    background: #090B0E;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.project-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

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

.preview-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-white);
    background: var(--primary-red);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 14px var(--primary-red-glow);
    text-decoration: none;
}

.project-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.project-category {
    font-size: 0.76rem;
    font-weight: 600;
    color: #FF5E62;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-desc {
    font-size: 0.82rem;
    color: #9CA3AF;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.project-tag {
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    padding: 2px 8px;
    border-radius: 6px;
}

.project-btn-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.project-action-link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-code {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #E2E8F0;
}

.btn-code:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-live {
    background: var(--primary-red);
    border: 1px solid var(--primary-red);
    color: #FFFFFF;
}

.btn-live:hover {
    background: #ff4757;
    box-shadow: 0 4px 14px rgba(255, 42, 59, 0.45);
}

.section-action-center {
    text-align: center;
    margin-top: 16px;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.skill-card {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--border-red);
    transform: translateY(-3px);
}

.skill-icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 42, 59, 0.1);
    border: 1px solid rgba(255, 42, 59, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.skill-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
    min-height: 38px;
}

.skill-progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-bar-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--primary-red);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-red);
}

.skill-percent {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-white);
}

/* ==========================================================================
   Client Testimonials Section
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testimonial-card {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-red);
    transform: translateY(-3px);
}

.quote-mark {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--primary-red);
    font-family: serif;
    margin-bottom: 6px;
}

.testimonial-quote {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-white);
}

.client-role {
    font-size: 0.72rem;
    color: var(--text-dim);
}

.rating-stars {
    color: var(--primary-red);
    font-size: 0.92rem;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 42, 59, 0.5);
}

/* ==========================================================================
   Contact / Let's Work Together Section
   ========================================================================== */
.contact-section {
    padding-bottom: 10px;
}

.contact-card {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-red);
    border-radius: var(--radius-md);
    padding: 28px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: center;
}

.contact-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.form-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 12px rgba(255, 42, 59, 0.2);
}

.btn-submit {
    align-self: flex-start;
    padding: 10px 22px;
}

/* ==========================================================================
   Right Side Showcase (Pills & Standing Character)
   ========================================================================== */
.side-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: sticky;
    top: 24px;
    margin-left: 0;
    z-index: 2;
}

.feature-pills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-red);
    border-radius: var(--radius-pill);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    cursor: default;
}

.feature-pill:hover {
    border-color: var(--primary-red);
    transform: translateX(4px);
    box-shadow: 0 12px 30px rgba(255, 42, 59, 0.2);
}

.pill-icon {
    font-size: 1.25rem;
}

.pill-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.character-standing-box {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-lg);
    border: none !important;
    overflow: hidden;
    background: transparent !important;
    box-shadow: none !important;
    transition: var(--transition);
    margin-top: 8px;
}

.character-standing-box:hover {
    border: none !important;
    box-shadow: none !important;
    transform: translateY(-3px);
}

.character-img {
    width: 100%;
    height: auto;
    max-height: 880px;
    display: block;
    object-fit: cover;
    
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.95));
}

.character-caption {
    padding: 16px 20px;
    text-align: center;
    background: transparent;
    width: 100%;
    border-top: none;
}

.character-caption h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.character-caption p {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-top: 3px;
}

/* ==========================================================================
   Bottom Showcase Banner
   ========================================================================== */
.showcase-bottom-banner {
    width: 100%;
    max-width: 100%;
    margin: 40px 0 0;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    position: relative;
    z-index: 10;
}

.bottom-card {
    background: var(--bg-card);
    border: 1px solid var(--border-red);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.bottom-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.font-bold {
    font-weight: 800;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
}

.save-layout-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.save-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.save-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.creator-tag {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.tag-divider {
    color: var(--text-dim);
    margin: 0 10px;
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--primary-red);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px var(--primary-red-glow);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .side-showcase {
        display: none;
    }

    .showcase-bottom-banner {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-name-row {
        justify-content: center;
    }

    .hero-badge,
    .hero-cta-group,
    .scroll-down-indicator {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-avatar-wrapper {
        width: 380px;
        height: 380px;
        margin-top: 30px;
    }

    .ring-outer { width: 380px; height: 380px; }
    .ring-dashed { width: 340px; height: 340px; }
    .ring-inner { width: 300px; height: 300px; }
    .avatar-frame { width: 280px; height: 280px; }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .portfolio-container {
        padding: 24px 18px 36px;
    }

    .navbar {
        margin: -24px -18px 25px -18px;
        padding: 16px 18px 16px 18px;
    }

    .nav-links,
    .nav-hire-btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 18px;
        right: 18px;
        background: var(--bg-card-inner);
        border: 1px solid var(--border-red);
        border-radius: var(--radius-md);
        padding: 20px;
        z-index: 50;
        box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-avatar-wrapper {
        width: 330px;
        height: 330px;
        margin-top: 25px;
    }

    .ring-outer { width: 330px; height: 330px; }
    .ring-dashed { width: 305px; height: 305px; }
    .ring-dots { width: 285px; height: 285px; }
    .ring-inner { width: 270px; height: 270px; }
    .avatar-frame { width: 255px; height: 255px; }
    .avatar-img { transform: scale(1.15); transform-origin: center 38%; }
    .availability-badge { bottom: 12px; right: 0; padding: 6px 14px; }
}


/* ==========================================================================
   Reference Video Animations & Dynamic Effects
   ========================================================================== */

/* 1. Typewriter Cursor */
.typing-cursor {
    display: none !important;
    color: var(--primary-red);
    font-weight: 300;
    margin-left: 3px;
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 2. Nav Button Group */
.nav-btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cv-btn {
    padding: 9px 18px !important;
    font-size: 0.85rem !important;
    border-color: rgba(255, 42, 59, 0.3) !important;
}

.nav-cv-btn:hover {
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 15px rgba(255, 42, 59, 0.3) !important;
}

/* 3. Hero Social Icons Bar */
.hero-social-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: -12px;
    margin-bottom: 28px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon-btn:hover {
    background: var(--primary-red);
    color: var(--text-white);
    border-color: var(--primary-red);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}

/* 4. Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for grids */
.projects-grid .project-card:nth-child(1) { transition-delay: 0.05s; }
.projects-grid .project-card:nth-child(2) { transition-delay: 0.15s; }
.projects-grid .project-card:nth-child(3) { transition-delay: 0.25s; }
.projects-grid .project-card:nth-child(4) { transition-delay: 0.35s; }

.skills-grid .skill-card:nth-child(1) { transition-delay: 0.05s; }
.skills-grid .skill-card:nth-child(2) { transition-delay: 0.12s; }
.skills-grid .skill-card:nth-child(3) { transition-delay: 0.20s; }
.skills-grid .skill-card:nth-child(4) { transition-delay: 0.28s; }
.skills-grid .skill-card:nth-child(5) { transition-delay: 0.36s; }
.skills-grid .skill-card:nth-child(6) { transition-delay: 0.44s; }

.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.25s; }

/* 5. Animated Skills Progress Bars */
.skill-bar-track {
    position: relative;
    overflow: hidden;
}

.skill-bar-fill {
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 6. Smooth Card Hover Transitions */
.project-card, .skill-card, .testimonial-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.project-card:hover, .skill-card:hover, .testimonial-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 42, 59, 0.25) !important;
}

/* 7. Standing Character Hover Glow */
.character-img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease !important;
}

.character-standing-box:hover .character-img {
    transform: scale(1.025);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 25px rgba(255, 42, 59, 0.25)) !important;
}




/* ==========================================================================
   About Me Section Styles (Compact, Sleek 2-Column Design)
   ========================================================================== */
.about-card {
    background: #000000 !important;
    border: 1px solid rgba(255, 42, 59, 0.22);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.95),
        0 0 25px rgba(255, 42, 59, 0.08);
    transition: var(--transition);
}

.about-card:hover {
    border-color: rgba(255, 42, 59, 0.45);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.98), 0 0 35px rgba(255, 42, 59, 0.15);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 24px;
    align-items: center;
}

.about-tagline {
    font-size: 1.34rem;
    font-weight: 700;
    line-height: 1.42;
    margin-bottom: 14px;
    color: #FFFFFF;
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
}

.about-desc {
    color: #F1F5F9;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.76;
    margin-bottom: 22px;
    letter-spacing: 0.012em;
    -webkit-font-smoothing: antialiased;
}

.about-desc strong {
    color: #FFFFFF;
    font-weight: 700;
}

.about-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.94rem;
    color: #E2E8F0;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

.about-highlight-item strong {
    color: #FFFFFF;
    font-weight: 700;
}

.highlight-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 42, 59, 0.16);
    border: 1px solid var(--border-red);
    color: #FF2A3B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 10px rgba(255, 42, 59, 0.3);
}

/* Mystic Flame & Pure Smoke Video Column (Compact & Balanced) */
.about-mystic-video-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 250px;
}

.mystic-candle-showcase {
    position: relative;
    width: 100%;
    max-width: 270px;
    height: 270px;
    border-radius: var(--radius-md);
    background: #000000 !important;
    overflow: hidden;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    transition: var(--transition);
    z-index: 2;
}

.mystic-candle-showcase:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.mystic-candle-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    mix-blend-mode: screen;
    filter: brightness(1.22) contrast(1.20);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mystic-candle-showcase:hover .mystic-candle-video {
    transform: scale(1.04);
}

.mystic-candle-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 60%, transparent 40%, rgba(0, 0, 0, 0.65) 90%);
}

@media (max-width: 900px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-mystic-video-col {
        min-height: auto;
    }
    .mystic-candle-showcase {
        max-width: 240px;
        height: 240px;
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .about-card {
        padding: 20px 18px;
    }
    .about-tagline {
        font-size: 1.20rem;
    }
    .about-desc {
        font-size: 0.92rem;
        line-height: 1.7;
    }
    .about-highlight-item {
        font-size: 0.88rem;
    }
    .mystic-candle-showcase {
        max-width: 210px;
        height: 210px;
    }
}






/* ==========================================================================
   Pinterest Lunar Moon Video Window
   ========================================================================== */
.moon-showcase-box {
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-red);
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.85),
        0 0 30px rgba(255, 42, 59, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: var(--transition);
    margin-bottom: 8px;
}

.moon-showcase-box:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 
        0 25px 65px rgba(0, 0, 0, 0.95),
        0 0 45px rgba(255, 42, 59, 0.35);
}

.moon-frame {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #000;
}

.moon-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    filter: brightness(1.05) contrast(1.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.moon-showcase-box:hover .moon-media-video {
    transform: scale(1.04);
}

.moon-glass-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
}

.moon-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 15, 20, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    padding: 7px 15px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.06em;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.moon-live-glow {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff, 0 0 16px var(--primary-red);
    animation: moonDotPulse 2s infinite;
}

@keyframes moonDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.moon-sound-btn {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: var(--transition);
}

.moon-sound-btn:hover {
    border-color: var(--primary-red);
    background: var(--primary-red);
    transform: scale(1.08);
}


/* ==========================================================================
   Unified Live Lunar Night Background with Character in Foreground
   ========================================================================== */
.lunar-portrait-showcase {
    position: relative;
    width: 100%;
    height: 820px;
    border-radius: var(--radius-lg) !important;
    background: #000;
    border: 1px solid var(--border-red) !important;
    outline: none !important;
    overflow: hidden;
    box-shadow: 0 0 14px rgba(255, 42, 59, 0.06), 0 25px 80px rgba(0, 0, 0, 0.95) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    transition: var(--transition);
}

.lunar-portrait-showcase:hover {
    border: 1px solid rgba(255, 60, 75, 0.32) !important;
    box-shadow: 0 0 18px rgba(255, 42, 59, 0.10), 0 30px 85px rgba(0, 0, 0, 0.98) !important;
    transform: translateY(-2px);
}

/* Background Live Moon Video Layer */
.lunar-video-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.lunar-bg-video {
    position: absolute;
    width: 135%;
    height: 135%;
    max-width: none;
    top: -14%;
    left: 0;
    object-fit: cover;
    object-position: 50% 0%;
    display: block;
    filter: brightness(0.95) contrast(1.18);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lunar-portrait-showcase:hover .lunar-bg-video {
    transform: scale(1.03);
    transform-origin: 75% 25%;
}

/* Atmospheric Overlay: moonlight on top, dark floor blending on bottom */
.lunar-atmosphere-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.28) 0%, 
        transparent 32%, 
        rgba(0, 0, 0, 0.45) 68%, 
        rgba(0, 0, 0, 0.98) 100%
    );
    pointer-events: none;
}

/* Foreground Character Cutout Layer */
.lunar-character-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    pointer-events: none;
    line-height: 0;
    overflow: visible;
}

.lunar-character-img {
    width: auto;
    max-width: 105%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    object-position: left bottom;
    margin-left: 0;
    transform: translateY(35px);
    display: block;
    filter: brightness(0.78) contrast(1.15) saturate(0.92) !important;
    mask-image: linear-gradient(180deg, #000 80%, transparent 98%);
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 98%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.lunar-portrait-showcase:hover .lunar-character-img {
    transform: translateY(35px) scale(1.02);
    transform-origin: left bottom;
    filter: brightness(0.82) contrast(1.15) saturate(0.95) !important;
}

/* ==========================================================================
   Rising Realistic Volcanic Smoke & Fire Embers Layer (Zero Candle - Integrated)
   ========================================================================== */
.lunar-smoke-effect-layer {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 520px;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
    mix-blend-mode: screen;
    opacity: 0.95;
    -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 85%, #000 45%, transparent 95%);
    mask-image: radial-gradient(ellipse 95% 80% at 50% 85%, #000 45%, transparent 95%);
    transition: opacity 0.5s ease;
}

.lunar-portrait-showcase:hover .lunar-smoke-effect-layer {
    opacity: 1;
}

.lunar-smoke-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    filter: brightness(1.25) contrast(1.3) saturate(1.4);
}

/* Atmospheric Volcanic Ember Warm Glow at base */
.lunar-smoke-effect-layer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 140px;
    background: radial-gradient(ellipse at bottom center, rgba(255, 60, 20, 0.32) 0%, rgba(255, 80, 0, 0.12) 50%, transparent 80%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Top Floating Controls Bar */
.lunar-floating-bar {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.lunar-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 15, 20, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.06em;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.lunar-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff, 0 0 16px var(--primary-red);
    animation: lunarDotPulse 2s infinite;
}

@keyframes lunarDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.lunar-sound-toggle {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
}

.lunar-sound-toggle:hover {
    border-color: var(--primary-red);
    background: var(--primary-red);
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .lunar-portrait-showcase {
        height: 650px;
    }
    .lunar-character-img {
        max-height: 580px;
        transform: translateX(-14%);
    }
    .lunar-portrait-showcase:hover .lunar-character-img {
        transform: translateX(-14%) scale(1.025);
    }
}


/* ==========================================================================
   Site Entry Logo Intro & Navbar Logo Shimmer Animations
   ========================================================================== */
.site-intro-overlay {
    position: fixed;
    inset: 0;
    background: #08090d;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.site-intro-overlay.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

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

.intro-logo-icon {
    filter: drop-shadow(0 0 25px rgba(255, 42, 59, 0.8));
    animation: introIconPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes introIconPop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.intro-brand-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: introLetterSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-letter:nth-child(1) { animation-delay: 0.15s; }
.intro-letter:nth-child(2) { animation-delay: 0.22s; }
.intro-letter:nth-child(3) { animation-delay: 0.29s; }
.intro-letter:nth-child(4) { animation-delay: 0.36s; }
.intro-letter:nth-child(5) { animation-delay: 0.43s; }

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

.intro-dot-dev {
    color: var(--primary-red);
    text-shadow: 0 0 25px rgba(255, 42, 59, 0.9);
    opacity: 0;
    transform: scale(0.6);
    animation: introDevFlash 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.52s forwards;
}

@keyframes introDevFlash {
    0% { opacity: 0; transform: scale(0.6); }
    70% { opacity: 1; transform: scale(1.18); }
    100% { opacity: 1; transform: scale(1); }
}

.intro-loader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 18px;
}

.intro-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    animation: introProgressFill 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes introProgressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ==========================================================================
   Navbar Logo Shimmer & Entrance Animations
   ========================================================================== */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    position: relative;
    padding: 4px 6px;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.brand-logo:hover {
    transform: scale(1.04);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px var(--primary-red-glow));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
    animation: logoIconGlow 3s infinite alternate ease-in-out;
}

.brand-logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.15);
    filter: drop-shadow(0 0 18px var(--primary-red));
}

@keyframes logoIconGlow {
    0% { filter: drop-shadow(0 0 8px rgba(255, 42, 59, 0.4)); }
    100% { filter: drop-shadow(0 0 18px rgba(255, 42, 59, 0.9)); }
}

.brand-name {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Shimmer beam passing through MIRAZ.DEV */
.brand-name::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: brandShimmer 4s infinite cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

@keyframes brandShimmer {
    0% { left: -120%; }
    30% { left: 160%; }
    100% { left: 160%; }
}


/* Social Icons Row Improvements */
.hero-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: -10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.social-icon-btn:hover {
    transform: translateY(-4px) scale(1.1);
    color: #fff;
}

.social-icon-btn.btn-yt:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
}

.social-icon-btn.btn-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5);
}

.social-icon-btn.btn-wa:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.social-icon-btn.btn-li:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.5);
}

.social-icon-btn.btn-gh:hover {
    background: #24292e;
    border-color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.social-icon-btn.btn-tg:hover {
    background: #229ED9;
    border-color: #229ED9;
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.5);
}

.social-icon-btn.btn-mail:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 8px 20px var(--primary-red-glow);
}


/* Instagram Hover Style */
.social-icon-btn.btn-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: #dc2743 !important;
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.5) !important;
}

/* Contact Card Direct Links Pills */
.contact-direct-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contact-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    font-size: 0.82rem;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-pill-link.wa-pill:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    color: #25D366;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.contact-pill-link.fb-pill:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: #1877F2;
    color: #1877F2;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.3);
    transform: translateY(-2px);
}


/* Master Responsive Typewriter Cursor */
.typing-cursor {
    display: none !important;
    color: var(--primary-red) !important;
    font-size: 0.95em !important;
    font-weight: 300 !important;
    margin-left: 4px !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: baseline !important;
    animation: cursorBlink 0.75s infinite !important;
    filter: drop-shadow(0 0 12px rgba(255, 42, 59, 0.75)) !important;
}

.hero-hi-line, 
.hero-name-together, 
.hero-craft-line, 
.hero-dynamic-row {
    opacity: 1 !important;
    animation: none !important;
}


.contact-pill-link.mail-pill:hover {
    background: rgba(234, 67, 53, 0.15);
    border-color: #EA4335;
    color: #EA4335;
    box-shadow: 0 6px 18px rgba(234, 67, 53, 0.3);
    transform: translateY(-2px);
}

.contact-pill-link.gh-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}


/* Zero Layout Shift Guarantee */
.hero-dynamic-row {
    display: inline-flex !important;
    align-items: center !important;
    min-height: clamp(2.6rem, 4.2vw, 3.8rem) !important;
    height: clamp(2.6rem, 4.2vw, 3.8rem) !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    overflow: visible !important;
}

.hero-headline {
    margin-bottom: 22px !important;
    min-height: 250px !important; /* Locks entire headline height so nothing moves */
}

.typing-cursor {
    display: none !important;
    color: var(--primary-red) !important;
    font-size: clamp(2.3rem, 4vw, 3.5rem) !important;
    font-weight: 300 !important;
    margin-left: 4px !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    animation: cursorBlink 0.75s infinite !important;
    filter: drop-shadow(0 0 15px rgba(255, 42, 59, 0.7)) !important;
}


/* Dedicated Separate Showcase Frame with its own Red Border & Shadow */
.side-showcase {
    display: block;
    transition: opacity 0.3s ease;
}

.lunar-portrait-showcase,
.lunar-portrait-showcase:hover {
    border: 1px solid var(--border-red) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 0 14px rgba(255, 42, 59, 0.06), 0 25px 80px rgba(0, 0, 0, 0.95) !important;
}

.portfolio-container {
    border: 1px solid var(--border-red) !important;
    border-radius: var(--radius-lg) !important;
}


/* Mystic Flame replaced by full-width pure smoke in about-card */


/* ==========================================================================
   Full Hero Atmosphere: Rising Smoke & Fire Embers (Unified Single Background)
   ========================================================================== */
.hero-section {
    position: relative !important;
    overflow: hidden !important;
    background: #000000 !important;
}

.hero-full-smoke-atmosphere {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Sits behind hero content and circular avatar across entire width */
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 88%, transparent 100%);
}

.hero-full-smoke-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    mix-blend-mode: screen;
    opacity: 0.58;
    filter: brightness(1.10) contrast(1.15);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.hero-interactive-smoke-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2; /* Sits in front of ambient video, behind content */
    mix-blend-mode: screen;
}

.hero-content, 
.hero-avatar-wrapper {
    position: relative;
    z-index: 5 !important;
    background: transparent !important;
}



/* ==========================================================================
   Continuous Scrollable Flow (Home, About, Testimonials, Projects, Skills, Contact)
   "আমি যেন স্ক্রল করলে নিচের দিকে সবগুলা অপশন আসে, স্ক্রল করলে।"
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

.portfolio-page-view {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
}

/* Ensure smooth section scrolling with breathing room under the sticky navbar */
section[id],
.section-container,
.hero-section {
    scroll-margin-top: 85px;
}

.hero-section {
    padding-top: 24px !important;
    margin-top: 8px !important;
}

/* Elegant divider and top spacing for subsequent sections in scroll flow */
.portfolio-page-view .section-container {
    padding-top: 56px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ==========================================================================
   Universal Mobile & Desktop Responsive Perfection
   ========================================================================== */

/* Tablet & Mobile Stack Layout (<= 1200px) */
@media (max-width: 1200px) {
    .main-wrapper {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .portfolio-container {
        border-radius: var(--radius-lg) !important;
        border: 1px solid var(--border-red) !important;
    }

    .side-showcase {
        display: block !important; /* Keep showcase visible on mobile/tablet! */
        position: relative !important;
        top: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }

    .lunar-portrait-showcase {
        height: 540px !important;
        border-radius: var(--radius-lg) !important;
        border: 1px solid var(--border-red) !important;
        box-shadow: 0 0 14px rgba(255, 42, 59, 0.06), 0 25px 80px rgba(0, 0, 0, 0.95) !important;
    }

    .lunar-bg-video {
        object-position: 66% 14% !important;
    }

    .lunar-character-img {
        max-height: 480px !important;
        margin-left: 24px !important;
        transform: translateY(20px) !important;
    }
}

/* Tablet (<= 900px) */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 32px !important;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-headline {
        text-align: center !important;
        min-height: auto !important;
    }

    .hero-hi-line {
        justify-content: center !important;
    }

    .hero-dynamic-row {
        justify-content: center !important;
    }

    .hero-cta-group {
        justify-content: center !important;
    }

    .hero-social-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .contact-card {
        grid-template-columns: 1fr !important;
    }

    .about-content-grid {
        grid-template-columns: 1fr !important;
    }

    .mystic-candle-showcase {
        max-width: 100% !important;
        height: 360px !important;
    }
}

/* Mobile Devices (<= 680px) */
@media (max-width: 680px) {
    body {
        padding: 10px 8px !important;
        overflow-x: hidden !important;
    }

    .main-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        box-shadow: none !important;
    }

    .portfolio-container {
        padding: 20px 14px 32px !important;
        border-radius: 18px !important;
    }

    /* Prevent any text overflow on small phones */
    .hero-name-together {
        font-size: clamp(1.85rem, 8.2vw, 2.6rem) !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.1 !important;
    }

    .hero-craft-line {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important;
        white-space: normal !important;
    }

    .hero-headline .glow-text {
        font-size: clamp(1.75rem, 7vw, 2.4rem) !important;
    }

    .hero-subtext {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    /* Touch-friendly buttons on mobile */
    .hero-cta-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .hero-cta-group .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
    }

    .hero-avatar-wrapper {
        width: min(340px, 92vw) !important;
        height: min(340px, 92vw) !important;
        margin: 20px auto 15px !important;
    }

    .ring-outer { width: min(340px, 92vw) !important; height: min(340px, 92vw) !important; }
    .ring-dashed { width: min(315px, 85vw) !important; height: min(315px, 85vw) !important; }
    .ring-dots { width: min(292px, 79vw) !important; height: min(292px, 79vw) !important; }
    .ring-inner { width: min(272px, 74vw) !important; height: min(272px, 74vw) !important; }
    .avatar-frame { 
        width: min(258px, 70vw) !important; 
        height: min(258px, 70vw) !important; 
        box-shadow: 0 0 35px rgba(255, 42, 59, 0.35), 0 20px 50px rgba(0, 0, 0, 0.95) !important;
    }
    .avatar-img {
        transform: scale(1.18) !important;
        transform-origin: center 38% !important;
    }
    .availability-badge { bottom: 10px !important; right: 0px !important; padding: 6px 14px !important; font-size: 0.75rem !important; }

    /* Contact form inputs full width on mobile */
    .form-row {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .contact-direct-links {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .contact-pill-link {
        width: 100% !important;
        justify-content: center !important;
        font-size: 0.78rem !important;
        word-break: break-all !important;
    }

    .showcase-bottom-banner {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .bottom-card {
        padding: 18px 16px !important;
    }

    /* Mobile Lunar Showcase: Moon at Top-Right Corner & Character at Left Lower */
    .lunar-portrait-showcase {
        height: 480px !important;
    }

    .lunar-video-layer {
        position: absolute !important;
        inset: 0 !important;
        overflow: hidden !important;
    }

    .lunar-bg-video {
        position: absolute !important;
        width: 130% !important;
        height: auto !important;
        min-height: 160% !important;
        max-width: none !important;
        top: -33% !important;
        left: 10% !important;
        object-fit: initial !important;
    }

    .lunar-character-layer {
        justify-content: flex-start !important;
    }

    .lunar-character-img {
        max-height: 380px !important;
        margin-left: 0 !important;
        transform: translate(-10px, 35px) !important;
    }

    .lunar-smoke-effect-layer {
        height: 360px !important;
        bottom: -15px !important;
    }
}

/* ==========================================================================
   Interactive Review Modal & Testimonials System Styles
   ========================================================================== */
.testimonial-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.header-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-modal-open-btn {
    padding: 7px 16px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-pill) !important;
    border: 1px solid var(--border-red) !important;
    background: rgba(255, 42, 59, 0.10) !important;
    color: #FFFFFF !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.review-modal-open-btn:hover {
    background: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 16px rgba(255, 42, 59, 0.45);
    transform: translateY(-1px);
}

.review-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

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

.review-modal-box {
    background: #0B0E14;
    border: 1px solid var(--border-red);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.98), 0 0 40px rgba(255, 42, 59, 0.22);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 28px 30px;
    position: relative;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.review-modal-backdrop.active .review-modal-box {
    transform: scale(1) translateY(0);
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.review-modal-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary-red);
    background: rgba(255, 42, 59, 0.12);
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    margin-bottom: 6px;
}

.review-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.review-modal-desc {
    font-size: 0.82rem;
    color: #94A3B8;
}

.review-modal-close {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.review-modal-close:hover {
    color: #FF2A3B;
}

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

.review-form .form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 6px;
}

.review-form .form-hint {
    font-size: 0.74rem;
    font-weight: 400;
    color: #64748B;
}

.review-form .form-input,
.review-form .form-textarea {
    width: 100%;
    background: #121620;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.88rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.review-form .form-input:focus,
.review-form .form-textarea:focus {
    outline: none;
    border-color: #FF2A3B;
    box-shadow: 0 0 0 3px rgba(255, 42, 59, 0.2);
}

/* Interactive 5-Star Selector */
.star-rating-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #121620;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
}

.star-btn {
    font-size: 1.45rem;
    color: #334155;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}

.star-btn.active,
.star-btn.hover {
    color: #FF2A3B;
    text-shadow: 0 0 10px rgba(255, 42, 59, 0.6);
}

.star-btn:hover {
    transform: scale(1.15);
}

.star-rating-text {
    margin-left: 10px;
    font-size: 0.80rem;
    font-weight: 600;
    color: #CBD5E1;
}

.review-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
