/* ===========================
   PAGE ACCUEIL
=========================== */
.body {
    background-color: var(--bg-main);
    background-image: url('../../img/background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero .overlay {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1s ease-out forwards;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(78, 164, 255, 0.3);
}

.hero h2 {
    font-size: 1.8rem;
    color: #e2e8f0;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 100px 5%;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    width: 320px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(78, 164, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: -webkit-linear-gradient(#4ea4ff, #8352fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.card p,
.card a {
    color: var(--text-muted);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 80px 5%;
    flex-wrap: wrap;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(10, 12, 18, 0.8), rgba(0, 0, 0, 0));
}

.stats div {
    text-align: center;
}

.stats h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 900;
}

.stats p {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ===========================
   SECTION MÃ‰TIERS DASHBOARD
=========================== */
.player-jobs-section {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 60px 20px 0 20px;
    animation: fadeIn 0.8s ease-out;
}

.section-heading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
}

.section-heading i {
    background: linear-gradient(135deg, #4ea4ff, #8352fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtext {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 15px;
}

.job-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .job-cards {
        grid-template-columns: 1fr;
    }
}

.job-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    background: black;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.job-card:hover {
    border-color: rgba(78, 164, 255, 0.5);
    background: rgb(3, 28, 56);
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(78, 164, 255, 0.15);
}

.job-card-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(78, 164, 255, 0.2), rgba(131, 82, 253, 0.2));
    border: 1px solid rgba(78, 164, 255, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--primary);
}

.job-card-info {
    flex-grow: 1;
}

.job-card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.job-grade {
    font-size: 13px;
    color: var(--text-muted);
}

.job-card-arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: transform 0.3s, color 0.3s;
}

.job-card:hover .job-card-arrow {
    transform: translateX(5px);
    color: var(--primary);
}

.no-job-msg {
    text-align: center;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-track img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    height: 500px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 35px;
    width: 50px;
    height: 60px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media(max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .stats {
        gap: 50px;
    }

    .job-card {
        padding: 18px 20px;
    }
}

/* ============================================
   BANNER & LINKS SECTION
============================================= */
.banner-links-section {
    padding: 40px 20px;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
}

.banner-links-container {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Left side: Image */
.banner-image {
    flex: 0 0 250px;
}
.banner-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.banner-image img:hover {
    transform: scale(1.02);
}

/* Right side: Links */
.banner-links-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 8px;
    transition: background 0.3s;
}
.banner-link-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.banner-link-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-color);
}
.banner-link-left i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}
.banner-link-text {
    font-weight: 500;
}

.banner-btn {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.banner-btn:hover:not(.static-btn) {
    background-color: var(--primary-color);
    color: #fff;
}
.static-btn {
    cursor: default;
    background-color: rgba(255, 255, 255, 0.1);
}

@media(max-width: 768px) {
    .banner-links-container {
        flex-direction: column;
        align-items: center;
    }
    .banner-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }
    .banner-link-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .banner-btn {
        width: 100%;
        text-align: center;
    }
}

/* Tweak for banner inside hero overlay */
.hero-banner-integration {
    background-color: transparent !important;
    padding: 20px 0 !important;
    margin: 20px 0;
}
.hero-banner-integration .banner-links-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(10px);
}