/* ============================================================
   HOME PAGE — Extracted styles for HPV Indonesia
   ============================================================ */

/* ── Section 1: Memorial Marquee ── */
@keyframes memorialMarquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes memorialMarqueeReverse {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

.animate-marquee-fwd {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: memorialMarquee 155s linear infinite;
}
.animate-marquee-rev {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: memorialMarqueeReverse 142s linear infinite;
}
.marquee-fade-edges {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
    .animate-marquee-fwd,
    .animate-marquee-rev { animation-play-state: paused; }
}

.marquee-wrapper { top: -20px; }


/* ── Section 3: CTA Card Floating Orbs ── */
@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1);           opacity: 0.7; }
    33%       { transform: translate(12px, -10px) scale(1.1);  opacity: 1;   }
    66%       { transform: translate(-8px, 14px) scale(0.95);  opacity: 0.6; }
}
@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1);            opacity: 0.6; }
    40%       { transform: translate(-14px, -12px) scale(1.15); opacity: 0.9; }
    70%       { transform: translate(10px, 8px) scale(0.9);     opacity: 0.5; }
}
.animate-float-orb-1 { animation: floatOrb1  6s ease-in-out infinite; }
.animate-float-orb-2 { animation: floatOrb2  8s ease-in-out infinite; }
.animate-float-orb-3 { animation: floatOrb1 10s ease-in-out infinite reverse; }


/* ── Section 4: Virus Living Animation & Orbiters ── */
@keyframes virusFloat {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-16px); }
}
@keyframes virusRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes virusBreathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

@keyframes glowPulse1 {
    0%, 100% { opacity: .25; transform: scale(1); }
    50%      { opacity: .55; transform: scale(1.12); }
}
@keyframes glowPulse2 {
    0%, 100% { opacity: .15; transform: scale(1.05); }
    50%      { opacity: .40; transform: scale(1.22); }
}
@keyframes glowPulse3 {
    0%, 100% { opacity: .10; transform: scale(1.15); }
    50%      { opacity: .28; transform: scale(1.35); }
}

@keyframes orbitA {
    from { transform: rotate(0deg)   translateX(135px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(135px) rotate(-360deg); }
}
@keyframes orbitB {
    from { transform: rotate(120deg) translateX(158px) rotate(-120deg); }
    to   { transform: rotate(480deg) translateX(158px) rotate(-480deg); }
}
@keyframes orbitC {
    from { transform: rotate(240deg) translateX(175px) rotate(-240deg); }
    to   { transform: rotate(600deg) translateX(175px) rotate(-600deg); }
}

@keyframes dotGlow {
    0%, 100% { box-shadow: 0 0 4px 2px currentColor; opacity: .8; }
    50%      { box-shadow: 0 0 10px 4px currentColor; opacity: 1; }
}
@keyframes shimmer {
    0%, 100% {
        filter: drop-shadow(0 0 18px rgba(249,115,22,0.45)) drop-shadow(0 0 6px rgba(249,115,22,0.3)) brightness(1) saturate(1);
    }
    50% {
        filter: drop-shadow(0 0 26px rgba(249,115,22,0.65)) drop-shadow(0 0 10px rgba(249,115,22,0.45)) brightness(1.12) saturate(1.2);
    }
}

.virus-float   { animation: virusFloat   6s ease-in-out infinite; }
.virus-breathe { animation: virusBreathe 4s ease-in-out infinite; }
.virus-rotate  { animation: virusRotate 60s linear infinite; }
.virus-shimmer { animation: shimmer       4s ease-in-out infinite; }

.glow-ring-1   { animation: glowPulse1  3s   ease-in-out infinite; }
.glow-ring-2   { animation: glowPulse2  4.5s ease-in-out infinite; }
.glow-ring-3   { animation: glowPulse3  6s   ease-in-out infinite; }

.orbit-a       { animation: orbitA 15s linear infinite; }
.orbit-b       { animation: orbitB 24s linear infinite; }
.orbit-c       { animation: orbitC 36s linear infinite; }

.orbit-a .orbit-img { animation: virusRotate 15s linear infinite reverse; }
.orbit-b .orbit-img { animation: virusRotate 24s linear infinite reverse; }
.orbit-c .orbit-img { animation: virusRotate 36s linear infinite reverse; }

.orbit-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.virus-compositor {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
}

.orbit-pivot-a {
    position: absolute;
    top: 50%; left: 50%;
    width: 40px; height: 40px;
    margin: -20px 0 0 -20px;
    pointer-events: none;
}
.orbit-pivot-b {
    position: absolute;
    top: 50%; left: 50%;
    width: 60px; height: 60px;
    margin: -30px 0 0 -30px;
    pointer-events: none;
}
.orbit-pivot-c {
    position: absolute;
    top: 50%; left: 50%;
    width: 120px; height: 120px;
    margin: -60px 0 0 -60px;
    pointer-events: none;
}

.glow-ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    pointer-events: none;
}
.glow-ring-bg-1 { background: radial-gradient(ellipse, rgba(249,115,22,0.22) 0%, transparent 70%); }
.glow-ring-bg-2 { background: radial-gradient(ellipse, rgba(251,146,60,0.12) 0%, transparent 75%); }
.glow-ring-bg-3 { background: radial-gradient(ellipse, rgba(234,88,12,0.08)  0%, transparent 80%); }

.virus-main-img {
    width: 360px;
    height: 360px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(249,115,22,0.45)) drop-shadow(0 0 6px rgba(249,115,22,0.3));
}

.virus-ambient-glow {
    background: radial-gradient(ellipse at 50% 55%, rgba(249,115,22,0.08) 0%, rgba(15,10,30,0.6) 60%, transparent 80%);
}

.virus-starfield {
    background-image:
        radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.5)  0%, transparent 100%),
        radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.4)  0%, transparent 100%),
        radial-gradient(1px 1px at 55% 75%, rgba(255,255,255,0.3)  0%, transparent 100%),
        radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.3)  0%, transparent 100%),
        radial-gradient(1px 1px at 70% 50%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 40%, rgba(255,255,255,0.2)  0%, transparent 100%);
}

/* Orbit image glow filters */
.orbit-glow-a { filter: drop-shadow(0 0 5px rgba(249,115,22,0.70)); }
.orbit-glow-b { filter: drop-shadow(0 0 4px rgba(251,146,60,0.65)); }
.orbit-glow-c { filter: drop-shadow(0 0 4px rgba(234,88,12,0.60)); }

/* ── Misc Utilities ── */
.scrollbar-hidden {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollbar-hidden::-webkit-scrollbar { display: none; }

.tab-top-rounded { border-radius: 10px 10px 0 0; }
