/* ============================================
   EPIC FIFA ANTHEM WEBSITE STYLES
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --color-dark: #0a0e27;
    --color-dark-secondary: #151b3d;
    --color-gold: #d4af37;
    --color-gold-light: #f4d03f;
    --color-blue: #1e3a8a;
    --color-blue-light: #3b82f6;
    --color-text: #ffffff;
    --color-text-muted: #94a3b8;
    --color-danger: #ef4444;
    --color-success: #10b981;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #0a0e27 100%);
    --gradient-gold: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(21, 27, 61, 0.98) 100%);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.6);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* === ANIMATED BACKGROUND === */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        var(--color-dark);
    z-index: -1;
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* === HERO SECTION === */
.hero-epic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>'),
        var(--gradient-primary);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 0;
}

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

.hero-icon {
    font-size: 5rem;
    color: var(--color-gold);
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-scroll {
    font-size: 2.5rem;
    color: var(--color-gold);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

/* === ANIMATIONS === */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === INTRO SECTION === */
.intro-section {
    background: var(--color-dark);
    position: relative;
}

.intro-card {
    background: var(--gradient-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(212, 175, 55, 0.4);
}

.intro-text {
    color: var(--color-text);
    line-height: 1.8;
}

.intro-emphasis {
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
}

.intro-emphasis p {
    color: var(--color-gold-light);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.text-gold {
    color: var(--color-gold);
    font-weight: 600;
}

/* === VIDEO SECTION === */
.video-section {
    background: var(--color-dark-secondary);
    position: relative;
}

.video-card {
    background: var(--gradient-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.05em;
    color: var(--color-text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-container-wrapper {
    position: relative;
    padding: 10px;
    background: var(--gradient-gold);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.caption-emotion {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #d4af37; /* gold tone */
    font-weight: 500;
    opacity: 0.85;
}

/* === WHY SECTION === */
.why-section {
    background: var(--color-dark-secondary);
    position: relative;
}

.why-card {
    background: var(--gradient-dark);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.why-card h4 {
    color: var(--color-text);
    font-weight: 600;
}

.why-card p {
    color: var(--color-text-muted);
}

.alert-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(244, 208, 63, 0.1) 100%);
    border: 2px solid var(--color-gold);
    border-radius: 15px;
    padding: 2rem;
    color: var(--color-text);
}

/* === SIGNATURE SECTION === */
.signature-section {
    background: var(--color-dark-secondary);
    position: relative;
}

/* Stats Display Epic */
.stats-display-epic {
    background: var(--gradient-dark);
    border: 2px solid var(--color-gold);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.stats-display-epic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-header {
    position: relative;
    z-index: 1;
}

.stats-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
}

.stat-card {
    background: var(--color-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gold-light);
    line-height: 1;
    text-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* === FORM CARD === */
.form-card {
    background: var(--gradient-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-label {
    color: var(--color-text);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    background: var(--color-dark);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    background: var(--color-dark);
    border-color: var(--color-gold);
    color: var(--color-text);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

/* === EPIC BUTTON === */
.btn-epic {
    background: var(--gradient-gold);
    border: none;
    color: var(--color-dark);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-epic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-epic:hover::before {
    width: 300px;
    height: 300px;
}

.btn-epic:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    color: var(--color-dark);
}

.btn-epic:active {
    transform: translateY(-1px);
}

.btn-epic:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* === MESSAGE BOX === */
.message-box {
    border-radius: 10px;
    padding: 1rem;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease-out;
}

.message-box.show {
    display: block;
}

.message-box.success {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid var(--color-success);
    color: var(--color-success);
}

.message-box.error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid var(--color-danger);
    color: var(--color-danger);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === TRANSPARENCY NOTE === */
.transparency-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* === TOP COUNTRIES === */
.top-countries {
    padding: 2rem;
    background: var(--gradient-dark);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
}

.stats-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.top-countries h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.country-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.country-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--color-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.country-name {
    font-weight: 500;
    color: var(--color-text);
}

.country-count {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* === SUPPORTER ITEM (Recent Supporters) === */
.supporter-item {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.supporter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
}

.supporter-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.supporter-reason {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.5;
    padding-left: 0.5rem;
    border-left: 2px solid var(--color-gold);
    width: 100%;
}

/* === FOOTER === */
.footer-epic {
    background: var(--color-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-icon {
    font-size: 2rem;
    color: var(--color-text-muted);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .video-card,
    .form-card {
        padding: 2rem;
    }

    .stats-display-epic {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-icon {
        font-size: 3rem;
    }

    .intro-card {
        padding: 2rem !important;
    }

    .intro-emphasis p {
        font-size: 1.5rem !important;
    }

    .btn-epic {
        font-size: 1.2rem;
    }

    .stats-numbers {
        gap: 1rem !important;
    }

    .supporter-item {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .supporter-header {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.25rem;
    }

    .supporter-date {
        font-size: 0.8rem;
    }

    .supporter-reason {
        font-size: 0.85rem;
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

/* === SELECTION === */
::selection {
    background: var(--color-gold);
    color: var(--color-dark);
}

::-moz-selection {
    background: var(--color-gold);
    color: var(--color-dark);
}
