.ft-hero-root,
.ft-hero-root * {
    box-sizing: border-box;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}
.ft-hero-root {
    --ft-hero-bg-body: #f4f4f5;
    --ft-hero-bg-surface: rgba(255, 255, 255, 0.7);
    --ft-hero-bg-glass: rgba(255, 255, 255, 0.4);
    --ft-hero-text-main: #0f172a;
    --ft-hero-text-muted: #475569;
    --ft-hero-border-color: rgba(15, 23, 42, 0.1);
    --ft-hero-primary-glow: rgba(255, 59, 48, 0.4);
    --ft-hero-aurora-1: rgba(255, 59, 48, 0.15);
    --ft-hero-aurora-2: rgba(245, 158, 11, 0.15);
    --ft-hero-aurora-3: rgba(59, 130, 246, 0.15);
    position: relative;
    color: var(--ft-hero-text-main);
    overflow: hidden;
    isolation: isolate;
}
html.dark .ft-hero-root,
html.farstube-dark .ft-hero-root {
    --ft-hero-bg-body: #050505;
    --ft-hero-bg-surface: rgba(18, 18, 20, 0.7);
    --ft-hero-bg-glass: rgba(255, 255, 255, 0.03);
    --ft-hero-text-main: #f8fafc;
    --ft-hero-text-muted: #94a3b8;
    --ft-hero-border-color: rgba(255, 255, 255, 0.08);
    --ft-hero-primary-glow: rgba(255, 59, 48, 0.45);
    --ft-hero-aurora-1: rgba(255, 59, 48, 0.25);
    --ft-hero-aurora-2: rgba(245, 158, 11, 0.2);
    --ft-hero-aurora-3: rgba(139, 92, 246, 0.2);
}
.ft-hero-aurora-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.ft-hero-aurora-blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: .8;
    transition: transform .2s ease-out;
}
.ft-hero-aurora-blob.blob-1 { top: -10%; right: -10%; width: 50vw; height: 50vw; background: var(--ft-hero-aurora-1); animation: ftHeroDrift 20s infinite alternate ease-in-out; }
.ft-hero-aurora-blob.blob-2 { bottom: -20%; left: -10%; width: 60vw; height: 60vw; background: var(--ft-hero-aurora-3); animation: ftHeroDrift 25s infinite alternate-reverse ease-in-out; }
.ft-hero-aurora-blob.blob-3 { top: 40%; left: 30%; width: 40vw; height: 40vw; background: var(--ft-hero-aurora-2); animation: ftHeroDrift 22s infinite alternate ease-in-out; }
@keyframes ftHeroDrift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5%,5%) scale(1.1); } 100% { transform: translate(5%,-5%) scale(.95); } }
.ft-hero-ambient-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, var(--ft-hero-border-color) 1px, transparent 1px), linear-gradient(to bottom, var(--ft-hero-border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
    opacity: .5;
}
.ft-hero-section {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    min-height: var(--ft-hero-min-height, 720px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 100px 24px 60px;
    gap: 40px;
}
.ft-hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ft-hero-status-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: var(--ft-hero-bg-surface); border: 1px solid var(--ft-hero-border-color); border-radius: 50px;
    font-size: 13px; font-weight: 800; color: var(--ft-hero-text-main); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0,0,0,.05); animation: ftHeroSlideUpFade .8s cubic-bezier(.16,1,.3,1) forwards;
}
.ft-hero-status-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; animation: ftHeroPulseGreen 2s infinite; }
@keyframes ftHeroPulseGreen { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7); } 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.ft-hero-title {
    font-size: clamp(40px,5vw,64px); font-weight: 950; line-height: 1.15; letter-spacing: -1px; margin: 0;
    opacity: 0; animation: ftHeroSlideUpFade .8s cubic-bezier(.16,1,.3,1) .1s forwards;
}
.ft-hero-text-gradient {
    background: var(--ft-hero-premium-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block;
    filter: drop-shadow(0 10px 20px var(--ft-hero-primary-glow));
}
.ft-hero-desc {
    font-size: clamp(15px,1.5vw,18px); line-height: 1.8; color: var(--ft-hero-text-muted); font-weight: 500; max-width: 600px;
    opacity: 0; animation: ftHeroSlideUpFade .8s cubic-bezier(.16,1,.3,1) .2s forwards;
}
.ft-hero-desc b, .ft-hero-desc strong { color: var(--ft-hero-text-main); font-weight: 800; }
.ft-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; opacity: 0; animation: ftHeroSlideUpFade .8s cubic-bezier(.16,1,.3,1) .3s forwards; }
.ft-hero-btn {
    display: inline-flex !important; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 50px;
    font-size: 16px; font-weight: 800; cursor: pointer; transition: all .4s cubic-bezier(.34,1.56,.64,1);
    border: none !important; position: relative; overflow: hidden; text-decoration: none !important;
}
.ft-hero-btn-primary { background: var(--ft-hero-text-main) !important; color: var(--ft-hero-bg-body) !important; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
html.dark .ft-hero-btn-primary, html.farstube-dark .ft-hero-btn-primary { box-shadow: 0 10px 30px rgba(255,255,255,.1); }
.ft-hero-btn-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.ft-hero-btn-donate { background: var(--ft-hero-bg-glass) !important; color: var(--ft-hero-text-main) !important; border: 1px solid var(--ft-hero-border-color) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ft-hero-btn-donate:before { content: ''; position: absolute; inset: 0; border-radius: 50px; background: radial-gradient(circle at center, rgba(236,72,153,.3), transparent 70%); opacity: 0; transition: opacity .4s ease; z-index: -1; }
.ft-hero-btn-donate:hover { transform: translateY(-4px); border-color: rgba(236,72,153,.5) !important; box-shadow: 0 10px 30px rgba(236,72,153,.15); }
.ft-hero-btn-donate:hover:before { opacity: 1; }
.ft-hero-btn-donate:hover i { color: #ec4899; transform: scale(1.2); }
.ft-hero-btn i { transition: transform .4s cubic-bezier(.34,1.56,.64,1); font-size: 1.25em; }
.ft-hero-visual { position: relative; width: 100%; height: 100%; min-height: 500px; display: flex; align-items: center; justify-content: center; opacity: 0; animation: ftHeroSlideUpFade 1s cubic-bezier(.16,1,.3,1) .4s forwards; perspective: 1000px; }
.ft-hero-center-orb {
    width: 280px; height: 280px; border-radius: 50%; background: linear-gradient(135deg, #ff3b30, #8b5cf6, #3b82f6); background-size: 200% 200%;
    animation: ftHeroGradientShift 5s ease infinite, ftHeroPulseOrb 4s alternate infinite ease-in-out;
    box-shadow: 0 0 60px rgba(255,59,48,.4), inset 0 0 40px rgba(0,0,0,.5); position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center; color: white; font-size: 80px;
    overflow: hidden; isolation: isolate;
}
.ft-hero-center-orb.ft-hero-orb-has-image::before {
    content: ''; position: absolute; inset: 9px; border-radius: inherit;
    background-image: var(--ft-hero-orb-image); background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: var(--ft-hero-orb-image-opacity, .78); z-index: 0; transform: scale(1.03);
}
.ft-hero-center-orb.ft-hero-orb-has-image::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.18), transparent 35%), linear-gradient(135deg, rgba(255,59,48,.35), rgba(139,92,246,.22), rgba(59,130,246,.22));
    z-index: 1; pointer-events: none;
}
.ft-hero-center-orb i { position: relative; z-index: 3; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
@keyframes ftHeroGradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes ftHeroPulseOrb { 0% { transform: scale(1); box-shadow: 0 0 60px rgba(255,59,48,.4); } 100% { transform: scale(1.05); box-shadow: 0 0 100px rgba(139,92,246,.6); } }
.ft-hero-float-card {
    position: absolute; background: var(--ft-hero-bg-surface); border: 1px solid var(--ft-hero-border-color); padding: 16px 24px; border-radius: 24px;
    display: flex; align-items: center; gap: 16px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1), inset 0 1px 1px rgba(255,255,255,.2); z-index: 3; transition: transform .1s linear; transform-style: preserve-3d;
}
.ft-hero-fc-icon { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; box-shadow: 0 10px 20px rgba(0,0,0,.2); }
.ft-hero-fc-text { display: flex; flex-direction: column; }
.ft-hero-fc-title { font-size: 15px; font-weight: 900; color: var(--ft-hero-text-main); }
.ft-hero-fc-sub { font-size: 12px; font-weight: 600; color: var(--ft-hero-text-muted); }
.ft-hero-float-card.card-1 { top: 10%; right: 10%; }
.ft-hero-float-card.card-2 { bottom: 20%; right: 0%; }
.ft-hero-float-card.card-3 { top: 50%; left: 0%; }
@keyframes ftHeroSlideUpFade { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@media (max-width: 992px) { .ft-hero-section { grid-template-columns: 1fr; text-align: center; padding-top: 120px; } .ft-hero-content { align-items: center; } .ft-hero-visual { min-height: 400px; } }
@media (max-width: 600px) { .ft-hero-float-card { padding: 12px 16px; gap: 12px; } .ft-hero-fc-icon { width: 36px; height: 36px; font-size: 18px; border-radius: 12px; } .ft-hero-fc-title { font-size: 13px; } .ft-hero-float-card.card-1 { right: -5%; top: 5%; } .ft-hero-float-card.card-2 { bottom: 10%; right: -5%; } .ft-hero-float-card.card-3 { left: -5%; top: 60%; } }
@media (max-width: 480px) { .ft-hero-actions { width: 100%; flex-direction: column; } .ft-hero-btn { width: 100%; justify-content: center; } .ft-hero-title { font-size: 38px; } }

/* v3.3: background is scoped to the Hero widget only, not the whole site. */
.ft-hero-root {
    background-color: var(--ft-hero-bg-body) !important;
    background-image:
        radial-gradient(circle at 88% 4%, var(--ft-hero-aurora-1) 0, transparent min(420px, 42vw)),
        radial-gradient(circle at 12% 95%, var(--ft-hero-aurora-3) 0, transparent min(520px, 52vw)),
        radial-gradient(circle at 50% 38%, var(--ft-hero-aurora-2) 0, transparent min(420px, 44vw)),
        linear-gradient(to right, var(--ft-hero-border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ft-hero-border-color) 1px, transparent 1px) !important;
    background-size: auto, auto, auto, 50px 50px, 50px 50px !important;
    background-position: center !important;
    background-attachment: scroll !important;
}

/* Ensure the central orb image is never hidden by Elementor/theme resets. */
.ft-hero-center-orb.ft-hero-orb-has-image::before {
    display: block !important;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .ft-hero-root {
        background-image:
            radial-gradient(circle at 90% 0%, var(--ft-hero-aurora-1) 0, transparent 360px),
            radial-gradient(circle at 0% 100%, var(--ft-hero-aurora-3) 0, transparent 420px),
            linear-gradient(to right, var(--ft-hero-border-color) 1px, transparent 1px),
            linear-gradient(to bottom, var(--ft-hero-border-color) 1px, transparent 1px) !important;
        background-size: auto, auto, 50px 50px, 50px 50px !important;
    }
}
