/* ==========================================================================
   Chameleon FIFA Promo - Premium Luxury Table Theme
   Palette: Vibrant Green (#127c21), Gold (#dab96a), Off-White (#FFFBF4)
   ========================================================================== */

.fifa-main-wrapper {
    background-color: #FFFBF4;
    font-family: "Inter", sans-serif;
    color: #1a1a1a;
}

.fifa-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.font-playfair {
    font-family: "Playfair Display", serif;
}

.text-gold { color: #dab96a; font-weight: 600; }
.text-green { color: #127c21; }
.text-white { color: #ffffff; }

/* General Elements */
.fifa-gold-divider {
    width: 80px;
    height: 3px;
    background-color: #dab96a;
    margin: 20px auto;
}

.fifa-section-title {
    font-size: 2.5rem;
    color: #127c21;
    margin: 0;
}

.fifa-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.fifa-center-header {
    text-align: center;
    margin-bottom: 50px;
}

/* ================= Hero Section ================= */
.fifa-hero {
    position: relative;
    padding: 120px 0 80px 0;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    min-height: 500px;
    background-color: #127c21; /* Fallback */
}

/* Base image styling */
.fifa-hero-img-desktop, .fifa-hero-img-mobile {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Desktop: Show wide image, hide square */
.fifa-hero-img-desktop { display: block; }
.fifa-hero-img-mobile { display: none; }

/* Switch for Mobile */
@media (max-width: 768px) {
    .fifa-hero-img-desktop { display: none; }
    .fifa-hero-img-mobile { display: block; }
    .fifa-hero { padding: 80px 0 60px 0; }
}

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

/* Strong Text Shadows for visibility without an overlay */
.fifa-title {
    font-size: 4.5rem;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
}

.fifa-hero-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: #ffffff; /* Changed to pure white to contrast shadow */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 1);
}

.fifa-countdown-wrapper {
    display: inline-block;
    margin-top: 15px;
}

.fifa-countdown-label {
    color: #dab96a;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.fifa-countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.time-box {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.time-box span {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 2px 5px rgba(0, 0, 0, 1);
}

.time-box small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #dab96a;
    margin-top: 5px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ================= Promotions Section ================= */
.fifa-context-section {
    padding: 80px 0 20px 0;
}

.fifa-promos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fifa-promo-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(218, 185, 106, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fifa-promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(18, 124, 33, 0.15); 
}

.fifa-poster-frame {
    width: 100%;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    border-bottom: 3px solid #dab96a;
}

.fifa-poster-img {
    width: 100%;
    height: auto;
    aspect-ratio: 392 / 555;
    object-fit: cover;
}

.fifa-promo-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fifa-promo-content h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.fifa-promo-desc {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.fifa-disclaimer {
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

/* ================= Chameleon CTA Section ================= */
.fifa-cta-section {
    padding: 40px 0;
}

.fifa-cta-box {
    /* Add your new background image URL right here */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.lavie.ph/wp-content/uploads/2025/09/header-image.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid #dab96a;
    border-radius: 16px;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* The ::before overlay block has been completely removed */

.fifa-cta-icon {
    width: 90px;
    height: auto;
    margin: 0 auto 15px auto;
    position: relative;
    z-index: 2;
    /* Uses 'filter: drop-shadow' because it perfectly traces the outline of a transparent PNG */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.fifa-cta-title {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 2;
    /* Heavy double text-shadow to guarantee it pops on light or dark backgrounds */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 2px 5px rgba(0, 0, 0, 1);
}

.fifa-cta-date {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 35px 0;
    position: relative;
    z-index: 2;
    /* Medium text-shadow for the smaller text */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
}

.fifa-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Adds a slight shadow to the buttons so they pop off the background image too */
.fifa-cta-buttons a {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* ================= Luxury Schedule Table Section ================= */
.fifa-schedule-section {
    padding: 40px 0 100px 0;
}

.fifa-luxury-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(218, 185, 106, 0.2);
    overflow: hidden;
}

.fifa-table-responsive {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #dab96a #f3f4f6;
}

.fifa-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.fifa-table th {
    background-color: rgba(18, 124, 33, 0.05);
    color: #127c21;
    padding: 20px 25px;
    text-transform: uppercase;
    font-family: "Playfair Display", serif;
    letter-spacing: 0.1em;
    border-bottom: 2px solid rgba(218, 185, 106, 0.3);
    text-align: left;
}

.fifa-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #f3f4f6;
    color: #4a4a4a;
    transition: background-color 0.3s ease;
    vertical-align: middle;
}

.fifa-table tbody tr:last-child td {
    border-bottom: none;
}

.fifa-table tbody tr:hover td {
    background-color: rgba(218, 185, 106, 0.05); 
}

/* Table Specific Typography */
.table-date {
    font-weight: 600;
    color: #1a1a1a;
}

.table-time {
    color: #6b7280;
    font-size: 0.95rem;
}

.table-team {
    font-size: 1.2rem;
}

.table-vs {
    margin: 0 12px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.fifa-match-stage {
    display: inline-block;
    background-color: rgba(218, 185, 106, 0.1);
    color: #127c21;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(218, 185, 106, 0.3);
}

/* Buttons */
.fifa-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.btn-fifa-solid {
    background-color: #127c21;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-fifa-solid:hover {
    background-color: #015e07;
    box-shadow: 0 6px 20px rgba(18, 124, 33, 0.2);
}

.btn-fifa-outline {
    background-color: transparent;
    color: #127c21;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #127c21;
}

.btn-fifa-outline:hover {
    background-color: #127c21;
    color: #ffffff;
}

.btn-fifa-gold {
    background-color: #dab96a;
    color: #015e07;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-fifa-gold:hover {
    background-color: #ffffff;
    color: #127c21;
}

.btn-fifa-outline-white {
    background-color: transparent;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.btn-fifa-outline-white:hover {
    background-color: #ffffff;
    color: #127c21;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .fifa-promos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fifa-title { font-size: 3.5rem; }
    .fifa-countdown { flex-wrap: wrap; gap: 10px; }
    .time-box span { font-size: 2.5rem; }
    .fifa-promos-grid { grid-template-columns: 1fr; }
    .fifa-section-title { font-size: 2rem; }
    
    .fifa-cta-box { padding: 40px 15px; }
    .fifa-cta-title { font-size: 1.8rem; }
    .fifa-cta-buttons { flex-direction: column; width: 100%; }
    .fifa-cta-buttons a { width: 100%; text-align: center; }
    
    .fifa-action-buttons { flex-direction: column; width: 100%; }
    .fifa-action-buttons a { text-align: center; }
}