/* ============================================================
   WorldCup Tour 2026 - Landing Page Styles
   Colors from Flutter app: #1A237E (blue), #B71C1C (red),
   #1B5E20 (green), #FFD700 (gold)
   ============================================================ */

:root {
    --wc-blue: #1A237E;
    --wc-blue-dark: #0A0E21;
    --wc-red: #B71C1C;
    --wc-green: #1B5E20;
    --wc-gold: #FFD700;
    --wc-gold-dark: #DAA520;
    --wc-bg-dark: #0D1117;
    --wc-bg-card: #161B22;
    --wc-text: #E6EDF3;
    --wc-text-muted: #8B949E;
    --wc-border: #30363D;
    --wc-gradient: linear-gradient(135deg, var(--wc-blue) 0%, #6A0DAD 50%, var(--wc-red) 100%);
}

/* === GLOBAL === */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--wc-bg-dark);
    color: var(--wc-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
}

a { color: var(--wc-gold); transition: all 0.3s ease; }
a:hover { color: #FFF8DC; text-decoration: none; }

.text-gold { color: var(--wc-gold) !important; }
.text-muted-custom { color: var(--wc-text-muted) !important; }
.bg-wc-dark { background-color: var(--wc-bg-dark) !important; }
.bg-wc-card { background-color: var(--wc-bg-card) !important; }

.btn-gold {
    background: linear-gradient(135deg, var(--wc-gold), var(--wc-gold-dark));
    color: #000;
    font-weight: 700;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    color: #000;
}

.btn-outline-gold {
    border: 2px solid var(--wc-gold);
    color: var(--wc-gold);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background: var(--wc-gold);
    color: #000;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--wc-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-padding {
    padding: 100px 0;
}

/* === NAVBAR === */
.navbar-wc {
    background: rgba(13, 17, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--wc-border);
    padding: 12px 0;
    transition: all 0.3s ease;
}
.navbar-wc.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.navbar-wc .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff !important;
}
.navbar-wc .navbar-brand img {
    height: 36px;
    margin-right: 10px;
}
.navbar-wc .nav-link {
    color: var(--wc-text-muted) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s;
}
.navbar-wc .nav-link:hover,
.navbar-wc .nav-link.active {
    color: #fff !important;
}

/* === HERO === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--wc-bg-dark);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(26,35,126,0.4) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(183,28,28,0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 50%, rgba(106,13,173,0.15) 0%, transparent 50%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(255,215,0,0.3));
    animation: floatLogo 3s ease-in-out infinite;
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.hero-year {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--wc-gold), #FFF8DC, var(--wc-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    margin-bottom: 10px;
}
.hero-tagline {
    font-size: 1.3rem;
    color: var(--wc-text-muted);
    margin-bottom: 30px;
    font-weight: 400;
}
.hero-countries {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.hero-countries span {
    font-size: 1.1rem;
    color: var(--wc-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-countries .flag {
    font-size: 1.5rem;
}

/* Phone mockup */
.phone-mockup {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}
.phone-mockup img {
    width: 100%;
    border-radius: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5),
                0 0 40px rgba(26,35,126,0.3);
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    max-width: 340px;
    max-height: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(26,35,126,0.3));
}

.hero-slide:first-child {
    position: relative;
}

.hero-slide.active {
    opacity: 1;
}

/* Store badges */
.store-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.store-badge {
    height: 50px;
    transition: transform 0.3s;
    border-radius: 10px;
}
.store-badge:hover {
    transform: scale(1.05);
}

/* === FEATURES === */
.feature-card {
    background: var(--wc-bg-card);
    border: 1px solid var(--wc-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--wc-gold);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.1);
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}
.feature-icon.blue { background: rgba(26,35,126,0.3); }
.feature-icon.red { background: rgba(183,28,28,0.3); }
.feature-icon.green { background: rgba(27,94,32,0.3); }
.feature-icon.gold { background: rgba(255,215,0,0.2); }
.feature-icon.purple { background: rgba(106,13,173,0.3); }
.feature-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--wc-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* === SCREENSHOTS === */
.screenshots-section {
    background: linear-gradient(180deg, var(--wc-bg-dark) 0%, rgba(26,35,126,0.15) 50%, var(--wc-bg-dark) 100%);
}
.screenshot-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.screenshot-carousel::-webkit-scrollbar { display: none; }
.screenshot-item {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: center;
}
.screenshot-item img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}
.screenshot-item img:hover {
    transform: scale(1.05);
}
.screenshot-item p {
    text-align: center;
    color: var(--wc-text-muted);
    margin-top: 12px;
    font-weight: 500;
}

/* === BARS SECTION === */
.bars-section {
    background: linear-gradient(180deg, var(--wc-bg-dark) 0%, rgba(183,28,28,0.08) 50%, var(--wc-bg-dark) 100%);
}
.plan-card {
    background: var(--wc-bg-card);
    border: 1px solid var(--wc-border);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}
.plan-card.featured {
    border-color: var(--wc-gold);
    transform: scale(1.05);
}
.plan-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--wc-gold), var(--wc-gold-dark));
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}
.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wc-gold);
}
.plan-price small {
    font-size: 0.9rem;
    color: var(--wc-text-muted);
    font-weight: 400;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}
.plan-features li {
    padding: 8px 0;
    color: var(--wc-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-features li i {
    color: var(--wc-green);
    font-size: 0.9rem;
}
.plan-features li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}
.plan-features li.disabled i {
    color: var(--wc-text-muted);
}

/* === BAR REGISTER FORM === */
.register-form {
    background: var(--wc-bg-card);
    border: 1px solid var(--wc-border);
    border-radius: 20px;
    padding: 40px;
}
.register-form .form-control,
.register-form .form-select {
    background: var(--wc-bg-dark);
    border: 1px solid var(--wc-border);
    color: var(--wc-text);
    border-radius: 12px;
    padding: 12px 16px;
}
.register-form .form-control:focus,
.register-form .form-select:focus {
    border-color: var(--wc-gold);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.15);
    background: var(--wc-bg-dark);
    color: var(--wc-text);
}
.register-form .form-label {
    font-weight: 600;
    color: var(--wc-text);
    margin-bottom: 6px;
}
.register-form .form-check-input:checked {
    background-color: var(--wc-gold);
    border-color: var(--wc-gold);
}

/* === STATS COUNTER === */
.stat-box {
    text-align: center;
    padding: 20px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--wc-gold), #FFF8DC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    color: var(--wc-text-muted);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* === DOWNLOAD === */
.download-section {
    background: var(--wc-gradient);
    position: relative;
    overflow: hidden;
}
.download-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

/* === FOOTER === */
.footer-wc {
    background: #080B10;
    border-top: 1px solid var(--wc-border);
    padding: 60px 0 30px;
}
.footer-wc h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.footer-wc a {
    color: var(--wc-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-wc a:hover {
    color: var(--wc-gold);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid var(--wc-border);
    padding-top: 20px;
    margin-top: 40px;
    color: var(--wc-text-muted);
    font-size: 0.85rem;
}
.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wc-bg-card);
    border: 1px solid var(--wc-border);
    color: var(--wc-text-muted) !important;
    margin-right: 8px;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--wc-gold);
    border-color: var(--wc-gold);
    color: #000 !important;
}

/* === ANIMATIONS === */
.fade-up, .fade-left, .fade-right, .fade-zoom, .fade-down {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up { transform: translateY(40px); }
.fade-down { transform: translateY(-40px); }
.fade-left { transform: translateX(-60px); }
.fade-right { transform: translateX(60px); }
.fade-zoom { transform: scale(0.85); }

.fade-up.visible, .fade-down.visible, .fade-left.visible,
.fade-right.visible, .fade-zoom.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered delays for cards in a row */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Section title underline animation */
.section-title-animated {
    position: relative;
    display: inline-block;
}
.section-title-animated::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wc-gold), var(--wc-red), var(--wc-green));
    transition: width 0.8s ease, left 0.8s ease;
    border-radius: 2px;
}
.section-title-animated.visible::after {
    width: 60px;
    left: calc(50% - 30px);
}

/* Glow pulse on stat numbers */
.stat-number.visible {
    animation: glowPulse 2s ease-in-out;
}
@keyframes glowPulse {
    0% { text-shadow: none; }
    50% { text-shadow: 0 0 20px rgba(255,215,0,0.6); }
    100% { text-shadow: none; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-logo { width: 130px; height: 130px; }
    .hero-year { font-size: 2.5rem; letter-spacing: 4px; }
    .section-title { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-5px); }
    .hero-countries { flex-wrap: wrap; gap: 12px; }
    .phone-mockup { max-width: 220px; }
    .hero-slideshow { max-width: 260px; max-height: 450px; }
    .hero-slide { max-height: 450px; }
    .register-form { padding: 25px; }
}
