:root {
    --gold: #D4AF37;
    --dark-blue: #003366;
    --black: #050505;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--black); color: var(--white); font-family: 'Outfit', sans-serif; scroll-behavior: smooth; }


/* --- LANGUAGE SWITCHER --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: #555;
    font-size: 0.8rem;
    font-weight: 900;
}

.lang-switch span {
    cursor: pointer;
    transition: 0.3s;
}

.lang-switch span:hover {
    color: var(--white);
}

.active-lang {
    color: var(--gold) !important;
}


/* Hero */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.7)), url('court.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
}
@supports not (background: url('court.jpg')) { .hero { background: #050505; } }

.main-title { font-family: 'Cinzel', serif; font-size: clamp(3rem, 10vw, 6rem); text-align: center; }
.main-title span { color: var(--gold); }
.kit-status { margin-top: 20px; font-weight: 900; color: var(--dark-blue); border: 2px solid var(--dark-blue); padding: 8px 25px; letter-spacing: 2px; }

/* Floating Nav */
.floating-nav {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(15px);
    padding: 10px; border-radius: 100px; display: flex; gap: 5px; z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.floating-nav a { color: #888; text-decoration: none; font-weight: 900; font-size: 0.7rem; padding: 12px 20px; }
.join-btn-gold { background: var(--gold); color: black !important; border-radius: 50px; }

/* Sections */
.section { padding: 100px 10%; }
.section-title { font-family: 'Cinzel', serif; color: var(--gold); text-align: center; margin-bottom: 50px; font-size: 2.5rem; letter-spacing: 2px; }

/* --- NEW ABOUT US SECTION --- */
.about-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; margin-bottom: 80px; }
.about-visual { text-align: center; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: 50px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.about-logo { width: 100%; max-width: 300px; filter: drop-shadow(0 0 20px rgba(212,175,55,0.2)); }
.about-text h3 { font-family: 'Cinzel', serif; font-size: 2rem; margin-bottom: 20px; color: var(--white); }
.about-text p { margin-bottom: 20px; color: #aaa; line-height: 1.8; font-size: 1.05rem; }
.about-text strong { color: var(--gold); }

/* --- NEW TIMELINE SECTION --- */
.timeline-container { max-width: 800px; margin: 0 auto; background: #0a0a0a; padding: 50px; border-radius: 20px; border: 1px solid #1a1a1a; }
.timeline-title { text-align: center; font-family: 'Cinzel', serif; color: var(--white); margin-bottom: 40px; font-size: 1.5rem; letter-spacing: 2px; }
.timeline { border-left: 2px solid #333; padding-left: 30px; position: relative; }
.timeline-item { margin-bottom: 40px; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -37px; top: 5px; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px var(--gold); }
.timeline-date { color: var(--gold); font-weight: 900; font-size: 1.2rem; margin-bottom: 10px; letter-spacing: 1px; }
.timeline-content { color: #888; line-height: 1.6; }
.timeline-content strong { color: var(--white); }

/* Squad */
.player-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.p-card { background: #111; border: 1px solid #222; border-radius: 10px; overflow: hidden; cursor: pointer; transition: 0.3s; }
.p-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.p-img-box { height: 260px; overflow: hidden; background: #000; }
.p-img-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: 0.5s; }
.p-card:hover img { filter: grayscale(0); }

/* Contact Section */
.contact-section { padding: 100px 10%; }
.gold-contact-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--gold); border-radius: 30px; overflow: hidden; color: black; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.contact-info-panel { padding: 60px; }
.contact-info-panel h3 { font-family: 'Cinzel', serif; font-size: 2.5rem; margin-bottom: 20px; }
.block { margin-bottom: 25px; display: flex; flex-direction: column; }
.block strong { font-size: 0.7rem; opacity: 0.6; letter-spacing: 1px; }
.block span { font-size: 1.2rem; font-weight: 900; }
.contact-form-panel { padding: 60px; background: rgba(0,0,0,0.05); }
.contact-form-panel input, .contact-form-panel textarea { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.8); border-radius: 10px; font-family: inherit; }
.contact-form-panel button { width: 100%; padding: 20px; background: black; color: white; border: none; font-weight: 900; border-radius: 10px; cursor: pointer; }

/* Footer */
.footer { padding: 80px 10% 160px; text-align: center; border-top: 1px solid #222; }
.footer-logo { width: 80px; margin-bottom: 20px; }
.elios-box { margin-top: 25px; font-size: 0.8rem; }
.elios-box a { color: var(--gold); text-decoration: none; font-weight: 900; }
.elios-mail { display: block; margin-top: 10px; color: #444 !important; text-decoration: none; font-size: 0.7rem; }

/* Modal */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 2000; align-items: center; justify-content: center; }
.modal-content { background: #0f0f0f; border: 1px solid var(--gold); width: 90%; max-width: 600px; padding: 40px; border-radius: 20px; position: relative; }
.modal-inner { display: flex; gap: 30px; align-items: center; }
.modal-img { width: 200px; height: 280px; object-fit: cover; border-radius: 10px; border: 1px solid var(--gold); }

@media (max-width: 900px) { 
    .about-container { grid-template-columns: 1fr; }
    .gold-contact-card, .modal-inner { grid-template-columns: 1fr; } 
    .modal-img { width: 100%; height: auto; } 
}

/* --- MOBILE PHONE FIXES --- */
@media (max-width: 768px) {
    /* Menu Fixes */
    .floating-nav {
        width: 96%;
        padding: 6px;
        gap: 2px;
        justify-content: center;
    }
    .floating-nav a { font-size: 0.6rem; padding: 8px 6px; }
    .join-btn-gold { padding: 8px 10px !important; }
    .lang-switch { font-size: 0.7rem; margin-left: 5px; padding-left: 5px; gap: 5px; }
    
    /* Layout Fixes */
    .about-container { grid-template-columns: 1fr; }
    .gold-contact-card { grid-template-columns: 1fr; }
    
    /* MODAL (PLAYER POP-UP) FIX */
    .modal-content {
        padding: 40px 20px 20px 20px; /* Slightly less padding on the sides */
        max-height: 90vh; /* Prevents it from being taller than the screen */
        overflow-y: auto; /* Allows scrolling inside the pop-up if needed */
    }
    
    .modal-inner {
        flex-direction: column; /* Stacks the image on top of the text */
        text-align: center; /* Centers the text */
        gap: 20px;
    }
    
    .modal-img {
        width: 160px; /* Makes the image a perfect size for mobile */
        height: 220px;
        margin: 0 auto; /* Centers the image */
    }
    
    /* Make the player number and name fit the screen better */
    .modal-inner h1 { font-size: 2.5rem !important; }
    .modal-inner h2 { font-size: 1.5rem !important; }
}