/* Variables CSS */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #ff6b00;
    --accent-color: #00c853;
    --accents-color: #ff6b00;
    --dark-bg: linear-gradient(180deg, #071122 0%, #081427 60%);
    --light-bg: #f5f5f5;
    --text-light: #ffffff;
    --texts-color: #ffffff;
    --lights-bg: #0f2a4a;
    --text-dark: #333333;
    --card-bg: rgba(255, 255, 255, 0.1);
    --cards-bg: rgba(15, 42, 74, 0.7);
    --transition: all 0.3s ease;

    --primary-red: #e26a3d;
    --primary-reds: #CE1126;
    --primary-yellow: #FCD116;
    /* #009460*/
    --primary-green: #0f1f3d;
    --primary-greens: #009460;
/*            --secondary-color: #1A1A1A;*/
    --text-light: #FFFFFF;
    --rajah: hsl(29, 99%, 67%);
    --razzmatazz: hsl(335, 87%, 51%);
    --gradient-1: linear-gradient(90deg,var(--royal-blue-dark) 0,var(--ksu-purple) 51%,var(--royal-blue-dark));
    --gradient-2: linear-gradient(90deg,var(--razzmatazz) ,var(--rajah));
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #0d5bb9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: #e05a00;
}

.btn-secondar {
    background-color: transparent;
    border: 1px solid var(--accents-color);
    color: var(--accents-color);
}

.btn-secondar:hover {
    background: #e05a00;
    color: #fff;
}

.section {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* Header */
header {
    background: rgba(7, 17, 34, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary-color);
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
/*.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1575361204480-aadea25e6e68?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80') no-repeat center center/cover;
    border-radius: 20px 0 0 20px;
    animation: float 6s ease-in-out infinite;
}*/

.hero {
    padding: 2rem 1rem 2rem;
    text-align: center;
    background: url('../img/cover.avif') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 17, 34, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Styles */
/*section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}*/

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

/* Features Section */

.features-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.feature-cards {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icons {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px 20px;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.feature-card {
    background: var(--card-bg);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 1.9rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Conteneur principal */
.features-compact {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grille compacte */
.features-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Carte compacte */
.feature-card-compact {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 90px;
}

.feature-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #4361ee;
/*    background: #f8f9ff;*/
    color:#333;
}

/* Icône compacte */
.feature-icon-compact {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.2);
}

/* Contenu compact */
.feature-content-compact {
    flex: 1;
    min-width: 0; /* Important pour l'ellipsis */
}

.feature-content-compact h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.feature-content-compact p {
    margin: 0;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.4;
}

/* Bouton compact */
.hero-buttons-compact {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.btn-compact {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.3);
    background: linear-gradient(135deg, #3a56d4, #2f4bc2);
}

.btn-compact i {
    font-size: 0.9rem;
}

/* Version très compacte (pour les petits espaces) */
.feature-card-mini {
    padding: 1rem;
    min-height: 70px;
}

.feature-icon-mini {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
}

.feature-content-mini h4 {
    font-size: 0.9rem;
}

.feature-content-mini p {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .feature-card-compact {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .feature-icon-compact {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .features-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .features-compact {
        padding: 1rem;
    }

    .feature-card-compact{
        display: none;
    }
}

/* Players Section */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.player-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.player-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.player-info {
    padding: 20px;
}

.player-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.player-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Version compacte des cartes joueurs */
.player-card-compact {
    width: 280px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 5px 10px;
    display: inline-block;
    vertical-align: top;
}

.player-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.compact-header {
    display: flex;
    padding: 15px;
    align-items: center;
/*    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
    background: var(--card-bg);
    border-bottom: 1px solid #eee;
}

.compact-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-right: 15px;
    flex-shrink: 0;
}

.compact-basic-info {
    flex: 1;
    min-width: 0; /* Important pour le text-overflow */
}

.compact-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-position {
    display: inline-block;
    background: #4361ee;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.compact-age {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.compact-details {
    padding: 15px;
    background: var(--card-bg);
}

.compact-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #fff;
}

.detail-label {
    margin-right: 10px;
    font-size: 14px;
    opacity: 0.7;
    width: 20px;
    text-align: center;
}

.compact-btn {
    width: 100%;
    padding: 10px;
    background: #4361ee;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 12px;
}

.compact-btn:hover {
    background: #3a56d4;
}

/* Responsive */
@media (max-width: 768px) {
    .player-card-compact {
        width: 100%;
        max-width: 320px;
        margin: 2px auto;
    }
}

/* Pour afficher plusieurs cartes en ligne */
.players-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Recruiters Section */
.recruiters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.recruiter-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.recruiter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.recruiter-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--secondary-color);
}

/* Teams Section */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Shop Section */
/*.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 10px 0;
}*/

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--cards-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.product-image {
    height: 200px;
    overflow: hidden;
}

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--accents-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn-primar {
    background-color: var(--accents-color);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.news-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Video Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn:hover {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.video-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    overflow: hidden;
}

.ad-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    width: 88%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ad-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 10px;
}

.ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ad-item {
    padding: 10px 20px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-yellow));
    color: var(--text-light);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.ad-item:hover {
    transform: scale(1.05);
}

/*.modal-img {
    width: 100%;
    height: auto;
    display: block;
}*/

.modal-video {
    width: 100%;
    height: auto;
    max-width: 800px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

/* Forms */
.form-container {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    max-width: 100%;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* Tabs */
/*.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab.active {
    border-bottom: 3px solid var(--secondary-color);
    color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}*/

.shop-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--lights-bg);
    border: none;
    color: var(--texts-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.tab-btn.active {
    background-color: var(--accents-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary-reds), var(--primary-yellow), var(--primary-greens));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.country-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    background: linear-gradient(to right, var(--primary-reds) 33%, var(--primary-yellow) 33% 66%, var(--primary-greens) 66%);
    margin-right: 5px;
    vertical-align: middle;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Page Styles */
.page {
    display: none;
    padding-top: 100px;
    min-height: 100vh;
}

.page.active {
    display: block;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Player Profile Tabs */
.player-tabs {
    display: flex;
    margin: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.player-tab {
    padding: 12px 25px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

.player-tab.active {
    border-bottom: 3px solid var(--secondary-color);
    color: var(--secondary-color);
}

.player-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.player-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Subscription Section */

.current-subscription {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.current-subscription h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.subscription-status {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.status-card {
    /*background: #f8f9fa;*/
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.status-card h3 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.status-card .value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

.status-active { color: #28a745; }
.status-expired { color: #dc3545; }
.status-none { color: #6c757d; }

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.plan-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Profile Layouts */
.profile-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.profile-image {
    flex: 1;
    min-width: 300px;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
}

.profile-details {
    flex: 2;
    min-width: 300px;
}

.profile-details h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 10px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
}

/* Product Layout */
.product-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-image {
    flex: 1;
    min-width: 300px;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
}

.product-details {
    flex: 2;
    min-width: 300px;
}

/* Postuler Layout */
.postuler-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.academy-info {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.postuler-form {
    flex: 2;
    min-width: 300px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-image {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(7, 17, 34, 0.95);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
        height: auto;
        min-height: 20vh;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-btns {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        height: 400px;
        border-radius: 20px;
    }
    
    .features {
        margin-top: 0;
        padding: 20px 10px;
    }

    .section {
        padding: 5px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    .tabs, .player-tabs {
        flex-wrap: wrap;
    }

    .tab, .player-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

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

    .subscription-plans {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }

    .profile-layout, .product-layout, .postuler-container {
        flex-direction: column;
    }

    .plan-price {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {

    .plan-price {
        font-size: 0.8rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 5px 10px;
    }
    
    .section {
        padding: 10px 0;
    }
    
    .features-grid, .players-grid, .recruiters-grid, .teams-grid, .products-grid, .news-grid, .gallery-grid, .videos-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

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

    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

.btnSelect {
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  cursor: pointer;
  transition: 0.2s;
}

.btnSelect:hover {
  background-color: #f3f3f3;
}

.btnSelect.active {
  background-color: #4a9eff;
  color: white;
  border-color: #4a9eff;
}

.currency-selector {
      display: flex;
      gap: 10px;
      margin-top: 10px;
  }
  
  .currency-option {
      flex: 1;
      text-align: center;
      padding: 12px;
      border: 2px solid #e6e6e6;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
      font-weight: 500;
  }
  
  .currency-option:hover {
      border-color: #c2c2c2;
  }
  
  .currency-option.selected {
      border-color: #4a6cf7;
      background-color: #f0f5ff;
      color: #4a6cf7;
      font-weight: 600;
  }

  .currency-player-selector {
      display: flex;
      gap: 10px;
      margin-top: 10px;
  }
  
  .currency-player-option {
      flex: 1;
      text-align: center;
      padding: 12px;
      border: 2px solid #e6e6e6;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
      font-weight: 500;
  }
  
  .currency-player-option:hover {
      border-color: #c2c2c2;
  }
  
  .currency-player-option.selected {
      border-color: #4a6cf7;
      background-color: #f0f5ff;
      color: #4a6cf7;
      font-weight: 600;
  }
  
  .payment-methods {
      margin: 25px 0;
  }
  
  .payment-title {
      font-size: 18px;
      margin-bottom: 15px;
      color: #333;
      font-weight: 600;
  }
  
  .payment-options {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
  }
  
  .payment-option {
      position: relative;
      border: 2px solid #e6e6e6;
      border-radius: 8px;
      padding: 15px;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 120px;
  }
  
  .payment-option:hover {
      border-color: #c2c2c2;
  }
  
  .payment-option.selected {
      border-color: #4a6cf7;
      background-color: #f0f5ff;
  }
  
  .payment-option input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
  }
  
  .payment-logo {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
  }
  
  .payment-name {
      font-weight: 500;
      color: #444;
  }

.selected-method {
      margin-top: 20px;
      padding: 15px;
/*              background-color: #f8f9fa;*/
      border-radius: 8px;
      text-align: center;
      display: none;
  }
  
  .selected-method.active {
      display: block;
  }
  
  .selected-method img {
      width: 40px;
      height: 40px;
      margin-right: 10px;
      vertical-align: middle;
  }


  .payment-player-methods {
      margin: 25px 0;
  }
  
  .payment-player-title {
      font-size: 18px;
      margin-bottom: 15px;
      color: #333;
      font-weight: 600;
  }
  
  .payment-player-options {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
  }
  
  .payment-player-option {
      position: relative;
      border: 2px solid #e6e6e6;
      border-radius: 8px;
      padding: 15px;
      cursor: pointer;
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 120px;
  }
  
  .payment-player-option:hover {
      border-color: #c2c2c2;
  }
  
  .payment-player-option.selected {
      border-color: #4a6cf7;
      background-color: #f0f5ff;
  }
  
  .payment-player-option input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
  }
  
  .payment-player-logo {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
  }
  
  .payment-player-name {
      font-weight: 500;
      color: #444;
  }

  .selected-player-method {
      margin-top: 20px;
      padding: 15px;
      border-radius: 8px;
      text-align: center;
      display: none;
  }
  
  .selected-player-method.active {
      display: block;
  }
  
  .selected-player-method img {
      width: 40px;
      height: 40px;
      margin-right: 10px;
      vertical-align: middle;
  }
  
  @media (max-width: 480px) {
      .payment-options {
          grid-template-columns: 1fr;
      }

      .currency-selector {
          flex-direction: column;
      }

      .payment-player-options {
          grid-template-columns: 1fr;
      }

      .currency-player-selector {
          flex-direction: column;
      }
  }

    video {
      width: 300px;
      height: 100%;
      display: block;
      background: #fff;
      box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    }