/* ============================================================
   CPAminer — Main Stylesheet
   ============================================================ */

:root {
    --primary:       #1677FF;
    --primary-dark:  #0d5fd4;
    --primary-light: #4d9fff;
    --accent:        #F7931A;
    --light:         #F6F7F8;
    --dark:          #0d1421;
    --dark-2:        #111827;
    --text:          #1f2937;
    --muted:         #6b7280;
    --grad-primary:  linear-gradient(135deg, #1677FF 0%, #00c6ff 100%);
    --grad-dark:     linear-gradient(135deg, #0d1421 0%, #1a2a4a 100%);
    --shadow-sm:     0 4px 16px rgba(22,119,255,.10);
    --shadow-md:     0 8px 32px rgba(22,119,255,.16);
    --shadow-lg:     0 16px 56px rgba(22,119,255,.22);
    --radius:        14px;
    --radius-sm:     8px;
    --ease:          cubic-bezier(.25,.46,.45,.94);
    --transition:    all .4s var(--ease);
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Utilities ────────────────────────────────────────────── */
.fw-medium { font-weight: 500 !important; }
.fw-bold   { font-weight: 700 !important; }
.fw-black  { font-weight: 900 !important; }

/* ── Section Badge ────────────────────────────────────────── */
.section-badge {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(22,119,255,.10), rgba(0,198,255,.10));
    border: 1px solid rgba(22,119,255,.25);
    margin-bottom: 14px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    font-weight: 600;
    letter-spacing: .3px;
    transition: var(--transition);
}
.btn.btn-primary {
    background: var(--grad-primary);
    border: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(22,119,255,.30);
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(22,119,255,.45);
    color: #fff;
}
.btn.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
}
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
}
.btn-square    { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/* ── Back to Top ──────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    display: none;
    right: 28px;
    bottom: 28px;
    z-index: 99;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.back-to-top i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: var(--dark) !important;
}
#spinner.show {
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease-out, visibility 0s linear 0s;
}
.spinner-wrap {
    text-align: center;
}
.spinner-ring {
    width: 58px;
    height: 58px;
    border: 3px solid rgba(255,255,255,.08);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .9s linear infinite;
    margin: 0 auto 16px;
}
.spinner-brand {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
    animation: pulse-text 1.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-text {
    0%,100% { opacity: 1; }
    50%      { opacity: .5; }
}

/* ============================================================
   CRYPTO TICKER BAR
   ============================================================ */
.crypto-ticker-bar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}
.ticker-label {
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    user-select: none;
}

/* ── Connection status dot ── */
.ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255,255,255,.35);
    transition: background .4s;
}
.ticker-dot--live        { background: #10b981; animation: dot-pulse 2s ease-in-out infinite; }
.ticker-dot--connecting  { background: #f59e0b; animation: dot-blink .8s step-end infinite; }
.ticker-dot--offline     { background: #f43f5e; }
@keyframes dot-pulse {
    0%,100% { box-shadow: 0 0 0 0   rgba(16,185,129,.55); }
    50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0);   }
}
@keyframes dot-blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── Scrolling track ── */
.ticker-overflow {
    overflow: hidden;
    flex: 1;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    /* duration set dynamically by JS */
    animation: ticker-scroll 60s linear infinite;
    will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Items ── */
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    padding: 0 10px;
}
.ticker-coin-icon { font-size: 13px; opacity: .8; }
.ticker-coin-name { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.ticker-sep       { color: rgba(255,255,255,.15); padding: 0 2px; font-size: 10px; }

.t-price  { font-weight: 700; color: rgba(255,255,255,.92); }
.t-change { font-size: 11px; font-weight: 600; }
.t-up     { color: #10b981; }
.t-down   { color: #f43f5e; }

/* price tick flash */
@keyframes price-flash {
    0%,100% { opacity: 1; }
    40%     { opacity: .25; }
}
.t-flash { animation: price-flash .55s ease; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    top: 0;
    background: rgba(13,20,33,.96) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: var(--transition);
}
.navbar.nav-scrolled {
    box-shadow: 0 2px 30px rgba(0,0,0,.4);
    background: rgba(13,20,33,.99) !important;
}
.navbar.sticky-top { top: 0 !important; } /* override main.js hide behaviour */

.navbar .navbar-brand,
.navbar a.btn { height: 68px; }

.logo { height: 38px; width: auto; max-width: 160px; border-radius: 0; object-fit: contain; }
.logo-title { display: none; }

.navbar .navbar-nav .nav-link {
    margin-right: 22px;
    padding: 22px 0;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    outline: none;
    transition: var(--transition);
    position: relative;
}
.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
    transition: width .3s ease;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: #fff; }
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after { width: 100%; }

.navbar .navbar-toggler {
    border: 1px solid rgba(255,255,255,.2);
}
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link { margin-right: 0; padding: 11px 0; }
    .navbar .navbar-nav           { border-top: 1px solid rgba(255,255,255,.08); }
    .navbar .navbar-collapse       { padding: 0 16px 16px; }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.owl-carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(
        100deg,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.40) 55%,
        rgba(0,0,0,.10) 100%
    );
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #00d4ff;
    background: rgba(22,119,255,.18);
    border: 1px solid rgba(22,119,255,.40);
    margin-bottom: 18px;
    animation: badge-glow 3s ease-in-out infinite;
}
@keyframes badge-glow {
    0%,100% { box-shadow: 0 0 0 0 rgba(22,119,255,0); }
    50%      { box-shadow: 0 0 16px 2px rgba(22,119,255,.35); }
}

.header-carousel .display-2 {
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.12;
    text-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 520px;
    }
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .header-carousel .owl-carousel-item p { font-size: 15px !important; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { text-align: center; }
}

/* Owl dots (thumbnail nav) */
.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 44px;
    height: 44px;
    margin: 5px 0;
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 20px rgba(255,255,255,.5);
    border-radius: 44px;
    transition: .5s;
    overflow: hidden;
}
.header-carousel .owl-dots .owl-dot.active {
    width: 58px;
    height: 58px;
    box-shadow: 0 0 0 3px var(--primary);
}
.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 44px;
    transition: .5s;
}

/* Scroll-down indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce-y 2s ease-in-out infinite;
}
.scroll-down-indicator span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}
.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.scroll-wheel {
    width: 3px;
    height: 7px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    animation: wheel-scroll 2s ease-in-out infinite;
}
@keyframes bounce-y {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes wheel-scroll {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================================
   STATS CARDS
   ============================================================ */
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 24px;
    text-align: center;
    border: 1px solid rgba(22,119,255,.09);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.stat-card:hover::before { transform: scaleX(1); }

.stat-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg,rgba(22,119,255,.10),rgba(0,198,255,.10));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}
.stat-card:hover .stat-icon-wrap {
    background: var(--grad-primary);
    color: #fff;
    transform: scale(1.12) rotate(8deg);
}

.stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.stat-desc { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    background: linear-gradient(140deg, #f8faff 0%, #eef3ff 100%);
}

.about-img-wrap {
    position: relative;
    min-height: 460px;
    height: 100%;
    display: flex;
    align-items: stretch;
}
.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-float-badge {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: var(--grad-primary);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: float-y 3.5s ease-in-out infinite;
}
.about-float-badge i    { font-size: 20px; display: block; margin-bottom: 4px; }
.about-float-badge span { font-weight: 800; font-size: 15px; display: block; }
.about-float-badge small{ font-size: 11px; opacity: .85; }
@keyframes float-y {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.about-desc { color: #4b5563; line-height: 1.82; margin-bottom: 14px; }

.about-features { margin-top: 22px; }
.about-feat-item {
    display: flex;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(22,119,255,.08);
    transition: var(--transition);
}
.about-feat-item:hover { padding-left: 6px; }
.about-feat-item i    { color: var(--primary); font-size: 16px; margin-right: 12px; flex-shrink: 0; }
.about-feat-item span { font-weight: 600; color: var(--dark); }

@media (min-width: 992px) {
    .container.about { max-width: 100% !important; }
    .about-text { padding-right: calc(((100% - 960px)/2) + .75rem); }
}
@media (min-width: 1200px) { .about-text { padding-right: calc(((100% - 1140px)/2) + .75rem); } }
@media (min-width: 1400px) { .about-text { padding-right: calc(((100% - 1320px)/2) + .75rem); } }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13,20,33,.88) 0%,
        rgba(13,20,33,.45) 55%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 22px;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-overlay-content { color: #fff; }
.product-overlay-content h5 { font-weight: 700; margin-bottom: 5px; font-size: 15px; }
.product-overlay-content p  { font-size: 13px; opacity: .85; margin-bottom: 12px; }

.product-body { padding: 14px 18px 18px; }
.product-title { font-weight: 700; margin-bottom: 3px; font-size: 14px; }
.product-desc  { font-size: 12px; color: var(--muted); margin: 0; }

/* Legacy portfolio item states (isotope) */
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}
#portfolio-flters li:hover,
#portfolio-flters li.active { color: var(--primary); border-color: var(--primary); }

/* ============================================================
   FEATURES / WHY CHOOSE US
   ============================================================ */
.features-section {
    background: linear-gradient(140deg, #f8faff 0%, #eef3ff 100%);
}

.feature-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    box-shadow: 0 3px 16px rgba(22,119,255,.07);
    transition: var(--transition);
}
.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.feat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--grad-primary);
    color: #fff;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: icon-pulse 3.5s ease-in-out infinite;
}
.feature-item:hover .feat-icon { transform: scale(1.12) rotate(-6deg); }

@keyframes icon-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(22,119,255,.35); }
    50%      { box-shadow: 0 0 0 8px rgba(22,119,255,0); }
}

.feat-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22,119,255,.08) 0%, transparent 100%);
    pointer-events: none;
}

@media (min-width: 992px) {
    .container.feature { max-width: 100% !important; }
    .feature-text { padding-left: calc(((100% - 960px)/2) + .75rem); }
}
@media (min-width: 1200px) { .feature-text { padding-left: calc(((100% - 1140px)/2) + .75rem); } }
@media (min-width: 1400px) { .feature-text { padding-left: calc(((100% - 1320px)/2) + .75rem); } }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,20,33,.82) 0%, rgba(13,20,33,.25) 100%);
    display: flex;
    align-items: flex-end;
    padding: 36px;
}
.contact-overlay-inner { color: #fff; }
.contact-overlay-inner h4 { font-weight: 700; margin-bottom: 6px; }
.contact-overlay-inner p  { opacity: .75; font-size: 14px; margin: 0; }

.contact-form .form-control {
    border: 1px solid rgba(22,119,255,.14);
    border-radius: var(--radius-sm);
    padding: 11px 15px;
    font-size: 14px;
    background: #fafbff;
    transition: var(--transition);
    color: var(--text);
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,119,255,.12);
    background: #fff;
    outline: none;
}
.contact-form textarea.form-control { resize: none; }

@media (min-width: 992px) {
    .container.quote { max-width: 100% !important; }
    .quote-text { padding-right: calc(((100% - 960px)/2) + .75rem); }
}
@media (min-width: 1200px) { .quote-text { padding-right: calc(((100% - 1140px)/2) + .75rem); } }
@media (min-width: 1400px) { .quote-text { padding-right: calc(((100% - 1320px)/2) + .75rem); } }

/* ============================================================
   TEAM CAROUSEL
   ============================================================ */
.testimonial-carousel { position: relative; }

.testimonial-carousel::before,
.testimonial-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.testimonial-carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.testimonial-carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}
@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after { width: 180px; }
}
@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after { width: 260px; }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 340px;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 2;
}
.testimonial-carousel:hover .owl-nav { opacity: 1; width: 300px; }
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    color: var(--primary);
    font-size: 42px;
    transition: .4s;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover { color: var(--dark); }

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
    border: 3px solid var(--primary);
    object-fit: cover;
}
.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border-radius: var(--radius);
    border: 1px solid rgba(22,119,255,.07);
    transform: scale(.86);
    transition: transform .5s var(--ease), box-shadow .5s;
}
.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); }

.footer-top { padding: 60px 0 44px; }

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.footer-logo {
    height: 38px;
    width: auto;
    max-width: 160px;
    border-radius: 0;
    object-fit: contain;
    margin-right: 0;
}
.footer-brand h4 { display: none; }
.footer-tagline {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,.5);
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social { display: flex; gap: 9px; }
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.social-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
}

.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 9px; }
.footer-nav a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
}
.footer-nav a::before {
    content: '›';
    opacity: 0;
    margin-right: -4px;
    transition: var(--transition);
}
.footer-nav a:hover { color: #fff; padding-left: 5px; }
.footer-nav a:hover::before { opacity: 1; }

.footer-info { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.info-item i { color: var(--primary); font-size: 13px; flex-shrink: 0; }

.footer-coins { display: flex; flex-wrap: wrap; gap: 7px; }
.coin-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 11px;
    background: rgba(22,119,255,.14);
    border: 1px solid rgba(22,119,255,.28);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: .5px;
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.07);
}

/* ============================================================
   BREADCRUMB (page-header utility)
   ============================================================ */
.page-header {
    background: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)),
                url(../images/carousel-1.jpg) center/cover no-repeat;
}
.breadcrumb-item+.breadcrumb-item::before { color: var(--light); }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 576px) {
    .stat-num { font-size: 1.8rem; }
    .about-float-badge { bottom: 12px; right: 12px; }
    .footer-top { padding: 40px 0 28px; }
}

/* ============================================================
   VIDEO SECTION  (above carousel, first-screen)
   ============================================================ */
.video-section {
    background: var(--grad-dark);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}

/* animated grid background */
.vs-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(22,119,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22,119,255,.055) 1px, transparent 1px);
    background-size: 52px 52px;
    animation: grid-drift 22s linear infinite;
    pointer-events: none;
}
@keyframes grid-drift {
    from { background-position: 0 0; }
    to   { background-position: 52px 52px; }
}

/* section badge on dark bg */
.section-badge--light {
    color: #00d4ff;
    background: linear-gradient(135deg,rgba(22,119,255,.18),rgba(0,212,255,.12));
    border-color: rgba(22,119,255,.38);
}

.vs-subtitle {
    color: rgba(255,255,255,.58);
    font-size: 15px;
    line-height: 1.75;
    margin: 0 auto 36px;
}

/* ── Player wrapper ──────────────────────────────────────── */
.video-player-wrap {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000;
    /* outer glow */
    box-shadow:
        0 0 0 1px rgba(22,119,255,.25),
        0 24px 72px rgba(0,0,0,.65);
}

/* breathing glow ring */
.video-player-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--radius) + 3px);
    background: var(--grad-primary);
    z-index: -1;
    opacity: .4;
    filter: blur(14px);
    animation: ring-pulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ring-pulse {
    0%,100% { opacity: .28; filter: blur(12px); }
    50%      { opacity: .55; filter: blur(20px); }
}

/* ── <video> element ─────────────────────────────────────── */
.video-el {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
    /* ensure no native controls overlap */
    outline: none;
}

/* ── Big play overlay ────────────────────────────────────── */
.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.32);
    transition: opacity .35s ease, background .35s ease;
    cursor: pointer;
    gap: 12px;
}
.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.video-overlay:hover { background: rgba(0,0,0,.20); }

.video-play-btn {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: none;
    background: var(--grad-primary);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px; /* optical centering of ▶ */
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(22,119,255,.55);
    animation: play-ripple 2.5s ease-out infinite;
    transition: transform .3s var(--ease);
}
.video-play-btn:hover { transform: scale(1.11); }

@keyframes play-ripple {
    0%   { box-shadow: 0 0 0  0   rgba(22,119,255,.55); }
    70%  { box-shadow: 0 0 0 32px rgba(22,119,255,0);   }
    100% { box-shadow: 0 0 0  0   rgba(22,119,255,0);   }
}

.vp-hint {
    color: rgba(255,255,255,.6);
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* ── Controls bar ────────────────────────────────────────── */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 14px 11px;
    background: linear-gradient(transparent, rgba(0,0,0,.82));
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .3s ease;
    /* always visible on touch devices — toggled by JS on mobile */
}
.video-player-wrap:hover .video-controls,
.video-controls.always-visible { opacity: 1; }

.vc-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    cursor: pointer;
    /* minimum touch target 44 × 44 */
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 6px;
    border-radius: 6px;
    transition: color .2s, background .2s;
}
.vc-btn:hover { color: #fff; background: rgba(255,255,255,.10); }

/* Sound button — shows "Unmute" label so mobile users know it's muted */
.vc-sound-btn { color: rgba(255,255,255,.55); }
.vc-sound-btn.is-unmuted { color: rgba(255,255,255,.82); }
.vc-sound-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    white-space: nowrap;
}

/* Progress track */
.vc-progress-wrap {
    flex: 1;
    cursor: pointer;
    padding: 10px 0; /* wider touch area */
    margin: 0 2px;
}
.vc-progress-bg {
    height: 4px;
    background: rgba(255,255,255,.22);
    border-radius: 4px;
    position: relative;
    transition: height .15s;
}
.vc-progress-wrap:hover .vc-progress-bg { height: 6px; }
.vc-progress-bar {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 4px;
    width: 0;
    transition: width .25s linear;
}

.vc-time {
    color: rgba(255,255,255,.65);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Fullscreen */
.video-player-wrap:fullscreen { border-radius: 0; max-width: 100%; }
.video-player-wrap:fullscreen .video-el { aspect-ratio: auto; height: 100%; }

/* ── Scroll hint below player ────────────────────────────── */
.vs-scroll-hint {
    text-align: center;
    margin-top: 32px;
}
.vs-scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color .3s;
    animation: bounce-y 2.4s ease-in-out infinite;
}
.vs-scroll-link:hover { color: rgba(255,255,255,.85); }
.vs-scroll-link i { font-size: 18px; }

/* ── Mobile overrides ────────────────────────────────────── */
@media (max-width: 767px) {
    .video-section { padding: 40px 0 32px; }
    .vs-subtitle    { font-size: 14px; margin-bottom: 24px; }

    /* always show controls on touch */
    .video-controls { opacity: 1; }

    /* bigger play button */
    .video-play-btn { width: 62px; height: 62px; font-size: 20px; }

    /* hide timestamp on small screens to save space */
    .vc-time { display: none; }
}

@media (max-width: 480px) {
    .video-play-btn { width: 54px; height: 54px; font-size: 18px; }
    /* hide fullscreen on tiny phones — browser already offers it */
    #vcFullscreen { display: none; }
}


