/* 
  Fundraising Web App Template
  Dynamic Theme Configuration: Primary & Accent colors driven by config.js
*/

:root {
    /* Theme Colors - Driven by Config */
    --color-primary: #0d1f3c; 
    --color-accent: #c8a84b;
    --color-bg-dark: #faf7f0; 
    --color-bg-inner: #ffffff; 
    --color-accent-muted: rgba(200, 168, 75, 0.4);
    --color-text-light: #1a2a42;
    --color-text-muted: #556a8a;
    
    /* System Tokens */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.6;
}

h1, h2, h3, h4, .hollywood-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-padding {
    padding: 100px 0;
}

.alternate-bg {
    background-color: #162d55; /* Secondary Navy */
    color: #fff;
}

.alternate-bg .section-title,
.alternate-bg .section-desc {
    color: #fff;
}

.center {
    text-align: center;
}

.highlight {
    color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    gap: 10px;
}

.btn-gold {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 5px 15px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.5);
    background: #e5af1e;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

#installApp {
    margin-right: 12px;
}

#installApp span {
    margin-left: 5px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* --- Header --- */
.main-header {
    background: rgba(13, 31, 60, 0.95); /* Brand Navy */
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--color-accent);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0; /* Allow shrinking */
    flex: 1;
}

.club-logo {
    height: 55px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Allow shrinking */
    overflow: hidden;
}

.club-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.campaign-title {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-pill {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    padding: 2px 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-pill i {
    width: 10px;
    height: 10px;
    color: var(--color-accent);
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.desktop-nav a:hover {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero --- */
.hero {
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(22, 45, 85, 0.4) 0%, rgba(13, 31, 60, 0.95) 100%);
    z-index: 2;
}

/* --- Premiere Spotlights --- */
.hero-spotlights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1; /* Behind Overlay but above BG */
}

.spotlight {
    position: absolute;
    bottom: -10%;
    left: 50%;
    width: 30vw; /* Wider Beams */
    height: 180%;
    background: linear-gradient(to top, 
        rgba(212, 160, 23, 0.6) 0%, 
        rgba(255, 255, 255, 0.4) 40%, 
        transparent 100%);
    transform-origin: bottom center;
    filter: blur(20px); /* Sharper focus */
    opacity: 0.8; /* Higher overall opacity */
}

.spotlight-1 {
    animation: sweep 8s infinite alternate ease-in-out;
    margin-left: -25%;
}

.spotlight-2 {
    animation: sweep 12s infinite alternate-reverse ease-in-out;
    animation-delay: -2s;
    margin-left: 0;
}

.spotlight-3 {
    animation: sweep 10s infinite alternate ease-in-out;
    animation-delay: -5s;
    margin-left: 25%;
}

@keyframes sweep {
    from { transform: rotate(-40deg); }
    to { transform: rotate(40deg); }
}

@media (max-width: 768px) {
    .spotlight {
        width: 10vw;
        filter: blur(30px);
    }
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    background: var(--color-accent);
    color: #fff;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #fff;
    opacity: 0.95;
    margin-bottom: 45px;
}

.hero-ctas {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-trust span i {
    color: var(--color-accent);
}

/* --- Stats / Leadboard --- */
.stats-section {
    background: var(--color-primary);
    color: #fff;
}

.huge-total-wrap {
    text-align: center;
    margin-bottom: 80px;
}

.huge-total-label {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.huge-total-value {
    font-size: 8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    text-shadow: 0 0 40px rgba(212, 160, 23, 0.8), 0 0 80px rgba(212, 160, 23, 0.4);
    letter-spacing: -2px;
}

.timeline-container {
    max-width: 1100px;
    margin: 0 auto 100px;
    position: relative;
    padding: 60px 40px; /* Added side padding to prevent milestone overflow */
}

.timeline-bar-bg {
    height: 24px;
    background: rgba(255,255,255,0.08);
    border-radius: 30px;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.4);
}

.timeline-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4A017, #f3c246);
    border-radius: 20px;
    width: 0%;
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.7);
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-milestone {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.milestone-star {
    color: rgba(255,255,255,0.25);
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.timeline-milestone.active .milestone-star {
    color: var(--color-accent);
    filter: drop-shadow(0 0 12px #D4A017);
    transform: scale(1.6);
}

.milestone-label {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--color-accent);
    position: absolute;
    top: -55px; /* Default Top */
    white-space: nowrap;
    text-align: center;
}

.timeline-milestone:nth-child(even) .milestone-label {
    top: auto;
    bottom: -55px; /* Alternating Bottom */
}

.milestone-value {
    font-size: 0.85rem;
    color: #fff;
    position: absolute;
    top: -30px; /* Below the label if label is top */
    white-space: nowrap;
    font-weight: 800;
}

.timeline-milestone:nth-child(even) .milestone-value {
    top: auto;
    bottom: -30px; /* Above the label if label is bottom */
}

.timeline-milestone.active .milestone-value {
    color: var(--color-accent);
}

.currently-filming-box {
    background: rgba(30, 91, 173, 0.2);
    border: 2px solid rgba(212, 160, 23, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(10px);
}

.filming-label {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: var(--color-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.next-stage-msg {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
}

/* --- RESTORED PRODUCTION GRID --- */
/* Search & CTAs */
.search-cta-container {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    background: rgba(13, 31, 60, 0.05); /* Navy overlay */
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(13, 31, 60, 0.1);
    backdrop-filter: blur(10px);
}

.signup-cta {
    margin-bottom: 25px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(212, 160, 23, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

#productionSearch {
    width: 100%;
    background: rgba(10, 26, 51, 0.4);
    border: 2px solid rgba(212, 160, 23, 0.2);
    border-radius: 50px;
    padding: 15px 15px 15px 55px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
}

#productionSearch:focus {
    border-color: var(--color-accent);
    background: rgba(10, 26, 51, 0.6);
    outline: none;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.15);
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.production-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 2/3;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.production-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--color-accent);
    box-shadow: 0 25px 60px rgba(212, 160, 23, 0.2);
}

.poster-area {
    width: 100%;
    height: 100%;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.production-card:hover .poster-img {
    transform: scale(1.05);
}

.poster-overlay-hint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 51, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.production-card:hover .poster-overlay-hint {
    opacity: 1;
}

.poster-overlay-hint .btn {
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.production-card:hover .poster-overlay-hint .btn {
    transform: translateY(0);
}

/* --- PRODUCTIONS HEADER BANNER --- */
.production-header-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: linear-gradient(to bottom, rgba(10,26,51,0.9) 0%, rgba(10,26,51,0.7) 100%);
    backdrop-filter: blur(8px);
    z-index: 20;
    border-bottom: 1px solid rgba(212, 160, 23, 0.3);
}

.production-rank-wrap {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: var(--color-accent);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.production-amount-wrap {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--color-accent);
    font-size: 1.25rem;
    text-shadow: 0 0 15px rgba(212, 160, 23, 0.4);
}


/* --- RESTORED FEED LAYOUT --- */
.feed-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    align-items: flex-start;
}

.feed-column {
    background: var(--color-primary); /* Use the solid brand Navy */
    border: 2px solid var(--color-accent); /* Gold border to match theme */
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 750px; /* Slightly taller */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); /* Stronger shadow to stand out */
    color: #fff;
    transition: var(--transition-smooth);
}

.feed-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(200, 168, 75, 0.2);
}

.feed-heading {
    font-size: 1.1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 160, 23, 0.2);
    text-align: center;
}

/* --- VISIBLE SCROLLBARS --- */
.feed-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 12px;
}

/* Custom Scrollbar Styling */
.feed-list::-webkit-scrollbar {
    width: 6px;
}

.feed-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.feed-list::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.2);
}

.feed-list::-webkit-scrollbar-thumb:hover {
    background: #e5af1e;
}

/* Item Styling */
.feed-item {
    background: rgba(255, 255, 255, 0.08); /* More visible */
    margin-bottom: 10px; 
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
    border-color: var(--color-accent);
}
    gap: 15px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.feed-item:hover {
    background: rgba(30,91,173,0.2);
    border-color: var(--color-accent-muted);
    transform: translateX(4px);
}

.feed-rank {
    font-weight: 900;
    color: var(--color-accent-muted);
    font-size: 1.2rem;
    min-width: 25px;
}

.feed-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.feed-item-content {
    flex: 1;
}

.feed-item-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.feed-item-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.feed-item-amount {
    color: var(--color-accent);
    font-weight: 900;
    font-size: 1.2rem;
}

.live-item {
    flex-direction: column;
    align-items: stretch !important;
    gap: 5px;
}

.live-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-msg {
    margin-top: 10px;
    padding: 10px;
    background: rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-sm);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-left: 3px solid var(--color-accent);
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(30, 91, 173, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: rgba(30, 91, 173, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(212, 160, 23, 0.3);
}

/* --- FOOTER --- */
.main-footer {
    padding: 80px 0 30px;
    background: #050d1a;
    border-top: 1px solid rgba(212, 160, 23, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    margin-top: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(200, 168, 75, 0.1); /* Subtle Gold pulse */
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* White icons for high contrast */
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.social-links a i, 
.social-links a svg {
    width: 24px;
    height: 24px;
    stroke: #fff; /* Explicit white stroke */
    stroke-width: 2.5px; /* Thicker for readability */
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.5);
}

.social-links a:hover i,
.social-links a:hover svg {
    stroke: var(--color-primary); /* Blue icon on gold BG on hover */
    transform: scale(1.1);
}


.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 5px 0;
}

.developer-credit {
    font-size: 0.75rem;
    margin-top: 10px !important;
}

.developer-credit a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.developer-credit a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--color-accent);
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-primary);
    color: #fff;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    position: relative;
    padding: 40px;
    overflow-y: auto;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.modal-poster-wrap {
    width: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.modal-poster-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.modal-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.modal-meta {
    flex: 1;
}

.modal-meta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.modal-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-stat-value {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 800;
}

/* Profiles & Fundraisers */
.profile-header {
    margin-bottom: 50px;
}

.profile-avatar-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-accent);
    box-shadow: 0 0 25px rgba(212, 164, 23, 0.4);
    flex-shrink: 0;
}

#profileAvatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 160, 23, 0.2);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    border: 1px solid var(--color-accent-muted);
}

/* --- Share Hub v2 --- */
.share-hub-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.share-hub-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
}

.share-hub-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.share-options-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-bounce);
}

.share-option-item:hover {
    transform: translateY(-5px);
}

.share-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.share-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.share-option-item:hover .share-icon-wrap {
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.share-icon-wrap.wa { background: #25D366; }
.share-icon-wrap.fb { background: #1877F2; }
.share-icon-wrap.link { background: var(--color-accent); color: #000; }
.share-icon-wrap.more { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.2); }

.share-option-item span {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.fundraiser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.fundraiser-card {
    background: transparent;
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    border-radius: var(--radius-md);
}

.fundraiser-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.fundraiser-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.3);
}

.fundraiser-name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.fundraiser-type {
    display: none; /* Hide type to match screenshot */
}

.fundraiser-amount {
    font-weight: 800;
    color: var(--color-accent);
    font-size: 1rem;
}

.fundraiser-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fundraiser-img-wrap {
    position: relative;
    width: 90px;
    height: 90px;
}

.fundraiser-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.fundraiser-type-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid var(--color-accent);
    white-space: nowrap;
}

.fundraiser-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.fundraiser-cta-hint {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.fundraiser-card:hover .fundraiser-cta-hint {
    opacity: 1;
}

.profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.profile-actions .btn {
    flex: 1;
    gap: 8px;
}

/* --- REVEAL ANIMATIONS --- */
.reveal, .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible, .reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 1100px) {
    .feed-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .feed-column:last-child {
        grid-column: span 2;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .huge-total-value { font-size: 3.5rem; }
    
    /* Center Hero Content on Mobile */
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-badge {
        margin: 0 auto 20px;
    }
    .hero-ctas {
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }
    .hero-trust {
        justify-content: center;
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .feed-grid {
        grid-template-columns: 1fr !important;
    }
    .feed-column {
        height: 450px;
        grid-column: span 1 !important;
        padding: 20px; /* Reduced from 30px */
    }

    .feed-column:last-child {
        order: -1; /* Place Live Feed at Top on Mobile */
        border-color: var(--color-accent);
    }

    .feed-heading {
        font-size: 0.9rem;
        margin-bottom: 15px;
        letter-spacing: 1.5px;
    }

    .feed-item {
        padding: 8px 12px;
        gap: 10px;
    }

    .feed-avatar {
        width: 38px;
        height: 38px;
    }

    .feed-rank {
        font-size: 1rem;
        min-width: 20px;
    }

    .feed-item-name {
        font-size: 0.85rem;
    }

    .feed-item-sub {
        font-size: 0.7rem;
    }

    .feed-item-amount {
        font-size: 1rem;
    }
    .desktop-nav, .hide-mobile {
        display: none;
    }
    #installApp span {
        display: none;
    }
    
    #installApp {
        padding: 8px;
        margin-right: 5px;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-left: 10px;
    }

    .menu-toggle {
        background: rgba(255, 255, 255, 0.1);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .section-padding {
        padding: 60px 0;
    }
    .production-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .production-title {
        font-size: 1.1rem;
    }

    .production-total-small {
        font-size: 1.4rem;
    }

    .production-rank-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
        top: 10px;
        right: 10px;
    }

    .production-info {
        padding: 15px 10px 10px;
    }

    .modal-content {
        padding: 25px 20px;
        width: 92%;
        margin: 10px;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .modal-poster-wrap {
        margin: 0 auto;
        width: 120px;
    }

    .modal-meta h2 {
        font-size: 1.6rem;
    }

    .modal-stat-value {
        font-size: 1.4rem;
    }

    .fundraiser-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .fundraiser-card {
        padding: 5px 2px;
    }

    .fundraiser-img {
        width: 70px;
        height: 70px;
    }

    .fundraiser-name {
        font-size: 0.8rem;
    }

    .fundraiser-amount {
        font-size: 0.85rem;
    }

    /* Target Fixes for 320px-430px */
    .timeline-container {
        padding-left: 50px;
        padding-right: 50px;
    }

    .brand-text {
        gap: 2px;
    }

    .club-name {
        font-size: 0.85rem;
    }

    .campaign-title {
        font-size: 0.65rem;
    }

    .header-actions {
        gap: 5px;
    }

    #installApp {
        margin-right: 4px;
        padding: 8px;
    }

    /* Alternating Timeline Labels */
    .timeline-milestone:nth-child(even) .milestone-label {
        top: 35px;
    }
    .timeline-milestone:nth-child(even) .milestone-value {
        bottom: 35px;
    }
    /* Adjusted for even cleaner look from user screenshot */
    .timeline-milestone .milestone-label {
        top: -30px;
    }
    .timeline-milestone .milestone-value {
        display: none; /* Often cleaner on mobile if label has info, but let's keep it visible in screenshot */
    }
    
    .timeline-milestone .milestone-value {
        position: static;
        display: block;
        margin-top: 5px;
        font-size: 0.6rem;
    }

    /* Redefining timeline structure to match screenshot */
    .milestone-label {
        position: absolute;
        top: -35px;
        font-size: 0.65rem;
    }
    
    .timeline-milestone:nth-child(even) .milestone-label {
        top: unset;
        bottom: -35px;
    }

    .timeline-milestone .milestone-value {
        display: none; /* Hide values on mobile to match screenshot simplicity */
    }

    /* Modal Close Button Refinement */
    .modal-close {
        top: 10px;
        right: 10px;
        background: rgba(10, 26, 51, 0.8);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        border: 1px solid var(--color-accent);
    }

    .profile-avatar-wrap {
        margin: 0 auto;
        width: 120px;
        height: 120px;
    }

    /* --- Mobile Menu & Nav --- */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--color-bg-dark);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 40px;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .close-menu {
        position: absolute;
        top: 25px;
        right: 25px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid var(--color-accent);
        color: #fff;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .mobile-nav .nav-item {
        font-family: 'Outfit', sans-serif;
        font-size: 1.8rem;
        font-weight: 800;
        color: #fff;
        text-decoration: none;
        transition: var(--transition-smooth);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-nav .nav-item:hover {
        color: var(--color-accent);
        transform: scale(1.1);
    }

    /* Footer Mobile Overrides */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        margin-bottom: 50px;
    }

    .footer-brand, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 25px;
    }
}

/* Ensure no overflow from containers */
@media (max-width: 400px) {
    .header-container {
        padding: 0 15px;
    }
    .logo-section {
        gap: 10px;
    }
    .club-logo {
        height: 45px;
    }
}

/* Floating Share Button Style */
.floating-share-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: #1E5BAD; /* Club Blue */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(212, 160, 23, 0.4);
    z-index: 1500;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: floating-pulse 3s infinite;
}

.floating-share-btn:hover {
    transform: scale(1.1) translateY(-5px);
    background: #e5af1e;
}

/* --- PWA Banner --- */
.pwa-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1600;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(15, 36, 68, 0.9);
    backdrop-filter: blur(20px);
    border-top: 2.5px solid var(--color-accent);
    padding: 25px 0;
    box-shadow: 0 -15px 50px rgba(0,0,0,0.6);
}

.pwa-banner.active {
    transform: translateY(0);
}

.pwa-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.pwa-close-btn {
    position: absolute;
    top: -15px;
    right: -10px;
    background: var(--color-bg-dark);
    border: 1.5px solid var(--color-accent);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.pwa-close-btn:hover {
    background: var(--color-accent);
    color: #fff;
    transform: rotate(90deg);
}

.pwa-close-btn i {
    width: 16px;
    height: 16px;
}

.pwa-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.pwa-logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
}

.pwa-text h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 4px;
}

.pwa-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    max-width: 500px;
}

.pwa-actions {
    flex-shrink: 0;
}

/* Adjust floating share button when banner is active */
body.pwa-banner-active .floating-share-btn {
    bottom: 140px;
}

@media (max-width: 768px) {
    .pwa-banner {
        padding: 30px 0;
    }
    
    .pwa-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .pwa-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .pwa-close-btn {
        top: -15px;
        right: 0;
    }
    
    .pwa-text h3 {
        font-size: 1.15rem;
    }

    .pwa-text p {
        font-size: 0.85rem;
        max-width: 280px;
        margin: 0 auto;
    }

    body.pwa-banner-active .floating-share-btn {
        bottom: 230px; /* Higher on mobile because banner stack vertically */
    }
}

@keyframes floating-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(212, 160, 23, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

@media (max-width: 768px) {
    .floating-share-btn {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
    }
}

/* Custom Share Toast */
.share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #0A1A33;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 9999;
    animation: toast-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes toast-in {
    from { opacity: 0; bottom: 0; }
    to { opacity: 1; bottom: 30px; }
}

/* News Alert / Donation Ticker Modal */
.news-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 51, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.news-alert-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.news-alert-modal {
    background: linear-gradient(135deg, var(--color-bg-inner) 0%, #0a1529 100%);
    width: 95%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 50px rgba(0,0,0,0.8), 0 0 20px rgba(212, 160, 23, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    position: relative;
}

.news-alert-overlay.active .news-alert-modal {
    transform: scale(1);
}

.news-alert-header {
    background: var(--color-accent);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breaking-news-badge {
    background: #E53E3E;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    animation: alert-blink 1.5s infinite;
}

@keyframes alert-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.news-alert-close {
    background: rgba(0,0,0,0.1);
    border: none;
    color: black;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.news-alert-close:hover {
    background: rgba(0,0,0,0.3);
    transform: rotate(90deg);
}

.news-alert-body {
    padding: 25px;
}

.news-alert-body h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-ticker-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-ticker-item {
    background: rgba(255,255,255,0.03);
    border-left: 4px solid var(--color-accent);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slide-in-left 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes slide-in-left {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.ticker-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    object-fit: cover;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    min-width: 0;
}

.ticker-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-to {
    font-size: 0.72rem;
    color: var(--color-accent-muted);
    font-weight: 500;
}

.ticker-amount {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--color-accent);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.news-alert-footer {
    padding: 0 25px 30px;
    text-align: center;
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: linear-gradient(135deg, var(--color-bg-inner) 0%, #0a1529 100%);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(212, 160, 23, 0.2);
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    max-width: 350px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    object-fit: cover;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.toast-amount {
    color: var(--color-accent);
    font-weight: 800;
}

.toast-subtitle {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .toast-container {
        bottom: unset;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        align-items: center;
        z-index: 5000;
    }
    
    .toast {
        transform: translateY(-120%);
        width: 100%;
        max-width: 100%;
    }
    
    .toast.show {
        transform: translateY(0);
    }
}

/* Share Hub v2 */
.share-hub-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.share-title {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.share-subtitle {
    font-size: 0.75rem;
    color: var(--color-accent-muted);
    margin-bottom: 20px;
}

.share-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.share-btn-v2 {
    background: none;
    border: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.share-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
}

.share-icon-wrap i {
    width: 22px;
    height: 22px;
}

.share-btn-v2 span {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.7;
}

/* Button Hover States */
.share-btn-v2:hover { transform: translateY(-3px); }
.share-btn-v2:hover span { opacity: 1; color: var(--color-accent); }

.wa-btn:hover .share-icon-wrap { background: #25D366; border-color: #25D366; color: white; }
.fb-btn:hover .share-icon-wrap { background: #1877F2; border-color: #1877F2; color: white; }
.copy-btn:hover .share-icon-wrap { background: var(--color-accent); border-color: var(--color-accent); color: black; }
.more-btn:hover .share-icon-wrap { background: #6b7280; border-color: #6b7280; color: white; }

@media (max-width: 480px) {
    .share-grid-v2 { gap: 8px; }
    .share-icon-wrap { width: 42px; height: 42px; }
}

/* --- Other Ways to Support Carousel --- */
.other-fundraisers-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-inner) 0%, #061125 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin-top: 50px;
    padding: 0 40px; /* Space for buttons */
}

.fundraiser-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5px 40px;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}

.fundraiser-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.fundraiser-item-card {
    flex: 0 0 320px;
    background: rgba(30, 91, 173, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fundraiser-item-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(212, 160, 23, 0.15);
    background: rgba(30, 91, 173, 0.3);
}

.fundraiser-item-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid rgba(212, 160, 23, 0.2);
}

.fundraiser-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.fundraiser-item-card:hover .fundraiser-item-img {
    transform: scale(1.05);
}

.fundraiser-item-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.fundraiser-item-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fundraiser-item-supporting {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.fundraiser-item-supporting .highlight {
    font-weight: 700;
}

.fundraiser-item-btn {
    margin-top: auto;
    width: 100%;
    background: var(--color-accent);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    border: none;
}

.fundraiser-item-btn:hover {
    background: #e5af1e;
    transform: scale(1.02);
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(30, 91, 173, 0.8);
    border: 2px solid var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.carousel-control:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 10px;
    }
    .fundraiser-item-card {
        flex: 0 0 280px;
    }
    .carousel-control {
        display: none; /* Hide on mobile, use touch scroll */
    }
    .fundraiser-carousel {
        padding: 10px 5px 30px;
        gap: 20px;
    }
}

/* --- Footer Bottom Credits --- */
.footer-bottom-credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.developer-credit, .organiser-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
}

.club-fundraiser-link {
    display: flex;
    align-items: center;
}

.club-fundraiser-logo {
    height: 28px;
    width: auto;
    filter: brightness(1) invert(0); /* Using original colors */
    transition: var(--transition-smooth);
    opacity: 0.9;
}

.club-fundraiser-logo:hover {
    transform: scale(1.08);
    opacity: 1;
}


/* --- Loaders & Spinners --- */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    width: 100%;
}

.loader-sm {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    width: 100%;
    min-height: 100px;
}

.spinner, .spinner-sm {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.spinner-sm {
    width: 30px;
    height: 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .other-fundraisers-section {
        padding: 60px 0;
    }
    .fundraiser-carousel {
        padding: 5px 0 30px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .fundraiser-item-card {
        scroll-snap-align: center;
        flex: 0 0 85vw; /* Slightly smaller than screen width for peek effect */
    }
}
/* --- Movie Fund Highlight --- */
.movie-fund-highlight {
    transition: var(--transition-smooth) !important;
    position: relative;
    overflow: hidden;
}

.movie-fund-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.2);
    border-color: var(--color-accent) !important;
}

.movie-fund-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}

.movie-fund-highlight:hover::before {
    left: 125%;
}

@media (max-width: 600px) {
    .movie-fund-highlight .fundraiser-card-inner {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .movie-fund-highlight .fundraiser-img-wrap {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .movie-fund-highlight .fundraiser-info {
        text-align: center !important;
        margin-bottom: 15px;
    }
}

/* --- PWA Banner --- */
.pwa-banner {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: var(--color-primary);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.pwa-banner.active {
    transform: translateY(-120px);
}

.pwa-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.pwa-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.pwa-text {
    display: flex;
    flex-direction: column;
}

.pwa-text strong {
    font-size: 0.95rem;
}

.pwa-text span {
    font-size: 0.75rem;
    opacity: 0.7;
}

.pwa-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pwa-close {
    background: none;
    border: none;
    color: #fff;
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pwa-close:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .pwa-banner {
        max-width: 400px;
        left: 30px;
        right: auto;
    }
}

/* --- Countdown Section --- */
.countdown-section {
    background: var(--color-primary);
    color: #fff;
    border-bottom: 1px solid rgba(200, 168, 75, 0.2);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 168, 75, 0.3);
    padding: 20px;
    border-radius: var(--radius-md);
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    background: rgba(200, 168, 75, 0.1);
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.launch-notice {
    font-style: italic;
    opacity: 0.8;
    margin-top: 20px;
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 10px;
    }
    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }
    .countdown-value {
        font-size: 1.8rem;
    }
}
