/* ============================================================
   PORTFOLIO - WIBIFY-INSPIRED DESIGN SYSTEM
   Pure black · Lime accent · Blueprint grid aesthetic
   ============================================================ */

/* --- Google Fonts will be loaded via PHP (dynamic) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* --- Custom Local Fonts --- */
@font-face {
    font-family: 'Overy';
    src: url('assets/fonts/Overy-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color, #0a0a0a);
    color: var(--text-main, #ffffff);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-color, #c8f000);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200, 240, 0, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.hovered {
    width: 60px;
    height: 60px;
    border-color: var(--accent-color, #c8f000);
}

/* Hover image preview cursor — Wibify style: lớn hơn, sharp hơn */
.preview-cursor {
    position: fixed;
    width: 380px;
    height: 240px;
    pointer-events: none;
    z-index: 9998;
    /* offset sang phải + xuống dưới con trỏ */
    transform: translate(20px, -50%);
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.preview-cursor.active {
    opacity: 1;
}
.preview-cursor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-gif {
    max-width: min(320px, 80vw);
    max-height: min(320px, 80vh);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    /* GIF has black bg — blends naturally with #000 overlay */
}

/* ============================================================
   FILM GRAIN
   ============================================================ */
.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    opacity: 0.025;
    pointer-events: none;
    z-index: 9000;
    animation: grain 0.8s steps(2) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-2%, -3%); }
    30% { transform: translate(2%, 2%); }
    50% { transform: translate(-1%, 3%); }
    70% { transform: translate(3%, -1%); }
    90% { transform: translate(-3%, 1%); }
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: all;
    max-width: max-content;
    margin: 24px auto 0 auto;
}

/* Logo in header */
.header-logo {
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    flex-shrink: 0;
    height: 36px;
}

.header-logo .logo-text {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--text-main, #fff);
    white-space: nowrap;
}

.header-logo .logo-image {
    max-height: 28px;
    width: auto;
}

/* CTA Button in header — Wibify shiny shimmer */
.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-main, #fff);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    cursor: none;
    margin: 0 8px;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

/* Wibify shiny sweep */
.header-cta::after {
    content: '';
    position: absolute;
    top: -50%; left: -80%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255,255,255,0.12) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    /* NO transition on base = instant snap back, no gray streak */
    transition: left 0s;
}

.header-cta:hover::after {
    left: 130%;
    /* Only animate on hover entry */
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--accent-color, #c8f000);
}

/* Burger menu */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    cursor: none;
    flex-shrink: 0;
    height: 36px;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text-main, #fff);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-drawer.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer a {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main, #fff);
    text-decoration: none;
    cursor: none;
    /* Disable default color transition — handled per-letter now */
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* ── Letter wrapper: masks the slide ── */
.nav-letter {
    display: inline-block;
    overflow: hidden;
    line-height: 1.1;
    /* space chars don't collapse */
    white-space: pre;
}

/* ── Inner that slides ── */
.nav-letter-inner {
    display: block;
    position: relative;
    transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
}

/* ── Accent clone: sits directly below ── */
.nav-letter-clone {
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--accent-color, #c8f000);
    pointer-events: none;
    user-select: none;
    white-space: pre;
}

/* ── On hover: slide entire inner upward ── */
.mobile-drawer a:hover .nav-letter-inner {
    transform: translateY(-100%);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* ── Background (video or image) ── */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    filter: grayscale(30%);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10,10,10,0.2) 0%,
        rgba(10,10,10,0.15) 40%,
        rgba(10,10,10,0.55) 75%,
        rgba(10,10,10,0.85) 100%
    );
}

/* ── Content wrapper ── */
.hero-content-wrap {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 60px;
}

/* Wibify style: content on left side */
.hero-content-left {
    max-width: 680px;
    width: 60%;
}

/* ── Eyebrow ── */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color, #c8f000);
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--accent-color, #c8f000);
    flex-shrink: 0;
}

/* ── Hero Title (Wibify-style: huge, bold + italic accent) ── */
.hero-title {
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    /* Wibify-match: large but fits in ~50% viewport */
    font-size: clamp(2.6rem, 4.5vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-main, #fff);
    max-width: 100%;
    margin-bottom: 1.8rem;
}

.hero-title em {
    font-family: 'Overy', serif;
    font-style: italic;
    color: var(--accent-color, #c8f000);
    font-weight: normal;
}

/* ── Subtitle ── */
.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 420px;
    line-height: 1.75;
    margin-bottom: 2.8rem;
}

/* ── Action buttons ── */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

/* Buttons - Wibify Dark Style */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #000;
    background: var(--accent-color, #c8f000);
    border: 1px solid var(--accent-color, #c8f000);
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
    cursor: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-primary:hover {
    background: #111;
    color: var(--accent-color, #c8f000);
    border-color: rgba(255,255,255,0.15);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
    cursor: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

/* ── Hero Stats Bar (Wibify-style: highly aesthetic bottom bar) ── */
.hero-stats-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.8rem 0;
    margin-top: 3.5rem;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.stat-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: transparent;
    border: 1px solid var(--accent-color, #c8f000);
    border-radius: 0;
    color: var(--accent-color, #c8f000);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.stat-number {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main, #fff);
}

.stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-sep {
    display: block;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

/* ── Social Icons: FIXED right edge, vertical stack (like Wibify) ── */
.hero-social-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 200;
}

.hero-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    cursor: none;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
}

.hero-social-icon:hover {
    border-color: var(--accent-color, #c8f000);
    color: var(--accent-color, #c8f000);
    background: rgba(10, 10, 10, 0.8);
    transform: scale(1.12);
}

/* ============================================================
   SECTION ANATOMY
   ============================================================ */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.68rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color, #c8f000);
    padding: 3rem 0 2rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-color, #c8f000);
    flex-shrink: 0;
}

.section-heading {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text-main, #fff);
    margin-bottom: 4rem;
}

.section-heading em {
    font-family: 'Overy', serif;
    font-style: italic;
    color: var(--accent-color, #c8f000);
    font-weight: normal;
}

/* ============================================================
   WORKS LIST — WIBIFY STYLE INDEXED ROWS
   ============================================================ */
.works-section {
    padding-bottom: 0;
}

.works-list-header {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
}

/* Work Row — Wibify-style với padding-left shift + underline expand */
.work-row {
    display: grid;
    grid-template-columns: 80px 1fr auto auto 40px;
    align-items: center;
    gap: 2rem;
    padding: 1.8rem 0 1.8rem 0.5rem;   /* padding-left ban đầu 0.5rem */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: none;
    position: relative;
    text-decoration: none;
    color: inherit;
    /* Wibify: shift sang phải khi hover */
    transition: padding-left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Accent line ở trên — mở rộng từ 0 → 100% */
.work-row::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    height: 1px;
    width: 0;
    background: var(--accent-color, #c8f000);
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-row:hover::before {
    width: 100%;
}

/* Dimming các hàng khác khi hover một hàng bất kỳ */
.works-list:has(.work-row:hover) .work-row:not(:hover) {
    opacity: 0.35;
    transition: opacity 0.4s ease, padding-left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-row:hover {
    padding-left: 2.25rem;   /* dịch sang phải */
}

.work-row-index {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    transition: color 0.35s ease;
}

.work-row:hover .work-row-index {
    color: var(--accent-color, #c8f000);
}

.work-row-title {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main, #fff);
    line-height: 1.1;
    /* overflow hidden để letter-roll hoạt động */
    overflow: hidden;
}

.work-row-tags {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    text-align: right;
    transition: color 0.35s ease;
}

.work-row:hover .work-row-tags {
    color: rgba(255,255,255,0.6);
}

.work-row-count {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.2);
}

.work-row-arrow {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-row:hover .work-row-arrow {
    color: var(--accent-color, #c8f000);
    transform: translate(4px, -4px);
}

/* ============================================================
   PORTFOLIO COLLECTION — STICKY LEFT + SCROLLING IMAGES RIGHT
   ============================================================ */
.portfolio-section {
    padding: 6rem 0;
}

.portfolio-collection {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 300px;
}

.portfolio-collection:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sticky left column */
.collection-sticky {
    position: sticky;
    top: 80px;
    height: fit-content;
    padding: 3rem 3rem 3rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.collection-index {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color, #c8f000);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.collection-index::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent-color, #c8f000);
}

.collection-name {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-main, #fff);
    margin-bottom: 1.5rem;
}

.collection-meta {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    line-height: 2;
}

/* Right scrolling column */
.collection-images {
    padding: 3rem 0 3rem 3rem;
}

/* Image Row — flex + proportional width */
.portfolio-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

/* Cover row — sử dụng cùng logic */
.portfolio-row.cover-row {
    display: flex;
    min-width: 0;
    height: auto; /* height do ảnh bên trong quyết định */
    position: relative;  /* cần cho overlay absolute */
    overflow: hidden;    /* scale không tràn ra ngoài */
}

/* Cover: ảnh fill 100% width, height tự động → đúng ratio → không crop */
.cover-row .portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: initial;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Base: mọi portfolio-item đều dùng flex theo aspect-ratio */
.portfolio-item {
    flex: var(--aspect-ratio, 1);
    min-width: 0;
    position: relative;
    overflow: hidden;
    cursor: none;
}

.portfolio-item img {
    width: 100%;
    height: auto;         /* chiều cao tự nhiên theo tỷ lệ thật */
    display: block;
    object-fit: unset;    /* không crop, không thêm khoảng trắng */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.portfolio-item:hover img {
    transform: scale(1.04);
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* KHÔNG bao giờ chặn click - click luôn đến portfolio-item */
}

.portfolio-item:hover .portfolio-item-overlay {
    background: rgba(0,0,0,0.3);
}

.portfolio-item-view {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease 0.05s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    background: rgba(0,0,0,0.4);
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 2px;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-item-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   PHOTOGRAPHY SECTION
   ============================================================ */
.photography-section {
    padding: 6rem 0;
}

/* Tab Filter */
.photo-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.photo-tab-btn {
    padding: 1rem 1.5rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: none;
    white-space: nowrap;
    transition: color 0.3s ease, border-color 0.3s ease;
    margin-bottom: -1px;
}

.photo-tab-btn.active,
.photo-tab-btn:hover {
    color: var(--text-main, #fff);
    border-bottom-color: var(--accent-color, #c8f000);
}

/* Photography Grid — Masonry-like columns */
.photography-grid {
    columns: 4;
    column-gap: 10px;
}



.photo-card {
    break-inside: avoid;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    cursor: none;
    border-radius: 2px;
}

.photo-card.hidden {
    display: none;
}

.photo-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card:hover img {
    transform: scale(1.04);
}

.photo-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    transition: background 0.4s ease;
}

.photo-card:hover .photo-card-overlay {
    background: rgba(0,0,0,0.5);
}

.photo-card-info {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-card:hover .photo-card-info {
    opacity: 1;
    transform: translateY(0);
}

.photo-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.photo-card-desc {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-left {
    padding: 4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-heading {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-heading em {
    font-family: 'Overy', serif;
    font-style: italic;
    color: var(--accent-color, #c8f000);
    font-weight: normal;
}

.contact-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 400px;
}

.contact-right {
    padding: 4rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    cursor: none;
    transition: color 0.3s ease;
}

.contact-method:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-method:hover {
    color: var(--accent-color, #c8f000);
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent-color, #c8f000);
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-method:hover .contact-method-icon {
    background: var(--accent-color, #c8f000);
    border-color: var(--accent-color, #c8f000);
    color: #000;
}

.contact-method-body {
    flex: 1;
}

.contact-method-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    display: block;
    margin-bottom: 2px;
}

.contact-method-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main, #fff);
    display: block;
    transition: color 0.3s ease;
}

.contact-method:hover .contact-method-value {
    color: var(--accent-color, #c8f000);
}

.contact-method-arrow {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-method:hover .contact-method-arrow {
    color: var(--accent-color, #c8f000);
    transform: translate(3px, -3px);
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    cursor: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--accent-color, #c8f000);
    color: var(--accent-color, #c8f000);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand-name {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main, #fff);
    display: block;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}



.footer-col-heading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: none;
}

.footer-links a:hover {
    color: var(--text-main, #fff);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9500;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    transition: opacity 0.2s ease;
    border-radius: 2px;
}

.lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    cursor: none;
    transition: all 0.3s ease;
    background: rgba(10,10,10,0.8);
}

.lightbox-close:hover {
    border-color: var(--accent-color, #c8f000);
    color: var(--accent-color, #c8f000);
}

.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    cursor: none;
    transition: all 0.3s ease;
    background: rgba(10,10,10,0.6);
}

.lightbox-nav:hover {
    border-color: var(--accent-color, #c8f000);
    color: var(--accent-color, #c8f000);
}

.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

body.lightbox-open {
    overflow: hidden;
}

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
    padding: 3rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
/* Smooth scroll reveal: fade + subtle lift — no filter:blur to prevent GPU jank */
@keyframes rise {
    0% {
        opacity: 0;
        transform: translateY(1.2rem) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal {
    opacity: 0;
    will-change: opacity, transform;
}

.reveal.visible {
    animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── Portfolio row cascade: triggered when parent .reveal-collection gets .rows-visible ── */
.reveal-collection .portfolio-row {
    opacity: 0;
    transform: translateY(1rem) scale(0.99);
    will-change: opacity, transform;
}

.reveal-collection.rows-visible .portfolio-row {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Waterfall stagger: each row animates after the previous one */
.reveal-collection.rows-visible .portfolio-row:nth-child(1)  { animation-delay: 0ms; }
.reveal-collection.rows-visible .portfolio-row:nth-child(2)  { animation-delay: 120ms; }
.reveal-collection.rows-visible .portfolio-row:nth-child(3)  { animation-delay: 240ms; }
.reveal-collection.rows-visible .portfolio-row:nth-child(4)  { animation-delay: 360ms; }
.reveal-collection.rows-visible .portfolio-row:nth-child(5)  { animation-delay: 480ms; }
.reveal-collection.rows-visible .portfolio-row:nth-child(6)  { animation-delay: 600ms; }
.reveal-collection.rows-visible .portfolio-row:nth-child(7)  { animation-delay: 720ms; }
.reveal-collection.rows-visible .portfolio-row:nth-child(n+8) { animation-delay: 840ms; }


/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    /* Header */
    .header-inner {
        padding: 6px 8px;
        gap: 0;
    }

    /* Hero */
    .hero-content-wrap { padding: 0 40px; }
    .hero-content-left { max-width: 90%; width: 100%; }

    /* Portfolio */
    .portfolio-collection {
        grid-template-columns: 220px 1fr;
    }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 3rem;
    }
    .contact-right { padding: 3rem; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Photography */
    .photography-grid { columns: 3; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* ── Base ── */
    body { overflow-x: hidden; }

    /* ── Header ── */
    .header-inner {
        width: calc(100vw - 32px);
        max-width: none;
        margin: 12px auto 0;
        padding: 6px 10px;
        justify-content: space-between;
    }
    .header-logo { padding: 0 12px; }
    .header-nav-links { display: none; } /* if exists */

    /* ── Container ── */
    .container { padding: 0 20px; }

    /* ── Hero ── */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    .hero-content-wrap { padding: 0 20px; }
    .hero-content-left {
        max-width: 100%;
        width: 100%;
    }
    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }
    .hero-subtitle { max-width: 100%; }
    .hero-actions { flex-wrap: wrap; gap: 0.75rem; }
    .hero-stats-bar {
        gap: 1rem;
        flex-wrap: wrap;
    }
    /* Fixed social icons — hide on mobile (visible in drawer instead) */
    .hero-social-icons { display: none; }

    /* ── Works list ── */
    .works-list { padding: 0; }
    .work-row {
        grid-template-columns: 40px 1fr auto;
        gap: 0.75rem;
        padding: 1.2rem 0;
    }
    .work-row-tags,
    .work-row-count { display: none; }
    .work-row-title { font-size: 1.1rem; }

    /* ── Portfolio Collection ── */
    .portfolio-collection {
        grid-template-columns: 1fr;
    }
    .collection-sticky {
        position: relative;
        top: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 2rem 0 1.5rem;
        min-width: unset;
    }
    .collection-images { padding: 1.5rem 0; }
    /* Portfolio mobile: 2 per row via flex-wrap */
    .portfolio-row {
        gap: 8px;
        flex-wrap: wrap;
    }
    .portfolio-item {
        flex: 0 0 calc(50% - 4px) !important;
        min-width: 0;
    }

    /* ── Disciplines ── */
    .disciplines-grid { grid-template-columns: 1fr; }
    .discipline-card { min-height: unset; }

    /* ── Photography ── */
    .photo-tabs {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 20px;
    }
    .photography-grid { columns: 2; gap: 8px; }

    /* ── Contact ── */
    .contact-section { padding: 3rem 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 0; }
    .contact-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 1.5rem;
    }
    .contact-right { padding: 1.5rem; }
    .contact-heading { font-size: clamp(2rem, 8vw, 3.5rem); }
    .contact-links { flex-direction: column; gap: 1rem; }
    .contact-desc { max-width: 100%; margin-bottom: 1.5rem; }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    footer .container { padding: 3rem 20px; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    /* Hero */
    .hero-title { font-size: clamp(1.9rem, 9vw, 2.8rem); }
    .btn-primary, .btn-outline { padding: 12px 20px; font-size: 0.82rem; }
    .hero-stats-bar { padding: 1.2rem 0; }

    /* Works */
    .work-row-index { font-size: 0.7rem; }

    /* Portfolio: 1 per row on small mobile */
    .portfolio-item {
        flex: 0 0 100% !important;
    }

    /* Photography */
    .photography-grid { columns: 1; }

    /* Contact */
    .contact-heading { font-size: clamp(1.8rem, 9vw, 2.5rem); }

    /* Disciplines */
    .discipline-card-inner { padding: 1.5rem; }
    .discipline-title { font-size: 1.3rem; }
}


/* ============================================================
   LOGO IMAGE
   ============================================================ */
.logo-image {
    max-height: 28px;
    width: auto;
    display: block;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   SELECTION COLOR
   ============================================================ */
::selection {
    background: var(--accent-color, #c8f000);
    color: #000;
}


/* ============================================================
   ANIMATED BACKGROUND CANVAS
   ============================================================ */
#bgCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   DISCIPLINES SECTION
   ============================================================ */
.disciplines-section {
    padding: 6rem 0 8rem;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
}



.discipline-card {
    position: relative;
    overflow: hidden;
    background: transparent;
    cursor: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.4s ease;
}

.discipline-card:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.06);
}

.discipline-card:hover { background: rgba(255,255,255,0.025); }

/* cursor-following radial glow */
.discipline-card-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    /* background color set dynamically by JS using --accent-color */
    background: radial-gradient(circle, rgba(200,240,0,0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.discipline-card-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.discipline-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.8rem;
}

.discipline-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color, #c8f000);
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.discipline-card:hover .discipline-icon {
    border-color: var(--accent-color, #c8f000);
    background: rgba(200,240,0,0.05);
}

.discipline-num {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: color 0.4s ease;
}

.discipline-card:hover .discipline-num { color: rgba(255,255,255,0.06); }

.discipline-title {
    font-family: var(--font-title, 'Inter', sans-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main, #fff);
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.discipline-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.4);
    margin-bottom: auto;
    padding-bottom: 1.5rem;
    max-width: 380px;
}

.discipline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 2.5rem;
}

.discipline-tags span {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.discipline-tags span::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--accent-color, #c8f000);
    border-radius: 50%;
    opacity: 0.6;
    flex-shrink: 0;
}

.discipline-card:hover .discipline-tags span {
    color: rgba(255,255,255,0.5);
    border-color: rgba(255,255,255,0.14);
}

.discipline-arrow {
    position: absolute;
    bottom: 1.8rem;
    right: 2.5rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.15);
    transition: color 0.4s cubic-bezier(0.16,1,0.3,1),
                transform 0.45s cubic-bezier(0.16,1,0.3,1);
}

.discipline-card:hover .discipline-arrow {
    color: var(--accent-color, #c8f000);
    transform: translate(4px, -4px);
}

/* Shimmer sweep removed from btn-primary — simple color change on hover only */

/* ============================================================
   SCROLL REVEAL CLASSES (JS will set is-visible)
   ============================================================ */
.reveal-el {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(3px);
    transition: opacity 0.7s cubic-bezier(0.215,0.61,0.355,1),
                transform 0.7s cubic-bezier(0.215,0.61,0.355,1),
                filter 0.7s cubic-bezier(0.215,0.61,0.355,1);
}
.reveal-el.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
/* .reveal animation uses original @keyframes rise system (see line ~1280) */


/* ============================================================
   WIBIFY EXACT BUTTON EFFECTS
   ============================================================ */

/* Spotlight orb removed - btn-primary uses simple color change on hover */
.btn-primary .btn-text-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── btn-outline (dot-expand): dot scales to fill ── */
.btn-outline {
    gap: 10px;
}
.btn-outline .btn-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--accent-color, #c8f000);
    border-radius: 1px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline .btn-dot-fill {
    position: absolute;
    width: 8px; height: 8px;
    background: var(--accent-color, #c8f000);
    border-radius: 50%;
    left: 18px; /* aligned with dot */
    top: 50%;
    transform: translateY(-50%) scale(0);
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 0;
}
.btn-outline .btn-text-inner {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}
.btn-outline:hover .btn-dot-fill {
    transform: translateY(-50%) scale(30); /* expand to fill button */
}
.btn-outline:hover .btn-text-inner {
    color: #000; /* invert text on accent background */
}
.btn-outline:hover .btn-dot {
    background: #000; /* dot also inverts */
}
.btn-outline:hover {
    border-color: var(--accent-color, #c8f000);
}
