/* ==========================================================================
   ORBIX - Amber & Ash Design System Stylesheet (Borderless Fluid Edition)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Exact Color Tokens from OriginalColors.kt */
    --bg-dark-deep: #040507;     /* StartBlackDeep */
    --bg-dark-mid: #0A0C10;      /* DarkBackground */
    --bg-dark-light: #111017;    /* StartBlackLight */
    
    --amber-gold: #FFB020;       /* AmberGold */
    --amber-glow: rgba(255, 176, 32, 0.5); /* AmberGlow */
    --soft-white: #F1F5F9;       /* SoftWhite */
    
    /* Glassmorphism settings from App */
    --glass-bg: rgba(26, 30, 45, 0.17);       /* GlassBackground */
    --glass-border: rgba(255, 255, 255, 0.12); /* GlassBorder */
    --glass-item-bg: rgba(255, 255, 255, 0.08); /* GlassItemBackground */
    --glass-item-border: rgba(255, 255, 255, 0.15); /* GlassItemBorder */
    
    /* Button Gradients */
    --amber-light: #FFD27A;      /* AmberLight */
    --amber-deep: #FF7A1A;       /* AmberDeep */
    --button-text-dark: #090A0D; /* ButtonTextDark */
    
    /* Fonts */
    --font-brand: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark-deep);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--soft-white);
    background-color: var(--bg-dark-deep); /* Solid dark fallback to prevent root stacking issues */
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body.modal-open {
    overflow: hidden;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 176, 32, 0.15);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 176, 32, 0.35);
}

/* Interactive Canvas background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Mouse spotlight lighting layer */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(255, 176, 32, 0.05), transparent 80%);
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Ambient Background Blobs */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background: radial-gradient(circle at 50% 30%, var(--bg-dark-light) 0%, var(--bg-dark-mid) 50%, var(--bg-dark-deep) 100%); /* Stacking-safe gradient background */
    overflow: hidden;
    pointer-events: none;
}

.blob-1, .blob-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
}

.blob-1 {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--amber-gold) 0%, transparent 70%);
    animation: pulse 12s infinite alternate ease-in-out;
}

.blob-2 {
    bottom: -10%;
    left: 5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(128, 80, 255, 0.08) 0%, transparent 70%);
}

@keyframes pulse {
    0% { opacity: 0.1; transform: translateX(-50%) scale(0.92); }
    100% { opacity: 0.18; transform: translateX(-50%) scale(1.08); }
}

/* Concentric orbits decoration */
.orbits-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.orbits-svg {
    width: 100%;
    height: 100%;
}

/* Icon classes mapping to SVG assets */
.icon-camera { --icon-url: url('../assets/icon-camera.svg'); }
.icon-cloud { --icon-url: url('../assets/icon-cloud.svg'); }
.icon-shield { --icon-url: url('../assets/icon-shield.svg'); }
.icon-globe { --icon-url: url('../assets/icon-globe.svg'); }
.icon-export { --icon-url: url('../assets/icon-export.svg'); }
.icon-bolt { --icon-url: url('../assets/icon-bolt.svg'); }
.icon-support { --icon-url: url('../assets/icon-support.svg'); }
.icon-download { --icon-url: url('../assets/icon-download.svg'); }

/* Global mask-based icons styling */
.feature-row-icon::before, .btn-icon {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    mask: var(--icon-url) no-repeat center / contain;
    -webkit-mask: var(--icon-url) no-repeat center / contain;
    transition: var(--transition-smooth);
}

.chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--amber-gold);
    display: inline-block;
    box-shadow: 0 0 5px var(--amber-gold);
}

/* ==========================================================================
   DESKTOP / TABLET SCREEN: Fullscreen Fluid Symmetrical Layout
   ========================================================================== */
@media (min-width: 992px) {
    body {
        height: 100vh;
        overflow: hidden;
    }

    .app-layout {
        display: grid;
        grid-template-columns: 29% 42% 29%;
        width: 100%;
        height: 100vh;
        max-width: 1400px;
        margin: 0 auto;
        padding: 5vh 32px;
        gap: 40px;
        align-items: center;
    }

    /* Left & Right Glass Panels: Borderless, Floating design */
    .glass-panel {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 2vh 0;
        height: calc(100vh - 10vh);
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center the whole header+items block vertically */
        box-shadow: none;
    }

    .pane-header-title {
        font-family: var(--font-brand);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
        color: var(--amber-gold);
        text-transform: uppercase;
        margin-bottom: 3.5vh;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .pane-header-title::after {
        content: '';
        flex-grow: 1;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 176, 32, 0.25), transparent);
    }

    .pane-items-list {
        display: flex;
        flex-direction: column;
        gap: 2vh;
    }

    /* Column Row Items (Border-free, Materializes on Hover) */
    .feature-row-item {
        display: flex;
        gap: 16px;
        background: transparent;
        border: none;
        border-radius: 18px;
        padding: 2vh 0px;
        transition: var(--transition-smooth);
        cursor: default;
    }

    .feature-row-item:hover {
        background: rgba(255, 255, 255, 0.025);
        padding-left: 16px;
        padding-right: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    /* Left column features slide right */
    .features-pane .feature-row-item:hover {
        transform: translateX(6px);
    }

    /* Right column features slide left (symmetrical mirroring) */
    .specs-pane .feature-row-item:hover {
        transform: translateX(-6px);
    }

    .feature-row-icon {
        width: 36px;
        height: 36px;
        background: rgba(255, 176, 32, 0.06);
        border: 1px solid rgba(255, 176, 32, 0.15);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--amber-gold);
        flex-shrink: 0;
        transition: var(--transition-smooth);
    }

    .feature-row-item:hover .feature-row-icon {
        background: rgba(255, 176, 32, 0.12);
        box-shadow: 0 0 10px rgba(255, 176, 32, 0.2);
    }

    .feature-row-text h4 {
        font-family: var(--font-brand);
        font-size: 14.5px;
        font-weight: 700;
        color: var(--soft-white);
        margin-bottom: 3px;
        transition: var(--transition-smooth);
    }

    .feature-row-item:hover h4 {
        color: var(--amber-gold);
    }

    .feature-row-text p {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.42);
        line-height: 1.45;
    }

    /* Center Column: App Branding & Hero (Pushes footer to bottom) */
    .left-pane.brand-pane {
        width: 100%;
        height: calc(100vh - 10vh);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

    .brand-core {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .logo-hero-container {
        position: relative;
        width: 210px;
        height: 210px;
        margin-bottom: 2.5vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-hero-glow {
        position: absolute;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 176, 32, 0.38) 0%, rgba(255, 176, 32, 0.08) 55%, transparent 75%);
        animation: glow-pulse 4s infinite alternate ease-in-out;
    }

    .logo-hero-img {
        width: 124px;
        height: 124px;
        object-fit: contain;
        z-index: 2;
        transition: var(--transition-smooth);
        mix-blend-mode: screen; /* Strips solid black background dynamically */
    }

    .sphere-grid-container {
        position: absolute;
        width: 210px;
        height: 210px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: rotate-grid 110s linear infinite;
        transition: var(--transition-smooth);
    }



    .hero-title {
        font-family: var(--font-brand);
        font-size: 82px;
        font-weight: 900;
        line-height: 1.0;
        letter-spacing: 0.5px;
        background: linear-gradient(135deg, var(--soft-white) 40%, rgba(255, 255, 255, 0.75) 75%, var(--amber-gold) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 35px rgba(255, 176, 32, 0.4);
    }

    .hero-tagline {
        font-family: var(--font-brand);
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: 4px;
        color: rgba(255, 255, 255, 0.4);
        margin-top: 6px;
        text-transform: uppercase;
    }

    .hero-desc {
        max-width: 320px;
        margin: 2vh auto;
        font-size: 14.5px;
        color: rgba(255, 255, 255, 0.45);
    }

    .chips-row {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: 340px;
        margin: 0 auto 3.5vh auto;
    }

    .feature-chip {
        flex: 1;
        height: 34px;
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 176, 32, 0.82);
        font-family: var(--font-brand);
        font-size: 9.5px;
        font-weight: 700;
        letter-spacing: 1px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }


    .button-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
    }

    .btn-primary {
        position: relative;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 54px;
        padding: 0 32px;
        border-radius: 27px;
        text-decoration: none;
        font-family: var(--font-brand);
        font-size: 14px;
        font-weight: 800;
        color: var(--button-text-dark);
        background: linear-gradient(90deg, var(--amber-light) 0%, var(--amber-gold) 50%, var(--amber-deep) 100%);
        border: 1px solid rgba(255, 255, 255, 0.45);
        box-shadow: 0 8px 22px rgba(255, 176, 32, 0.2);
        transition: var(--transition-smooth);
        letter-spacing: 0.5px;
        white-space: nowrap;
        cursor: pointer;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
        transform: skewX(-25deg);
        animation: shimmer 6s infinite linear;
    }

    .btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 28px rgba(255, 176, 32, 0.35);
        border-color: rgba(255, 255, 255, 0.7);
    }

    .btn-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    /* Desktop Footer styling (Centered under branding) */
    .desktop-footer {
        width: 100%;
        padding-top: 2.2vh;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 10.5px;
        flex-shrink: 0;
    }

    .desktop-footer .footer-nav {
        display: flex;
        gap: 16px;
    }

    .desktop-footer .footer-nav a {
        color: rgba(255, 255, 255, 0.35);
        text-decoration: none;
        transition: var(--transition-smooth);
    }

    .desktop-footer .footer-nav a:hover {
        color: var(--amber-gold);
    }

    .desktop-footer .copyright {
        opacity: 0.45;
    }

    .mobile-footer {
        display: none;
    }
}

/* ==========================================================================
   MOBILE & SMALL SCREENS: Standard Vertical Scrolling Flow
   ========================================================================== */
@media (max-width: 991px) {
    body {
        overflow-y: auto;
    }

    .app-layout {
        display: flex;
        flex-direction: column;
        padding: 40px 20px;
        gap: 32px;
    }

    .left-pane {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo-hero-container {
        position: relative;
        width: 160px;
        height: 160px;
        margin: 0 auto 16px auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-hero-glow {
        position: absolute;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 176, 32, 0.3) 0%, rgba(255, 176, 32, 0.06) 55%, transparent 75%);
        animation: glow-pulse 4s infinite alternate ease-in-out;
    }

    .logo-hero-img {
        width: 110px;
        height: 110px;
        object-fit: contain;
        z-index: 2;
        mix-blend-mode: screen; /* Strips black circular background on mobile too */
    }

    .sphere-grid-container {
        position: absolute;
        width: 160px;
        height: 160px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: rotate-grid 120s linear infinite;
    }



    .hero-title {
        font-family: var(--font-brand);
        font-size: 54px;
        font-weight: 900;
        line-height: 1.0;
        color: var(--soft-white);
        text-shadow: 0 0 20px rgba(255, 176, 32, 0.45);
    }

    .hero-tagline {
        font-family: var(--font-brand);
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: 2.5px;
        color: rgba(255, 255, 255, 0.4);
        margin-top: 4px;
        text-transform: uppercase;
    }

    .hero-desc {
        max-width: 380px;
        margin: 14px auto 20px auto;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.45);
    }

    .chips-row {
        display: flex;
        justify-content: center;
        gap: 8px;
        max-width: 360px;
        margin: 0 auto 28px auto;
        flex-wrap: wrap;
    }

    .feature-chip {
        padding: 0 14px;
        height: 34px;
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 176, 32, 0.86);
        font-family: var(--font-brand);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }


    .button-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto 8px auto;
    }

    .btn-primary {
        position: relative;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 52px;
        padding: 0 28px;
        border-radius: 26px;
        text-decoration: none;
        font-family: var(--font-brand);
        font-size: 13.5px;
        font-weight: 800;
        color: var(--button-text-dark);
        background: linear-gradient(90deg, var(--amber-light) 0%, var(--amber-gold) 50%, var(--amber-deep) 100%);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 6px 18px rgba(255, 176, 32, 0.2);
        transition: var(--transition-smooth);
        letter-spacing: 0.5px;
        white-space: nowrap;
        cursor: pointer;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
        transform: skewX(-25deg);
        animation: shimmer 6s infinite linear;
    }

    .btn-icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }

    /* Stacked sections in mobile */
    .glass-panel {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 24px;
        padding: 28px 20px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .pane-header-title {
        font-family: var(--font-brand);
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 20px;
        text-align: center;
    }

    .pane-items-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Mobile Feature items: keep standard soft panel */
    .feature-row-item {
        display: flex;
        gap: 14px;
        background: rgba(255, 255, 255, 0.015);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 16px;
        padding: 16px;
    }

    .feature-row-icon {
        width: 36px;
        height: 36px;
        background: var(--glass-item-bg);
        border: 1px solid var(--glass-item-border);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--amber-gold);
        flex-shrink: 0;
    }



    .feature-row-text h4 {
        font-family: var(--font-brand);
        font-size: 15.5px;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .feature-row-text p {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.5);
        line-height: 1.5;
    }

    /* Hide desktop center footer on mobile */
    .desktop-footer {
        display: none;
    }

    /* Mobile footer styling */
    .mobile-footer {
        display: block;
        width: 100%;
        padding: 32px 0 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        text-align: center;
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.4);
        margin-top: 24px;
    }

    .mobile-footer .footer-nav {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-bottom: 8px;
    }

    .mobile-footer .footer-nav a {
        color: rgba(255, 255, 255, 0.4);
        text-decoration: none;
    }

    .mobile-footer .copyright {
        opacity: 0.6;
    }
}

/* Common animation keyframes */
@keyframes glow-pulse {
    0% { transform: scale(0.94); opacity: 0.7; }
    100% { transform: scale(1.08); opacity: 1; }
}

@keyframes rotate-grid {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { left: -150%; }
    40% { left: 150%; }
    100% { left: 150%; }
}

/* ==========================================================================
   DONATION MODAL STYLES (Amber & Ash Integration)
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 7, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 40px 0;
    box-sizing: border-box;
    overscroll-behavior: contain;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 440px;
    background: rgba(17, 16, 23, 0.85) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 176, 32, 0.05) !important;
    text-align: center;
    height: auto !important;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--amber-gold);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-brand);
    color: var(--amber-gold);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

/* ==========================================================================
   CUSTOM DROPDOWN DESIGN SYSTEM
   ========================================================================== */

.custom-select-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    user-select: none;
    z-index: 100;
}

/* Main select trigger (appearance of the closed select) */
.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0 20px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--soft-white);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.custom-select-trigger:hover, 
.custom-select-trigger.open {
    border-color: rgba(255, 176, 32, 0.4);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 15px rgba(255, 176, 32, 0.05);
}

/* Custom arrow that rotates smoothly */
.custom-select-trigger::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg) translateY(-2px);
    margin-left: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-trigger:hover::after,
.custom-select-trigger.open::after {
    border-color: var(--amber-gold);
}

.custom-select-trigger.open::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* Dropdown menu (options container) */
.custom-options-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(17, 16, 23, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 176, 32, 0.03);
    
    /* Enable internal scrolling */
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    
    /* Smooth fade-in animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dropdown Custom Scrollbar */
.custom-options-list::-webkit-scrollbar {
    width: 6px;
}
.custom-options-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 14px 14px 0;
}
.custom-options-list::-webkit-scrollbar-thumb {
    background: rgba(255, 176, 32, 0.3);
    border-radius: 3px;
}
.custom-options-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 176, 32, 0.5);
}

/* Class added via JS on click */
.custom-options-list.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Option row (Asset) inside the list */
.custom-option {
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.custom-option:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Interactive hover state instead of default browser styles */
.custom-option:hover {
    background: rgba(255, 176, 32, 0.08);
    color: var(--amber-gold);
    padding-left: 25px; /* Smooth slide-right transition effect */
}

/* ==========================================================================
   QR CONTAINER & ELEMENTS
   ========================================================================== */

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.qr-container.visible {
    max-height: 320px;
    opacity: 1;
    margin-top: 20px;
}

#qrcode {
    padding: 12px;
    background: rgba(10, 12, 16, 0.95);
    border: 1px solid rgba(255, 176, 32, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

#qrcode img {
    display: block;
    border-radius: 8px;
}

.address-text {
    margin-top: 16px;
    font-size: 11px;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    word-break: break-all;
    border: 1px solid rgba(255, 255, 255, 0.03);
    max-width: 100%;
}
