/* ========================================
   BREAKPOINTS CONSOLIDATION
   All media queries from rebrand CSS files
   ======================================== */
@font-face {
    font-family: "DM Sans";
    src: url('../../assets/fonts/DMSans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url('../../assets/fonts/DMSans.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url('../../assets/fonts/DMSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }
}


@keyframes scroll-fast {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }
}

@keyframes scroll-slow {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }
}

:root {

    /* #F4831F in decimal RGB */
    --main-color: rgb(244, 131, 31);
    --main-color-rgb: 244, 131, 31;

    /* #08C76A in decimal RGB */
    --color-two: rgb(8, 199, 106);
    --color-two-rgb: 8, 199, 106;

    /* #FDFAF8 in decimal RGB */
    --color-three: rgb(253, 250, 248);
    --color-three-rgb: 253, 250, 248;

    /* #002D45 in decimal RGB */
    --color-four: rgb(0, 45, 69);
    --color-four-rgb: 0, 45, 69;

    /* #fdf3ea in decimal RGB */
    --color-five: rgb(253, 243, 234);
    --color-five-rgb: 253, 243, 234;

    /* #FFE68D in decimal RGB */
    --color-six: rgb(255, 141, 141);
    --color-six-rgb: 255, 230, 141;

    /* #1F8EF4 in decimal RGB */
    --color-seven: rgb(31, 142, 244);
    --color-seven-rgb: 31, 142, 244;

    /* #E5EFD7 in decimal RGB */
    --color-eight: rgb(229, 239, 215);
    --color-eight-rgb: 229, 239, 215;

    /* #E0EBF4 in decimal RGB */
    --color-nine: rgb(224, 235, 244);
    --color-nine-rgb: 224, 235, 244;




    /* #ffffff in decimal RGB */
    --white-color: rgb(255, 255, 255);
    --white-color-rgb: 255, 255, 255;

    /* #000000 in decimal RGB */
    --black-color: rgb(0, 0, 0);
    --black-color-rgb: 0, 0, 0;

    --dark-purple-color-pw: rgb(51, 5, 48);
    --gray-color: rgb(51, 51, 48);
    --gray-color-rgb: 51, 51, 48;

    --purple-color: rgb(221, 187, 238);
    --purple-color-rgb: 221, 187, 238;

}

a:hover {
    color: var(--purple-color);
}

.purple-color {
    color: var(--purple-color) !important;
}


.btn-style-one:hover {
    color: var(--purple-color);
}

.btn-style-two:hover {
    color: var(--dark-purple-color-pw);
}

.text-section-title {
    font-size: var(--fixed--1-25rem);
    font-weight: var(--_typography---font-weight--medium);
    font-family: "DM Sans", sans-serif;
}

.header-sections-logo {
    width: auto;
    height: 40px;
}

.navbar_logo-wrap {
    position: relative;
    top: 0rem;
}

.navbar_logo {
    width: var(--fixed--5rem);
}

.heading-style-h5,
.heading-style-h6,
.home-about_heading,
.home-about_img-text,
.scroll-note_text {
    font-family: "DM Sans", sans-serif;
}

/* Desktop Large - 1200px and up */
.home-header_heading {
    font-family: var(--_typography---h1--font-family);
    font-size: var(--fixed--4rem);
    line-height: 100%;
    font-weight: var(--_typography---h1--font-weight);
    text-align: center;
}

.home-players_heading {
    text-align: right;
}

.home-players_heading span {
    display: block;
}

.line-break {
    display: block;
    margin-top: 10px;
}

.brands_heading {
    justify-self: end;
}

.brands_item-logo-wrap {
    overflow: hidden;
    height: 350px;
}

.brands_item-logo {
    object-fit: fill;
    height: 100%;
    width: 100%;

}

.services_component {
    grid-template-columns: auto 1fr;
}

.services_item {
    width: 50%;
}

.cta_content {
    background-color: initial;
    justify-content: normal;
}

.cta_graphic-wrap>iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.footer_social {
    display: block;
}

.footer_social-links {
    display: flex;
    margin-top: var(--fixed--4rem);
    gap: var(--fixed--0-25rem);
}

.footer_links-groups {
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
}

.footer_social-media-subtitle {
    margin-top: var(--fixed--0-5rem);
    color: rgba(var(--black-color-rgb), 0.55);
}

/* ========================================
   PACKAGES PAGE STYLES (using existing classes)
   ======================================== */

/* Hero Section */
.section_packages-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.packages-hero_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.playerpack-banner {
    background-image: url('/rebrand/images/playerpack/playerpack-big.png');
}

.playercard-banner {
    background-image: url('/rebrand/images/playercards/playercard-big.png');
}

.packages-hero_image .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.packages-hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 15%;
}

.packages-hero_content {
    text-align: center;
    color: white;
}

.packages-hero_title {
    font-size: var(--_typography---h3--font-size);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--white-color);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.25rem;
    text-align: left;
    line-height: normal;
}

.packages-hero_title span {
    display: block;
    font-weight: 700;
}

.packages-hero_subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.packages-hero_content>a {
    width: 50%;
    margin-top: 3rem;
}

.section_packages-cards {
    background: var(--_colors---primary--background);
}

.packages-cards_row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.packages-card {
    background: var(--white-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.packages-card_title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.packages-card_subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.packages-card_features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.packages-card_features li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.packages-card_features li svg {
    margin-right: var(--fixed--0-875rem);
}

.section_packages-images {
    padding: 0;
}

.packages-images_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.packages-image-item {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.packages-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.packages-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1rem;
}

.section_packages-scroll {
    background: var(--_colors---primary--background);
    padding: 0.5rem 0;
    overflow: hidden;
}

.packages-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.packages-scroll-wrapper {
    display: flex;
    gap: var(--fixed--0-5rem);
    will-change: transform;
    width: max-content;
    animation: scroll 30s linear infinite;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.players-packs_heading {
    text-align: center;
}

.players-packs_heading span {
    display: block;
}

/* Hide on mobile */
.hide-mobile {
    display: block;
}

/* Show only on mobile */
.show-mobile {
    display: none;
}

/* Faster scroll for first carousel (pack-1 to pack-5) */
/* .section_packages-scroll-first .packages-scroll-wrapper {
    animation: scroll-fast 30s linear infinite !important;
} */

/* Slower scroll for second carousel (pack-6 to pack-10) */
.section_packages-scroll-second .packages-scroll-wrapper {
    animation: scroll-slow 20s linear infinite !important;
}

.packages-scroll-item {
    flex-shrink: 0;
    width: auto;
    height: 250px;
    border-radius: 4px;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); */
}

.packages-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Recruitment Section */
.section_packages-recruitment {
    background: var(--_colors---primary--background);
}

.packages-recruitment_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.packages-recruitment_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.packages-recruitment_content h2 {
    margin-bottom: 1rem;
}

.packages-recruitment_text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Hide on tablet and down */
.hide-tablet-down {
    display: block;
}

/* Show only on tablet and down */
.show-tablet-down {
    display: none;
}

/* Text alignment utilities */
.text-center-mobile {
    text-align: left;
}

/* Spacing utilities */
.padding-mobile {
    padding: 20px;
}

/* ========================================
   PLAYER EXPERIENCES PAGE - STEP 1
   ======================================== */

/* Section container */
.section_player-experiences {
    position: relative;
    width: 100%;
    min-height: 300vh;
    /* 300vh: 100vh overlay 1, 100vh images only, 100vh overlay 2 */
    overflow: visible;
    /* Changed to visible to ensure footer is not hidden */
    background: var(--black-color);
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure footer is visible and positioned correctly after the section */
.page-wrapper .footer {
    position: relative;
    z-index: 20;
    margin-top: 0;
}

/* Image Grid - Full Screen, covering 100% height and width */
.player-experiences_grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    z-index: 1;
}

.player-experiences_grid-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.player-experiences_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* Hover zoom effect on images */
.player-experiences_grid-item:hover .player-experiences_image {
    transform: scale(1.1);
}

/* Overlay for first section - with text in center */
.player-experiences_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 1.5s ease;
    will-change: opacity;
}

/* ========================================
   ABOUT PAGE STYLES (using existing classes)
   ======================================== */

.section_about-hero {
    width: 100%;
    height: 100%;
}

.about-hero_img {
    object-fit: cover;
    display: block;
    margin: auto;
}

.goals_items {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: 1fr;
    gap: 20px;

}

.goals_item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: auto;
}

.goals_img-wrap {
    aspect-ratio: 3 / 2.5;
    border-radius: var(--border-radius--medium);
    width: 100%;
    position: relative;
    overflow: clip;
}

.goals_img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

.goals_item-infos {
    grid-column-gap: var(--fixed--0-25rem);
    grid-row-gap: var(--fixed--0-25rem);
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    padding: 1rem;
}

.about-content-header {
    font-size: 64px;
    font-family: var(--_typography---h4--font-family);
    line-height: var(--_typography---h4--line-height);
    font-weight: var(--_typography---h4--font-weight);
    letter-spacing: var(--_typography---h4--letter-spacing);
}

.about-content-text {
    font-size: 32px;
}

.about-team-member-image {
    width: auto;
    height: auto;
}

.rounded-about {
    border-radius: var(--border-radius--medium);
}

/* ===================================
   Loader Spinner Styles
   =================================== */
.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 60px 20px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(128, 90, 213, 0.2);
    border-top-color: #805ad5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


.loader-text {
    margin-top: 20px;
    font-size: 18px;
    color: #805ad5;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===================================
   Position Section Styles
   =================================== */
.position-section {
    margin-bottom: 60px;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(128, 90, 213, 0.2);
}

.position-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    letter-spacing: -0.5px;
}

.position-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-purple-color-pw);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.position-view-all:hover {
    color: #6b46c1;
    background-color: rgba(128, 90, 213, 0.1);
    transform: translateX(4px);
}

.arrow-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.position-view-all:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-view-all-players {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--purple-color) 0%, rgb(155, 89, 182) 100%);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(128, 90, 213, 0.3);
}

.btn-view-all-players:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 90, 213, 0.4);
    color: white;
    text-decoration: none;
}

.btn-view-all-players:active {
    transform: translateY(0);
}

/* Player Cards Page */
.section_playercards-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.playercards-hero_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.playercards-hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: left;
    padding-left: 5%;
    padding-bottom: 3rem;
}

.playercards-hero_content {
    text-align: center;
    color: white;
    width: 60%;
}

.playercards-hero_content img {
    width: 70%;
}

.playercards-hero_title {
    font-size: var(--_typography---h1--font-size);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--white-color);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.25rem;
    line-height: normal;
}

.playercards-hero_title span {
    font-weight: 700;
    color: var(--purple-color);
}

.section_playercards-cards {
    background: var(--_colors---primary--background);
}

.search-container {
    position: relative;
}

.form-control.search-input {
    height: 50px;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
    padding-left: 0rem;
    border: none;
    background-color: #D9D9D9;
}

.input-group-text {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border: none;
    background-color: #D9D9D9;
    height: 100%;
}

.search-icon {
    color: #888;
}

/* Recently Viewed Section */
.recently-viewed {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.recently-viewed-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
}

.recently-viewed-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.recent-player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.recent-player-card:hover {
    transform: translateY(-5px);
}

.recent-player-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.recent-player-card:hover .recent-player-img {
    box-shadow: 0 6px 20px rgba(128, 90, 213, 0.4);
}

.recent-player-name {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 120px;
}

.recent-player-card:hover .recent-player-name {
    color: #805ad5;
}

/* ===================================
   Search Player Cards Styles
   =================================== */
.search-filters-bar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f7fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper {
    flex: 1;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
}

.search-input:focus {
    outline: none;
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

.filter-select-wrapper {
    min-width: 180px;
}

.filter-select {
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #805ad5;
    box-shadow: 0 0 0 3px rgba(128, 90, 213, 0.1);
}

.clear-filters-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background-color: #805ad5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.clear-filters-btn:hover {
    background-color: #6b46c1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 90, 213, 0.3);
}

.clear-filters-btn:active {
    transform: translateY(0);
}

/* Results Summary - Modern Design */
.results-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.results-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%); */
    background: linear-gradient(135deg, var(--purple-color) 0%, var(--dark-purple-color-pw) 100%);
    padding: 6px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(128, 90, 213, 0.3);
    animation: fadeInScale 0.5s ease;
}

.results-icon {
    color: white;
    font-size: 18px;
}

.results-count {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.results-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f7fafc;
    padding: 14px 20px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    animation: fadeInScale 0.5s ease 0.1s both;
}

.filter-icon {
    color: #805ad5;
    font-size: 14px;
}

.filter-text {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
}

/* ===================================
   PlayerCard Detail Styles
   =================================== */

#page-title-card-player {
    padding: 0rem;
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: visible;
    background-image: url(../images/playercards/detail.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-clip: content-box;
    z-index: 5;
}

.player-info {
    display: flex;
    align-items: end;
    /* justify-content: space-between; */
    width: 100%;
    height: 100%;
    padding: 0 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
}

.player-image {
    position: relative;
    max-width: 200px;
    max-height: 250px;
    width: auto;
    height: 100%;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    bottom: -3rem;
}

.player-image img {
    height: 100%;
}

.player-details {
    position: relative;
    padding: 20px;
    text-align: left;
    flex-shrink: 0;
}

.player-detail-lastname {
    color: var(--white-color);
    line-height: 60px;
}

.player-detail-sport {
    color: var(--white-color);
    text-align: center;
    font-size: 1.5rem;
}

.player-detail-video {
    margin: 20px 0px;
}

.player-detail-video>a {
    color: var(--black-color);
    text-decoration: underline;
    font-weight: bold;
}

.player-detail-video.light>a {
    color: var(--gray-color);
}

/* Player Detail Buttons */
.player-detail-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
}

.btn-highlights,
.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: normal;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-highlights {
    background: var(--purple-color);
    color: var(--black-color);
}

.btn-highlights:hover {
    background: rgb(155, 89, 182);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.btn-share {
    background: white;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-share:hover {
    background: #f5f5f5;
    border-color: var(--purple-color);
    color: var(--purple-color);
    transform: translateY(-2px);
}

.btn-highlights i,
.btn-share i {
    font-size: 14px;
}

.playercard-tabs {
    justify-content: center;
    background-color: var(--white-color);
    border-bottom: none;
}

.playercard-tabs .nav-link {
    margin-bottom: calc(var(--bs-nav-tabs-border-width) * -1);
    background: #EEEEEE;
    border: var(--bs-nav-tabs-border-width) solid transparent;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 1rem 2.25rem;
    color: var(--black-color);
}

.playercard-tabs>li:first-child .nav-link {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.playercard-tabs>li:last-child .nav-link {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.playercard-tabs .nav-item.show .nav-link,
.playercard-tabs .nav-link.active {
    color: var(--black-color);
    background-color: var(--purple-color);
    border-color: var(--purple-color);
    font-weight: bold;
}

.player-info-section .tab-content {
    background-color: var(--white-color);
}

/* Overview Tab Styles */
.overview-container {
    padding: 0rem 1.5rem;
}

.stats-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
    width: fit-content;
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* White stats row - LEFT ALIGNED */
.overview-stats {
    background: var(--white-color);
}

.overview-stat-card {
    border: none;
    padding: 0.8rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #e0e0e0;
    min-width: 135px;
}

.overview-stat-card:last-child {
    border-right: none;
}

.overview-stat-card div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.overview-stat-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.overview-stat-card i,
.overview-stat-card img {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #666;
    margin: 0;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

.stat-large {
    font-size: 36px;
    line-height: 1;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.overview-image-left,
.overview-image-right {
    border-radius: 12px;
    overflow: hidden;
}

.overview-image-left img {
    width: 75%;
    height: auto;
    display: block;
    margin: auto;
}

.overview-image-right img {
    width: 75%;
    height: auto;
    display: block;
    margin: auto;
}

.overview-image-right {
    position: relative;
}

.elite-badge {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    color: white;
}

.elite-stage {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.elite-earned {
    font-size: 28px;
    font-weight: bold;
    color: var(--purple-color);
    margin: 0;
}

.overview-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Academic section - CENTERED */
.overview-academic {
    background: #000;
    color: white;
    margin: 0 auto 1.5rem auto;
    /* border-radius: 12px;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: fit-content; */
}

.academic-item {
    text-align: center;
}

.academic-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overview-academic .stat-value {
    color: white;
    font-size: 18px;
}

/* Test Scores section - RIGHT ALIGNED */
.overview-scores {
    background: #d3d3d3;
    color: var(--black-color);
    margin-left: auto;
}

.overview-scores .overview-stat-card {
    border-right: 1px solid var(--black-color);
    min-width: 100px;
}

.overview-scores .overview-stat-card:last-child {
    border-right: none;
}

.score-item {
    text-align: center;
}

.score-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.overview-scores .stat-value {
    font-size: 20px;
}

.overview-traits {
    text-align: center;
    padding: 1rem 0;
    align-content: center;
}

.overview-traits h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.traits-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.trait-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trait-item i {
    font-size: 40px;
    color: #000;
}

.trait-item img.trait-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.trait-item p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.no-traits {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 2rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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


.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results h3 {
    font-size: 28px;
    color: #2d3748;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 18px;
    color: #718096;
}

/* PlayerCard Hover Effects */
.team-block_two {
    transition: transform 0.3s ease;
}

.team-block_two:hover {
    transform: translateY(-8px);
}

.team-block_two-inner {
    transition: box-shadow 0.3s ease;
}

.team-block_two:hover .team-block_two-inner {
    box-shadow: 0 8px 25px rgba(128, 90, 213, 0.4);
}

.team-block_two-image img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.team-block_two:hover .team-block_two-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Scroll-triggered fade out using CSS scroll-driven animations */
@keyframes overlay-fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Disable pointer events when overlay is fully transparent */
@keyframes overlay-pointer-events {
    0% {
        pointer-events: auto;
    }

    99% {
        pointer-events: auto;
    }

    100% {
        pointer-events: none;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.player-experiences_overlay-1 {
    animation: overlay-fade-out linear, overlay-pointer-events linear;
    animation-timeline: scroll(root), scroll(root);
    animation-range: 0vh 100vh, 0vh 100vh;
    animation-fill-mode: both, both;
}

/* Second overlay: Softer, smoother fade in at 200vh, fade out at 300vh */
@keyframes overlay2-fade {
    0% {
        opacity: 0;
    }

    66.66% {
        opacity: 0;
    }

    79.16% {
        opacity: 1;
        /* Softer fade in from 200vh (66.66%) to 237.5vh (79.16%) - longer transition */
    }

    83.33% {
        opacity: 1;
        /* Stay fully visible until 250vh */
    }

    100% {
        opacity: 0;
        /* Smooth fade out from 250vh to 300vh */
    }
}

@keyframes overlay2-pointer-events {
    0% {
        pointer-events: none;
    }

    66.66% {
        pointer-events: none;
    }

    66.67% {
        pointer-events: auto;
    }

    99% {
        pointer-events: auto;
    }

    100% {
        pointer-events: none;
    }
}

.player-experiences_overlay-2 {
    opacity: 0;
    pointer-events: none;
    animation: overlay2-fade linear, overlay2-pointer-events linear;
    animation-timeline: scroll(root), scroll(root);
    animation-range: 0vh 300vh, 0vh 300vh;
    animation-fill-mode: both, both;
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: scroll()) {

    .player-experiences_overlay-1,
    .player-experiences_overlay-2 {
        animation: none;
        /* JavaScript will handle opacity in fallback */
    }
}

.player-experiences_overlay-content {
    text-align: center;
    color: var(--white-color);
    padding: 2rem;
}

.player-experiences_overlay-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: "DM Sans", sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.player-experiences_overlay-text {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    font-family: "DM Sans", sans-serif;
}


/* Tablet Down - 991px and down */
@media screen and (max-width: 991px) {

    /* Tablet down styles */
    /* Navigation adjustments */
    .navbar_links-wrap {
        display: none;
    }

    .navbar_hamburger-wrap {
        display: block;
        margin-left: 0px;
    }

    .navbar_logo-wrap {
        margin: auto;
    }

    .navbar_logo {
        height: auto;
        width: 3.5rem;
    }

    .button_inner {
        padding: var(--fixed--0-25rem) var(--fixed--1rem);
    }

    /* Layout adjustments */
    .container-medium {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Typography adjustments */
    .home-header_heading {
        font-size: 2.5rem;
    }

    .heading-style-h3 {
        font-size: 1.8rem;
    }

    /* Spacing adjustments */
    .padding-section-xxlarge {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .padding-section-medium {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hide-tablet-down {
        display: none;
    }

    .show-tablet-down {
        display: block;
    }

    /* Packages page */
    .packages-hero_title {
        font-size: 2rem;
    }

    .playerpack-banner {
        background-image: url('/rebrand/images/playerpack/playerpack-medium.png');
    }

    .playercard-banner {
        background-image: url('/rebrand/images/playercards/playercard-medium.png');
    }

    .packages-recruitment_row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .packages-recruitment_image {
        order: -1;
    }

    .packages-images_grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* First card takes full width */
    .packages-card:first-child {
        grid-column: 1 / -1;
    }

    .packages-cards_row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .about-content-header {
        font-size: 60px;
        font-family: var(--_typography---h4--font-family);
        line-height: var(--_typography---h4--line-height);
        font-weight: var(--_typography---h4--font-weight);
        letter-spacing: var(--_typography---h4--letter-spacing);
    }

    .about-content-text {
        font-size: 26px;
    }

    /* Player Cards Page */
    .playercards-hero_content {
        text-align: center;
        color: white;
        width: 100%;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .overview-stats-row,
    .overview-academic,
    .overview-scores {
        width: 100%;
        margin: 0 0 1.5rem 0;
    }

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

    .traits-icons {
        gap: 2rem;
    }

    .player-image {
        bottom: 0rem;
    }

}

/* Mobile Down - 767px and down */
@media screen and (max-width: 767px) {

    /* Mobile down styles */
    /* Navigation adjustments */
    .navbar_links-wrap {
        display: none;
    }

    .navbar_hamburger-wrap {
        display: block;
        margin-left: 0px;
    }

    .navbar_logo-wrap {
        margin: auto;
    }

    .navbar_logo {
        height: auto;
        width: 3.5rem;
    }

    .button_inner {
        padding: var(--fixed--0-25rem) var(--fixed--1rem);
    }

    /* Hero section */
    .home-header_component {
        text-align: center;
        padding: 40px 20px;
    }

    .home-header_heading {
        font-size: 2rem;
        line-height: 1.2;
    }

    .home-header_text {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    /* Image gallery */
    .home-header_imgs-wrapper {
        margin-top: 40px;
    }

    .home-header_img-wrap {
        margin-bottom: 20px;
    }

    /* Brands section */
    .brands_item-logo-wrap {
        overflow: hidden;
        height: 275px;
        width: 200px;
    }

    .brands_head {
        display: block;
    }

    .brands_heading {
        margin-top: var(--fixed--1rem);
    }

    .brands_heading>h3 {
        font-size: var(--fixed--1-25rem);
    }

    /* Services section */
    .services_items {
        flex-direction: column;
        gap: 30px;
    }

    .services_item {
        width: 100%;
    }

    /* CTA section */
    .cta_component {
        flex-direction: column;
        text-align: center;
    }

    .cta_graphic-wrap {
        order: 1;
        margin-top: 30px;
    }

    .cta_content {
        order: 2;
        align-items: center;
    }

    /* Footer */
    .footer_main {
        flex-direction: column;
        gap: 30px;
    }

    .footer_links-groups {
        text-align: center;
    }

    .footer_social {
        justify-content: center;
    }

    /* Typography */
    .heading-style-h4 {
        font-size: 1.4rem;
    }

    .heading-style-h5 {
        font-size: 1.6rem;
    }

    .heading-style-h6 {
        font-size: 1.2rem;
    }

    /* Spacing */
    .padding-global {
        padding-left: 15px;
        padding-right: 15px;
    }

    .spacer-medium {
        height: 30px;
    }

    .spacer-small {
        height: 20px;
    }

    .text-section-title {
        font-size: var(--fixed--1rem);
    }

    .header-sections-logo {
        width: auto;
        height: 30px;
    }

    .cta_graphic-wrap>iframe {
        width: 100%;
        height: 300px;
        object-fit: contain;
    }

    .text-center-mobile {
        text-align: center;
    }

    .padding-mobile {
        padding: 15px;
    }

    /* Disable animations on mobile for performance */
    .button_gradient-ball {
        animation: none;
    }

    .home-header_img {
        transition: none;
    }

    /* Packages page */
    .packages-hero_title {
        font-size: 1.5rem;
        text-align: center;
    }

    .packages-hero_subtitle {
        font-size: 1rem;
    }

    .playerpack-banner {
        background-image: url('/rebrand/images/playerpack/playerpack-small.png');
    }

    .playercard-banner {
        background-image: url('/rebrand/images/playercards/playercard-small.png');
    }


    .packages-scroll-item {
        width: auto;
        height: 200px;
    }

    .packages-images_grid {
        grid-template-columns: 1fr;
    }

    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: block;
    }

    .section_packages-hero {
        padding-top: 92px;
    }

    .packages-hero_overlay {
        position: relative;
        padding-left: 0px;
        justify-content: center;
    }

    .packages-hero_content>a {
        width: 50%;
        margin: auto;
    }

    .packages-cards_row {
        display: block;
    }

    .packages-card {
        margin-bottom: 1rem;
    }

    .packages-recruitment_content {
        text-align: center;
    }

    .packages-recruitment_content>a {
        margin: auto;
        width: 60% !important;
    }

    .player-experiences_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    /* 9th image: Full width (spans both columns on last row) */
    .player-experiences_grid-item:nth-child(9) {
        grid-column: 1 / -1;
        /* Spans from first to last column (full width) */
        grid-row: 5;
    }

    .player-experiences_overlay-title {
        font-size: 2.5rem;
    }

    .player-experiences_overlay-text {
        font-size: 1.1rem;
    }

    .about-content-header {
        font-size: 60px;
        font-family: var(--_typography---h4--font-family);
        line-height: var(--_typography---h4--line-height);
        font-weight: var(--_typography---h4--font-weight);
        letter-spacing: var(--_typography---h4--letter-spacing);
    }

    .about-content-text {
        font-size: 26px;
    }

    .loader-container {
        min-height: 300px;
        padding: 40px 20px;
    }

    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

    .loader-text {
        font-size: 16px;
    }

    .position-section {
        margin-bottom: 40px;
    }

    .position-header {
        gap: 10px;
        margin-bottom: 20px;
    }

    .position-title {
        font-size: 24px;
    }

    .position-view-all {
        font-size: 14px;
        padding: 6px 12px;
    }

    .arrow-icon {
        font-size: 16px;
    }

    .recently-viewed {
        padding: 15px;
    }

    .recently-viewed-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .recently-viewed-cards {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 12px;
    }

    .recent-player-img {
        max-width: 90px;
    }

    .recent-player-name {
        font-size: 12px;
        max-width: 90px;
    }

    .search-filters-bar {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .search-input-wrapper,
    .filter-select-wrapper {
        min-width: 100%;
    }

    .clear-filters-btn {
        width: 100%;
    }

    .no-results {
        padding: 60px 20px;
    }

    .no-results h3 {
        font-size: 22px;
    }

    .no-results p {
        font-size: 16px;
    }

    .results-summary {
        flex-direction: column;
        gap: 10px;
        margin: 20px 0;
    }

    .results-badge {
        gap: 10px;
        padding: 10px 20px;
    }

    .results-count {
        font-size: 20px;
    }

    .results-label {
        font-size: 12px;
    }

    .filter-badge {
        padding: 8px 16px;
    }

    .filter-text {
        font-size: 12px;
    }

    .overview-stats-row {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .overview-stat-card {
        border-right: none;
        padding: 1rem;
    }

    .overview-stat-card:last-child {
        border-bottom: none;
    }

    .overview-academic,
    .overview-scores {
        grid-template-columns: 1fr;
    }

    .traits-icons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .player-info {
        display: block;
        align-content: end;
    }

    .player-image {
        max-height: 225px;
        max-width: 200px;
        margin: auto;
        bottom: 0;
    }

    .player-details {
        text-align: center;
    }

    .overview-stats {
        width: 100%;
    }

}

/* Mobile Small - 479px and down */
@media screen and (max-width: 479px) {

    /* Mobile small styles */
    /* Navigation */
    .navbar {
        display: block;
    }

    .navbar_component {
        padding: 10px 15px;
    }

    .navbar_logo {
        height: auto;
        width: 3.5rem;
    }

    .button_inner {
        padding: var(--fixed--0-25rem) var(--fixed--1rem);
    }

    /* Hero section */
    .home-header_component {
        padding: 30px 15px;
    }

    .home-header_heading {
        font-size: 1.8rem;
    }

    .home-header_text {
        font-size: 1rem;
    }

    /* Buttons */
    .button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Image gallery */
    .home-header_img-wrap {
        margin-bottom: 15px;
    }

    /* Services */
    .services_item-infos {
        padding: 15px;
    }

    .services_desc {
        font-size: 0.9rem;
    }

    /* CTA */
    .cta_pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .cta_text {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer_legal-wrap {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer_template-links {
        flex-direction: column;
        gap: 10px;
    }

    /* Typography */
    .heading-style-h3 {
        font-size: 1.5rem;
    }

    .heading-style-h4 {
        font-size: 1.2rem;
    }

    .heading-style-h5 {
        font-size: 1.4rem;
    }

    .heading-style-h6 {
        font-size: 1.1rem;
    }

    /* Spacing */
    .padding-global {
        padding-left: 10px;
        padding-right: 10px;
    }

    .padding-section-xxlarge {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .padding-section-medium {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .spacer-medium {
        height: 25px;
    }

    .spacer-small {
        height: 15px;
    }

    .text-section-title {
        font-size: var(--fixed--1rem);
    }

    .header-sections-logo {
        width: auto;
        height: 30px;
    }

    .cta_graphic-wrap>iframe {
        width: 100%;
        height: 300px;
        object-fit: contain;
    }

    .padding-mobile {
        padding: 10px;
    }

    .goals_items {
        display: block;
    }

    .about-content-header {
        font-size: 48px;
        font-family: var(--_typography---h4--font-family);
        line-height: var(--_typography---h4--line-height);
        font-weight: var(--_typography---h4--font-weight);
        letter-spacing: var(--_typography---h4--letter-spacing);
        text-align: center;
        margin-top: 1rem;
    }

    .about-content-text {
        font-size: 20px;
        text-align: justify;
    }

    .player-details {
        padding: 1rem;
    }

    .player-detail-lastname {
        line-height: inherit;
    }

    .player-detail-sport {
        font-size: 1rem;
    }

    .playercard-tabs .nav-link {
        padding: 1rem 1.25rem;
    }

    .overview-stat-card {
        min-width: auto;
    }

    .overview-grid {
        display: block;
    }

    .stats-row {
        padding: 0.50rem 0.25rem;
    }

    .overview-stat-card {
        padding: 0.25rem;
    }

    .overview-stat-card h4 {
        font-size: 12px;
    }

    .stat-value {
        font-size: 14px;
    }

    .overview-scores .overview-stat-card {
        min-width: auto;
    }
}


/* Desktop - 992px to 1199px */
@media screen and (min-width: 992px) and (max-width: 1199px) {

    /* Desktop styles */
    .packages-hero_image {
        background-image: url('/rebrand/images/playerpack/playerpack-medium.png');
    }

    .packages-card:first-child {
        grid-column: 1 / -1;
    }

    .packages-cards_row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
}

/* Tablet Large - 768px to 991px */
@media screen and (min-width: 768px) and (max-width: 991px) {
    /* Tablet large styles */
}

/* Tablet - 768px and up */
@media (min-width: 768px) {
    /* Tablet and up styles */
}

/* Mobile Large - 480px to 767px */
@media screen and (min-width: 480px) and (max-width: 767px) {
    /* Mobile large styles */
}

@media screen and (max-width: 575px) {
    .position-section .row.clearfix>*:nth-child(4) {
        display: none;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {

    .navbar,
    .footer,
    .button {
        display: none;
    }

    .home-header_imgs-wrapper {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
    }
}