/* Shared Hero Slider Styles for AsanDigital */

/* 3D Plastic/Glass Enhancement - Strong Visible Effect */
.neural-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: transparent !important; /* Let body background show through */
}

/* 3D Floating Light Orbs */
.neural-background::before,
.neural-background::after {
    display: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px); 
    opacity: 0.6; 
    animation: blobFloat 15s ease-in-out infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--neon-purple, #6a00ff); /* Admin control */
    top: -10%;
    left: -15%;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--neon-pink, #ff007f); /* Admin control */
    bottom: -20%;
    left: 25%;
    animation-delay: -5s;
}

.blob-3 {
    width: 600px;
    height: 600px;
    background: var(--neon-blue, #00d4ff); /* Admin control */
    top: 10%;
    right: -15%;
    filter: blur(150px);
    opacity: 0.2;
    animation-delay: -10s;
}


@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, 30px) scale(1.05);
    }
    66% {
        transform: translate(-30px, 50px) scale(0.95);
    }
    100% {
        transform: translate(40px, -20px) scale(1.1);
    }
}

.h-large {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.02em;
    min-height: 1.2em;
    /* Reduced from 2.2em to remove the large blank gap */
    margin-bottom: 8px !important;
    /* Overrides mb-4 to make gap tighter */
}

.h-medium {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.text-gradient {
    color: var(--heading-color);
    -webkit-text-fill-color: var(--heading-color);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.tagline {
    color: var(--accent-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 14px;
    margin-bottom: 24px;
    display: block;
    text-shadow: 0 0 10px var(--glow-blue);
}

.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-bright);
    border-radius: var(--border-radius-md);
}

.btn-neural {
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-neural:hover {
    transform: translateY(-8px);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 10;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    left: 0;
    right: 0;
}

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Force swiper slides to have height */
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    min-height: 90vh;
}

.hero-swiper .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 10s ease;
}

/* Horizontal dark overlay for desktop - only left and right sides with black shade */
.hero {
    background: transparent !important;
}

.hero-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.8) 25%,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0) 60%,
            rgba(0, 0, 0, 0.8) 75%,
            rgba(0, 0, 0, 1) 100%);
    z-index: 10 !important;
    pointer-events: none;
}

.hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 10;
    padding: 0 5%;
    gap: 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-text {
    max-width: 750px;
    flex: 1;
}

.hero-action {
    width: 440px;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
}

/* Subtitle / Typing Text */
.hero-subtitle {
    max-width: 650px;
    font-size: 20px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
    margin-top: 5px !important;
    margin-bottom: 15px !important;
}

/* Quick Entry / Shared Widget */
.trade-widget {
    padding: 20px 20px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px;
    background: rgba(15, 15, 30, 0.9);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    max-width: 440px;
    width: 100%;
    border: 1px solid var(--glass-border-bright);
    margin: 0 auto;
}

.trade-input-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.input-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    display: block;
}

.asset-select {
    background: var(--bg-deep);
    border: 1px solid var(--glass-border-bright);
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    font-weight: 700;
    outline: none;
}

/* 100% Fully Responsive Design */
@media (max-width: 1199px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 50px;
        justify-content: center;
        padding: 0 20px !important;
    }

    .hero-text {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    .hero-action {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    /* Only left and right black shade - center completely transparent */
    .hero-swiper .swiper-slide::after {
        background: linear-gradient(90deg,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0.8) 25%,
                rgba(0, 0, 0, 0) 40%,
                rgba(0, 0, 0, 0) 60%,
                rgba(0, 0, 0, 0.8) 75%,
                rgba(0, 0, 0, 1) 100%);
    }

    .hero-subtitle {
        margin: 0 auto 10px auto !important;
        font-size: 20px;
        min-height: 2.5em !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95) !important;
    }

    .h-large {
        min-height: 1.3em;
        font-size: clamp(34px, 5vw, 48px) !important;
    }

    .d-flex.gap-3 {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero-swiper .swiper-slide::after {
        background: linear-gradient(90deg,
                rgba(0, 0, 0, 1) 0%,
                rgba(0, 0, 0, 0.8) 25%,
                rgba(0, 0, 0, 0) 40%,
                rgba(0, 0, 0, 0) 60%,
                rgba(0, 0, 0, 0.8) 75%,
                rgba(0, 0, 0, 1) 100%);
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    /* Fix: Swiper must be 100% height to show the background images properly */
    .hero-swiper,
    .hero-swiper .swiper-wrapper,
    .hero-swiper .swiper-slide {
        height: 100% !important;
        min-height: 100% !important;
    }

    .hero-grid {
        padding: 0 15px !important;
        gap: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .hero-text {
        padding: 0 10px !important;
        max-width: 100% !important;
    }

    .hero-text .tagline,
    .hero-text h1.text-gradient,
    .hero-text .hero-subtitle {
        filter: drop-shadow(1px 3px .1px rgba(0, 0, 0, 0.9));
    }

    .hero-subtitle {
        font-size: 15px;
        min-height: 3em !important;
        display: block;
        margin-bottom: 5px !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 1) !important;
    }

    h1.h-large,
    .h-large {
        font-size: clamp(20px, 7vw, 28px) !important;
        line-height: 1.3 !important;
        min-height: 1.3em;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        padding: 0 5px !important;
    }

    .tagline {
        font-size: 0.75rem !important;
        padding: 0 5px !important;
    }

    .blob-1 {
        width: 300px;
        height: 300px;
        top: -50px;
        left: -50px;
    }

    .blob-2 {
        width: 250px;
        height: 250px;
        bottom: -50px;
        right: -50px;
    }

    .btn-neural {
        padding: 10px 20px;
        font-size: 11px;
    }

    .hero-text .btn-neural {
        padding: 10px 14px;
        font-size: clamp(10px, 3vw, 11px);
        white-space: nowrap;
        flex: 1;
        max-width: 160px;
    }

    .hero-text .d-flex {
        flex-wrap: nowrap !important;
        justify-content: center;
        width: 100%;
        gap: 10px !important;
    }

    .hero-action {
        max-width: 100% !important;
        padding: 0 10px !important;
        justify-content: center !important;
    }

    .trade-widget {
        padding: 24px 18px !important;
        min-height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 0 30px !important;
    }

    h1.h-large,
    .h-large {
        font-size: 1.5rem !important;
    }

    .hero-subtitle {
        font-size: 13px !important;
        min-height: 3.5em !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .trade-widget {
        padding: 20px 15px !important;
    }

    .hero-grid {
        padding: 0 10px !important;
    }
}

/* ===== Floating Bubbles WOW Effect ===== */
.bubbles-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: bubbleFloat linear infinite, bubbleFadeIn 1s ease-out forwards;
    will-change: transform, opacity;
}
.bubble::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
    border-radius: 50%;
}
.bubble::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    animation: bubbleShimmer 4s ease-in-out infinite;
}

/* Bubble color variants */
.bubble--cyan {
    background: radial-gradient(circle at 30% 30%, rgba(0,242,255,0.4) 0%, rgba(0,242,255,0.1) 60%, transparent 80%);
    box-shadow: 0 0 25px rgba(0,242,255,0.3), inset 0 0 25px rgba(0,242,255,0.15);
}
.bubble--purple {
    background: radial-gradient(circle at 30% 30%, rgba(112,0,255,0.4) 0%, rgba(112,0,255,0.1) 60%, transparent 80%);
    box-shadow: 0 0 25px rgba(112,0,255,0.3), inset 0 0 25px rgba(112,0,255,0.15);
}
.bubble--pink {
    background: radial-gradient(circle at 30% 30%, rgba(255,0,127,0.35) 0%, rgba(255,0,127,0.08) 60%, transparent 80%);
    box-shadow: 0 0 25px rgba(255,0,127,0.25), inset 0 0 25px rgba(255,0,127,0.1);
}
.bubble--green {
    background: radial-gradient(circle at 30% 30%, rgba(0,255,136,0.35) 0%, rgba(0,255,136,0.08) 60%, transparent 80%);
    box-shadow: 0 0 25px rgba(0,255,136,0.25), inset 0 0 25px rgba(0,255,136,0.1);
}
.bubble--white {
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.06) 60%, transparent 80%);
    box-shadow: 0 0 20px rgba(255,255,255,0.15), inset 0 0 20px rgba(255,255,255,0.08);
}

/* Sizes */
.bubble--xs  { width: 8px;  height: 8px; }
.bubble--sm  { width: 16px; height: 16px; }
.bubble--md  { width: 30px; height: 30px; }
.bubble--lg  { width: 50px; height: 50px; }
.bubble--xl  { width: 70px; height: 70px; }
.bubble--xxl { width: 90px; height: 90px; }

@keyframes bubbleFloat {
    0% { transform: translateY(100vh) translateX(0) scale(0.4) rotate(0deg); }
    25% { transform: translateY(75vh) translateX(30px) scale(0.7) rotate(90deg); }
    50% { transform: translateY(50vh) translateX(-20px) scale(1) rotate(180deg); }
    75% { transform: translateY(25vh) translateX(15px) scale(0.85) rotate(270deg); }
    100% { transform: translateY(-15vh) translateX(-10px) scale(0.5) rotate(360deg); }
}
@keyframes bubbleFadeIn {
    0%   { opacity: 0; }
    30%  { opacity: 1; }
    100% { opacity: 1; }
}
@keyframes bubbleShimmer {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%      { opacity: 0.8; transform: scale(1.03); }
}

/* Floating Background Icons */
.floating-icons-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bg-float-icon {
    position: absolute;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent-blue);
    opacity: 0.15;
    filter: drop-shadow(0 0 5px var(--accent-blue));
    animation: floatIconBg 20s linear infinite;
}
.bg-float-icon:nth-child(1) { font-size: 80px; top: 15%; left: 10%; animation-duration: 25s; -webkit-text-stroke-color: var(--accent-blue); filter: drop-shadow(0 0 5px var(--accent-blue)); }
.bg-float-icon:nth-child(2) { font-size: 60px; top: 75%; left: 20%; animation-duration: 18s; animation-direction: reverse; -webkit-text-stroke-color: var(--accent-pink); filter: drop-shadow(0 0 5px var(--accent-pink)); }
.bg-float-icon:nth-child(3) { font-size: 120px; top: 10%; right: 15%; animation-duration: 30s; -webkit-text-stroke-color: var(--accent-purple); filter: drop-shadow(0 0 5px var(--accent-purple)); }
.bg-float-icon:nth-child(4) { font-size: 50px; top: 80%; right: 25%; animation-duration: 22s; animation-direction: reverse; -webkit-text-stroke-color: var(--accent-green); filter: drop-shadow(0 0 5px var(--accent-green)); }
.bg-float-icon:nth-child(5) { font-size: 90px; top: 45%; left: 5%; animation-duration: 28s; -webkit-text-stroke-color: var(--accent-blue); filter: drop-shadow(0 0 5px var(--accent-blue)); }
.bg-float-icon:nth-child(6) { font-size: 70px; top: 60%; right: 10%; animation-duration: 26s; -webkit-text-stroke-color: var(--accent-pink); filter: drop-shadow(0 0 5px var(--accent-pink)); }
.bg-float-icon:nth-child(7) { font-size: 100px; top: 30%; right: 30%; animation-duration: 24s; animation-direction: reverse; -webkit-text-stroke-color: var(--accent-green); filter: drop-shadow(0 0 5px var(--accent-green)); }

@keyframes floatIconBg {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.05; }
    50% { transform: translateY(-40px) rotate(180deg); opacity: 0.2; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.05; }
}
