/* =========================
   HOME PAGE
========================= */
.home-page {
    max-width: 1220px;
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    align-items: center;
    gap: 28px;
    margin: 4px auto 22px;
    padding: 36px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(21,21,21,0.94), rgba(16,12,30,0.88) 58%, rgba(12,28,31,0.76)),
        url("../../banner.png") center / cover;
    background-blend-mode: multiply;
    border: 1px solid rgba(192,108,255,0.28);
    border-radius: 24px;
    box-shadow:
        0 18px 46px rgba(0,0,0,0.34),
        0 0 34px rgba(53,255,138,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.03);
}

.home-hero-pulse::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: 8%;
    top: 16%;
    border: 1px solid rgba(31,241,255,0.12);
    border-radius: 50%;
    pointer-events: none;
    animation: homePulseRing 6s ease-in-out infinite;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5,8,22,0.72), rgba(5,8,22,0.28) 55%, rgba(5,8,22,0.68)),
        linear-gradient(0deg, rgba(53,255,138,0.05), transparent 42%);
}

@keyframes homePulseRing {
    0%, 100% {
        opacity: 0.32;
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(31,241,255,0.0);
    }
    50% {
        opacity: 0.78;
        transform: scale(1.08);
        box-shadow: 0 0 42px 8px rgba(31,241,255,0.12);
    }
}

.home-hero-copy,
.home-hero-visual {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: bold;
}

.home-hero h1,
.page-title-block h1 {
    margin: 0;
    color: var(--green);
    font-size: 58px;
    line-height: 1.08;
    text-shadow: 0 0 24px rgba(53,255,138,0.18);
}

.home-hero h2 {
    margin: 14px 0 14px;
    font-size: 25px;
    color: var(--text);
}

.home-hero p,
.page-title-block p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.home-lead {
    max-width: 620px;
    margin-bottom: 0;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.22s;
}

.home-action.primary {
    color: #06110b;
    background: linear-gradient(135deg, var(--green), var(--glow-accent));
    border: 1px solid rgba(207,255,233,0.62);
    box-shadow: 0 0 22px rgba(53,255,138,0.28);
}

.home-action.secondary {
    color: var(--text);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
}

.home-action:hover {
    transform: translateY(-2px);
}

.home-signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.home-signal-row span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    color: rgba(242,242,242,0.86);
    font-size: 12px;
    font-weight: bold;
    border: 1px solid rgba(53,255,138,0.18);
    border-radius: 999px;
    background: rgba(53,255,138,0.08);
}

.home-hero-visual {
    min-height: 330px;
    display: grid;
    place-items: center;
}

.home-crest-ring {
    width: min(320px, 78vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        linear-gradient(145deg, rgba(53,255,138,0.22), rgba(192,108,255,0.20)),
        rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        0 0 34px rgba(31,241,255,0.15),
        inset 0 0 32px rgba(255,255,255,0.05);
}

.home-crest-command::before,
.home-crest-command::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(31,241,255,0.20);
    border-top-color: rgba(53,255,138,0.65);
    border-right-color: rgba(192,108,255,0.44);
    animation: homeCommandOrbit 16s linear infinite;
}

.home-crest-command::after {
    inset: 16px;
    animation-duration: 10s;
    animation-direction: reverse;
    opacity: 0.65;
}

@keyframes homeCommandOrbit {
    to {
        transform: rotate(360deg);
    }
}

.home-crest-ring img {
    width: 84%;
    height: 84%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(31,241,255,0.42))
        drop-shadow(0 0 30px rgba(53,255,138,0.20));
}

.home-floating-panel {
    position: absolute;
    min-width: 150px;
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(10,12,24,0.74);
    box-shadow: 0 16px 28px rgba(0,0,0,0.28);
    backdrop-filter: blur(10px);
}

.home-floating-panel strong,
.home-floating-panel span {
    display: block;
}

.home-floating-panel strong {
    color: var(--green);
    font-size: 22px;
    line-height: 1;
}

.home-floating-panel span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: bold;
}

.panel-top {
    top: 26px;
    right: 8px;
}

.panel-bottom {
    left: 0;
    bottom: 32px;
}

.panel-right {
    right: 18px;
    bottom: 86px;
}

.home-hero-pulse {
    min-height: 520px;
}

.home-status-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    max-width: 430px;
}

.home-why-pills {
    margin-top: 18px;
    max-width: 460px;
}

.home-status-strip article {
    position: relative;
    flex: 0 1 190px;
    min-height: 52px;
    overflow: hidden;
    padding: 8px 13px 8px 15px;
    border: 1px solid rgba(31,241,255,0.22);
    border-radius: 999px;
    background:
        linear-gradient(120deg, rgba(31,241,255,0.13), rgba(192,108,255,0.06) 48%, rgba(53,255,138,0.10)),
        rgba(7,16,29,0.58);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.025),
        0 0 20px rgba(31,241,255,0.08);
    animation: homeSignalBreath 4.8s ease-in-out infinite;
}

.home-status-strip article:nth-child(2) {
    animation-delay: 0.8s;
}

.home-status-strip article:nth-child(3) {
    animation-delay: 1.6s;
}

.home-status-strip article::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,0.16), transparent);
    transform: translateX(-120%);
    animation: homeSignalSweep 7s ease-in-out infinite;
}

.home-status-strip strong {
    display: block;
    overflow: hidden;
    color: var(--glow-accent);
    font-size: 20px;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes homeSignalBreath {
    0%, 100% {
        border-color: rgba(31,241,255,0.18);
        transform: translateY(0);
    }
    50% {
        border-color: rgba(53,255,138,0.38);
        transform: translateY(-2px);
    }
}

@keyframes homeSignalSweep {
    0%, 45% {
        transform: translateX(-120%);
    }
    70%, 100% {
        transform: translateX(120%);
    }
}

.home-status-strip span {
    display: block;
    margin-top: 3px;
    color: #aeb7ca;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-pulse-board {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 16px;
    margin: 16px 0;
}

.home-pulse-feed,
.home-gift-teaser,
.home-reward-showcase,
.home-feature-card {
    border: 1px solid rgba(31,241,255,0.16);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
        rgba(10,15,27,0.80);
    box-shadow: 0 14px 34px rgba(0,0,0,0.24);
}

.home-pulse-feed,
.home-gift-teaser {
    position: relative;
    overflow: hidden;
}

.home-pulse-feed::before,
.home-gift-teaser::before,
.home-reward-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(31,241,255,0.08), transparent);
    transform: translateX(-110%);
    animation: homePanelSweep 9s ease-in-out infinite;
}

@keyframes homePanelSweep {
    0%, 42% {
        transform: translateX(-110%);
    }
    72%, 100% {
        transform: translateX(110%);
    }
}

.home-pulse-feed,
.home-gift-teaser,
.home-reward-showcase {
    padding: 24px;
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.home-section-head h2,
.home-gift-teaser h2 {
    margin: 0;
    color: var(--text);
    font-size: 28px;
    line-height: 1.14;
}

.home-section-head .eyebrow {
    margin-bottom: 0;
}

.home-pulse-copy {
    max-width: 780px;
    margin: -6px 0 16px;
    color: #c7d1e6;
    font-size: 15px;
    line-height: 1.55;
}

.home-ticker {
    display: grid;
    gap: 10px;
}

.home-ticker-loading,
.home-ticker-item {
    min-height: 58px;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
}

.home-ticker-loading {
    display: grid;
    place-items: center;
    color: #aeb7ca;
    font-weight: 900;
}

.home-ticker-item {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
        "badge title"
        "badge text";
    align-items: center;
    gap: 2px 12px;
    padding: 10px 12px;
    overflow: hidden;
    animation: homeTickerFloat 5.5s ease-in-out infinite;
}

.home-ticker-item:nth-child(2) {
    animation-delay: 0.7s;
}

.home-ticker-item:nth-child(3) {
    animation-delay: 1.4s;
}

.home-ticker-item:nth-child(4) {
    animation-delay: 2.1s;
}

.home-ticker-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(var(--green), var(--glow-accent));
    box-shadow: 0 0 14px rgba(31,241,255,0.34);
    animation: homeTickerPulse 2.4s ease-in-out infinite;
}

@keyframes homeTickerFloat {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

@keyframes homeTickerPulse {
    0%, 100% {
        opacity: 0.45;
    }
    50% {
        opacity: 1;
    }
}

.home-ticker-item span {
    grid-area: badge;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid rgba(53,255,138,0.30);
    border-radius: 999px;
    background: rgba(53,255,138,0.10);
    color: var(--green);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.home-ticker-item strong {
    grid-area: title;
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    line-height: 1.22;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-ticker-item small {
    grid-area: text;
    overflow: hidden;
    color: #aeb7ca;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-gift-teaser {
    position: relative;
    overflow: hidden;
    border-color: rgba(255,190,64,0.28);
    background:
        linear-gradient(135deg, rgba(255,190,64,0.12), rgba(192,108,255,0.08)),
        rgba(10,15,27,0.84);
}

.home-gift-headline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.home-gift-headline .eyebrow {
    margin: 0;
}

.home-gift-motion {
    position: relative;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin-bottom: 0;
    perspective: 480px;
}

.home-gift-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    font-size: 48px;
    line-height: 1;
    filter:
        drop-shadow(0 10px 16px rgba(0,0,0,0.34))
        drop-shadow(0 0 18px rgba(255,190,64,0.28));
    transform-style: preserve-3d;
    animation: homeGiftSpinFloat 4.2s ease-in-out infinite;
}

@keyframes homeGiftSpinFloat {
    0% {
        transform: translateY(0) rotateY(-18deg) rotateZ(-4deg);
    }
    32% {
        transform: translateY(-10px) rotateY(22deg) rotateZ(5deg);
    }
    64% {
        transform: translateY(-3px) rotateY(380deg) rotateZ(-2deg);
    }
    100% {
        transform: translateY(0) rotateY(342deg) rotateZ(-4deg);
    }
}

.home-gift-teaser p:last-child {
    margin: 12px 0 0;
    color: #c7d1e6;
    line-height: 1.55;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.home-feature-card {
    position: relative;
    min-height: 190px;
    padding: 20px;
    overflow: hidden;
    transition: 0.22s;
}

.home-feature-card:nth-child(odd) {
    transform: translateY(8px);
}

.home-feature-card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    right: 18px;
    bottom: 18px;
    background: linear-gradient(90deg, transparent, rgba(31,241,255,0.7));
    transform: translateX(-14px);
    animation: homeFeatureLine 4.5s ease-in-out infinite;
}

.home-feature-card:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(53,255,138,0.42);
    box-shadow: 0 0 20px rgba(53,255,138,0.10);
}

.home-feature-card:nth-child(odd):hover {
    transform: translateY(3px) scale(1.01);
}

@keyframes homeFeatureLine {
    0%, 100% {
        opacity: 0.24;
        transform: translateX(-14px);
    }
    50% {
        opacity: 0.9;
        transform: translateX(12px);
    }
}

.home-feature-icon {
    width: 44px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border: 1px solid rgba(192,108,255,0.36);
    border-radius: 12px;
    background: rgba(192,108,255,0.14);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.home-feature-card h3 {
    margin: 0 0 9px;
    color: var(--green);
    font-size: 19px;
}

.home-feature-card p {
    margin: 0;
    color: #aeb7ca;
    font-size: 14px;
    line-height: 1.5;
}

.home-reward-showcase {
    margin-top: 16px;
}

.home-reward-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-reward-list span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(255,190,64,0.28);
    border-radius: 999px;
    background: rgba(255,190,64,0.10);
    color: #ffd36a;
    font-size: 13px;
    font-weight: 900;
    animation: homeRewardPop 5s ease-in-out infinite;
}

.home-reward-list span:nth-child(2) { animation-delay: 0.4s; }
.home-reward-list span:nth-child(3) { animation-delay: 0.8s; }
.home-reward-list span:nth-child(4) { animation-delay: 1.2s; }
.home-reward-list span:nth-child(5) { animation-delay: 1.6s; }

@keyframes homeRewardPop {
    0%, 100% {
        transform: translateY(0);
        filter: brightness(1);
    }
    50% {
        transform: translateY(-3px);
        filter: brightness(1.12);
    }
}

.home-join-panel {
    margin-top: 16px;
}

.home-join-panel .home-spotlight-main {
    position: relative;
    overflow: hidden;
    border-color: rgba(53,255,138,0.22);
    background:
        linear-gradient(135deg, rgba(53,255,138,0.10), rgba(31,241,255,0.045) 48%, rgba(192,108,255,0.08)),
        rgba(10,15,27,0.84);
}

.home-join-panel .home-spotlight-main::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -90px;
    border: 1px solid rgba(31,241,255,0.18);
    border-radius: 50%;
    pointer-events: none;
    animation: homePulseRing 7s ease-in-out infinite;
}

.home-join-panel .home-spotlight-main h2 {
    font-size: 34px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.info-card {
    min-height: 178px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
        var(--card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px 18px;
    transition: 0.25s;
    text-align: left;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(53,255,138,0.55);
    box-shadow: 0 0 20px rgba(53,255,138,0.12);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 34px;
    padding: 7px 9px;
    color: #06110b;
    font-size: 13px;
    font-weight: 900;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--glow-accent));
    box-shadow: 0 0 16px rgba(53,255,138,0.18);
    margin-bottom: 12px;
}

.info-card h3 {
    margin: 0 0 10px;
    color: var(--green);
}

.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.home-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 16px;
    margin-top: 16px;
}

.home-spotlight-main,
.home-mini-card {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(21,21,21,0.78);
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}

.home-spotlight-main {
    padding: 28px;
}

.home-spotlight-main h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 30px;
}

.home-spotlight-main p:last-child {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.home-mini-grid {
    display: grid;
    gap: 12px;
}

.home-mini-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 16px 18px;
    text-decoration: none;
    transition: 0.22s;
}

.home-mini-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.home-mini-card strong {
    color: var(--green);
    font-size: 18px;
    text-align: right;
}

.home-mini-card:hover {
    transform: translateY(-2px);
    border-color: rgba(53,255,138,0.42);
    box-shadow: 0 0 20px rgba(53,255,138,0.10);
}

.home-flow-page {
    max-width: 1320px;
}

.home-flow-stage,
.home-flow-ribbon,
.home-flow-stream,
.home-gift-flow,
.home-values-flow {
    position: relative;
    overflow: hidden;
}

.home-flow-stage {
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
    gap: 22px;
    align-items: center;
    margin-top: 14px;
    padding: 44px 38px 34px;
    border-top: 1px solid rgba(53,255,138,0.28);
    border-bottom: 1px solid rgba(192,108,255,0.24);
    background:
        radial-gradient(circle at 84% 28%, rgba(53,255,138,0.16), transparent 30%),
        linear-gradient(115deg, rgba(4,11,22,0.94), rgba(6,23,30,0.78) 46%, rgba(20,10,34,0.76)),
        url("../../banner.png") center / cover;
    background-blend-mode: screen, normal, multiply;
    box-shadow: inset 0 0 70px rgba(0,0,0,0.46);
}

.home-flow-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(100deg, transparent 0 54px, rgba(31,241,255,0.055) 55px 57px, transparent 58px 116px),
        linear-gradient(90deg, rgba(53,255,138,0.12), transparent 34%, rgba(192,108,255,0.10));
    opacity: 0.76;
    animation: homeFlowDrift 16s linear infinite;
}

.home-flow-lines {
    position: absolute;
    inset: auto -10% 26px -10%;
    height: 90px;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(31,241,255,0.38), transparent),
        linear-gradient(90deg, transparent, rgba(53,255,138,0.22), transparent);
    mask-image: repeating-linear-gradient(0deg, #000 0 2px, transparent 3px 18px);
    opacity: 0.55;
    animation: homeScanWave 8s ease-in-out infinite;
}

.home-flow-intro,
.home-flow-pulse,
.home-flow-links {
    position: relative;
    z-index: 1;
}

.home-flow-intro h1 {
    max-width: 900px;
    margin: 0 0 16px;
    color: var(--green);
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.96;
    text-shadow: 0 0 26px rgba(53,255,138,0.20);
}

.home-flow-intro p:last-child {
    max-width: 780px;
    margin: 0;
    color: #d8e2f6;
    font-size: 18px;
    line-height: 1.55;
}

.home-flow-pulse {
    display: grid;
    gap: 12px;
    justify-self: end;
    width: min(100%, 310px);
}

.home-flow-pulse div {
    padding: 12px 16px;
    border-left: 3px solid rgba(31,241,255,0.66);
    background: linear-gradient(90deg, rgba(31,241,255,0.16), rgba(53,255,138,0.07), transparent);
    animation: homePulseSlide 5.2s ease-in-out infinite;
}

.home-flow-pulse div:nth-child(2) {
    animation-delay: 0.9s;
}

.home-flow-pulse strong,
.home-flow-pulse span {
    display: block;
}

.home-flow-pulse strong {
    color: var(--glow-accent);
    font-size: 34px;
    line-height: 1;
}

.home-flow-pulse span {
    margin-top: 4px;
    color: #b8c4d8;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-flow-links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.home-flow-links a {
    min-width: 178px;
    padding: 10px 15px;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(255,255,255,0.055);
    transition: 0.22s;
}

.home-flow-links a:hover {
    border-color: rgba(53,255,138,0.52);
    background: rgba(53,255,138,0.10);
    transform: translateY(-2px);
}

.home-flow-links span {
    display: block;
    color: #9da8bc;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-flow-links strong {
    display: block;
    color: var(--green);
    font-size: 15px;
}

.home-flow-ribbon {
    display: grid;
    grid-template-columns: minmax(230px, 0.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    margin-top: 22px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,190,64,0.22);
    border-bottom: 1px solid rgba(255,190,64,0.22);
}

.home-ribbon-copy {
    padding-left: 18px;
}

.home-ribbon-copy h2,
.home-stream-copy h2,
.home-gift-copy h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.08;
}

.home-prize-booth {
    position: relative;
    min-height: 214px;
    overflow: hidden;
    border: 1px solid rgba(255,190,64,0.34);
    border-radius: 18px 18px 8px 8px;
    background:
        radial-gradient(circle at 78% 28%, rgba(192,108,255,0.18), transparent 24%),
        linear-gradient(180deg, #252143 0 66%, #57311f 66% 100%);
    box-shadow: inset 0 0 35px rgba(8,7,22,0.72), 0 16px 35px rgba(0,0,0,0.25);
}

.home-booth-lights {
    position: absolute;
    z-index: 5;
    top: 8px;
    left: 7%;
    right: 7%;
    display: flex;
    justify-content: space-between;
}

.home-booth-lights i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffe778;
    box-shadow: 0 0 11px #ffd14c;
    animation: homeBoothLight 1.4s ease-in-out infinite alternate;
}

.home-booth-lights i:nth-child(even) {
    background: var(--green);
    box-shadow: 0 0 11px var(--green);
    animation-delay: -0.7s;
}

.home-booth-sign {
    position: absolute;
    z-index: 4;
    top: 20px;
    left: 50%;
    padding: 5px 16px;
    color: #2d1712;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.12em;
    border-radius: 5px;
    background: linear-gradient(#ffe989, #ffb936);
    box-shadow: 0 4px 0 #8e4320, 0 0 20px rgba(255,204,66,0.28);
    transform: translateX(-50%) rotate(-1deg);
}

.home-booth-scene {
    position: absolute;
    inset: 46px 0 35px;
}

.home-booth-prizes {
    position: absolute;
    top: 8px;
    left: 33%;
    right: 5%;
    bottom: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 12px 15px;
    border: 2px solid rgba(255,217,112,0.36);
    border-bottom: 6px solid #8d522c;
    background:
        repeating-linear-gradient(90deg, transparent 0 31%, rgba(255,255,255,0.08) 31% 31.5%),
        linear-gradient(180deg, rgba(8,9,24,0.2), rgba(8,9,24,0.62));
}

.home-booth-teddy {
    position: relative;
    width: 48px;
    height: 60px;
    border-radius: 46% 46% 42% 42%;
    background: #d8924f;
    box-shadow: inset 0 -8px 0 rgba(92,43,21,0.18), 0 7px 12px rgba(0,0,0,0.3);
    animation: homeBoothTeddy 3s ease-in-out infinite;
}

.home-booth-teddy::before,
.home-booth-teddy::after {
    content: "";
    position: absolute;
    top: -7px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #c97a3e;
}

.home-booth-teddy::before { left: -4px; }
.home-booth-teddy::after { right: -4px; }

.home-booth-teddy i {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    width: 22px;
    height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 25%, #25140f 0 2px, transparent 3px),
        radial-gradient(circle at 68% 25%, #25140f 0 2px, transparent 3px),
        radial-gradient(circle at 50% 63%, #5d2d1e 0 4px, #f1bd7b 5px 100%);
}

.home-booth-ticket {
    width: 67px;
    padding: 20px 6px;
    color: #142126;
    font-size: 11px;
    font-weight: 1000;
    text-align: center;
    letter-spacing: 0.08em;
    border: 2px dashed rgba(13,64,62,0.55);
    background: linear-gradient(135deg, #63ffd1, #ffe876);
    box-shadow: 0 7px 12px rgba(0,0,0,0.3);
    transform: rotate(4deg);
    animation: homeBoothTicket 2.4s ease-in-out infinite alternate;
}

.home-booth-present {
    position: relative;
    width: 54px;
    height: 49px;
    border-radius: 5px;
    background:
        linear-gradient(90deg, transparent 38%, #ffe06c 38% 61%, transparent 61%),
        linear-gradient(135deg, #ff5c7f, #9e3cff);
    box-shadow: 0 7px 12px rgba(0,0,0,0.3);
    animation: homeBoothPresent 2.8s ease-in-out infinite;
}

.home-booth-present i {
    position: absolute;
    top: -14px;
    left: 14px;
    width: 25px;
    height: 17px;
    border: 5px solid #ffe06c;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
}

.home-booth-member {
    position: absolute;
    z-index: 3;
    left: 4%;
    bottom: 19px;
    width: 126px;
    height: 123px;
    animation: homeBoothMember 2.6s ease-in-out infinite;
}

.home-booth-head {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 29px;
    width: 46px;
    height: 48px;
    border-radius: 48% 48% 44% 44%;
    background: #dca16f;
    box-shadow: inset 0 8px 0 #392b36;
    animation: homeBoothLook 4.5s ease-in-out infinite;
}

.home-booth-head::before {
    content: "";
    position: absolute;
    top: 23px;
    right: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1f1a22;
    box-shadow: -16px 0 #1f1a22;
}

.home-booth-head i {
    position: absolute;
    right: 11px;
    bottom: 7px;
    width: 15px;
    height: 6px;
    border-bottom: 2px solid #7b382e;
    border-radius: 50%;
}

.home-booth-body {
    position: absolute;
    left: 19px;
    bottom: 0;
    width: 70px;
    height: 82px;
    border-radius: 26px 26px 8px 8px;
    background:
        linear-gradient(90deg, transparent 45%, rgba(255,255,255,0.12) 45% 55%, transparent 55%),
        linear-gradient(135deg, #16cfa1, #0b746d);
    box-shadow: inset 0 -12px 0 rgba(4,27,32,0.25);
}

.home-booth-body::after {
    content: "X41";
    position: absolute;
    top: 24px;
    left: 22px;
    color: #d9fff2;
    font-size: 11px;
    font-weight: 1000;
}

.home-booth-arm {
    position: absolute;
    z-index: 2;
    top: 60px;
    right: 8px;
    width: 54px;
    height: 17px;
    border-radius: 12px;
    background: #dca16f;
    transform: rotate(-13deg);
    transform-origin: left center;
    animation: homeBoothArm 2.2s ease-in-out infinite alternate;
}

.home-booth-points {
    position: absolute;
    z-index: 5;
    right: -4px;
    top: 38px;
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    color: #09251e;
    border: 3px solid #fff1a3;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #fff9a8, #ffd33f 58%, #e57c1e);
    box-shadow: 0 0 15px rgba(255,220,79,0.65), 0 7px 10px rgba(0,0,0,0.28);
    transform: rotate(9deg);
}

.home-booth-points strong {
    margin-bottom: -8px;
    font-size: 19px;
    line-height: 1;
}

.home-booth-points span {
    font-size: 6px;
    font-weight: 1000;
    letter-spacing: 0.08em;
}

.home-booth-counter {
    position: absolute;
    z-index: 4;
    left: 30%;
    right: 0;
    bottom: 0;
    height: 37px;
    display: grid;
    place-items: center;
    color: #ffe998;
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 0.18em;
    border-top: 4px solid #bc7640;
    background: repeating-linear-gradient(90deg, #65371f 0 32px, #754326 32px 64px);
}

.home-booth-tags {
    position: absolute;
    z-index: 6;
    left: 8px;
    right: 8px;
    bottom: 7px;
    display: flex;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.home-booth-tags span {
    padding: 3px 6px;
    color: #fff0b2;
    font-size: 8px;
    font-weight: 850;
    border: 1px solid rgba(255,224,112,0.22);
    border-radius: 999px;
    background: rgba(20,12,21,0.82);
}

.home-flow-stream {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 26px;
    margin-top: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(31,241,255,0.16);
}

.home-stream-copy {
    padding: 12px 18px 12px 0;
}

.home-stream-copy p:last-child,
.home-gift-copy p:last-child {
    margin: 14px 0 0;
    color: #c7d1e6;
    font-size: 16px;
    line-height: 1.55;
}

.home-newsstream {
    display: grid;
    gap: 0;
    align-content: center;
    border-left: 1px solid rgba(31,241,255,0.28);
}

.home-newsstream .home-ticker-loading,
.home-newsstream .home-ticker-item {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.home-newsstream .home-ticker-loading {
    min-height: 90px;
}

.home-newsstream .home-ticker-item {
    min-height: 64px;
    grid-template-columns: 86px minmax(0, 1fr);
    padding: 12px 10px 12px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    animation: homeTickerFloat 5.5s ease-in-out infinite;
}

.home-newsstream .home-ticker-item:nth-child(2) { animation-delay: -1.2s; }
.home-newsstream .home-ticker-item:nth-child(3) { animation-delay: -2.4s; }
.home-newsstream .home-ticker-item:nth-child(4) { animation-delay: -3.6s; }

.home-newsstream .home-ticker-item:nth-child(2) span {
    color: #ffe873;
    text-shadow: 0 0 14px rgba(255,211,63,0.42);
}

.home-newsstream .home-ticker-item:nth-child(3) span {
    color: #66d9ff;
    text-shadow: 0 0 14px rgba(69,196,255,0.38);
}

.home-newsstream .home-ticker-item:nth-child(4) span {
    color: #d294ff;
    text-shadow: 0 0 14px rgba(192,108,255,0.42);
}

.home-newsstream .home-ticker-item::before {
    left: -5px;
    top: 50%;
    bottom: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.home-newsstream .home-ticker-item span {
    justify-content: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--green);
}

.home-newsstream .home-ticker-item strong {
    font-size: 17px;
}

.home-gift-flow {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin-top: 22px;
    padding: 22px 18px;
    border-top: 1px solid rgba(255,190,64,0.26);
    border-bottom: 1px solid rgba(192,108,255,0.22);
    background:
        radial-gradient(circle at 8% 50%, rgba(255,190,64,0.18), transparent 28%),
        linear-gradient(90deg, rgba(255,190,64,0.06), rgba(192,108,255,0.06), transparent);
}

.home-gift-flow .home-gift-motion {
    width: 96px;
    height: 96px;
}

.home-gift-flow .home-gift-icon {
    position: relative;
    width: 88px;
    height: 88px;
    border: 2px solid rgba(255,231,120,0.72);
    border-radius: 10px;
    background:
        linear-gradient(90deg, transparent 38%, #ffe873 38% 62%, transparent 62%),
        linear-gradient(0deg, transparent 42%, #9b3d30 42% 53%, transparent 53%),
        linear-gradient(135deg, #ffcf51, #ff792f 62%, #a93838);
    box-shadow: inset 0 -9px 0 rgba(97,31,31,0.22), 0 12px 18px rgba(0,0,0,0.32), 0 0 22px rgba(255,190,64,0.26);
    animation: homeGiftBounce 3.2s ease-in-out infinite;
}

.home-gift-flow .home-gift-icon::before,
.home-gift-flow .home-gift-icon::after {
    content: "";
    position: absolute;
    top: -24px;
    width: 37px;
    height: 28px;
    border: 7px solid #ffe873;
    border-bottom: 0;
}

.home-gift-flow .home-gift-icon::before {
    left: 7px;
    border-radius: 26px 7px 0 5px;
    transform: rotate(-10deg);
}

.home-gift-flow .home-gift-icon::after {
    right: 7px;
    border-radius: 7px 26px 5px 0;
    transform: rotate(10deg);
}

.home-gift-flow .home-gift-icon i {
    position: absolute;
    z-index: 2;
    top: -8px;
    left: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff5af;
    box-shadow: 0 0 17px #ffe873;
    transform: translateX(-50%);
}

@keyframes homeGiftBounce {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    46% { transform: translateY(-10px) rotate(3deg); }
    55% { transform: translateY(-10px) rotate(3deg) scale(1.04); }
}

@keyframes homeBoothLight {
    from { opacity: 0.45; transform: scale(0.78); }
    to { opacity: 1; transform: scale(1.12); }
}

@keyframes homeBoothMember {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes homeBoothLook {
    0%, 35%, 100% { transform: rotate(-4deg); }
    48%, 82% { transform: rotate(8deg); }
}

@keyframes homeBoothArm {
    from { transform: rotate(-16deg); }
    to { transform: rotate(-5deg); }
}

@keyframes homeBoothTeddy {
    0%, 72%, 100% { transform: rotate(-3deg) translateY(0); }
    80% { transform: rotate(6deg) translateY(-5px); }
    89% { transform: rotate(-5deg) translateY(-2px); }
}

@keyframes homeBoothTicket {
    from { transform: rotate(4deg) translateY(0); }
    to { transform: rotate(-3deg) translateY(-5px); }
}

@keyframes homeBoothPresent {
    0%, 80%, 100% { transform: translateY(0) rotate(0); }
    86% { transform: translateY(-5px) rotate(-5deg); }
    92% { transform: translateY(-3px) rotate(5deg); }
}

.home-values-flow {
    display: grid;
    gap: 0;
    margin-top: 24px;
}

.home-value-lane {
    display: grid;
    grid-template-columns: 72px minmax(190px, 0.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 82px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
    background:
        linear-gradient(90deg, rgba(31,241,255,0.08), transparent 42%),
        rgba(255,255,255,0.012);
    transition: 0.22s;
}

.home-value-lane:nth-child(even) {
    background:
        linear-gradient(90deg, rgba(192,108,255,0.08), transparent 42%),
        rgba(255,255,255,0.01);
}

.home-value-lane:hover {
    padding-left: 26px;
    background:
        linear-gradient(90deg, rgba(53,255,138,0.14), rgba(31,241,255,0.05), transparent 58%),
        rgba(255,255,255,0.018);
}

.home-value-lane span {
    color: var(--glow-accent);
    font-size: 24px;
    font-weight: 950;
}

.home-value-lane h3 {
    margin: 0;
    color: var(--green);
    font-size: 21px;
}

.home-value-lane p {
    margin: 0;
    color: #aeb7ca;
    line-height: 1.45;
}

@keyframes homeFlowDrift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 220px 0, 0 0;
    }
}

@keyframes homeScanWave {
    0%, 100% {
        transform: translateX(-4%) skewX(-10deg);
        opacity: 0.35;
    }
    50% {
        transform: translateX(8%) skewX(-10deg);
        opacity: 0.72;
    }
}

@keyframes homePulseSlide {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-8px);
    }
}

@media (max-width: 900px) {
    .home-flow-stage,
    .home-flow-ribbon,
    .home-flow-stream,
    .home-gift-flow {
        grid-template-columns: 1fr;
    }

    .home-flow-pulse {
        justify-self: stretch;
        width: 100%;
    }

    .home-prize-booth {
        min-height: 226px;
    }

    .home-value-lane {
        grid-template-columns: 52px 1fr;
    }

    .home-value-lane p {
        grid-column: 2;
    }
}

@media (max-width: 600px) {
    .home-flow-stage {
        min-height: auto;
        padding: 30px 18px 24px;
    }

    .home-flow-intro h1 {
        font-size: 38px;
    }

    .home-flow-links a {
        width: 100%;
    }

    .home-newsstream {
        border-left: 0;
    }

    .home-newsstream .home-ticker-item {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    .home-newsstream .home-ticker-item::before {
        display: none;
    }

    .home-gift-flow {
        grid-template-columns: 86px 1fr;
        gap: 14px;
    }

    .home-gift-flow .home-gift-motion {
        width: 78px;
        height: 78px;
    }

    .home-gift-flow .home-gift-icon {
        width: 72px;
        height: 72px;
    }

    .home-gift-flow .home-gift-icon::before,
    .home-gift-flow .home-gift-icon::after {
        top: -20px;
        width: 31px;
        height: 23px;
        border-width: 6px;
    }

    .home-booth-tags span:nth-child(n+4) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-gift-flow .home-gift-icon,
    .home-booth-lights i,
    .home-booth-member,
    .home-booth-head,
    .home-booth-arm,
    .home-booth-teddy,
    .home-booth-ticket,
    .home-booth-present {
        animation: none;
    }
}

