/* =========================================================
   ELITE BALLERS FC
   Main Stylesheet
   ========================================================= */


/* =========================
   1. RESET & GLOBAL
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top, rgba(212, 255, 0, 0.08), transparent 22%),
        linear-gradient(180deg, #04070a 0%, #090d12 28%, #05070a 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, black 36%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}

main, footer, header {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   2. VARIABLES
   ========================= */

:root {
    --primary: #d4ff00;
    --primary-dark: #a8cc00;
    --primary-soft: rgba(212, 255, 0, 0.12);

    --background: #05070a;
    --background-strong: #0b1015;
    --background-light: #111820;
    --background-card: rgba(17, 24, 32, 0.9);
    --background-card-strong: rgba(12, 17, 22, 0.96);

    --text: #edf3f7;
    --text-muted: #9aa7b3;
    --border: rgba(255, 255, 255, 0.08);
    --glow: 0 0 0 1px rgba(212, 255, 0, 0.18), 0 16px 40px rgba(0, 0, 0, 0.35);

    --container: 1200px;

    --transition: 0.35s ease;
    --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(212, 255, 0, 0.2);
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212, 255, 0, 0.18); }
    50% { box-shadow: 0 0 26px rgba(212, 255, 0, 0.28); }
}

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


/* =========================
   3. CONTAINER
   ========================= */

.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}


/* =========================
   4. HEADER
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 7, 10, 0.75);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    width: 90%;
    max-width: var(--container);
    min-height: 75px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: transform var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(212, 255, 0, 0.2));
}


/* Navigation */

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}


/* Mobile Menu */

.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
}


/* =========================
   5. HERO
   ========================= */

.hero {
    min-height: 86vh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(90deg, rgba(4, 7, 10, 0.94), rgba(4, 7, 10, 0.72), rgba(4, 7, 10, 0.45)),
        url("../assets/images/hero.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    right: -80px;
    top: 70px;
    background: radial-gradient(circle, rgba(212, 255, 0, 0.2), transparent 60%);
}

.hero::after {
    width: 300px;
    height: 300px;
    left: 8%;
    bottom: 7%;
    background: radial-gradient(circle, rgba(17, 24, 32, 0.85), transparent 60%);
}

.hero-content {
    width: 90%;
    max-width: var(--container);
    margin: auto;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    display: inline-block;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.35rem;
    margin-bottom: 15px;
    background: rgba(212, 255, 0, 0.08);
    border: 1px solid rgba(212, 255, 0, 0.18);
    border-radius: 999px;
    padding: 8px 16px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.08em;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-description {
    max-width: 620px;
    color: #d5dde3;
    font-size: 1.12rem;
    margin-bottom: 35px;
}


/* =========================
   6. BUTTONS
   ========================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
    border-radius: 12px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #e6ff7d 100%);
    color: #0a0a0a;
    box-shadow: 0 10px 22px rgba(212, 255, 0, 0.26);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6ff7d 0%, var(--primary) 100%);
}

.btn-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: rgba(212, 255, 0, 0.7);
    color: var(--primary);
}


/* =========================
   7. SECTIONS
   ========================= */

.club-intro,
.next-match,
.latest-result,
.club-stats,
.latest-news {
    width: 90%;
    max-width: var(--container);

    margin: auto;

    padding: 100px 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-label {
    color: var(--primary);

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.1;
}


/* =========================
   8. CLUB INTRO
   ========================= */

.club-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.club-intro .section-heading {
    margin-bottom: 0;
}

.intro-content {
    color: var(--text-muted);
    font-size: 1.05rem;
    background: rgba(17, 24, 32, 0.7);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.intro-content p {
    margin-bottom: 25px;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

.text-link:hover {
    opacity: 0.7;
}


/* =========================
   9. MATCH CARD
   ========================= */

.match-card,
.result-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    padding: 45px;
    background: linear-gradient(180deg, rgba(17,24,32,0.96), rgba(12,17,22,0.9));
    border: 1px solid var(--border);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.match-card::before,
.result-card::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212,255,0,0.15), transparent 60%);
    pointer-events: none;
}

.team {
    text-align: center;
}

.team-logo {
    width: 95px;
    height: 95px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212,255,0,0.12), rgba(255,255,255,0.02));
    border: 1px solid rgba(212,255,0,0.1);
    box-shadow: var(--shadow-glow);
    animation: floatCard 5s ease-in-out infinite;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.opponent-logo {
    border: 1px dashed rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.4);
    font-size: 2rem;
    background: rgba(255,255,255,0.02);
    box-shadow: none;
}

.team h3 {
    font-size: 1rem;
}


/* Match information */

.match-info {
    text-align: center;
}

.match-label,
.result-status {
    display: block;

    color: var(--primary);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.match-vs {
    display: block;

    font-size: 2.5rem;
    font-weight: 900;

    margin-bottom: 10px;
}

.match-date,
.match-time {
    color: var(--text-muted);

    font-size: 0.9rem;
}

.match-time {
    color: var(--text);
    font-weight: 700;
}


/* =========================
   10. RESULT
   ========================= */

.score {
    text-align: center;
}

.score strong {
    display: block;

    font-size: 3rem;
    line-height: 1;

    margin: 10px 0;
}

.score p {
    color: var(--text-muted);
    font-size: 0.85rem;
}


/* =========================
   11. CENTER BUTTON
   ========================= */

.center-button {
    text-align: center;
    margin-top: 30px;
}


/* =========================
   12. STATS
   ========================= */

.club-stats {
    max-width: none;

    padding-left: 5%;
    padding-right: 5%;

    background: var(--background-light);
}

.club-stats .section-heading {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    max-width: var(--container);

    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.stat-card {
    padding: 45px 25px;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,255,0,0.5);
    box-shadow: inset 0 0 0 1px rgba(212,255,0,0.08);
}

.stat-card strong {
    display: block;
    color: var(--primary);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-card span {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================
   13. NEWS
   ========================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.news-card {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(17,24,32,0.9), rgba(13,18,23,0.96));
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-soft);
}

.news-card:hover {
    transform: translateY(-7px);
    border-color: rgba(212,255,0,0.5);
    box-shadow: 0 22px 45px rgba(0,0,0,0.28), 0 0 20px rgba(212,255,0,0.08);
}

.news-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212,255,0,0.16), rgba(17,24,32,0.9), rgba(7,9,12,0.96));
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: "";
    position: absolute;
    inset: 15% auto auto -10%;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(212,255,0,0.2);
    filter: blur(12px);
}

.news-image span {
    color: #555555;

    font-size: 0.8rem;
    font-weight: 900;

    letter-spacing: 3px;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--primary);

    font-size: 0.7rem;
    font-weight: 700;

    text-transform: uppercase;
}

.news-content h3 {
    margin: 10px 0;

    font-size: 1.2rem;
}

.news-content p {
    color: var(--text-muted);

    font-size: 0.9rem;

    margin-bottom: 20px;
}

.news-content a {
    color: var(--primary);

    font-size: 0.85rem;
    font-weight: 700;
}


/* =========================
   14. CALL TO ACTION
   ========================= */

.club-cta {
    min-height: 500px;

    display: flex;
    align-items: center;

    padding: 100px 5%;

    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98),
            rgba(8, 8, 8, 0.55)
        ),
        url("../assets/images/team.jpg");

    background-size: cover;
    background-position: center;
}

.cta-content {
    width: 100%;
    max-width: var(--container);

    margin: auto;
}

.cta-content h2 {
    font-size: clamp(3rem, 7vw, 6rem);

    line-height: 0.95;

    margin: 15px 0 25px;
}

.cta-content p:not(.section-label) {
    max-width: 500px;

    color: #cccccc;

    margin-bottom: 30px;
}


/* =========================
   15. FOOTER
   ========================= */

.site-footer {
    background: #050505;

    border-top: 1px solid var(--border);

    padding: 70px 5% 25px;
}

.footer-content {
    max-width: var(--container);

    margin: auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 50px;
}

.footer-brand p {
    color: var(--text-muted);

    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-links h3 {
    color: var(--text);

    font-size: 0.9rem;

    margin-bottom: 10px;
}

.footer-links a {
    width: fit-content;

    color: var(--text-muted);

    font-size: 0.85rem;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: var(--container);

    margin: auto;
    padding-top: 25px;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--border);

    color: #666666;

    font-size: 0.75rem;
}


/* =========================
   16. SELECTION
   ========================= */

::selection {
    background: var(--primary);
    color: #000000;
}


/* =========================
   17. SCROLLBAR
   ========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    background: #333333;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* =========================================================
   ABOUT PAGE
========================================================= */

/* Page Hero */
.page-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)),
        url("../assets/images/team.jpg") center/cover no-repeat;
    padding: 120px 20px 70px;
}

.page-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin: 15px 0;
    font-weight: 900;
}

.page-hero h1 span {
    color: var(--primary);
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: #ccc;
    line-height: 1.8;
}


/* About Introduction */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 15px 0 25px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* Story Section */
.story-section {
    background: #0d0d0d;
}

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 15px 0;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading p {
    color: #aaa;
    line-height: 1.7;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.story-card {
    background: #151515;
    padding: 35px;
    border: 1px solid #222;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.story-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.story-card h3 {
    margin-bottom: 15px;
}

.story-card p {
    color: #aaa;
    line-height: 1.7;
}


/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    color: #aaa;
    line-height: 1.7;
}


/* Mission & Vision */
.mission-section {
    background: #0d0d0d;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mission-card {
    padding: 45px;
    background: #151515;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
}

.mission-card h2 {
    font-size: 2rem;
    margin: 18px 0;
}

.mission-card h2 span {
    color: var(--primary);
}

.mission-card p {
    color: #aaa;
    line-height: 1.8;
}


/* =========================================================
   TEAM PAGE
========================================================= */

.team-intro {
    padding-bottom: 20px;
}

.players-section {
    padding-top: 30px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


/* Player Card */
.player-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.player-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}


/* Player Image */
.player-image {
    position: relative;
    height: 330px;
    background: #1a1a1a;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.05);
}


/* Position Badge */
.player-position {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #000;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 7px 10px;
    border-radius: 5px;
}


/* Player Information */
.player-info {
    position: relative;
    padding: 22px;
}

.player-number {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 900;
    color: #292929;
}

.player-info h3 {
    font-size: 1.15rem;
    margin-bottom: 7px;
    padding-right: 35px;
}

.player-info p {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   ABOUT + TEAM CTA
========================================================= */

.cta-section {
    background:
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
        url("../assets/images/team.jpg") center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    margin: 15px 0 25px;
    font-weight: 900;
}

.cta-content h2 span {
    color: var(--primary);
}

.cta-content p {
    color: #bbb;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================================================
   ABOUT + TEAM RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .players-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 768px) {

    .page-hero {
        min-height: 40vh;
        padding: 110px 20px 60px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-card {
        padding: 30px;
    }

    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .player-image {
        height: 280px;
    }

}


@media (max-width: 450px) {

    .players-grid {
        grid-template-columns: 1fr;
    }

    .player-image {
        height: 350px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .mission-card h2 {
        font-size: 1.6rem;
    }

    .cta-section {
        padding: 75px 20px;
    }

       }


/* =========================================================
   ELITE BALLERS FC
   FIXTURES • RESULTS • GALLERY • NEWS • CONTACT
   PAGE-SPECIFIC STYLES + ANIMATIONS
========================================================= */


/* =========================================================
   GLOBAL PAGE ANIMATIONS
========================================================= */

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(212, 255, 0, 0);
    }

    50% {
        box-shadow: 0 0 25px rgba(212, 255, 0, 0.15);
    }
}

@keyframes floatingBall {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* Animate page content */

.page-hero,
.section-padding,
.cta-section {
    animation: pageFadeIn 0.7s ease both;
}


/* =========================================================
   FIXTURES
========================================================= */

.fixtures-section {
    position: relative;
}

.fixtures-grid {
    max-width: 1000px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: 1fr;

    gap: 20px;
}

.fixture-card {
    position: relative;

    display: grid;
    grid-template-columns: 120px 1fr auto;

    align-items: center;

    gap: 25px;

    padding: 25px;

    background: #111;

    border: 1px solid #242424;
    border-radius: 14px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;

    animation: slideUp 0.7s ease both;
}


/* Green/yellow accent line */

.fixture-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: var(--primary);

    transform: scaleY(0);
    transform-origin: bottom;

    transition: transform 0.35s ease;
}

.fixture-card:hover {
    transform: translateY(-6px);

    border-color: var(--primary);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.fixture-card:hover::before {
    transform: scaleY(1);
}

.fixture-date {
    text-align: center;

    padding: 15px 10px;

    background: #181818;

    border-radius: 10px;
}

.fixture-date strong {
    display: block;

    color: var(--primary);

    font-size: 28px;
    line-height: 1;
}

.fixture-date span {
    display: block;

    margin-top: 7px;

    color: #888;

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.fixture-details h3 {
    margin-bottom: 8px;

    font-size: 20px;
}

.fixture-details p {
    color: #888;

    font-size: 14px;

    line-height: 1.7;
}

.fixture-time {
    text-align: right;

    color: var(--primary);

    font-weight: 800;

    white-space: nowrap;
}

.fixture-time span {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 12px;

    font-weight: 400;
}

.fixtures-note {
    max-width: 750px;

    margin: 35px auto 0;

    padding: 18px 20px;

    text-align: center;

    color: #888;

    background: #101010;

    border: 1px solid #222;

    border-radius: 10px;

    font-size: 13px;
}


/* =========================================================
   RESULTS
========================================================= */

.results-section {
    position: relative;
}

.results-grid {
    max-width: 1000px;

    margin: 40px auto 0;

    display: grid;

    gap: 18px;
}

.result-card {
    display: grid;

    grid-template-columns: 110px 1fr auto;

    align-items: center;

    gap: 25px;

    padding: 24px;

    background: #111;

    border: 1px solid #242424;

    border-radius: 14px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease;

    animation: slideUp 0.7s ease both;
}

.result-card:hover {
    transform: translateX(6px);

    border-color: #333;
}

.result-date {
    text-align: center;

    color: #888;

    font-size: 13px;
}

.result-date strong {
    display: block;

    margin-bottom: 5px;

    color: #fff;

    font-size: 22px;
}

.result-match h3 {
    margin-bottom: 7px;

    font-size: 19px;
}

.result-score {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 26px;

    font-weight: 900;
}

.result-score .our-score {
    color: var(--primary);
}

.result-score .separator {
    color: #444;
}

.result-status {
    min-width: 75px;

    padding: 8px 12px;

    text-align: center;

    border-radius: 50px;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* Result states */

.result-status.win {
    color: var(--primary);

    background: rgba(212, 255, 0, 0.08);

    border: 1px solid rgba(212, 255, 0, 0.25);
}

.result-status.draw {
    color: #fff;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid #333;
}

.result-status.loss {
    color: #ff7777;

    background: rgba(255, 80, 80, 0.07);

    border: 1px solid rgba(255, 80, 80, 0.2);
}


/* Result statistics */

.results-stats {
    max-width: 900px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.result-stat {
    padding: 25px 15px;

    text-align: center;

    background: #111;

    border: 1px solid #242424;

    border-radius: 12px;

    animation: scaleIn 0.7s ease both;
}

.result-stat strong {
    display: block;

    color: var(--primary);

    font-size: 30px;
}

.result-stat span {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    position: relative;
}

.gallery-grid {
    margin-top: 40px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.gallery-item {
    position: relative;

    height: 280px;

    overflow: hidden;

    background: #111;

    border: 1px solid #222;

    border-radius: 12px;

    cursor: pointer;

    animation: scaleIn 0.7s ease both;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);

    filter: brightness(0.55);
}


/* Gallery overlay */

.gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 20px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.05)
    );

    opacity: 0;

    transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: #fff;

    margin-bottom: 5px;

    transform: translateY(15px);

    transition: transform 0.35s ease;
}

.gallery-overlay span {
    color: var(--primary);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 2px;

    transform: translateY(15px);

    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}


/* =========================================================
   NEWS
========================================================= */

.news-section {
    position: relative;
}


/* Featured news */

.featured-news {
    max-width: 1100px;

    margin: 40px auto;

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    background: #111;

    border: 1px solid #242424;

    border-radius: 15px;

    overflow: hidden;

    animation: slideUp 0.8s ease both;
}

.featured-news-image {
    min-height: 380px;

    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.featured-news:hover .featured-news-image img {
    transform: scale(1.05);
}

.featured-news-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 45px;
}

.news-category {
    display: inline-block;

    width: fit-content;

    margin-bottom: 12px;

    padding: 6px 12px;

    color: var(--primary);

    background: rgba(212, 255, 0, 0.08);

    border: 1px solid rgba(212, 255, 0, 0.2);

    border-radius: 50px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.featured-news-content h2 {
    margin-bottom: 15px;

    font-size: 32px;

    line-height: 1.15;
}

.featured-news-content p {
    color: #999;

    line-height: 1.8;

    margin-bottom: 20px;
}

.news-date {
    color: #666;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* News cards */

.news-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.news-card {
    background: #111;

    border: 1px solid #242424;

    border-radius: 12px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;

    animation: slideUp 0.7s ease both;
}

.news-card:hover {
    transform: translateY(-8px);

    border-color: var(--primary);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.news-card-image {
    height: 210px;

    overflow: hidden;

    background: #181818;
}

.news-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.07);
}

.news-card-content {
    padding: 22px;
}

.news-card-content h3 {
    margin: 10px 0;

    font-size: 19px;

    line-height: 1.35;
}

.news-card-content p {
    color: #888;

    line-height: 1.7;

    font-size: 14px;
}

.news-card-content .news-date {
    margin-top: 15px;
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-intro {
    text-align: center;
}

.contact-intro .section-heading {
    max-width: 750px;

    margin: 0 auto;
}


/* Coach */

.coach-section {
    background: #0d0d0d;
}

.coach-card {
    max-width: 1000px;

    margin: 40px auto 0;

    display: grid;

    grid-template-columns: 320px 1fr;

    gap: 45px;

    align-items: center;

    padding: 35px;

    background: #111;

    border: 1px solid #242424;

    border-radius: 15px;

    animation: slideRight 0.8s ease both;

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.coach-card:hover {
    border-color: var(--primary);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.coach-image {
    width: 100%;
}

.image-placeholder {
    height: 350px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #181818;

    border: 2px dashed #333;

    border-radius: 12px;

    color: #777;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    animation: glowPulse 3s ease-in-out infinite;
}

.coach-role {
    color: var(--primary);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.coach-info h3 {
    margin: 10px 0 20px;

    font-size: 34px;
}

.coach-bio {
    color: #aaa;

    line-height: 1.8;

    margin-bottom: 15px;
}

.coach-contact {
    margin-top: 25px;

    display: flex;

    flex-direction: column;

    gap: 10px;

    color: #aaa;
}

.coach-contact strong {
    color: #fff;
}


/* Team contacts */

.team-contact-grid {
    margin-top: 40px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.team-contact-card {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px;

    background: #111;

    border: 1px solid #242424;

    border-radius: 12px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;

    animation: slideUp 0.6s ease both;
}

.team-contact-card:hover {
    transform: translateY(-5px);

    border-color: var(--primary);

    background: #151515;
}

.contact-avatar {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: #000;

    border-radius: 50%;

    font-size: 20px;

    font-weight: 900;

    transition: transform 0.3s ease;
}

.team-contact-card:hover .contact-avatar {
    transform: rotate(8deg) scale(1.08);
}

.team-contact-card h3 {
    margin-bottom: 5px;
}

.team-contact-card span {
    display: block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 13px;
}

.team-contact-card p {
    color: #888;

    font-size: 14px;
}


/* WhatsApp */

.whatsapp-section {
    background: #0d0d0d;
}

.whatsapp-card {
    max-width: 900px;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 35px;

    padding: 40px;

    background: #111;

    border: 1px solid #242424;

    border-radius: 15px;

    animation: scaleIn 0.8s ease both;
}

.whatsapp-icon {
    width: 80px;
    height: 80px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #25D366;

    color: #fff;

    border-radius: 50%;

    font-size: 35px;

    animation: floatingBall 2.5s ease-in-out infinite;
}

.whatsapp-content {
    flex: 1;
}

.whatsapp-content h2 {
    margin: 8px 0 12px;
}

.whatsapp-content h2 span {
    color: var(--primary);
}

.whatsapp-button.is-disabled {
    opacity: .5;
    pointer-events: none;
    cursor: not-allowed;
}

.coach-contact strong {
    font-weight: 800;
}

.whatsapp-content p {
    color: #aaa;

    line-height: 1.7;

    margin-bottom: 25px;
}

.whatsapp-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 22px;

    background: #25D366;

    color: #fff;

    border-radius: 8px;

    font-weight: 800;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}


/* Contact form */

.contact-form {
    max-width: 850px;

    margin: 40px auto 0;
}

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #fff;

    font-size: 14px;

    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px;

    background: #111;

    color: #fff;

    border: 1px solid #292929;

    border-radius: 8px;

    outline: none;

    font-family: inherit;

    font-size: 15px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(212, 255, 0, 0.06);
}

.form-group textarea {
    resize: vertical;

    min-height: 150px;
}

.contact-form .btn {
    border: none;

    cursor: pointer;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .featured-news {
        grid-template-columns: 1fr;
    }

    .featured-news-image {
        min-height: 300px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .coach-card {
        grid-template-columns: 1fr;

        gap: 25px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

    /* Fixtures */

    .fixture-card {
        grid-template-columns: 80px 1fr;

        gap: 15px;

        padding: 18px;
    }

    .fixture-time {
        grid-column: 2;

        text-align: left;
    }


    /* Results */

    .result-card {
        grid-template-columns: 75px 1fr;

        gap: 15px;
    }

    .result-status {
        grid-column: 2;

        width: fit-content;
    }

    .result-score {
        font-size: 22px;
    }


    /* Gallery */

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .gallery-item {
        height: 260px;
    }

    /*
       On touch devices there is no hover.
       Keep the gallery overlay visible enough
       to show the image information.
    */

    .gallery-overlay {
        opacity: 1;

        justify-content: flex-end;

        align-items: flex-start;

        text-align: left;
    }

    .gallery-overlay h3,
    .gallery-overlay span {
        transform: translateY(0);
    }


    /* News */

    .news-grid {
        grid-template-columns: 1fr;
    }

    .featured-news-content {
        padding: 28px 22px;
    }

    .featured-news-content h2 {
        font-size: 26px;
    }


    /* Coach */

    .coach-card {
        padding: 25px;
    }

    .image-placeholder {
        height: 260px;
    }


    /* Team contacts */

    .team-contact-grid {
        grid-template-columns: 1fr;
    }


    /* WhatsApp */

    .whatsapp-card {
        flex-direction: column;

        text-align: center;

        padding: 30px 20px;
    }


    /* Form */

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .fixture-card {
        padding: 15px;

        grid-template-columns: 65px 1fr;
    }

    .fixture-date strong {
        font-size: 22px;
    }

    .result-card {
        padding: 17px;

        grid-template-columns: 60px 1fr;
    }

    .results-stats {
        grid-template-columns: 1fr 1fr;
    }

    .result-stat {
        padding: 20px 10px;
    }

    .result-stat strong {
        font-size: 25px;
    }

    .coach-info h3 {
        font-size: 27px;
    }

    .team-contact-card {
        padding: 17px;
    }

    .contact-avatar {
        width: 48px;
        height: 48px;

        font-size: 17px;
    }

    .whatsapp-icon {
        width: 70px;
        height: 70px;

        font-size: 30px;
    }

}


/* =========================================================
   REDUCED MOTION
   Accessibility: respect users who disable animations.
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

   }
