/**
 * FRPTheme - Homepage styles
 * Neon glow, glass panels, responsive layout
 */

:root {
    --bg0: #05070a;
    --bg1: #0d1117;
    --panel: rgba(22, 27, 34, 0.85);
    --stroke: rgba(48, 54, 61, 0.9);
    --text: #ffffff;
    --muted: #8b949e;
    --neonA: #00f2ff;
    --neonB: #00ff88;
    --neonC: #a855f7;
    --neonA-glow: rgba(0, 242, 255, 0.4);
    --neonB-glow: rgba(0, 255, 136, 0.4);
    --neonC-glow: rgba(168, 85, 247, 0.4);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius-panel: 1.25rem;
    --radius-card: 0.75rem;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --nav-height: 58px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg0);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

.home-main .container {
    max-width: 1700px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ----- Navbar ----- */
.navbar-home {
    background: linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 100%);
    border-bottom: 1px solid var(--stroke);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    min-height: var(--nav-height);
    padding: 0.5rem 0;
}

.navbar-home .container {
    max-width: 1700px;
}

.frp-logo {
    overflow: visible;
}

.frp-logo-ring {
    filter: drop-shadow(0 0 6px rgba(0, 233, 255, 0.9));
    animation: frp-ring-pulse 3s ease-in-out infinite;
}

.frp-logo-lock,
.frp-logo-shackle,
.frp-logo text,
.frp-logo-text-frp {
    animation: frp-inner-pulse 3s ease-in-out infinite;
}

.frp-logo-shackle {
    transform-origin: 20px 14px;
    animation:
        frp-inner-pulse 3s ease-in-out infinite,
        frp-unlock 4s ease-in-out infinite;
}

.frp-logo-text-frp {
    filter: drop-shadow(0 0 4px rgba(0, 233, 255, 0.9));
}

.brand-logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--muted);
    margin-left: 0.5rem;
    font-weight: 500;
}

@media (max-width: 991px) {
    .brand-tagline {
        display: none;
    }
}

/* ----- Futuristic Navbar Styling ----- */
.navbar-futuristic {
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.05);
    min-height: var(--nav-height);
    padding: 0.5rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-futuristic:hover {
    background: rgba(10, 14, 23, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 255, 0.1);
}

.navbar-futuristic-inner {
    max-width: 1700px;
    position: relative;
}

.futuristic-logo {
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.4));
    transition: all 0.3s ease;
}

.futuristic-logo:hover {
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.8));
    transform: scale(1.02);
}

.nav-link-futuristic {
    color: var(--muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.nav-text {
    position: relative;
    z-index: 1;
}

.nav-link-futuristic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--neonA);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--neonA);
    border-radius: 2px;
}

.nav-link-futuristic:hover,
.nav-link-futuristic.active {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-link-futuristic:hover::after,
.nav-link-futuristic.active::after {
    width: 80%;
}

.dropdown-futuristic {
    background: rgba(13, 17, 23, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 242, 255, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 255, 0.1) !important;
    padding: 0.5rem !important;
    transform-origin: top center;
    animation: dropdownFade 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-futuristic .dropdown-item {
    color: var(--muted) !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
}

.dropdown-futuristic .dropdown-item:hover {
    background: rgba(0, 242, 255, 0.1) !important;
    color: var(--neonA) !important;
    transform: translateX(5px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-neon-outline {
    background: transparent;
    color: var(--neonA);
    border: 1px solid var(--neonA);
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3), inset 0 0 5px rgba(0, 242, 255, 0.1);
}

.btn-neon-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn-neon-outline:hover {
    background: rgba(0, 242, 255, 0.1);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6), inset 0 0 10px rgba(0, 242, 255, 0.3);
    text-shadow: 0 0 5px #fff;
}

.btn-neon-outline:hover::before {
    left: 100%;
}

.btn-cyber-solid {
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.login-gradient {
    background: linear-gradient(135deg, #00f2ff 0%, #0066ff 100%);
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.signup-gradient {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.btn-cyber-solid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-cyber-solid:hover {
    transform: translateY(-2px);
    color: #fff;
}

.login-gradient:hover {
    box-shadow: 0 5px 25px rgba(0, 102, 255, 0.8);
}

.signup-gradient:hover {
    box-shadow: 0 5px 25px rgba(239, 68, 68, 0.8);
}

/* Old buttons removed to use futuristic variants */

.dropdown-home .dropdown-menu {
    background: var(--panel);
    border: 1px solid var(--stroke);
}

/* ----- Navbar Search ----- */
.nav-search-form {
    max-width: 400px;
    width: 100%;
}

.search-input-group {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: var(--neonA);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition);
}

.nav-search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--neonA);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3), inset 0 0 5px rgba(0, 242, 255, 0.1);
}

.nav-search-input:focus + .search-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--neonA));
}

.nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Full width section */
.hero-slider-section {
    padding: 0;
}

.hero-panel {
    position: relative;
    height: 620px;
    max-height: 85vh;
    background: var(--panel);
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: var(--bg1);
}

/* Background text styling (Iteration 1: Outline effect) */
.hero-bg-text-layer {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-45%, -50%);
    font-size: clamp(8rem, 25vw, 22rem);
    font-weight: 900;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
    text-shadow: none;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-slide.active .hero-bg-text-layer {
    opacity: 1;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide-frame {
    display: none;
}

.hero-slide.green .hero-slide-frame {
    border-color: var(--neonB);
    box-shadow: 0 0 24px var(--neonB-glow), inset 0 0 24px var(--neonB-glow);
}

.hero-slide.cyan .hero-slide-frame {
    border-color: var(--neonA);
    box-shadow: 0 0 24px var(--neonA-glow), inset 0 0 24px var(--neonA-glow);
}

.hero-slide.purple .hero-slide-frame {
    border-color: var(--neonC);
    box-shadow: 0 0 24px var(--neonC-glow), inset 0 0 24px var(--neonC-glow);
}

.hero-slide-corner {
    display: none;
}

.hero-slide-corner-tl {
    top: 12px;
    left: 12px;
    border-right: none;
    border-bottom: none;
    border-radius: var(--radius-card) 0 0 0;
}

.hero-slide-corner-tr {
    top: 12px;
    right: 12px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 var(--radius-card) 0 0;
}

.hero-slide-corner-bl {
    bottom: 12px;
    left: 12px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 var(--radius-card);
}

.hero-slide-corner-br {
    bottom: 12px;
    right: 12px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 var(--radius-card) 0;
}

.hero-slide.green .hero-slide-corner {
    border-color: var(--neonB);
}

.hero-slide.cyan .hero-slide-corner {
    border-color: var(--neonA);
}

.hero-slide.purple .hero-slide-corner {
    border-color: var(--neonC);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

/* Image-only hero (no text block) */
.hero-slide-content,
.hero-slide-right {
    display: none !important;
}

.btn-hero-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    transition: var(--transition);
}

.hero-slide.green .btn-hero-cta:hover {
    border-color: var(--neonB);
    box-shadow: 0 0 16px var(--neonB-glow);
}

.hero-slide.cyan .btn-hero-cta:hover {
    border-color: var(--neonA);
    box-shadow: 0 0 16px var(--neonA-glow);
}

.hero-slide.purple .btn-hero-cta:hover {
    border-color: var(--neonC);
    box-shadow: 0 0 16px var(--neonC-glow);
}

.hero-mini-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.hero-mini-tile {
    width: 70px;
    height: 70px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
}

.hero-glow-circle {
    position: absolute;
    right: 2rem;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glass) 0%, transparent 70%);
    border: 1px solid var(--glass-border);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--stroke);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--neonA);
    box-shadow: 0 0 12px var(--neonA-glow);
}

/* ----- Ticker ----- */
.ticker-wrap {
    background: var(--bg1);
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
    padding: 0.75rem 0;
    overflow: hidden;
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-wrap:hover .ticker-inner {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.ticker-sep {
    color: var(--stroke);
    font-size: 0.6rem;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes tool-strip-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes frp-ring-pulse {

    0%,
    100% {
        stroke-width: 2.2;
        opacity: 0.9;
        filter: drop-shadow(0 0 4px rgba(0, 233, 255, 0.6));
    }

    50% {
        stroke-width: 2.8;
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(0, 233, 255, 1));
    }
}

@keyframes frp-inner-pulse {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}

@keyframes frp-unlock {

    0%,
    80%,
    100% {
        transform: rotate(0deg);
    }

    85% {
        transform: rotate(-10deg);
    }

    90% {
        transform: rotate(0deg);
    }
}

/* ----- Tool strip ----- */
.tool-strip-section {
    padding: 3rem 0;
    background: transparent;
}

.distributor-header {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 2.5rem;
}

.distributor-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 50%);
    background-size: 8px 1px;
    background-repeat: repeat-x;
    transform: translateY(-50%);
    z-index: 0;
}

.distributor-badge {
    position: relative;
    z-index: 1;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.tool-strip-wrap {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tool-strip-wrap::-webkit-scrollbar-track {
    background: var(--bg1);
}

.tool-strip-wrap::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
}

.tool-strip-inner {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0.5rem 0;
    animation: tool-strip-scroll 40s linear infinite;
}

.tool-card {
    flex-shrink: 0;
    width: 160px;
    padding: 1.5rem 1rem;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--neonA);
    background: #161b22;
}

.tool-card-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1c2128;
    border: 3px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    transition: var(--transition);
    overflow: hidden;
}

.tool-card:hover .tool-card-icon {
    border-color: var(--neonA);
    box-shadow: 0 0 20px var(--neonA-glow);
    transform: scale(1.05);
}

.tool-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-card-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.tool-verified {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--neonB);
    background: rgba(0, 255, 136, 0.08);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.15);
}

.tool-card-fallback {
    display: none;
    font-size: 1.25rem;
    color: var(--neonA);
}

.tool-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
}

/* ----- Stats bar ----- */
.stats-bar {
    display: none;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neonA);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ----- Content sections ----- */
.content-section {
    padding: 4rem 0;
}

.section-header {
    border-bottom: none;
    padding-bottom: 1rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--neonA), var(--neonB));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--neonA-glow);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff 0%, var(--neonA) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-view-all {
    background: rgba(0, 242, 255, 0.06);
    color: var(--neonA);
    border: 1px solid rgba(0, 242, 255, 0.35);
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-view-all:hover {
    background: rgba(0, 242, 255, 0.15);
    color: #fff;
    border-color: var(--neonA);
    box-shadow: 0 0 18px var(--neonA-glow);
    transform: translateY(-1px);
}

/* ---- Section Cards (Premium Glassmorphism) ---- */
.section-card {
    position: relative;
    background: linear-gradient(145deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}

.section-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top center, rgba(0, 242, 255, 0.04) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.section-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.section-card:hover {
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 255, 0.12), inset 0 1px 0 rgba(0, 242, 255, 0.1);
    transform: translateY(-6px);
}

.section-card:hover::before,
.section-card:hover::after {
    opacity: 1;
}

.section-card-img {
    height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0a0e17;
    position: relative;
    overflow: hidden;
}

.section-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.95) 0%, transparent 100%);
    pointer-events: none;
}

/* Fallback when no image (dark gradient placeholder) */
.section-card-img:not([style*="url("]) {
    background: linear-gradient(135deg, #0d1117 0%, #1a2035 50%, #0d1117 100%);
}

.section-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.section-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-card-action {
    display: block;
    text-align: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--neonA) 0%, #0066ff 100%);
    color: #000;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-card-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-card-action:hover {
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 242, 255, 0.5);
}

.btn-card-action:hover::before {
    left: 100%;
}

/* ----- Chat float ----- */
.chat-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neonA) 0%, #0066ff 100%);
    color: var(--bg0);
    border: none;
    box-shadow: 0 0 24px var(--neonA-glow);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.chat-float:hover {
    transform: scale(1.05);
    box-shadow: 0 0 32px var(--neonA-glow);
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
    .hero-panel {
        height: 250px;
    }

    .hero-slide-content {
        padding: 1rem;
    }

    .hero-mini-tiles {
        display: none;
    }

    .hero-glow-circle {
        display: none;
    }

    .section-card-img {
        height: 150px;
        padding: 0.5rem;
    }
}

@media (max-width: 575px) {
    .btn-join {
        display: none;
    }
}

/* ============================================================
   FOOTER WIDGETS
   ============================================================ */
.footer-widgets {
    background: var(--bg0);
    border-top: 1px solid var(--stroke);
    padding: 2.5rem 2rem;
    margin-top: 3rem;
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-widget-brand img {
    height: 40px;
    margin-bottom: 0.75rem;
}

.footer-widget-brand p {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.trustpilot-widget {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.trustpilot-stars {
    color: #00b67a;
    font-size: 0.875rem;
}

.trustpilot-text {
    font-size: 0.75rem;
    color: var(--muted);
}

.btn-subscribe {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-widget-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-list li {
    margin-bottom: 0.625rem;
}

.footer-widget-list a {
    color: var(--muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.footer-widget-list a:hover {
    color: var(--neonA);
}

.footer-widget-list i {
    width: 16px;
    font-size: 0.8rem;
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.payment-icon {
    width: 40px;
    height: 26px;
    background: var(--bg1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--muted);
}

.footer-bottom {
    background: var(--bg0);
    border-top: 1px solid var(--stroke);
    padding: 1.25rem 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.chat-button {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--neonA), #0066ff);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.2s ease;
}

.chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5);
}

/* Footer Responsive */
@media (max-width: 1199px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HOT DEALS SECTION ===== */
.hot-deals-section {
    background: linear-gradient(135deg, rgba(255, 80, 0, 0.04) 0%, rgba(255, 200, 0, 0.04) 100%);
    border-top: 1px solid rgba(255, 80, 0, 0.15);
    border-bottom: 1px solid rgba(255, 80, 0, 0.15);
}

.hot-deal-img {
    width: calc(100% + 2.5rem);
    height: 130px;
    margin: -1.5rem -1.25rem 0.75rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(135deg, #0d1117 0%, #1a203f 50%, #0d1117 100%); /* Premium Fallback */
    border-radius: 1rem 1rem 0 0;
    position: relative;
    overflow: hidden;
}

.hot-deal-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, #0d1117 0%, transparent 100%);
}

.hot-deals-title {
    background: linear-gradient(90deg, #ff6a00, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.05em;
}

.fire-icon {
    display: inline-block;
    animation: fire-pulse 1.2s ease-in-out infinite;
    -webkit-text-fill-color: initial;
    font-size: 1.4em;
    vertical-align: middle;
}

@keyframes fire-pulse {
    0%, 100% { transform: scale(1) rotate(-3deg); }
    50% { transform: scale(1.15) rotate(3deg); }
}

.hot-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.hot-deal-card {
    position: relative;
    background: linear-gradient(145deg, #0d1117 0%, #161b22 100%);
    border: 1px solid rgba(255, 100, 0, 0.2);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    min-height: 400px; /* Ensure uniform card heights */
}

.hot-deal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 100, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hot-deal-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 150, 0, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 100, 0, 0.15);
}

.hot-deal-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #ff4500, #ff9000);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(255, 80, 0, 0.5);
    animation: badge-glow 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 80, 0, 0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 80, 0, 0.8); }
}

.hot-deal-type {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ff9000;
    text-transform: uppercase;
    padding: 2px 6px;
    background: rgba(255, 144, 0, 0.1);
    border: 1px solid rgba(255, 144, 0, 0.2);
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.hot-deal-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0.25rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em; /* Fixed title height for alignment */
}

.hot-deal-category {
    font-size: 0.75rem;
    color: #8b949e;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.hot-deal-price {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(90deg, #00f2ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: auto; /* Push to bottom */
    line-height: 1;
}

.hot-deal-delivery {
    font-size: 0.75rem;
    color: #8b949e;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.hot-deal-delivery i {
    color: #00f2ff;
    font-size: 0.7rem;
}

.hot-deal-btn {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 80, 0, 0.3);
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hot-deal-btn:hover {
    background: linear-gradient(135deg, #ff5500, #ffaa00);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 80, 0, 0.5);
}

@media (max-width: 576px) {
    .hot-deals-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .hot-deal-price {
        font-size: 1.3rem;
    }
}

/* ----- Security Alert Modal ----- */
.sa-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.85); /* Darker backdrop to match screenshot */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none; /* Hidden by default, toggled via JS */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sa-modal-backdrop.show {
    opacity: 1;
}

.sa-modal {
    background: #11151c; /* Very dark blue/gray base */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border */
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 30, 30, 0.05); /* Soft red ambient glow */
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.sa-modal-backdrop.show .sa-modal {
    transform: translateY(0) scale(1);
}

/* Modal Header */
.sa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.02);
}

.sa-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 60, 60, 0.1); /* Red pill background */
    border: 1px solid rgba(255, 60, 60, 0.2);
    color: #ff4d4d;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sa-dot {
    width: 6px;
    height: 6px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4d4d;
    animation: saPulse 2s infinite;
}

@keyframes saPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.sa-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sa-lang {
    font-size: 0.75rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sa-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 180, 0, 0.1);
    border: 1px solid rgba(255, 180, 0, 0.2);
    color: #ffae00;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sa-close {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-close:hover {
    color: #fff;
}

/* Modal Body */
.sa-body {
    padding: 1.5rem;
}

.sa-title {
    color: #00f2ff; /* Cyan title matching site theme */
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.sa-desc {
    color: #a1a1aa;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* Notification Boxes */
.sa-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(20, 25, 33, 0.7); /* Slightly lighter box */
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sa-box:hover {
    background: rgba(25, 31, 40, 0.8);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.08);
}

.sa-box:last-child {
    margin-bottom: 0;
}

.sa-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.sa-icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.sa-icon-yellow {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.sa-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.sa-text {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
    padding-top: 2px;
}

/* Modal Footer & Buttons */
.sa-footer {
    padding: 0 1.5rem 1.5rem;
}

.sa-help-text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.sa-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.sa-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    border: none;
    text-decoration: none;
}

.sa-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #fff;
}

.sa-btn-wa {
    background: #0ea5e9; /* Light blue based on screenshot, wait, WhatsApp is usually green. Let's stick to screenshot (looks green on left) */
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.sa-btn-tg {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* Blue for Telegram */
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.sa-safe-note {
    text-align: center;
    font-size: 0.75rem;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
