/*
Theme Name: IFCO Oman Residency
Theme URI: https://ifcooman.com
Author: IFCO Team
Description: A high-performance, kinetic sports theme for the IFCO Oman Football Residency.
Version: 1.0
License: GNU General Public License v2 or later
*/

:root {
    --brand-red: #D12027;
    --brand-green: #009E49;
    --brand-yellow: #FDB913;
    --surface: #f3f4f6;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #FAFAFA; 
    color: #111;
    overflow-x: hidden;
}

/* --- Texture Overlay --- */
.bg-mesh {
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --- Glassmorphism --- */
.glass-dark {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.creative-nav {
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* --- Logo Styling --- */
.logo-box {
    background: linear-gradient(135deg, var(--brand-red), #8a1217);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(209, 32, 39, 0.4);
}

.logo-box::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    left: -150%;
    animation: shine-logo 4s infinite;
}

@keyframes shine-logo {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

/* --- Card Styling --- */
.modern-card {
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -8px rgba(0,0,0,0.1);
}

.ticket-stub {
    position: relative;
    background: white;
    border: 1px solid #eee;
    border-left: 8px solid var(--brand-red);
    border-radius: 16px;
    overflow: hidden;
}

.ticket-stub::after {
    content: '';
    position: absolute;
    right: 80px;
    top: 0;
    bottom: 0;
    width: 0;
    border-right: 2px dashed #eee;
}

/* --- Button Styling --- */
.btn-sport {
    background: var(--brand-red);
    color: white;
    padding: 18px 40px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(209, 32, 39, 0.4);
    position: relative;
    overflow: hidden;
    transform: skewX(-10deg);
    display: inline-block;
}

.btn-sport span {
    display: block;
    transform: skewX(10deg);
}

.btn-sport::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-sport:hover::after { left: 100%; }
.btn-sport:hover {
    transform: skewX(-10deg) translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(209, 32, 39, 0.6);
}

/* --- Navigation & Inputs --- */
.nav-pill-link {
    transition: all 0.3s ease;
}
.nav-pill-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.nav-link { position: relative; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--brand-red); transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.input-modern {
    background: #F8F9FA;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px;
    font-weight: 600;
    transition: all 0.2s;
}
.input-modern:focus {
    background: white; border-color: var(--brand-red); outline: none;
    box-shadow: 0 0 0 4px rgba(209, 32, 39, 0.1);
}

/* --- Animation Utilities --- */
.hero-title { text-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.hero-slide {
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    transform: scale(1.1);
}
.hero-slide.active { opacity: 1; transform: scale(1); }

.ticker-wrap {
    width: 100%; overflow: hidden; background: #000; color: white;
    padding: 16px 0; white-space: nowrap; border-top: 4px solid var(--brand-yellow);
}
.ticker { display: inline-block; animation: ticker 30s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

.stat-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 1rem;
    display: flex; align-items: center; gap: 1rem;
    transition: transform 0.3s ease; z-index: 20; color: white;
}
.stat-badge:hover { transform: scale(1.05); background: rgba(255,255,255,0.2); }