﻿body {
    background: radial-gradient(circle at 12% 8%, rgba(1, 165, 180, .10), transparent 24%), radial-gradient(circle at 88% 14%, rgba(243, 165, 54, .08), transparent 20%), linear-gradient(180deg, #f5f9fc 0%, #eaf1f6 100%);
}

/* HOME */

.hero-home {
    padding: 0 0 56px;
    background: radial-gradient(circle at top right, rgba(1, 165, 180, .12), transparent 32%), linear-gradient(180deg, #eef8fb 0%, #f7fbfd 55%, #ffffff 100%);
}

.hero-home-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* HERO BANNER */

.home-figma-hero {
    position: relative;
    width: 100vw;
    min-height: 360px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-radius: 0;
    border: 0;
    background: linear-gradient(90deg, #f7fbfd 0%, #edf8fb 48%, #dff3f7 100%);
}

.home-figma-bg {
    position: absolute;
    inset: 0;
    background-image: url("/assets/img/home/hero-athletes.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.home-figma-content {
    position: relative;
    z-index: 2;
    width: 46%;
    padding: 76px 70px 40px;
    text-align: center;
}

    .home-figma-content h1 {
        margin: 0 0 10px;
        font-size: 30px;
        line-height: 1.3;
        font-weight: 700;
        color: #1c1e3d;
    }

    .home-figma-content h2 {
        margin: 0 0 16px;
        font-size: 34px;
        line-height: 1.45;
        font-weight: 800;
        color: #01a5b4;
    }

    .home-figma-content p {
        max-width: 430px;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.9;
        font-weight: 500;
        color: #5d6a80;
    }

/* Keep text on left in English because image is fixed */
html[dir="ltr"] .home-figma-content {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

    html[dir="ltr"] .home-figma-content p {
        margin-left: 0;
        margin-right: auto;
    }

html[dir="ltr"] .home-figma-bg,
html[dir="rtl"] .home-figma-bg {
    background-position: right center;
}

/* KPI COUNTER */

.home-figma-counter,
.hero-cards-header,
.hero-home-stats {
    width: min(100% - 160px, 1720px);
    margin-left: auto;
    margin-right: auto;
}

.home-figma-counter {
    position: relative;
    z-index: 5;
    margin-top: -42px;
    margin-bottom: 42px;
    padding: 22px 38px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(28, 30, 61, .08);
}

.home-counter-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.home-counter-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

    .home-counter-text strong {
        font-size: 34px;
        line-height: 1;
        font-weight: 800;
        color: #1c1e3d;
        direction: ltr;
        unicode-bidi: bidi-override;
    }

    .home-counter-text span {
        font-size: 15px;
        line-height: 1.2;
        font-weight: 700;
    }

.home-counter-item i {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 21px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

.home-counter-player i,
.hero-module-card.player .hero-module-icon {
    background: #01a5b4;
}

.home-counter-tech i,
.hero-module-card.tech .hero-module-icon {
    background: #f3a536;
}

.home-counter-center i,
.hero-module-card.center .hero-module-icon {
    background: #e24243;
}

.home-counter-player .home-counter-text span {
    color: #01a5b4;
}

.home-counter-tech .home-counter-text span {
    color: #f3a536;
}

.home-counter-center .home-counter-text span {
    color: #e24243;
}

.home-counter-divider {
    width: 1px;
    height: 60px;
    background: rgba(28, 30, 61, .18);
}

/* GATEWAYS HEADER */

.hero-cards-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 22px;
}

.hero-cards-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1c1e3d;
    flex-shrink: 0;
}

.hero-cards-header h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
    color: #1c1e3d;
}

/* MAIN CARDS */

.hero-home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 0;
}

.hero-module-card {
    min-height: 200px;
    padding: 28px 24px 22px;
    border-radius: 24px;
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 12px 24px rgba(28, 30, 61, .08);
    transition: transform .22s ease, box-shadow .22s ease;
}

    .hero-module-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 34px rgba(28, 30, 61, .11);
    }

    .hero-module-card.player {
        background: #f9feff;
        border-color: rgba(1, 165, 180, .38);
    }

    .hero-module-card.tech {
        background: #fffdf8;
        border-color: rgba(243, 165, 54, .42);
    }

    .hero-module-card.center {
        background: #fffafa;
        border-color: rgba(226, 66, 67, .38);
    }

.hero-module-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(28, 30, 61, .14);
}

    .hero-module-icon i {
        color: #ffffff !important;
        font-size: 25px;
        line-height: 1;
    }

.hero-module-title {
    width: 100%;
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    text-align: center;
}

.hero-module-subtitle {
    max-width: 90%;
    margin: 0 auto 20px;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 500;
    text-align: center;
}

.hero-module-card.player .hero-module-subtitle {
    color: #01a5b4;
}

.hero-module-card.tech .hero-module-subtitle {
    color: #e49b24;
}

.hero-module-card.center .hero-module-subtitle {
    color: #e24243;
}

.hero-module-cta {
    width: 84%;
    height: 46px;
    margin-top: auto;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.hero-module-card.player .hero-module-cta {
    background: #01a5b4;
}

.hero-module-card.tech .hero-module-cta {
    background: #f3a536;
}

.hero-module-card.center .hero-module-cta {
    background: #e24243;
}

/* =========================
   SPORTS STRIP - FIGMA FINAL
========================= */

.sports-strip-lux {
    margin-top: 34px;
    padding: 26px 0 46px;
    overflow: hidden;
}

.sports-marquee {
    width: 100%;
    height: 96px;
    overflow-x: hidden;
    overflow-y: visible;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.sports-marquee-track,
.sports-marquee-group {
    height: 96px;
    display: flex;
    align-items: center;
}

.sports-marquee-group {
    gap: 22px;
    flex: 0 0 auto;
    padding-inline-end: 22px;
}

.sports-pill-item {
    width: 330px;
    height: 72px;
    padding: 0 14px;
    border-radius: 999px;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    direction: rtl;
    background: #ffffff;
    border: 0;
    box-shadow: 0 10px 24px rgba(28, 30, 61, .06);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

/* icon right */
.sports-pill-icon {
    order: 1 !important;
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

    .sports-pill-icon i {
        color: #fff !important;
        font-size: 24px;
        line-height: 1;
    }

/* name middle */
.sports-pill-name {
    order: 2 !important;
    flex: 1;
    text-align: right;
    color: #10a9bb;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
    padding-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* count left */
.sports-pill-count {
    order: 3 !important;
    height: 44px;
    min-width: 78px;
    padding: 0 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-right: 3px solid #ef4444;
    border-radius: 0;
    box-shadow: none;
    color: #000;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

    /* remove old pseudo lines */
    .sports-pill-item::after,
    .sports-pill-count::before {
        display: none !important;
        content: none !important;
    }

/* colors */
.sport-accent-1 .sports-pill-icon {
    background: #0ea5b7;
}

.sport-accent-2 .sports-pill-icon {
    background: #f3a536;
}

.sport-accent-3 .sports-pill-icon {
    background: #ef4444;
}

.sport-accent-4 .sports-pill-icon {
    background: #4f6bdc;
}

.sport-accent-5 .sports-pill-icon {
    background: #18b981;
}

.sport-accent-6 .sports-pill-icon {
    background: #8b5cf6;
}

/* =========================
   HERO BANNER - FINAL
========================= */

.home-figma-hero {
    position: relative;
    width: 100vw;
    height: 360px;
    min-height: 360px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    background: #eaf4f8;
}

/* Image always fixed to right */
.home-figma-bg {
    position: absolute;
    inset: 0;
    background-image: url("/assets/img/home/hero-athletes.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;
    z-index: 1;
}

/* Text always on left side */
.home-figma-content {
    position: relative;
    z-index: 2;
    width: 44%;
    height: 360px;
    margin-left: 0;
    margin-right: auto;
    padding: 64px 70px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Arabic also stays left */
html[dir="rtl"] .home-figma-content {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* English stays left */
html[dir="ltr"] .home-figma-content {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

.home-figma-content h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 800;
    color: #1c1e3d;
}

.home-figma-content h2 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.35;
    font-weight: 900;
    color: #01a5b4;
}

.home-figma-content p {
    max-width: 430px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 600;
    color: #5d6a80;
}

html[dir="ltr"] .home-figma-content p {
    margin-left: 0;
    margin-right: auto;
}

/* Mobile */
@media (max-width: 900px) {
    .home-figma-hero {
        height: 430px;
        min-height: 430px;
    }

    .home-figma-bg {
        background-size: cover;
        background-position: center bottom;
    }

    .home-figma-content {
        width: 100%;
        height: auto;
        padding: 36px 22px 230px;
        text-align: center !important;
    }

        .home-figma-content h1 {
            font-size: 24px;
        }

        .home-figma-content h2 {
            font-size: 26px;
        }

        .home-figma-content p {
            font-size: 14px;
        }
}