/* ============================================================================
   ARKA DIGITAL MEDIA — PREMIUM EDITORIAL DESIGN & MOTION SYSTEM
   Palette: Obsidian (#030303 / #080808) + Signature ARKA Gold (#D4AF37 / #F5D77F)
   ============================================================================ */

:root {
    --arka-black: #030303;
    --arka-surface: #090909;
    --arka-surface-2: #111111;
    --arka-gold: #D4AF37;
    --arka-gold-light: #F5D77F;
    --arka-gold-deep: #8C701A;
    --arka-border: rgba(255, 255, 255, 0.09);
    --arka-border-gold: rgba(212, 175, 55, 0.38);
    --arka-ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --arka-ease-cinematic: cubic-bezier(0.76, 0, 0.24, 1);
}

/* Smooth scroll progress hairline at very top of viewport */
#arka-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 9995;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.04);
}
#arka-scroll-progress-bar {
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, #8C701A 0%, #D4AF37 50%, #FCF6BA 100%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.75);
    will-change: transform;
}

/* ============================================================================
   ELEGANT PAGE TRANSITION VEIL (Fast, Non-Blocking, BFCache-Safe)
   ============================================================================ */
#arka-page-transition {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    background: #030303;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity, transform;
}
#arka-page-transition::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, #FCF6BA, #D4AF37, transparent);
    opacity: 0.85;
}
.arka-transition-mark {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: #D4AF37;
    opacity: 0.9;
}

/* ============================================================================
   DESKTOP-ONLY PRECISION CUSTOM CURSOR (Hidden on Touch/Mobile)
   ============================================================================ */
#arka-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.25s ease;
    will-change: transform;
}
#arka-cursor.is-visible {
    opacity: 1;
}
.arka-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: #F5D77F;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.85);
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.2s ease, transform 0.2s ease;
    will-change: transform;
}
.arka-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.04);
    transform: translate3d(-50%, -50%, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.32s var(--arka-ease-expo),
                height 0.32s var(--arka-ease-expo),
                background-color 0.32s var(--arka-ease-expo),
                border-color 0.32s var(--arka-ease-expo),
                backdrop-filter 0.32s ease;
    will-change: transform, width, height;
}
.arka-cursor-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #030303;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.22s ease, transform 0.28s var(--arka-ease-expo);
    white-space: nowrap;
}
#arka-cursor.is-hover .arka-cursor-ring {
    width: 48px;
    height: 48px;
    border-color: rgba(245, 215, 127, 0.9);
    background: rgba(212, 175, 55, 0.12);
}
#arka-cursor.is-label .arka-cursor-ring {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #D4AF37, #F5D77F);
    border-color: #FCF6BA;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}
#arka-cursor.is-label .arka-cursor-dot {
    opacity: 0;
}
#arka-cursor.is-label .arka-cursor-label {
    opacity: 1;
    transform: scale(1);
}

/* Strictly disable custom cursor on touch/mobile & legacy cursor wrapper */
@media (hover: none), (pointer: coarse), (max-width: 1023px) {
    #arka-cursor,
    .cursor-wrapper {
        display: none !important;
    }
}
/* Hide old legacy cursor-wrapper whenever our new precision cursor is mounted */
body.arka-cursor-ready .cursor-wrapper {
    display: none !important;
}

/* ============================================================================
   TYPOGRAPHY MASK REVEALS & EDITORIAL UNDERLINES
   ============================================================================ */
.arka-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}
.arka-mask-line {
    display: block;
    will-change: transform, opacity;
}

.arka-underline {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.arka-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #D4AF37, #FCF6BA);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.45s var(--arka-ease-expo);
}
.arka-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* ============================================================================
   MAGNETIC CTA BUTTONS & ANIMATED DUAL-ARROW MICRO-INTERACTIONS
   ============================================================================ */
.arka-magnetic {
    position: relative;
    will-change: transform;
    transition: box-shadow 0.35s var(--arka-ease-expo), border-color 0.35s ease, background-color 0.35s ease;
}
.arka-magnetic-gold {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.arka-magnetic-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform 0.75s var(--arka-ease-expo);
    pointer-events: none;
    z-index: 1;
}
.arka-magnetic-gold:hover::before {
    transform: translateX(120%);
}

/* Animated arrow swap */
.arka-arrow-box {
    position: relative;
    display: inline-flex;
    width: 16px;
    height: 16px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.arka-arrow-box svg,
.arka-arrow-box i {
    transition: transform 0.42s var(--arka-ease-expo);
}
a:hover .arka-arrow-box svg,
button:hover .arka-arrow-box svg,
.group:hover .arka-arrow-box svg {
    transform: translate3d(3px, -3px, 0);
}
a:hover .arka-arrow-box.arrow-right svg,
.group:hover .arka-arrow-box.arrow-right svg {
    transform: translate3d(4px, 0, 0);
}
a:hover .arka-arrow-box.arrow-down svg,
.group:hover .arka-arrow-box.arrow-down svg {
    transform: translate3d(0, 4px, 0);
}

/* ============================================================================
   SUBTLE CARD DEPTH & CURSOR SPOTLIGHT GLOW
   ============================================================================ */
.arka-card-depth {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--arka-ease-expo),
                border-color 0.4s ease,
                box-shadow 0.5s var(--arka-ease-expo);
}
.arka-card-depth::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        480px circle at var(--mx, 50%) var(--my, 50%),
        rgba(212, 175, 55, 0.12),
        transparent 62%
    );
    transition: opacity 0.45s ease;
    z-index: 1;
}
.arka-card-depth:hover::before {
    opacity: 1;
}
.arka-card-depth:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

/* ============================================================================
   IMAGE CLIP-PATH REVEALS & SMOOTH ZOOM
   ============================================================================ */
.arka-media-clip {
    position: relative;
    overflow: hidden;
    will-change: clip-path;
}
.arka-media-clip img {
    will-change: transform;
    transition: transform 0.85s var(--arka-ease-expo), filter 0.6s ease;
}
.arka-media-clip:hover img {
    transform: scale(1.06);
}

/* ============================================================================
   AMBIENT GOLD PARTICLE CANVAS LAYER
   ============================================================================ */
.arka-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================================
   EDITORIAL STICKY SERVICES SHOWCASE (Homepage + Services Page)
   ============================================================================ */
.arka-srv-row {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.45s var(--arka-ease-expo),
                border-color 0.45s ease,
                opacity 0.45s ease,
                transform 0.5s var(--arka-ease-expo);
    opacity: 0.52;
    cursor: pointer;
}
.arka-srv-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.arka-srv-row.is-active,
.arka-srv-row:hover {
    opacity: 1;
    border-top-color: rgba(212, 175, 55, 0.45);
}
.arka-srv-row.is-active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.07) 0%, rgba(212, 175, 55, 0.015) 60%, transparent 100%);
}
.arka-srv-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #D4AF37, #FCF6BA);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.5s var(--arka-ease-expo);
}
.arka-srv-row.is-active::before {
    transform: scaleY(1);
}
.arka-srv-details {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s var(--arka-ease-expo);
}
.arka-srv-row.is-active .arka-srv-details {
    grid-template-rows: 1fr;
}
.arka-srv-details-inner {
    overflow: hidden;
}
.arka-srv-visual-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.7s var(--arka-ease-expo), transform 0.9s var(--arka-ease-expo);
    pointer-events: none;
}
.arka-srv-visual-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}
@media (max-width: 1023px) {
    .arka-srv-row {
        opacity: 1;
    }
    .arka-srv-details {
        grid-template-rows: 1fr;
    }
}

/* ============================================================================
   ARKA GOLD SCROLL-DRIVEN WEBSITE SPOTLIGHT STAGE (/portfolio/websites)
   Inspired by nTra motion grammar — 100% ARKA Obsidian & Gold Brand Identity
   ============================================================================ */
.arka-web-spotlight {
    position: relative;
    background: radial-gradient(ellipse 80% 60% at 62% 45%, rgba(212, 175, 55, 0.09) 0%, rgba(5, 5, 5, 0.96) 58%, #030303 100%);
}
.arka-web-stage-inner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.arka-web-text-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(34px);
    pointer-events: none;
    transition: opacity 0.65s var(--arka-ease-expo), transform 0.75s var(--arka-ease-expo);
}
.arka-web-text-slide.is-active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.arka-web-visual-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(28px) scale(0.94) perspective(1400px) rotateY(-5deg);
    pointer-events: none;
    transition: opacity 0.7s var(--arka-ease-expo), transform 0.85s var(--arka-ease-expo);
    will-change: transform, opacity;
}
.arka-web-visual-slide.is-active {
    opacity: 1;
    transform: translateY(0) scale(1) perspective(1400px) rotateY(-1.5deg);
    pointer-events: auto;
    z-index: 5;
}
.arka-web-visual-slide.is-past {
    opacity: 0;
    transform: translateY(-28px) scale(1.04) perspective(1400px) rotateY(4deg);
}
.arka-web-browser-shell {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.32);
    background: #0d0c09;
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.88),
        0 0 60px rgba(212, 175, 55, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.6s var(--arka-ease-expo), border-color 0.4s ease;
}
.arka-web-browser-shell:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(245, 215, 127, 0.65);
}
.arka-web-mobile-shell {
    position: absolute;
    right: -12px;
    bottom: -18px;
    width: 24%;
    min-width: 112px;
    max-width: 158px;
    border-radius: 22px;
    padding: 5px;
    background: linear-gradient(160deg, #272216, #0d0d0d);
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.92), 0 0 30px rgba(212, 175, 55, 0.18);
    transform: translateY(0);
    animation: arkaPhoneFloat 6s ease-in-out infinite;
    z-index: 10;
}
@keyframes arkaPhoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Vertical numbered stage rail */
.arka-stage-rail-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.3s ease;
}
.arka-stage-rail-btn .rail-line {
    width: 18px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s var(--arka-ease-expo), background-color 0.3s ease;
}
.arka-stage-rail-btn.is-active,
.arka-stage-rail-btn:hover {
    color: #F5D77F;
}
.arka-stage-rail-btn.is-active .rail-line {
    width: 38px;
    background: linear-gradient(90deg, #D4AF37, #FCF6BA);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

/* ============================================================================
   PREMIUM FOOTER MONUMENTAL WATERMARK & CLOSING EXPERIENCE
   ============================================================================ */
.arka-footer-watermark {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 10.4vw, 9.2rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.18);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.025) 82%, transparent 100%);
    -webkit-background-clip: text;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

/* Case Study Proof Lightbox */
#arka-proof-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9980;
    background: rgba(3, 3, 3, 0.94);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s var(--arka-ease-expo);
}
#arka-proof-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================================
   REDUCED MOTION RESPECT — CLEAN, INSTANT, ACCESSIBLE
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    #arka-page-transition,
    #arka-cursor,
    .arka-particle-canvas {
        display: none !important;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .arka-web-mobile-shell {
        animation: none !important;
    }
}


/* ============================================================================
   DIGITAL-FIRST CONVERSION EXPERIENCE SECTIONS (Homepage Interactive Systems)
   ============================================================================ */

/* Hero Interactive Digital World Composition */
.arka-digital-node {
    background: linear-gradient(180deg, rgba(18, 17, 14, 0.94) 0%, rgba(8, 8, 8, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}
.arka-typing-caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: #D4AF37;
    margin-left: 2px;
    vertical-align: -2px;
    animation: arkaBlink 0.9s steps(1) infinite;
}
@keyframes arkaBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes arkaSignalDash {
    to { stroke-dashoffset: -48; }
}
.arka-signal-path {
    stroke-dasharray: 6 6;
    animation: arkaSignalDash 2.6s linear infinite;
}
.arka-pulse-ring {
    animation: arkaOrbPulse 3.6s ease-in-out infinite;
}
@keyframes arkaOrbPulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

/* Interactive 6-Problem Digital Diagnostic Mirror (#digital-gaps) */
.arka-gap-btn {
    position: relative;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.72);
    transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.4s var(--arka-ease-expo);
    cursor: pointer;
}
.arka-gap-btn:hover,
.arka-gap-btn.is-active {
    border-color: rgba(212, 175, 55, 0.55);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.11) 0%, rgba(14, 13, 10, 0.95) 68%);
    transform: translateX(4px);
}
.arka-gap-btn.is-active .gap-num {
    color: #030303;
    background: #D4AF37;
    border-color: #F5D77F;
}
.arka-gap-panel {
    display: none;
    animation: arkaPanelFade 0.45s var(--arka-ease-expo) forwards;
}
.arka-gap-panel.is-active {
    display: block;
}
@keyframes arkaPanelFade {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Before & After Digital Transformation Comparator (#transformation) */
.arka-ba-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: #060606;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
}
.arka-ba-after-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    clip-path: inset(0 0 0 calc(100% - var(--ba-pct, 58%)));
    transition: clip-path 0.08s linear;
}
.arka-ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(100% - var(--ba-pct, 58%));
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, #D4AF37 15%, #FCF6BA 50%, #D4AF37 85%, transparent 100%);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.85);
    z-index: 20;
    pointer-events: none;
}
.arka-ba-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #D4AF37, #F5D77F);
    color: #030303;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.7);
    border: 2px solid #030303;
}
.arka-ba-range {
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.12);
    height: 4px;
    border-radius: 9999px;
    outline: none;
}
.arka-ba-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    background: #D4AF37;
    border: 2px solid #FCF6BA;
    cursor: ew-resize;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.75);
}

/* Interactive ARKA Growth Ecosystem Hub (#solutions) */
.arka-eco-node {
    position: relative;
    transition: transform 0.4s var(--arka-ease-expo), border-color 0.35s ease, box-shadow 0.4s ease, background-color 0.35s ease;
    cursor: pointer;
}
.arka-eco-node:hover,
.arka-eco-node.is-active {
    border-color: rgba(212, 175, 55, 0.75);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.16), rgba(12, 11, 8, 0.96));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(212, 175, 55, 0.22);
    transform: translateY(-3px);
}
.arka-eco-spoke {
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 1.4;
    transition: stroke 0.35s ease, stroke-width 0.35s ease;
}
.arka-eco-spoke.is-active {
    stroke: #D4AF37;
    stroke-width: 2.5;
    stroke-dasharray: 6 5;
    animation: arkaSignalDash 1.8s linear infinite;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.8));
}

/* Simulated 7-Step Customer Journey (#customer-journey) */
.arka-journey-step-btn {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(10, 10, 10, 0.8);
    transition: all 0.35s var(--arka-ease-expo);
    cursor: pointer;
}
.arka-journey-step-btn:hover,
.arka-journey-step-btn.is-active {
    border-color: rgba(212, 175, 55, 0.7);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.14), rgba(10, 10, 10, 0.96));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.15);
}
.arka-journey-step-btn.is-passed {
    border-color: rgba(212, 175, 55, 0.32);
}
.arka-journey-screen {
    display: none;
    animation: arkaPanelFade 0.45s var(--arka-ease-expo) forwards;
}
.arka-journey-screen.is-active {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .arka-typing-caret,
    .arka-signal-path,
    .arka-pulse-ring,
    .arka-eco-spoke.is-active {
        animation: none !important;
    }
}


/* ============================================================================
   ARKA DIGITAL UNIVERSE — 3D SPATIAL HERO, TUNNEL, CREATIVE WALL & WORLDS
   ============================================================================ */

/* Spatial 3D Hero Floating Screens */
.arka-universe-stage {
    perspective: 1400px;
    transform-style: preserve-3d;
}
.arka-float-screen {
    background: linear-gradient(165deg, rgba(20, 18, 13, 0.92), rgba(7, 7, 7, 0.96));
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 32px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(12px);
    will-change: transform;
    transition: border-color 0.35s ease, box-shadow 0.4s ease;
}
.arka-float-screen:hover {
    border-color: rgba(245, 215, 127, 0.72);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.92), 0 0 42px rgba(212, 175, 55, 0.25);
}

/* Typography as Architecture */
.arka-arch-word {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 9vw, 8.8rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    will-change: transform;
}
.arka-arch-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.38);
}

/* Interactive Digital Tunnel (#digital-tunnel) */
.arka-tunnel-pin {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, #050505 52%, #020202 100%);
}
.arka-tunnel-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    will-change: transform, opacity;
}
.arka-tunnel-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(0.88) translateY(24px);
    pointer-events: none;
    transition: opacity 0.65s var(--arka-ease-expo), transform 0.75s var(--arka-ease-expo);
}
.arka-tunnel-layer.is-active {
    position: relative;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    z-index: 5;
}
.arka-tunnel-layer.is-past {
    opacity: 0;
    transform: scale(1.1) translateY(-20px);
}
.arka-tunnel-pill {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 12, 12, 0.78);
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.35s var(--arka-ease-expo);
    cursor: pointer;
}
.arka-tunnel-pill.is-active,
.arka-tunnel-pill:hover {
    border-color: rgba(212, 175, 55, 0.75);
    background: rgba(212, 175, 55, 0.15);
    color: #F5D77F;
}

/* Infinite Creative Wall (#creative-wall) */
@keyframes arkaWallLeft {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes arkaWallRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}
.arka-wall-track-l {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: arkaWallLeft 46s linear infinite;
    will-change: transform;
}
.arka-wall-track-r {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: arkaWallRight 50s linear infinite;
    will-change: transform;
}
.arka-wall-wrap:hover .arka-wall-track-l,
.arka-wall-wrap:hover .arka-wall-track-r {
    animation-play-state: paused;
}
.arka-wall-tile {
    width: 300px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
    transition: transform 0.5s var(--arka-ease-expo), border-color 0.35s ease, box-shadow 0.45s ease;
    cursor: pointer;
}
@media (min-width: 768px) {
    .arka-wall-tile { width: 370px; }
}
.arka-wall-tile:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 28px rgba(212, 175, 55, 0.22);
    z-index: 20;
}

/* Business Opportunities & 6-World Service Universe */
.arka-opp-tab,
.arka-world-tab {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.85);
    transition: all 0.35s var(--arka-ease-expo);
    cursor: pointer;
}
.arka-opp-tab:hover,
.arka-opp-tab.is-active,
.arka-world-tab:hover,
.arka-world-tab.is-active {
    border-color: rgba(212, 175, 55, 0.72);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(10, 10, 10, 0.96));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65), 0 0 22px rgba(212, 175, 55, 0.16);
}
.arka-opp-panel,
.arka-world-panel {
    display: none;
    animation: arkaPanelFade 0.45s var(--arka-ease-expo) forwards;
}
.arka-opp-panel.is-active,
.arka-world-panel.is-active {
    display: block;
}

/* Interactive Desktop <-> Tablet <-> Mobile Responsive Screen Morpher */
.arka-device-morph-frame {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: #111;
    overflow: hidden;
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.88);
    transition: max-width 0.65s var(--arka-ease-expo), border-radius 0.55s ease;
}
.arka-device-morph-frame[data-device="desktop"] {
    max-width: 100%;
    border-radius: 14px;
}
.arka-device-morph-frame[data-device="tablet"] {
    max-width: 420px;
    border-radius: 20px;
}
.arka-device-morph-frame[data-device="mobile"] {
    max-width: 230px;
    border-radius: 28px;
}

@media (prefers-reduced-motion: reduce) {
    .arka-wall-track-l,
    .arka-wall-track-r {
        animation: none !important;
    }
}
