/* =========================================================
   CLUBNRUGBY TICKETS - VIBRANT STADIUM DESIGN SYSTEM (2026)
   High-Energy, Broadcast-Style Aesthetic for Rugby Fans
   ========================================================= */

:root {
    --bg-stadium: #080c14;
    --bg-surface: rgba(17, 24, 39, 0.75);
    --bg-card: rgba(18, 26, 42, 0.82);
    --border-subtle: rgba(255, 255, 255, 0.09);
    --border-gold: rgba(245, 158, 11, 0.3);
    --accent-gold: #f59e0b;
    --accent-gold-bright: #fbbf24;
    --accent-gold-glow: rgba(245, 158, 11, 0.35);
    --accent-green: #10b981;
    --accent-green-glow: rgba(16, 185, 129, 0.3);
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --glass-blur: blur(14px);
    --glass-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.45);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Typography & Base Reset */
body {
    font-family: var(--font-body) !important;
    background-color: var(--bg-stadium) !important;
    color: var(--text-primary) !important;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(245, 158, 11, 0.07) 0%, transparent 45%),
        linear-gradient(rgba(8, 12, 20, 0.92), rgba(8, 12, 20, 0.92)),
        url('/static/images/stadium_bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .site-name, .section-title {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.02em;
    font-weight: 800;
}

/* ── Header & Floating Liquid Glass Navigation Dock (2026 Trend 2) ── */
header {
    position: sticky !important;
    top: 12px !important;
    z-index: 1000 !important;
    max-width: 1240px !important;
    margin: 12px auto 20px auto !important;
    width: calc(100% - 28px) !important;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.22) !important;
    border-radius: 9999px !important;
    padding: 8px 24px !important;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.site-name {
    color: var(--text-primary) !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-name span {
    color: var(--accent-gold-bright) !important;
}

nav.navbar-center a {
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 7px 16px !important;
    border-radius: 9999px !important;
    transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1) !important;
    border: 1px solid transparent;
}

nav.navbar-center a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

nav.navbar-center a.btn-dock-cta {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
    color: #0b1220 !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 4px 14px var(--accent-gold-glow) !important;
}

nav.navbar-center a.btn-dock-cta:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
    color: #000000 !important;
}

/* Modern Animated Buttons */
.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 14px 30px !important;
    font-size: 1rem !important;
    letter-spacing: 0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 20px var(--accent-gold-glow) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5) !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #000 !important;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.07) !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 9999px !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    backdrop-filter: var(--glass-blur) !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    text-decoration: none;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Electric Hero Section */
.hero-vibrant {
    position: relative;
    padding: 70px 20px 50px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-vibrant-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.live-ticker-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #6ee7b7;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.9; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); opacity: 0.9; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title-vibrant {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-vibrant {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Value Proof Strip */
.value-proof-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 32px auto 0 auto;
}

.value-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.value-pill strong {
    color: var(--text-primary);
}

/* Broadcast Match Cards */
.matches-grid-vibrant {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.match-card-vibrant {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.match-card-vibrant:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px var(--accent-gold-glow);
}

.match-card-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.match-card-vibrant:hover::before {
    opacity: 1;
}

.match-header-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.match-status-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    padding: 3px 10px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.showdown-arena {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.showdown-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.crest-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.match-card-vibrant:hover .crest-circle {
    transform: scale(1.08);
}

.crest-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.vs-emblem {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--accent-gold-bright);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.match-details-strip {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.match-details-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-details-item span {
    color: var(--text-primary);
}

/* Modern Empty State */
.empty-fixtures-card {
    background: var(--bg-card);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    max-width: 650px;
    margin: 20px auto;
    backdrop-filter: var(--glass-blur);
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: inline-block;
}

/* Merch Showcase Grid */
.merch-grid-vibrant {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.merch-card-vibrant {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.merch-card-vibrant:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: var(--glass-shadow), 0 0 20px var(--accent-gold-glow);
}

.merch-img-box {
    height: 220px;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.merch-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.merch-card-vibrant:hover .merch-img-box img {
    transform: scale(1.06);
}

.merch-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.merch-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.merch-price-tag {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-gold-bright);
    margin-bottom: 16px;
}

/* 2027 Club Onboarding Features Grid */
.club-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.club-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 30px 24px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    transition: all 0.35s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.club-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-gold-glow);
}

.feature-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    box-shadow: 0 0 16px var(--accent-gold-glow);
}

.club-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.club-feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Case Study Spotlight Card */
.case-study-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(18, 26, 42, 0.9) 60%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 24px;
    padding: 40px 32px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    margin: 40px auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #f59e0b);
}

.case-study-stats-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.case-stat-box {
    flex: 1 1 160px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.case-stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-gold-bright);
    line-height: 1.1;
}

.case-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
    font-weight: 600;
}

/* PayFast Trust Showcase & Verification Badge */
.payfast-hero-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 14px;
}

.payfast-trust-showcase {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(18, 26, 42, 0.9) 50%, rgba(245, 158, 11, 0.06) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 22px;
    padding: 30px 28px;
    margin: 40px auto 30px auto;
    max-width: 960px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.payfast-logo-pill {
    background: #ffffff;
    padding: 10px 24px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.payfast-logo-pill img {
    height: 32px;
    width: auto;
    display: block;
}

.payfast-details {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.payfast-badge-tag {
    color: #f87171;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.payfast-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.payfast-slogan {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.payfast-methods-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.payfast-method-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}


