@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/_Pages/HomePage.razor.rz.scp.css */
/* ── Keyframes ─────────────────────────────────────── */

@keyframes reveal-up-b-soldyxuaxq {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes text-glow-b-soldyxuaxq {
    0%,  100% { text-shadow: 0 0 30px rgba(249,115,22,0.55), 0 0 70px rgba(249,115,22,0.25); }
    50%        { text-shadow: 0 0 55px rgba(249,115,22,0.9),  0 0 110px rgba(249,115,22,0.45), 0 0 180px rgba(249,115,22,0.15); }
}

@keyframes glow-breathe-b-soldyxuaxq {
    0%,  100% { opacity: 0.15; transform: scale(1);   }
    50%        { opacity: 0.28; transform: scale(1.12); }
}

@keyframes grid-scroll-b-soldyxuaxq {
    from { background-position: center 0;    }
    to   { background-position: center 70px; }
}

@keyframes float-a-b-soldyxuaxq {
    0%,  100% { transform: translate(0,   0  ) scale(1  ); opacity: 0.40; }
    50%        { transform: translate(20px,-32px) scale(1.25); opacity: 0.70; }
}

@keyframes float-b-b-soldyxuaxq {
    0%,  100% { transform: translate(0,  0  ) scale(1  ); opacity: 0.28; }
    50%        { transform: translate(-16px, 28px) scale(0.80); opacity: 0.60; }
}

@keyframes float-c-b-soldyxuaxq {
    0%,  100% { transform: translate(0,  0  ) scale(1  ); opacity: 0.45; }
    33%        { transform: translate(26px, 14px) scale(1.30); opacity: 0.20; }
    66%        { transform: translate(-12px,-22px) scale(0.90); opacity: 0.68; }
}

/* ── Grain overlay ──────────────────────────────────── */

.grain-overlay[b-soldyxuaxq] {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ── Hero glow blob ─────────────────────────────────── */

.glow-blob[b-soldyxuaxq] {
    animation: glow-breathe-b-soldyxuaxq 4.5s ease-in-out infinite;
}

/* ── Hero perspective grid ──────────────────────────── */

.hero-grid[b-soldyxuaxq] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    overflow: hidden;
    pointer-events: none;
}

.hero-grid[b-soldyxuaxq]::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%) perspective(280px) rotateX(74deg);
    width: 230%;
    height: 320%;
    background-image:
        linear-gradient(to right, rgba(249,115,22,0.13) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(249,115,22,0.08) 1px, transparent 1px);
    background-size: 70px 70px;
    animation: grid-scroll-b-soldyxuaxq 7s linear infinite;
}

/* ── Reveal animations ──────────────────────────────── */

.reveal[b-soldyxuaxq] {
    opacity: 0;
    animation: reveal-up-b-soldyxuaxq 0.7s ease forwards;
}

.d1[b-soldyxuaxq] { animation-delay: 0.05s; }
.d2[b-soldyxuaxq] { animation-delay: 0.18s; }
.d3[b-soldyxuaxq] { animation-delay: 0.33s; }
.d4[b-soldyxuaxq] { animation-delay: 0.50s; }
.d5[b-soldyxuaxq] { animation-delay: 0.65s; }
.d6[b-soldyxuaxq] { animation-delay: 0.80s; }

/* ── Hero heading frame ─────────────────────────────── */

.hero-heading-frame[b-soldyxuaxq] {
    border-radius: 20px;
    padding: 28px 36px;
    background: linear-gradient(
        160deg,
        rgba(249, 115, 22, 0.07) 0%,
        rgba(249, 115, 22, 0.02) 50%,
        transparent 100%
    );
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.22),
        0 0 60px rgba(249, 115, 22, 0.08),
        0 16px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(249, 115, 22, 0.18),
        inset 0 -1px 0 rgba(249, 115, 22, 0.06);
}

/* ── Hero display text ──────────────────────────────── */

.hero-text-glow[b-soldyxuaxq] {
    animation: text-glow-b-soldyxuaxq 3.2s ease-in-out infinite;
}

/* ── RPMUnity logo box glow ─────────────────────────── */

@keyframes logo-glow-b-soldyxuaxq {
    0%,  100% { box-shadow: 0 0 0 1.5px rgba(249,115,22,0.32), 0 8px 48px rgba(249,115,22,0.28), 0 0 100px rgba(249,115,22,0.12), inset 0 1px 0 rgba(255,255,255,0.07); }
    50%        { box-shadow: 0 0 0 1.5px rgba(249,115,22,0.55), 0 8px 70px rgba(249,115,22,0.50), 0 0 160px rgba(249,115,22,0.22), inset 0 1px 0 rgba(255,255,255,0.10); }
}

.logo-box-glow[b-soldyxuaxq] {
    animation: logo-glow-b-soldyxuaxq 3.2s ease-in-out infinite;
}

/* ── Floating particles ─────────────────────────────── */

.particle[b-soldyxuaxq] {
    position: absolute;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.55);
    pointer-events: none;
}

.p1[b-soldyxuaxq]  { width: 4px;  height: 4px;  top: 14%; left: 7%;   animation: float-a-b-soldyxuaxq 7.0s ease-in-out infinite; }
.p2[b-soldyxuaxq]  { width: 6px;  height: 6px;  top: 33%; left: 14%;  animation: float-b-b-soldyxuaxq 9.0s ease-in-out infinite; animation-delay: 1.0s; }
.p3[b-soldyxuaxq]  { width: 3px;  height: 3px;  top: 58%; left: 4%;   animation: float-c-b-soldyxuaxq 11.0s ease-in-out infinite; }
.p4[b-soldyxuaxq]  { width: 5px;  height: 5px;  top: 22%; right: 9%;  animation: float-b-b-soldyxuaxq 8.0s ease-in-out infinite; animation-delay: 0.5s; }
.p5[b-soldyxuaxq]  { width: 4px;  height: 4px;  top: 44%; right: 17%; animation: float-a-b-soldyxuaxq 10.0s ease-in-out infinite; animation-delay: 2.0s; }
.p6[b-soldyxuaxq]  { width: 7px;  height: 7px;  top: 72%; right: 7%;  animation: float-c-b-soldyxuaxq 6.5s ease-in-out infinite; animation-delay: 1.5s; }
.p7[b-soldyxuaxq]  { width: 3px;  height: 3px;  top: 82%; left: 24%;  animation: float-a-b-soldyxuaxq 12.0s ease-in-out infinite; animation-delay: 3.0s; }
.p8[b-soldyxuaxq]  { width: 5px;  height: 5px;  top: 11%; left: 38%;  animation: float-b-b-soldyxuaxq 7.5s ease-in-out infinite; animation-delay: 0.8s; }
.p9[b-soldyxuaxq]  { width: 4px;  height: 4px;  top: 53%; right: 31%; animation: float-c-b-soldyxuaxq 9.5s ease-in-out infinite; animation-delay: 1.2s; }
.p10[b-soldyxuaxq] { width: 6px;  height: 6px;  top: 28%; right: 42%; animation: float-a-b-soldyxuaxq 8.5s ease-in-out infinite; animation-delay: 2.5s; }

/* ── Tilt cards ─────────────────────────────────────── */

.tilt-card[b-soldyxuaxq] {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    transform-style: preserve-3d;
}

.card-shine[b-soldyxuaxq] {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 0;
}

/* ── Scroll reveal ──────────────────────────────────── */

[data-sr][b-soldyxuaxq] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-sr].sr-visible[b-soldyxuaxq] {
    opacity: 1;
    transform: translateY(0);
}

/* ── Pain cards (stagger via inline transition-delay) ── */

.pain-card[b-soldyxuaxq] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-sr].sr-visible .pain-card[b-soldyxuaxq] {
    opacity: 1;
    transform: translateY(0);
}

/* ── Phone mockup ────────────────────────────────────── */

.phone-wrap[b-soldyxuaxq] {
    position: relative;
    display: inline-block;
}

.phone-frame[b-soldyxuaxq] {
    width: 268px;
    background: #18181b;
    border-radius: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.09);
    padding: 10px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 50px 100px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

.phone-screen[b-soldyxuaxq] {
    background: #09090b;
    border-radius: 32px;
    overflow: hidden;
    padding: 14px;
}

.phone-status[b-soldyxuaxq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
    padding: 0 2px;
}

.phone-app-header[b-soldyxuaxq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
}

.mock-event[b-soldyxuaxq] {
    background: #27272a;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.mock-badge[b-soldyxuaxq] {
    display: inline-flex;
    align-items: center;
    background: rgba(249, 115, 22, 0.15);
    color: rgb(249, 115, 22);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 6px;
}

.mock-badge.car[b-soldyxuaxq] {
    background: rgba(59, 130, 246, 0.15);
    color: rgb(96, 165, 250);
}

.mock-spots-row[b-soldyxuaxq] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.mock-dot[b-soldyxuaxq] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.mock-dot.filled[b-soldyxuaxq] {
    background: rgb(249, 115, 22);
    border-color: rgb(249, 115, 22);
}

.mock-karma-row[b-soldyxuaxq] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 12px;
}

.mock-join[b-soldyxuaxq] {
    background: rgb(249, 115, 22);
    color: #09090b;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mock-second-card[b-soldyxuaxq] {
    background: #1c1c1f;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.7;
    overflow: hidden;
}

/* ── Filter chips ────────────────────────────────────── */

.mock-chips-row[b-soldyxuaxq] {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mock-chip[b-soldyxuaxq] {
    display: inline-flex;
    align-items: center;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: rgb(251, 146, 60);
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Event card (redesigned) ─────────────────────────── */

.mock-event-card[b-soldyxuaxq] {
    background: linear-gradient(to bottom, #27272a, #18181b);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    margin-bottom: 8px;
}

.mock-cover-gradient[b-soldyxuaxq] {
    position: relative;
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #3f3f46 0%, #27272a 100%);
    overflow: hidden;
}

.mock-cover-glow[b-soldyxuaxq] {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.35);
    filter: blur(18px);
    pointer-events: none;
}

.mock-cover-car[b-soldyxuaxq] {
    position: relative;
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #1d3557 0%, #1c1c1f 100%);
    overflow: hidden;
}

.mock-cover-car[b-soldyxuaxq]::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.35);
    filter: blur(18px);
}

.mock-card-body[b-soldyxuaxq] {
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mock-title-row[b-soldyxuaxq] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5px;
}

.mock-card-title[b-soldyxuaxq] {
    color: white;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
}

.mock-location[b-soldyxuaxq] {
    color: #a1a1aa;
    font-size: 8.5px;
}

.mock-stats-row[b-soldyxuaxq] {
    display: flex;
    gap: 3px;
}

.mock-stat-pill[b-soldyxuaxq] {
    background: rgba(63, 63, 70, 0.7);
    border-radius: 6px;
    padding: 2px 6px;
    color: #d4d4d8;
    font-size: 8px;
    font-weight: 600;
}

.mock-divider[b-soldyxuaxq] {
    height: 1px;
    background: rgba(63, 63, 70, 0.6);
    margin: 1px 0;
}

.mock-bottom-row[b-soldyxuaxq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.mock-organiser[b-soldyxuaxq] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: #a1a1aa;
    font-size: 8.5px;
}

.mock-avatar[b-soldyxuaxq] {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #52525b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.mock-karma[b-soldyxuaxq] {
    color: rgb(251, 146, 60);
    font-weight: 700;
    white-space: nowrap;
}

.phone-glow[b-soldyxuaxq] {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
    height: 55px;
    background: rgba(249, 115, 22, 0.28);
    border-radius: 50%;
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}
/* /Components/_Pages/SupportPage.razor.rz.scp.css */
@keyframes bar-shimmer-b-i7dkc5b42i {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center;  }
}

.progress-bar-fill[b-i7dkc5b42i] {
    background-size: 200% auto;
    background-image: linear-gradient(90deg, #ea580c, #f97316, #fb923c, #f97316, #ea580c);
    animation: bar-shimmer-b-i7dkc5b42i 2.5s linear infinite;
    animation-play-state: paused;
}

/* Start shimmer once the bar has animated to its target width */
.progress-bar-fill[style*="transition"][b-i7dkc5b42i] {
    animation-play-state: running;
}
