/* =========================================================
 * HOME PAGE ONLY STYLES
 * ========================================================= */

/* =========================================
 * GLOBAL ENERGY LAYER (SpitfireTN vibe)
 * ========================================= */
body.home-page {
    background:
    radial-gradient(circle at 20% 0%, rgba(255, 120, 0, 0.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 80, 0, 0.10), transparent 45%),
    #0b0e13;
}

@keyframes firePulse {
    0%, 100% {
        opacity: 0.35;
    }
    50% {
        opacity: 0.60;
    }
}

/* ==============================
 * HERO POLISH
 * ============================== */
.hero.full-hero {
    position: relative;
    overflow: hidden;
}

.hero.full-hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(255, 120, 0, 0.18), transparent 60%);
    animation: firePulse 6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.hero.full-hero .hero-inner {
    position: relative;
    z-index: 1;
}

/* ==============================
 * NEXT-LEVEL HERO PANEL
 * ============================== */
.home-hero-panel {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 24px;
    margin-top: 28px;
    margin-bottom: 26px;
    align-items: stretch;
}

.home-hero-copy,
.countdown-panel,
.home-intro-card,
.home-reg-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04),
                                rgba(255, 255, 255, 0.018)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.home-hero-copy {
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
}

.home-hero-copy::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 120, 0, 0.18), transparent 68%);
    pointer-events: none;
}

.home-hero-title {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    color: #fff;
}

.home-hero-location {
    margin: 0 0 14px;
    color: #ffb067;
    font-weight: 700;
    font-size: 1rem;
}

.home-hero-text {
    margin: 0;
    color: var(--text);
    line-height: 1.8;
    max-width: 62ch;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 176, 103, 0.20);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-cta {
    margin-top: 22px;
}

/* ==============================
 * COUNTDOWN PANEL
 * ============================== */
.countdown-panel {
    padding: 24px 22px;
    position: relative;
    overflow: hidden;
}

.countdown-panel::before {
    content: "";
    position: absolute;
    inset: auto auto -40px -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 160, 80, 0.18), transparent 70%);
    pointer-events: none;
}

.countdown-head {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.countdown-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffb067;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.countdown-head h3 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
}

.countdown-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.countdown-box {
    padding: 18px 14px;
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 176, 103, 0.16);
    box-shadow: inset 0 0 18px rgba(255, 160, 80, 0.05);
}

.countdown-box strong {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 160, 80, 0.35);
}

.countdown-box span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.countdown-note,
.countdown-empty p {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    color: #ffb067;
    line-height: 1.65;
}

/* ==============================
 * AVAILABILITY / COUNTERS
 * ============================== */
.availability-strip {
    margin: 28px 0 18px;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.availability-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06),
                                rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 140, 0, 0.25);
    border-radius: 18px;
    padding: 20px 18px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.availability-card:hover {
    transform: translateY(-3px);
    box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(255, 120, 0, 0.25);
}

.availability-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: #fff;
}

.availability-count {
    margin: 0 0 12px;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffb347;
    text-shadow: 0 0 12px rgba(255, 160, 80, 0.5);
}

.availability-subtext {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ==============================
 * REGISTRATION INTRO / CARDS
 * ============================== */
.home-intro-card {
    margin-top: 26px;
    padding: 24px;
}

.home-registration-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.home-reg-card {
    padding: 22px 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-reg-card:hover {
    transform: translateY(-3px);
    box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 16px rgba(255, 120, 0, 0.18);
}

.home-reg-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 14px;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, #ff7b00, #ff3c00);
    box-shadow: 0 10px 20px rgba(255, 80, 0, 0.26);
}

.home-reg-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.12rem;
}

.home-reg-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.75;
}

/* ==============================
 * SHOW DETAILS / INFO STRIP
 * ============================== */
.info-strip {
    position: relative;
    margin-top: 24px;
    background: linear-gradient(
        180deg,
        rgba(255, 160, 80, 0.14),
                                rgba(255, 160, 80, 0.05)
    );
    border: 1px solid rgba(255, 160, 80, 0.28);
    border-radius: 24px;
    padding: 28px 26px;
    box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    0 0 20px rgba(255, 140, 0, 0.08);
    overflow: hidden;
}

.info-strip::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.16), transparent 68%);
    pointer-events: none;
}

.info-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 48px rgba(255, 160, 80, 0.08);
    border-radius: 24px;
}

.better-show-details {
    overflow: hidden;
}

.details-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 24px;
}

.section-label {
    display: inline-block;
    margin: 0 0 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 176, 103, 0.12);
    border: 1px solid rgba(255, 176, 103, 0.22);
    color: #ffb067;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.08);
}

.info-strip h1 {
    font-size: 1.7rem;
    margin: 0 0 8px;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.info-strip h2 {
    font-size: 1.28rem;
    color: #ffb067;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.14);
}

.info-strip p {
    margin-bottom: 10px;
    line-height: 1.75;
}

.info-strip p:last-child {
    margin-bottom: 0;
}

.details-meta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.meta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 190px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.07),
                                rgba(255, 255, 255, 0.025)
    );
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 18px rgba(255, 140, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    overflow: hidden;
}

.meta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 20px;
    box-shadow: inset 0 0 26px rgba(255, 160, 80, 0.04);
}

.meta-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 176, 103, 0.26);
    box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(255, 140, 0, 0.14);
}

.meta-card > span {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #ffb067;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meta-card > span::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.24), rgba(255, 60, 0, 0.14));
    border: 1px solid rgba(255, 176, 103, 0.20);
    color: #fff4e8;
    font-family: "Bootstrap Icons";
    font-size: 1rem;
    box-shadow:
    0 8px 18px rgba(255, 90, 0, 0.16),
    0 0 14px rgba(255, 140, 0, 0.12);
    flex-shrink: 0;
}

.meta-card:nth-child(1) > span::before {
    content: "\f1ee"; /* bi-calendar-event */
}

.meta-card:nth-child(2) > span::before {
    content: "\f3e8"; /* bi-geo-alt-fill */
}

.meta-card:nth-child(3) > span::before {
    content: "\f5ee"; /* bi-shop-window */
}

.meta-card:nth-child(4) > span::before {
    content: "\f8b6"; /* bi-truck */
}

.meta-card strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 700;
    word-break: break-word;
}

.meta-card.highlight {
    background: linear-gradient(
        180deg,
        rgba(255, 190, 120, 0.24),
                                rgba(255, 190, 120, 0.10)
    );
    border: 1px solid rgba(255, 176, 103, 0.24);
    box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    0 0 20px rgba(255, 160, 80, 0.22);
}

.meta-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    max-height: 142px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 176, 103, 0.45) rgba(255, 255, 255, 0.04);
}

.meta-list::-webkit-scrollbar {
    width: 8px;
}

.meta-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.meta-list::-webkit-scrollbar-thumb {
    background: rgba(255, 176, 103, 0.38);
    border-radius: 999px;
}

.meta-list li {
    position: relative;
    padding: 8px 0 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.45;
}

.meta-list li:last-child {
    border-bottom: none;
}

.meta-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff9b42;
    box-shadow: 0 0 8px rgba(255, 155, 66, 0.55);
}

.details-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.details-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.040),
                                rgba(255, 255, 255, 0.018)
    );
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.details-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 176, 103, 0.22);
    box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(255, 140, 0, 0.16);
}

.details-card h3 {
    margin: 0 0 14px;
    color: #ffb067;
    font-size: 1.10rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.18);
}

.details-card h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 8px;
    background: linear-gradient(90deg, #ff7b00, #ffb067);
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.18);
}

.details-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.8;
}

.details-cause {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    border-radius: 20px;
    padding: 24px 22px;
    background: linear-gradient(
        180deg,
        rgba(255, 176, 103, 0.16),
                                rgba(255, 176, 103, 0.06)
    );
    border: 1px solid rgba(255, 176, 103, 0.22);
    box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(255, 160, 80, 0.12);
    text-align: center;
}

.details-cause h3 {
    margin: 0 0 14px;
    color: #ffb067;
    font-size: 1.16rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.18);
}

.details-cause h3::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #ff7b00, #ffb067);
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.18);
}

.details-cause p {
    margin: 0;
    color: var(--text);
    line-height: 1.85;
}

/* ==============================
 * PARTNERS SECTION
 * ============================== */
.partners {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.partner-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    align-items: center;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.025),
                                rgba(255, 255, 255, 0.012)
    );
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.24),
    0 0 20px rgba(255, 140, 0, 0.18);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 8px;
}

.partner-logo img {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 160px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.25));
}

.partner-copy {
    min-width: 0;
}

.partner-copy h3 {
    margin-bottom: 8px;
    color: #fff;
}

.partner-copy p {
    color: var(--muted);
    margin-bottom: 0;
}

.partner-label {
    margin-bottom: 8px;
    color: #ffb067;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==============================
 * CTA / BUTTON GROUP
 * ============================== */
.home-cta {
    margin-top: 26px;
}

.home-cta .button-grid {
    justify-content: center;
}

.home-cta .action-btn {
    background: linear-gradient(135deg, #ff7b00, #ff3c00);
    border: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(255, 80, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-cta .action-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
    0 14px 30px rgba(255, 80, 0, 0.45),
    0 0 14px rgba(255, 120, 0, 0.35);
}

/* ==============================
 * RESPONSIVE
 * ============================== */
@media (max-width: 980px) {
    .home-hero-panel {
        grid-template-columns: 1fr;
    }

    .home-registration-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .partners {
        grid-template-columns: 1fr;
    }

    .partner-card {
        grid-template-columns: 160px 1fr;
    }

    .details-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .availability-grid {
        grid-template-columns: 1fr;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partner-logo {
        min-height: auto;
        padding: 6px 0 10px;
    }

    .partner-logo img {
        max-width: 140px;
        max-height: 140px;
    }

    .home-cta .button-grid {
        flex-direction: column;
    }

    .info-strip {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .details-meta {
        grid-template-columns: 1fr;
    }

    .meta-card,
    .details-card,
    .details-cause,
    .home-hero-copy,
    .countdown-panel,
    .home-intro-card,
    .home-reg-card {
        border-radius: 16px;
    }

    .meta-card {
        min-height: auto;
    }

    .details-card,
    .details-cause,
    .home-hero-copy,
    .countdown-panel,
    .home-intro-card {
        padding: 18px 16px;
    }

    .info-strip h1 {
        font-size: 1.35rem;
    }

    .info-strip h2 {
        font-size: 1.08rem;
    }

    .hero-badge {
        width: 100%;
        justify-content: center;
    }

    .meta-list {
        max-height: 180px;
    }
}
