/* ============================================
   FARREL DIO IMANSYAH - PORTFOLIO STYLES
   Font: Inter
   Theme: Light Minimal (#F8F8F8) & Slate (#25353B)
   ============================================ */

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

:root {
    --bg: #F8F8F8;
    --slate: #25353B;
    --slate-hover: #1b282d;
    --text-black: #000000;
    --text-subtitle: #25353B;
    --quote-gray: #ADADAD;
    --white: #FFFFFF;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ease-wheel: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    color: var(--text-black);
    font-family: var(--font-main);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   MAIN CONTAINER & PAGE VIEWS
   ============================================ */
.app-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.pages-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.page-view {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-left: clamp(48px, 6.94vw, 120px);
    padding-right: 260px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-spring),
                transform 0.5s var(--ease-spring);
    pointer-events: none;
}

.page-view.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}

.page-view.exit-up {
    opacity: 0;
    transform: translateY(-24px);
    z-index: 1;
}

.page-view.exit-down {
    opacity: 0;
    transform: translateY(24px);
    z-index: 1;
}

/* Content Entrance Animations */
.page-view.active .hero-subtitle,
.page-view.active .profile-heading {
    animation: fadeInUp 0.65s var(--ease-spring) both;
}

.page-view.active .hero-heading {
    animation: fadeInUp 0.7s var(--ease-spring) 0.06s both;
}

.page-view.active .quote-box,
.page-view.active .profile-desc {
    animation: fadeInUp 0.7s var(--ease-spring) 0.12s both;
}

.page-view.active .btn-group {
    animation: fadeInUp 0.7s var(--ease-spring) 0.18s both;
}

.page-view.active .profile-photo-wrap {
    animation: photoPop 0.75s var(--ease-spring) both;
}

.page-view.active .underline-word::before {
    animation: underlineGrow 0.6s var(--ease-spring) 0.2s both;
}

.page-view.active .underline-word::after {
    animation: underlineGrow 0.65s var(--ease-spring) 0.25s both;
}

.page-view.active .hero-heading .underline-word::after,
.page-view.active .hero-heading .underline-word.underline-alt::after {
    animation: underlineSlideRight 0.65s var(--ease-spring) 0.36s both;
}

.page-view.active .hero-heading .underline-word.underline-primary::after {
    animation: underlineGrow 0.6s var(--ease-spring) 0.2s both;
}

.page-view.active .profile-heading .underline-word:last-child::after {
    animation: underlineSlideRight 0.65s var(--ease-spring) 0.36s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes photoPop {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes underlineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes underlineSlideRight {
    from {
        opacity: 0;
        transform: translateX(28px) scaleX(0.35);
    }
    to {
        opacity: 1;
        transform: translateX(0) scaleX(1);
    }
}

/* ============================================
   WORD REVEAL ANIMATION
   ============================================ */
.wr-word {
    display: inline;
    will-change: opacity;
    transition: opacity 0.08s linear;
}

/* ============================================
   HOME & PROJECT VIEW CONTENT (Sesuai UI)
   ============================================ */
.hero-block {
    max-width: 1000px;
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(16px, 1.66vw, 24px);
    font-weight: 400;
    color: var(--text-subtitle);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1.2;
}

.hero-heading {
    font-size: clamp(44px, 6.4vw, 92px);
    font-weight: 700;
    color: var(--text-black);
    letter-spacing: -0.025em;
    line-height: 1.06;
    margin-bottom: 18px;
}

.quote-box {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 24px;
    max-width: 960px;
}

.quote-decorator {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22px;
    flex-shrink: 0;
    padding-top: 2px;
}

.quote-mark {
    width: 20px;
    height: 15px;
    fill: var(--quote-gray);
    flex-shrink: 0;
}

.quote-line {
    width: 2px;
    flex-grow: 1;
    min-height: 25px;
    background-color: var(--quote-gray);
    margin-top: 6px;
    border-radius: 1px;
}

.quote-text {
    font-size: clamp(16px, 1.66vw, 24px);
    font-weight: 400;
    color: var(--text-black);
    line-height: 1.32;
    letter-spacing: -0.005em;
}

/* Buttons */
.btn-group {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 22px;
}

.btn-group.project-btn-group {
    margin-top: 52px;
}

.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 39px;
    padding: 0 24px;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ui-btn-primary {
    background-color: var(--slate);
    color: var(--white);
    border: 1px solid var(--slate);
    min-width: 147px;
}

.ui-btn-primary:hover {
    background-color: var(--slate-hover);
    border-color: var(--slate-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 53, 59, 0.18);
}

.ui-btn-outline {
    background-color: transparent;
    color: var(--slate);
    border: 1px solid var(--slate);
    min-width: 132px;
}

.ui-btn-outline:hover {
    background-color: var(--slate);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   PROFILE VIEW CONTENT (Sesuai UI)
   ============================================ */
.profile-layout {
    display: flex;
    align-items: center;
    gap: clamp(36px, 4.86vw, 70px);
    width: 100%;
    max-width: 1060px;
}

.profile-photo-wrap {
    width: clamp(260px, 26vw, 375px);
    aspect-ratio: 375 / 544;
    border-radius: 62px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.profile-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-heading {
    font-size: clamp(36px, 4.3vw, 62px);
    font-weight: 400;
    color: var(--text-black);
    line-height: 1.1;
    letter-spacing: -0.015em;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.26em;
    margin-bottom: 24px;
}

.underline-word {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.underline-word::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background-color: var(--slate);
    border-radius: 4px;
    transform-origin: left;
}

/* Pada hero heading (Project, Contact): 2 shape pendek di awal & di akhir */
.hero-heading .underline-word::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34%;
    height: 8px;
    background-color: var(--slate);
    border-radius: 4px;
    transform-origin: left;
}

.hero-heading .underline-word::after {
    left: auto;
    right: 0;
    width: 24%;
    transform-origin: right;
}

/* Home (2 kata): 1 shape di awal Creative, 1 shape di akhir Technologist */
.hero-heading .underline-word.underline-primary::before,
.hero-heading .underline-word.underline-alt::before {
    display: none;
}

.hero-heading .underline-word.underline-primary::after {
    left: 0;
    right: auto;
    width: 72%;
    transform-origin: left;
}

.hero-heading .underline-word.underline-alt::after {
    left: auto;
    right: 0;
    width: 44%;
    transform-origin: right;
}

.profile-desc {
    font-size: clamp(16px, 1.66vw, 24px);
    font-weight: 400;
    color: var(--text-black);
    line-height: 1.28;
    max-width: 500px;
    margin-bottom: 16px;
}

.profile-btn {
    min-width: 124px;
    height: 40px;
    padding: 0 20px;
}

/* ============================================
   CIRCULAR WHEEL NAVIGATION (RIGHT SIDE)
   Urutan tetap: Profile -> Home -> Project -> Contact
   ============================================ */
.wheel-nav {
    position: fixed;
    top: 51.75%;
    right: -535px;
    width: 758px;
    height: 758px;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: var(--slate);
    z-index: 100;
    user-select: none;
    pointer-events: auto;
}

/* Inner concentric white ring */
.wheel-inner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 512px;
    height: 512px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid var(--white);
    pointer-events: none;
    opacity: 0.25;
}

/* Active selection circle indicator fixed at 9 o'clock */
.wheel-active-indicator {
    position: absolute;
    top: 50%;
    left: 58px;
    width: 94px;
    height: 94px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2.5px solid var(--white);
    pointer-events: none;
    z-index: 3;
    transition: transform 0.4s var(--ease-wheel);
}

.wheel-rotor {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.wheel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 76px;
    height: 76px;
    margin-top: -38px;
    margin-left: -38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    z-index: 4;
    opacity: 0.55;
    transition: transform 0.65s var(--ease-wheel), opacity 0.3s ease;
}

.wheel-item:hover {
    opacity: 0.85;
}

.wheel-item.active {
    opacity: 1;
}

.wheel-item svg {
    width: 44px;
    height: 44px;
    fill: var(--white);
    display: block;
    transition: transform 0.3s ease;
}

.wheel-item:hover svg {
    transform: scale(1.08);
}

.wheel-item.active svg {
    transform: scale(1.08);
}

/* ============================================
   MOBILE NAVIGATION HEADER (<= 860px)
   ============================================ */
.mobile-nav {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .wheel-nav {
        right: -565px;
    }
    .page-view {
        padding-right: 220px;
    }
    .profile-layout {
        gap: 36px;
    }
    .profile-photo-wrap {
        width: 280px;
        border-radius: 44px;
    }
}

/* ============================================
   MOBILE VIEW (<= 860px)
   Rolling navbar hilang -> ganti ke vertical scroll
   ============================================ */
@media (max-width: 860px) {
    /* 1. Hilangkan rolling navbar */
    .wheel-nav {
        display: none !important;
    }

    /* 2. Aktifkan scroll alami */
    html, body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100% !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .app-container {
        min-height: 100vh;
        height: auto !important;
        display: block !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .pages-wrapper {
        position: static !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    /* 3. Sticky Mobile Nav (Urutan: Profile -> Home -> Project -> Contact) */
    .mobile-nav {
        display: flex !important;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        background: rgba(248, 248, 248, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(37, 53, 59, 0.08);
    }

    .mobile-brand {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-black);
        letter-spacing: -0.02em;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .mobile-menu-link {
        font-size: 13px;
        font-weight: 500;
        color: var(--slate);
        opacity: 0.55;
        padding: 6px 2px;
        transition: opacity 0.25s, color 0.25s;
        text-decoration: none;
    }

    .mobile-menu-link.active,
    .mobile-menu-link:hover {
        opacity: 1;
        color: var(--text-black);
        font-weight: 600;
    }

    /* 4. Urutan halaman di mobile (Profile -> Home -> Project -> Contact) */
    .page-view[data-view="profile"] { order: 1; }
    .page-view[data-view="home"]    { order: 2; }
    .page-view[data-view="project"] { order: 3; }
    .page-view[data-view="contact"] { order: 4; }

    /* 5. Setiap view menjadi section scroll */
    .page-view {
        position: relative !important;
        inset: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        min-height: calc(100vh - 65px) !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 60px 24px 64px 24px !important;
        border-bottom: 1px solid rgba(37, 53, 59, 0.08);
    }

    .page-view[data-view="contact"] {
        border-bottom: none;
    }

    .hero-heading {
        font-size: clamp(36px, 9vw, 56px);
        margin-bottom: 16px;
    }

    .quote-box {
        gap: 14px;
        margin-bottom: 24px;
    }

    .quote-text {
        font-size: clamp(15px, 3.8vw, 18px);
        line-height: 1.5;
    }

    .btn-group {
        flex-wrap: wrap;
        gap: 14px;
    }

    .profile-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .profile-photo-wrap {
        width: 200px;
        max-width: 65%;
        border-radius: 36px;
    }

    .profile-heading {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 16px;
    }

    .profile-desc {
        font-size: clamp(15px, 3.8vw, 18px);
        margin-bottom: 24px;
    }


}

@media (max-width: 480px) {
    .mobile-nav {
        padding: 14px 18px;
    }

    .mobile-menu {
        gap: 10px;
    }

    .mobile-menu-link {
        font-size: 12px;
    }

    .page-view {
        padding: 48px 18px 52px 18px !important;
    }

    .btn-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .ui-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .quote-text {
        font-size: 14px;
    }

    .profile-photo-wrap {
        width: 170px;
        border-radius: 28px;
    }

    .underline-word {
        padding-bottom: 10px;
    }

    .underline-word::after,
    .hero-heading .underline-word::before {
        height: 5px;
        border-radius: 3px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   SMOOTH PAGE TRANSITION (View Transitions API)
   ============================================ */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: vtFadeOut 0.22s ease both;
}

::view-transition-new(root) {
    animation: vtFadeIn 0.34s var(--ease-wheel) both;
}

@keyframes vtFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes vtFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SCROLL PROGRESS BAR & BACK TO TOP
   ============================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--slate);
    z-index: 120;
    pointer-events: none;
    transition: width 0.08s linear;
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(37, 53, 59, 0.16);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(37, 53, 59, 0.14);
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s var(--ease-spring), background 0.25s ease, color 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--slate);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   COPY EMAIL BUTTON
   ============================================ */
.email-action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copy-email-btn {
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(37, 53, 59, 0.22);
    background: transparent;
    color: var(--slate);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.copy-email-btn:hover {
    background: var(--slate);
    border-color: var(--slate);
    color: var(--white);
    transform: translateY(-1px);
}

.copy-email-btn.is-copied {
    background: #1f6f54;
    border-color: #1f6f54;
    color: var(--white);
}

/* ============================================
   SUBTLE INTERACTIVE CURSOR (Desktop only)
   ============================================ */
.custom-cursor-dot,
.custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease, width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), border-color 0.25s ease, background-color 0.25s ease;
    will-change: transform;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--slate);
}

.custom-cursor-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid rgba(37, 53, 59, 0.45);
    background-color: transparent;
}

.custom-cursor-dot.is-active,
.custom-cursor-ring.is-active {
    opacity: 1;
}

.custom-cursor-ring.is-hovering {
    width: 46px;
    height: 46px;
    border-color: rgba(37, 53, 59, 0.72);
    background-color: rgba(37, 53, 59, 0.06);
}

.custom-cursor-dot.is-hovering {
    opacity: 0.35;
}

.custom-cursor-ring.is-pressed {
    width: 24px;
    height: 24px;
}

@media (hover: none), (pointer: coarse) {
    .custom-cursor-dot,
    .custom-cursor-ring {
        display: none !important;
    }
}

/* ============================================
   DARK MODE TOGGLE & THEME PALETTE
   ============================================ */
.detail-nav-right {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(37, 53, 59, 0.16);
    background: rgba(255, 255, 255, 0.85);
    color: var(--slate);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
}

.theme-toggle-btn:hover {
    background: var(--slate);
    border-color: var(--slate);
    color: var(--bg);
    transform: translateY(-1px) rotate(12deg);
}

.theme-toggle-floating {
    position: fixed;
    top: 24px;
    right: 28px;
    z-index: 80;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 860px) {
    .theme-toggle-floating {
        top: 72px;
        right: 16px;
        width: 34px;
        height: 34px;
    }

    .mobile-nav .theme-toggle-btn {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
}

[data-theme="dark"] {
    --bg: #0f1518;
    --white: #172024;
    --text-black: #eef3f5;
    --text-subtitle: #9db2b9;
    --slate: #d8e5e9;
    --slate-hover: #ffffff;
    --quote-gray: #809399;
}

[data-theme="dark"] .ui-btn-primary,
[data-theme="dark"] .project-filter.active,
[data-theme="dark"] .gallery-filter.active,
[data-theme="dark"] .ui-btn-outline:hover,
[data-theme="dark"] .copy-email-btn:hover,
[data-theme="dark"] .back-to-top:hover {
    color: #0f1518;
}

[data-theme="dark"] .detail-nav,
[data-theme="dark"] .mobile-nav {
    background: rgba(15, 21, 24, 0.86);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .theme-toggle-btn,
[data-theme="dark"] .back-to-top {
    background: rgba(23, 32, 36, 0.9);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--slate);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: var(--slate);
    color: #0f1518;
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .focus-card,
[data-theme="dark"] .skill-group,
[data-theme="dark"] .timeline-card,
[data-theme="dark"] .community-card,
[data-theme="dark"] .about-cta,
[data-theme="dark"] .pd-meta-card,
[data-theme="dark"] .pd-pager-card,
[data-theme="dark"] .info-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .mock-window {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .mock-window-bar {
    background: #1d282d;
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .highlight-float {
    background: #1d2a30;
    color: #eef3f5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .skill-tag,
[data-theme="dark"] .highlight-tags span,
[data-theme="dark"] .gallery-modal-tools span {
    background: rgba(216, 229, 233, 0.1);
    color: var(--slate);
    border-color: rgba(216, 229, 233, 0.16);
}

[data-theme="dark"] .project-filter,
[data-theme="dark"] .gallery-filter,
[data-theme="dark"] .copy-email-btn {
    border-color: rgba(216, 229, 233, 0.22);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
    background: #11191d;
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-black);
}

[data-theme="dark"] .gallery-modal-story {
    background: rgba(216, 229, 233, 0.06);
}

[data-theme="dark"] .detail-footer {
    border-top-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .custom-cursor-ring {
    border-color: rgba(216, 229, 233, 0.5);
}

[data-theme="dark"] .custom-cursor-ring.is-hovering {
    border-color: rgba(216, 229, 233, 0.85);
    background-color: rgba(216, 229, 233, 0.08);
}
