:root {
    /* Colors */
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F4C430;
    --accent-gold-dark: #AA8C2C;
    --panel-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Particles --- */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #2a2a2a 0%, #111 100%);
}

/* --- Header --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 26, 0.85);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-speed);
}

.main-nav a:hover {
    color: var(--accent-gold);
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 400;
    transition: color var(--transition-speed);
    padding: 0;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--accent-gold);
}

.lang-btn.active {
    font-weight: 600;
}

.lang-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.98);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 2rem 0;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: var(--accent-gold);
}

/* Mobile Language Selector */
.mobile-lang {
    justify-content: center;
    margin-top: 2rem;
}

.mobile-lang .lang-btn,
.mobile-lang .lang-sep {
    font-size: 1.2rem;
}


/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.euro-symbol-container {
    position: relative;
    margin-bottom: 2rem;
}

.euro-symbol {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: float 6s ease-in-out infinite;
    display: block;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.main-title .highlight {
    background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light), var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
    display: block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Progress Bar */
.progress-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-value {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-light));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: #000;
    border: none;
    border-radius: 4px;
    /* Slightly improved radius */
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.full-width {
    width: 100%;
    text-align: center;
}

/* Secondary Button */
.secondary-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 1rem auto;
}

.secondary-btn:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* --- Sections General --- */
.section-container {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 4rem;
    color: var(--accent-gold);
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

/* --- Challenge Cards --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--panel-bg);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* --- Live Data --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), inset 0 0 10px rgba(212, 175, 55, 0.05);
    transform: scale(1.02);
}

.highlight-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-dark));
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    white-space: nowrap;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.stat-desc {
    color: var(--accent-gold);
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.live-ticker-container {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: var(--bg-color);
    /* Mask the scrolling content */
    padding: 0 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    z-index: 2;
    white-space: nowrap;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-content {
    display: inline-block;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-block;
    margin-right: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.ticker-item .highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assuming content is doubled */
}

/* --- Wall of Fame --- */
.wall-grid-wrapper {
    position: relative;
    height: 100%;
}

.wall-grid-wrapper {
    position: relative;
    /* Allow wrapper to grow, remove fixed height for scrolling whole page or keep fixed? 
       Let's keep fixed but include podium inside or outside? 
       If inside, podium scrolls with list. Let's try to keep it fixed height for now but maybe taller. */
    height: 1200px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* --- Podium (Redesigned v4: Sleek Pillars) --- */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    /* Tighter gap for unity */
    padding: 3rem 1rem;
    min-height: 450px;
    background: radial-gradient(circle at center bottom, rgba(255, 215, 0, 0.1), transparent 70%);
    border-bottom: 1px solid var(--border-color);
}

.podium-item {
    position: relative;
    width: 30%;
    max-width: 280px;
    border-radius: 12px 12px 0 0;
    /* Pillar look */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.podium-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

/* Background Image & Overlay */
.podium-item .wall-item-bg {
    opacity: 0.6;
    transition: transform 0.5s ease;
}

.podium-item:hover .wall-item-bg {
    transform: scale(1.05);
    opacity: 0.4;
    /* Dim image on hover to show text better */
}

/* Stronger Gradient for Readability */
.podium-item .wall-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.95) 100%);
}

/* Content Layout */
.podium-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push content to bottom */
    text-align: center;
    align-items: center;
}

/* HEADER: Rank & Amount */
.podium-header {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    /* Rank Left, Amount Right */
    align-items: center;
    z-index: 5;
}



.podium-amount {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* LINK: Bottom Right Globe */
.podium-link-bottom {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    z-index: 10;
}

.podium-link-bottom:hover {
    background: #fff;
    color: #000;
    transform: rotate(15deg) scale(1.1);
}

/* BODY: Info */
.podium-body {
    width: 100%;
    margin-bottom: 0.5rem;
}

.podium-title {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-family: var(--font-heading);
}

.podium-name {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: block;
}

/* Rank Badge */
/* Rank Badge */
.podium-rank {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #000;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}



/* 1st Place - Gold */
.podium-item.rank-1 {
    order: 2;
    height: 100%;
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    z-index: 2;
    transform: scale(1.05);
    /* Slightly larger base */
}

.podium-item.rank-1:hover {
    transform: scale(1.08) translateY(-5px);
}

.podium-item.rank-1 .podium-rank {
    color: #FFD700;
    border-color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    background: rgba(255, 215, 0, 0.1);
}

.podium-item.rank-1 .podium-amount {
    color: #FFD700;
    font-size: 2rem;
}

/* Podium Typography */
.podium-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-top: auto;
    /* Push to bottom if needed */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.podium-message {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #fff;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 8px;
    width: 100%;
    text-align: center;
}

/* 2nd Place - Silver */
.podium-item.rank-2 {
    order: 1;
    height: 88%;
    border-color: #C0C0C0;
}

.podium-item.rank-2 .podium-rank {
    color: #C0C0C0;
    border-color: #C0C0C0;
    background: rgba(192, 192, 192, 0.1);
}

.podium-item.rank-2 .podium-amount {
    color: #C0C0C0;
}

/* 3rd Place - Bronze */
.podium-item.rank-3 {
    order: 3;
    height: 85%;
    border-color: #e89b6b;
}

.podium-item.rank-3 .podium-rank {
    color: #e89b6b;
    border-color: #e89b6b;
    background: rgba(232, 155, 107, 0.1);
}

.podium-item.rank-3 .podium-amount {
    color: #e89b6b;
}

.wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    /* Take remaining space */
}

.wall-grid::-webkit-scrollbar {
    width: 6px;
}

.wall-grid::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.wall-item {
    background: #2a2a2a;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    /* Taller for real data */
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

    /* Animation Entrance */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Global Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.wall-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Background Image Handling */
.wall-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* Base opacity */
    transition: opacity 0.5s, transform 5s;
    z-index: 0;
}

.wall-item.has-image .wall-item-bg {
    opacity: 0.8;
}

.wall-item:hover .wall-item-bg {
    transform: scale(1.1);
}

/* Gradient Overlay for Readability */
.wall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.wall-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header: Amount + Link */
.wall-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.wall-amount {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1;
}

/* Floating Link Button */
.wall-link-btn,
.podium-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wall-link-btn:hover,
.podium-link-icon:hover {
    background: var(--accent-gold);
    color: #000;
    transform: rotate(15deg);
    box-shadow: 0 0 15px var(--accent-gold);
    border-color: var(--accent-gold);
}

/* Body: Title + Message */
.wall-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wall-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.podium-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.wall-message {
    font-family: var(--font-body);
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Footer: Name */
.wall-footer {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.75rem;
}

.wall-name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.wall-date {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: auto;
    padding-top: 0.5rem;
    text-align: right;
}

/* Tiers */
.wall-item.tier-silver {
    border-color: #C0C0C0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(192, 192, 192, 0.1));
}

.wall-item.tier-gold {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.15));
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #222;
    padding: 3rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.amount-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.amount-btn:hover,
.amount-btn.selected {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.custom-amount-wrapper {
    position: relative;
    width: 90px;
    flex-shrink: 0;
    display: block;
    /* Removing flex to rely on row stretch naturally */
}

.amount-input {
    width: 100%;
    height: 100%;
    /* forces it to stretch against siblings */
    box-sizing: border-box;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    padding: 0 24px 0 10px;
    /* Space on right for the absolute spinners */
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    transition: border-color var(--transition);
}

/* Remove default spinners forcefully */
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

.custom-spinners {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 24px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.spinner-btn {
    flex: 1;
    /* Split exactly 50/50 */
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6rem;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.spinner-btn:hover {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1rem;
}

.donation-form input:not(.amount-input) {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
}

.donation-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    resize: none;
}

/* --- Wall Search & Controls (Below Podium) --- */
.wall-controls {
    display: flex;
    justify-content: flex-end;
    /* Align right */
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.wall-search-container {
    position: relative;
    width: 100%;
    max-width: 250px;
    /* Slimmer for right alignment */
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.8rem;
    background: rgba(0, 0, 0, 0.4);
    /* Darker to match inputs */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    /* Matched form input style rather than round pill */
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* --- Wall Actions (Load More) --- */
.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
}

.file-input-label:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.file-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.pay-btn {
    flex: 1;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-btn.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.secure-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}

/* --- Footer --- */
footer {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* --- Responsive Helpers --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-top: 6rem;
    }

    .euro-symbol {
        font-size: 5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-row .stat-label {
        display: none;
    }
}

/* Close @media (max-width: 768px) */

/* --- Top 3 Highlights in Grid --- */
.wall-item.rank-grid-1 {
    border: 2px solid var(--accent-gold) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4) !important;
    z-index: 2;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.wall-item.rank-grid-1:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.7) !important;
}

.wall-item.rank-grid-2 {
    border: 2px solid #C0C0C0 !important;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3) !important;
    transition: all 0.3s ease;
}

.wall-item.rank-grid-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.5) !important;
}

.wall-item.rank-grid-3 {
    border: 2px solid #CD7F32 !important;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.3) !important;
    transition: all 0.3s ease;
}

.wall-item.rank-grid-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(205, 127, 50, 0.5) !important;
}

/* --- Live Ticker --- */
.live-ticker-container {
    margin-top: 3rem;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-label {
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1px;
    margin-right: 1.5rem;
    white-space: nowrap;
    text-transform: uppercase;
}

.ticker-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    background: transparent !important;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}

.ticker-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.ticker-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 1.5rem;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .live-ticker-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .ticker-label {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* --- Active Navigation State --- */
.main-nav ul li a.active {
    color: var(--accent-gold);
    position: relative;
}

.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.mobile-nav ul li a.active {
    color: var(--accent-gold);
}

/* --- FAQ Section (Trust & Legality) --- */
#faq {
    padding-top: 4rem;
    padding-bottom: 6rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: transparent;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* --- Footer & Legal Structure --- */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.legal-link:hover {
    color: #fff;
    text-decoration: underline;
}

.transparency-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 600px;
    text-align: center;
}

/* Legal Modal Styling */
.legal-content {
    max-width: 600px;
}

.legal-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.legal-tabs::-webkit-scrollbar {
    display: none;
}

.legal-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.5rem 1rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
}

.legal-tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.legal-tab-btn.active {
    color: var(--accent-gold);
}

.legal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.legal-tab-content {
    display: none;
    animation: fadeInTab 0.3s ease;
}

.legal-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-text-scroll {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
    text-align: left;
}

.legal-text-scroll::-webkit-scrollbar {
    width: 6px;
}

.legal-text-scroll::-webkit-scrollbar-thumb {
    background-color: var(--accent-gold);
    border-radius: 4px;
}

.legal-text-scroll h3 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-text-scroll p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* --- Success Modal & Share Buttons --- */
.success-content {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    font-family: var(--font-body);
}

.share-btn:hover {
    transform: translateY(-2px);
}

/* Brand Colors */
.share-x {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-x:hover {
    background-color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.share-wa {
    background-color: #25D366;
    color: #000;
}

.share-wa:hover {
    background-color: #2dee6d;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.share-linked {
    background-color: #0A66C2;
}

.share-linked:hover {
    background-color: #0c75df;
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.3);
}

.share-copy {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-copy:hover {
    background-color: rgba(255, 255, 255, 0.2);
}