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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 15% 0%, rgba(105, 66, 255, .18), transparent 35%),
        radial-gradient(circle at 90% 20%, rgba(43, 88, 255, .11), transparent 32%),
        #08090d;
    color: #f5f5f7;
}

nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: auto;
    padding: 0 32px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand {
    color: white;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #898b94;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .2s;
}

.nav-links a:hover,
.nav-links .active {
    color: white;
}

main {
    max-width: 1180px;
    margin: auto;
    padding: 80px 30px;
}

.eyebrow {
    color: #858894;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(44px, 7vw, 82px);
    letter-spacing: -4px;
    line-height: .95;
}

.gradient {
    background: linear-gradient(90deg, #ffffff, #8a73ff);
    -webkit-background-clip: text;
    color: transparent;
}

.subtitle {
    margin-top: 24px;
    color: #8f929d;
    font-size: 16px;
    max-width: 600px;
    line-height: 1.7;
}

.hero {
    margin-bottom: 65px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 55px;
}

.stat {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    border-radius: 18px;
    backdrop-filter: blur(20px);
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
}

.stat-label {
    color: #757883;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    font-size: 9px;
    margin-top: 8px;
    font-weight: 800;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 22px;
}

.section-head h2 {
    font-size: 26px;
}

.section-head span {
    color: #686b74;
    font-size: 11px;
    letter-spacing: 1px;
}

.table-wrap {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    background: rgba(255,255,255,.02);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    padding: 18px 22px;
    text-align: left;
    color: #696c75;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

td {
    padding: 19px 22px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: 14px;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: .2s;
}

tbody tr:hover {
    background: rgba(255,255,255,.04);
}

.rank {
    color: #757883;
    font-weight: 900;
}

.player-link {
    color: white;
    text-decoration: none;
    font-weight: 800;
}

.player-link:hover {
    color: #a994ff;
}

.win {
    color: #9fffc3;
}

.loss {
    color: #ff9ca9;
}

.wr, .mvp {
    font-weight: 900;
}

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

.player-card {
    position: relative;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    text-decoration: none;
    color: white;
    transition: .2s ease;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.045);
    border-color: rgba(151,125,255,.35);
}

.player-card h3 {
    font-size: 19px;
    margin-bottom: 18px;
}

.mini-stats {
    display: flex;
    gap: 18px;
    color: #8c8f99;
    font-size: 11px;
}

.mini-stats strong {
    color: white;
    font-size: 13px;
}

.profile-head {
    margin-bottom: 45px;
}

.back {
    display: inline-block;
    color: #858894;
    text-decoration: none;
    margin-bottom: 25px;
    font-size: 12px;
    font-weight: 700;
}

.back:hover {
    color: white;
}

.profile-name {
    font-size: clamp(42px, 7vw, 72px);
    letter-spacing: -3px;
}

.teammate {
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 90% 0%, rgba(129,88,255,.16), transparent 40%),
        rgba(255,255,255,.025);
    margin-bottom: 55px;
}

.teammate small {
    display: block;
    color: #747782;
    letter-spacing: 2px;
    font-size: 9px;
    font-weight: 800;
    margin-bottom: 12px;
}

.teammate-name {
    font-size: 24px;
    font-weight: 900;
}

.teammate-info {
    margin-top: 10px;
    color: #898c96;
    font-size: 13px;
}

.result {
    font-weight: 900;
}

.result-w {
    color: #9fffc3;
}

.result-l {
    color: #ff9ca9;
}

.source {
    color: #777a84;
    font-size: 11px;
}

.mvp-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 100px;
    background: rgba(155,125,255,.12);
    color: #b9a6ff;
    font-size: 9px;
    font-weight: 900;
}

.empty {
    padding: 50px;
    text-align: center;
    color: #676a73;
}

footer {
    padding: 80px 30px 35px;
    text-align: center;
    color: #484b54;
    font-size: 11px;
    letter-spacing: 2px;
}

@media (max-width: 850px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 650px) {
    nav {
        padding: 0 18px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 9px;
    }

    main {
        padding: 55px 16px;
    }

    h1, .profile-name {
        letter-spacing: -2px;
    }

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

    th, td {
        padding: 14px 10px;
    }
}

.customs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-card {
    display: block;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: .2s ease;
}

.custom-card:hover {
    transform: translateY(-2px);
    border-color: rgba(151,125,255,.35);
    background: rgba(255,255,255,.045);
}

.custom-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.custom-id {
    font-size: 21px;
    font-weight: 900;
}

.custom-meta {
    color: #737680;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.teams-preview {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.team-preview {
    padding: 18px;
    background: rgba(255,255,255,.02);
    border-radius: 14px;
}

.team-preview.winner {
    border: 1px solid rgba(159,255,195,.12);
}

.team-label {
    font-size: 10px;
    color: #777a84;
    letter-spacing: 1.7px;
    font-weight: 800;
    margin-bottom: 11px;
}

.team-preview.winner .team-label {
    color: #9fffc3;
}

.team-names {
    color: #d8d9de;
    font-size: 13px;
    line-height: 1.8;
}

.vs {
    font-size: 11px;
    font-weight: 900;
    color: #555862;
}

.custom-bottom {
    margin-top: 20px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: #787b85;
    font-size: 11px;
}

.custom-bottom strong {
    color: white;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 45px;
}

.match-team {
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
}

.match-team.winner {
    background:
        radial-gradient(circle at 100% 0%, rgba(93,255,155,.09), transparent 45%),
        rgba(255,255,255,.025);
}

.match-team h2 {
    font-size: 20px;
    margin-bottom: 22px;
}

.match-team.winner h2 {
    color: #9fffc3;
}

.match-player {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.match-player:last-child {
    border-bottom: none;
}

@media (max-width: 700px) {
    .teams-preview {
        grid-template-columns: 1fr;
    }

    .vs {
        text-align: center;
    }

    .match-teams {
        grid-template-columns: 1fr;
    }
}


.dashboard-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 16px;
    margin-bottom: 65px;
}

.dashboard-card {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    border-radius: 20px;
    padding: 28px;
}

.dashboard-title {
    color: #777a84;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 9px;
    font-weight: 900;
    margin-bottom: 22px;
}

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

.podium-player {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
}

.podium-player:first-child {
    background:
        radial-gradient(circle at 100% 0%, rgba(143,107,255,.20), transparent 55%),
        rgba(255,255,255,.03);
}

.podium-rank {
    color: #777a84;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.podium-name {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 10px;
}

.podium-stats {
    color: #81848e;
    font-size: 11px;
    line-height: 1.7;
}

.highlight-value {
    font-size: 27px;
    font-weight: 900;
    margin-bottom: 8px;
}

.highlight-sub {
    color: #7d8089;
    font-size: 11px;
    line-height: 1.6;
}

.home-link {
    display: inline-block;
    margin-top: 18px;
    color: #a997ff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.home-link:hover {
    color: white;
}

@media (max-width: 800px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

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


.ranking-podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 55px;
}

.ranking-card {
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    min-height: 180px;
}

.ranking-card.first {
    background:
        radial-gradient(circle at 90% 0%, rgba(145,108,255,.25), transparent 50%),
        rgba(255,255,255,.035);
    border-color: rgba(153,122,255,.25);
}

.ranking-place {
    color: #777a84;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.ranking-card.first .ranking-place {
    color: #b7a5ff;
}

.ranking-name {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 14px;
}

.ranking-details {
    color: #858892;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .ranking-podium {
        grid-template-columns: 1fr;
    }
}


.search-box {
    width: 100%;
    margin-bottom: 25px;
    padding: 17px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.025);
    color: white;
    font-size: 14px;
    outline: none;
    transition: .2s;
}

.search-box::placeholder {
    color: #656873;
}

.search-box:focus {
    border-color: rgba(150,120,255,.45);
    background: rgba(255,255,255,.04);
}

.hof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.hof-card {
    min-height: 230px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 100% 0%, rgba(132,93,255,.13), transparent 50%),
        rgba(255,255,255,.025);
}

.hof-label {
    color: #858894;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 35px;
}

.hof-value {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 7px;
}

.hof-name {
    font-size: 21px;
    font-weight: 900;
    margin-bottom: 10px;
}

.hof-detail {
    color: #81848f;
    font-size: 12px;
    line-height: 1.7;
}

.hof-list {
    display: flex;
    flex-direction: column;
}

.hof-row {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;
    padding: 18px 4px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}

.hof-row:last-child {
    border-bottom: none;
}

.hof-rank {
    color: #70737e;
    font-size: 12px;
    font-weight: 900;
}

.hof-score {
    font-weight: 900;
}

@media (max-width: 850px) {
    .hof-grid {
        grid-template-columns: 1fr;
    }
}


.profile-ranking {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: #858894;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.profile-ranking strong {
    color: #b4a2ff;
}


.home-hero-premium {
    position: relative;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 55px;
    padding: 55px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 85% 15%, rgba(127,88,255,.22), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(46,91,255,.10), transparent 40%),
        linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.home-hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent);
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    border-radius: 100px;
    color: #989ba6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8cffb6;
    box-shadow: 0 0 14px rgba(140,255,182,.7);
}

.home-title {
    font-size: clamp(55px, 7vw, 92px);
    line-height: .88;
    letter-spacing: -5px;
    font-weight: 950;
}

.home-title span {
    display: block;
    background: linear-gradient(90deg, #ffffff 0%, #beb2ff 45%, #7b68ff 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.home-description {
    max-width: 570px;
    margin-top: 28px;
    color: #91949f;
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 32px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
    transition: .2s ease;
}

.hero-button.primary {
    background: #f2f0ff;
    color: #111217;
}

.hero-button.primary:hover {
    transform: translateY(-2px);
    background: white;
}

.hero-button.secondary {
    color: #aaa4c4;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.025);
}

.hero-button.secondary:hover {
    color: white;
    border-color: rgba(155,128,255,.35);
}

.hero-side {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-side-card {
    padding: 23px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,.075);
    background: rgba(7,8,13,.48);
    backdrop-filter: blur(15px);
}

.hero-side-label {
    color: #6f727d;
    font-size: 8px;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 13px;
}

.hero-side-value {
    color: white;
    font-size: 20px;
    font-weight: 900;
}

.hero-side-sub {
    margin-top: 7px;
    color: #7e818c;
    font-size: 11px;
}

.home-stats {
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.home-section-divider {
    height: 1px;
    margin: 70px 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.09),
        transparent
    );
}

@media (max-width: 850px) {
    .home-hero-premium {
        grid-template-columns: 1fr;
        padding: 35px 25px;
        min-height: auto;
    }

    .home-title {
        letter-spacing: -3px;
    }

    .hero-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {
    .hero-side {
        grid-template-columns: 1fr;
    }
}


.profile-hero-premium {
    position: relative;
    margin-bottom: 28px;
    padding: 45px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 90% 0%, rgba(126,87,255,.20), transparent 38%),
        radial-gradient(circle at 0% 100%, rgba(46,88,255,.09), transparent 40%),
        rgba(255,255,255,.022);
}

.profile-hero-premium::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    top: -140px;
    border-radius: 50%;
    background: rgba(126,87,255,.08);
    filter: blur(40px);
    pointer-events: none;
}

.profile-eyebrow {
    color: #777a85;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
}

.profile-premium-name {
    position: relative;
    z-index: 2;
    font-size: clamp(48px, 7vw, 78px);
    line-height: .95;
    letter-spacing: -4px;
    font-weight: 950;
}

.profile-riot {
    margin-top: 17px;
    color: #90939e;
    font-size: 13px;
    font-weight: 600;
}

.profile-bottom {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rank-chip {
    padding: 10px 14px;
    border-radius: 100px;
    border: 1px solid rgba(167,142,255,.20);
    background: rgba(139,105,255,.08);
    color: #858892;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.rank-chip strong {
    color: #c0b2ff;
    margin-left: 6px;
}

.profile-game-count {
    color: #656872;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 650px) {
    .profile-hero-premium {
        padding: 30px 22px;
    }

    .profile-premium-name {
        letter-spacing: -2px;
    }
}


.match-history-card {
    display: block;
    position: relative;
    padding: 28px;
    margin-bottom: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 0% 0%, rgba(117,82,255,.08), transparent 35%),
        rgba(255,255,255,.022);
    text-decoration: none;
    color: white;
    transition: .2s ease;
}

.match-history-card:hover {
    transform: translateY(-3px);
    border-color: rgba(145,116,255,.28);
    background:
        radial-gradient(circle at 0% 0%, rgba(117,82,255,.13), transparent 38%),
        rgba(255,255,255,.032);
}

.match-history-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.match-history-number {
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -1px;
}

.match-history-date {
    color: #686b76;
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.match-history-teams {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 15px;
    align-items: stretch;
}

.history-team {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.055);
    background: rgba(4,5,9,.30);
}

.history-team.winner {
    border-color: rgba(137,255,181,.12);
    background:
        radial-gradient(circle at 0% 0%, rgba(76,255,150,.06), transparent 50%),
        rgba(4,5,9,.30);
}

.history-result {
    margin-bottom: 13px;
    color: #777a85;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.history-team.winner .history-result {
    color: #9fffc3;
}

.history-player {
    display: block;
    color: #d9dae0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.history-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f525c;
    font-size: 10px;
    font-weight: 950;
}

.match-history-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.match-chip {
    padding: 7px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    color: #777a85;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.match-chip strong {
    color: #d9dae0;
}

.match-chip.mvp {
    color: #a998ff;
    border-color: rgba(156,126,255,.16);
    background: rgba(139,104,255,.06);
}

@media (max-width: 700px) {
    .match-history-teams {
        grid-template-columns: 1fr;
    }

    .history-vs {
        padding: 3px;
    }

    .match-history-card {
        padding: 20px;
    }
}


.custom-detail-hero {
    position: relative;
    padding: 42px;
    margin-bottom: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 90% 0%, rgba(126,88,255,.18), transparent 42%),
        rgba(255,255,255,.022);
    overflow: hidden;
}

.custom-detail-eyebrow {
    color: #777a85;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2.4px;
    margin-bottom: 20px;
}

.custom-detail-title {
    font-size: clamp(45px, 6vw, 72px);
    font-weight: 950;
    letter-spacing: -3px;
    line-height: 1;
}

.custom-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.detail-chip {
    padding: 9px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    color: #80838e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.detail-chip strong {
    color: #dcdde2;
}

.detail-chip.mvp {
    color: #aa99ff;
    border-color: rgba(157,128,255,.18);
    background: rgba(140,105,255,.07);
}

.custom-detail-teams {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 50px;
}

.custom-detail-team {
    padding: 30px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.018);
}

.custom-detail-team.winner {
    border-color: rgba(127,255,175,.13);
    background:
        radial-gradient(circle at 0% 0%, rgba(91,255,153,.07), transparent 45%),
        rgba(255,255,255,.018);
}

.custom-detail-result {
    margin-bottom: 24px;
    color: #777a85;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 2.2px;
}

.custom-detail-team.winner .custom-detail-result {
    color: #9fffc3;
}

.custom-detail-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.custom-detail-player:last-child {
    border-bottom: 0;
}

.custom-detail-player .player-link {
    font-size: 15px;
}

.custom-detail-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d505a;
    font-size: 11px;
    font-weight: 950;
}

.custom-mvp-highlight {
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(158,128,255,.15);
    background:
        radial-gradient(circle at 100% 0%, rgba(137,101,255,.18), transparent 45%),
        rgba(255,255,255,.02);
}

.custom-mvp-highlight small {
    display: block;
    margin-bottom: 11px;
    color: #80768f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.custom-mvp-highlight strong {
    font-size: 25px;
}

@media (max-width: 700px) {
    .custom-detail-hero {
        padding: 28px 22px;
    }

    .custom-detail-teams {
        grid-template-columns: 1fr;
    }

    .custom-detail-vs {
        padding: 3px;
    }
}


.ranking-hero-premium {
    position: relative;
    padding: 48px;
    margin-bottom: 45px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(126,88,255,.20), transparent 38%),
        radial-gradient(circle at 0% 100%, rgba(52,83,255,.08), transparent 40%),
        rgba(255,255,255,.022);
}

.ranking-hero-premium .eyebrow {
    margin-bottom: 22px;
}

.ranking-hero-title {
    font-size: clamp(52px, 7vw, 82px);
    line-height: .9;
    letter-spacing: -4px;
    font-weight: 950;
}

.ranking-hero-title span {
    display: block;
    background: linear-gradient(90deg, #fff, #927dff);
    -webkit-background-clip: text;
    color: transparent;
}

.ranking-hero-sub {
    margin-top: 25px;
    max-width: 600px;
    color: #8c8f9a;
    line-height: 1.7;
    font-size: 14px;
}

.podium-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}

.podium-premium-card {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border-radius: 21px;
    border: 1px solid rgba(255,255,255,.075);
    background: rgba(255,255,255,.022);
    overflow: hidden;
}

.podium-premium-card.first {
    background:
        radial-gradient(circle at 100% 0%, rgba(144,105,255,.26), transparent 55%),
        rgba(255,255,255,.032);
    border-color: rgba(154,125,255,.25);
}

.podium-premium-rank {
    color: #737680;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 2px;
    margin-bottom: 38px;
}

.podium-premium-card.first .podium-premium-rank {
    color: #b7a7ff;
}

.podium-premium-name {
    font-size: 27px;
    font-weight: 950;
    margin-bottom: 15px;
}

.podium-premium-stats {
    color: #858892;
    font-size: 11px;
    line-height: 1.9;
}

.ranking-table-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ranking-table-title h2 {
    font-size: 27px;
}

.ranking-table-title span {
    color: #686b76;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

@media (max-width: 700px) {
    .ranking-hero-premium {
        padding: 30px 22px;
    }

    .ranking-hero-title {
        letter-spacing: -2px;
    }

    .podium-premium {
        grid-template-columns: 1fr;
    }
}


.news-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.news-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 100% 0%, rgba(125,87,255,.10), transparent 40%),
        rgba(255,255,255,.022);
}

.news-poster {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.news-content {
    padding: 30px;
}

.news-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.news-title {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 950;
    letter-spacing: -1.5px;
}

.news-date {
    color: #71747e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 27px;
}

.news-tag {
    padding: 8px 11px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    color: #8a8d97;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.news-teams {
    display: grid;
    grid-template-columns: 1fr 55px 1fr;
    gap: 15px;
    align-items: stretch;
}

.news-team {
    padding: 21px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(5,6,10,.32);
}

.news-team-label {
    margin-bottom: 15px;
    color: #777a85;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.news-player {
    display: block;
    color: #dedfe4;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.9;
}

.news-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #50535d;
    font-size: 10px;
    font-weight: 950;
}

.news-actions {
    margin-top: 25px;
}

.news-replay {
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 11px;
    background: #f1efff;
    color: #101116;
    text-decoration: none;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 1.2px;
}

.news-replay:hover {
    background: white;
}

.news-champions {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.news-champions-title {
    margin-bottom: 8px;
    color: #8b79ff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 2px;
}

.news-champions-names {
    color: white;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
}

.news-champion-poster {
    width: 100%;
    display: block;
    margin-top: 22px;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-error {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    color: #777a85;
    text-align: center;
}

@media (max-width: 700px) {
    .news-content {
        padding: 21px;
    }

    .news-top {
        flex-direction: column;
    }

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

    .news-vs {
        padding: 2px;
    }
}


/* NEWS REFINED V2 */

.news-list {
    gap: 22px;
}

.news-card {
    max-width: 920px;
    margin: 0 auto;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(125,87,255,.07), transparent 38%),
        rgba(255,255,255,.018);
}

.news-poster {
    width: calc(100% - 44px);
    height: auto;
    aspect-ratio: auto;
    margin: 22px auto 0;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,.07);
    object-fit: contain;
}

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

.news-top {
    align-items: center;
    margin-bottom: 15px;
}

.news-title {
    font-size: clamp(21px, 3vw, 29px);
    letter-spacing: -1px;
}

.news-date {
    font-size: 8px;
    opacity: .75;
}

.news-tags {
    gap: 6px;
    margin-bottom: 18px;
}

.news-tag {
    padding: 6px 9px;
    font-size: 7px;
}

.news-teams {
    grid-template-columns: 1fr 32px 1fr;
    gap: 10px;
}

.news-team {
    padding: 15px 17px;
    border-radius: 13px;
}

.news-team-label {
    margin-bottom: 10px;
    font-size: 8px;
}

.news-player {
    font-size: 12px;
    line-height: 1.65;
}

.news-vs {
    font-size: 8px;
}

.news-actions {
    margin-top: 17px;
}

.news-replay {
    padding: 9px 13px;
    border-radius: 9px;
    font-size: 8px;
}

.news-champions {
    margin-top: 20px;
    padding-top: 20px;
}

.news-champions-title {
    font-size: 8px;
}

.news-champions-names {
    font-size: 16px;
}

.news-champion-poster {
    width: calc(100% - 20px);
    margin: 16px auto 0;
    border-radius: 12px;
}

@media (max-width: 700px) {
    .news-card {
        max-width: 100%;
    }

    .news-poster {
        width: calc(100% - 24px);
        margin-top: 12px;
    }

    .news-content {
        padding: 18px;
    }

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


.showmatch-grid-manual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.showmatch-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
    text-decoration: none;
    color: white;
    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.showmatch-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(142,112,255,.28);
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

.showmatch-tile-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.showmatch-tile-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.showmatch-tile:hover img {
    transform: scale(1.035);
}

.showmatch-tile-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(7,8,12,.72),
            transparent 45%
        );
    pointer-events: none;
}

.showmatch-number {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.showmatch-arrow {
    position: absolute;
    right: 17px;
    bottom: 15px;
    z-index: 2;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
    font-size: 13px;
    transition: transform .3s ease;
}

.showmatch-tile:hover .showmatch-arrow {
    transform: translateX(3px);
}

.showmatch-tile-info {
    padding: 18px 19px 20px;
}

.showmatch-tile-title {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 8px;
}

.showmatch-tile-meta {
    color: #777a85;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.showmatch-detail-image {
    width: 100%;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 26px;
}

.showmatch-detail-header {
    margin-bottom: 32px;
}

.showmatch-detail-title {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 950;
    letter-spacing: -3px;
    line-height: .95;
}

.showmatch-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.showmatch-detail-tag {
    padding: 8px 11px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    color: #838691;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.showmatch-score-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.showmatch-score-team {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
}

.showmatch-score-team.winner {
    color: #b7a6ff;
}

.showmatch-score {
    font-size: 29px;
    font-weight: 950;
}

.showmatch-detail-teams {
    display: grid;
    grid-template-columns: 1fr 55px 1fr;
    gap: 14px;
    align-items: stretch;
}

.showmatch-detail-team {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.018);
}

.showmatch-detail-team.winner {
    border-color: rgba(155,126,255,.18);
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(124,88,255,.09),
            transparent 50%
        ),
        rgba(255,255,255,.018);
}

.showmatch-detail-team-name {
    margin-bottom: 18px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.8px;
    color: #777a85;
}

.showmatch-detail-team.winner .showmatch-detail-team-name {
    color: #ad9aff;
}

.showmatch-detail-player {
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: 14px;
    font-weight: 750;
}

.showmatch-detail-player:last-child {
    border-bottom: 0;
}

.showmatch-detail-vs {
    display: grid;
    place-items: center;
    color: #50535d;
    font-size: 9px;
    font-weight: 950;
}

.showmatch-replay {
    display: inline-flex;
    margin-top: 26px;
    padding: 12px 16px;
    border-radius: 11px;
    background: #f1efff;
    color: #101116;
    text-decoration: none;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 1.2px;
    transition: transform .2s ease;
}

.showmatch-replay:hover {
    transform: translateY(-2px);
}

@media (max-width: 760px) {
    .showmatch-grid-manual {
        grid-template-columns: 1fr;
    }

    .showmatch-detail-teams {
        grid-template-columns: 1fr;
    }

    .showmatch-detail-vs {
        padding: 3px;
    }
}


.home-showmatches {
    margin: 55px 0 65px;
}

.home-showmatch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.home-showmatch-card {
    display: block;
    overflow: hidden;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.018);
    color: white;
    text-decoration: none;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.home-showmatch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(145,115,255,.28);
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
}

.home-showmatch-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.home-showmatch-card:hover img {
    transform: scale(1.035);
}

.home-showmatch-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7,8,12,.70),
        transparent 50%
    );
}

.home-showmatch-id {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 12px;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: 1.5px;
}

.home-showmatch-info {
    padding: 14px 15px 16px;
}

.home-showmatch-score {
    font-size: 18px;
    font-weight: 950;
    margin-bottom: 5px;
}

.home-showmatch-meta {
    color: #747782;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 1px;
}

.home-showmatch-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.home-showmatch-head h2 {
    font-size: 25px;
}

.home-showmatch-head a {
    color: #888b96;
    text-decoration: none;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.home-showmatch-head a:hover {
    color: white;
}

@media (max-width: 800px) {
    .home-showmatch-grid {
        grid-template-columns: 1fr;
    }
}


/* UIDESIGN TIPS — POLISH PASS V1 */

:root {
    --ui-accent: #9480ff;
    --ui-accent-soft: rgba(148,128,255,.12);

    --ui-text: #f4f3f7;
    --ui-muted: #8b8d97;
    --ui-muted-2: #656872;

    --ui-border: rgba(255,255,255,.065);
    --ui-border-hover: rgba(255,255,255,.14);

    --ui-surface: rgba(255,255,255,.018);
    --ui-surface-hover: rgba(255,255,255,.035);

    --ui-radius-lg: 20px;
    --ui-radius-md: 12px;
}


/* --------------------------------
   TYPOGRAPHIE / HIÉRARCHIE
-------------------------------- */

body {
    color: var(--ui-text);
    line-height: 1.5;
}

.hero {
    margin-bottom: 56px;
}

.hero h1,
.ranking-hero-title,
.profile-premium-name,
.custom-detail-title,
.showmatch-detail-title {
    letter-spacing: -3px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 72px);
}

.subtitle,
.home-description,
.ranking-hero-sub {
    max-width: 62ch;
    color: var(--ui-muted);
    line-height: 1.75;
}

.eyebrow,
.profile-eyebrow,
.custom-detail-eyebrow {
    color: var(--ui-muted-2);
    letter-spacing: 2.2px;
}


/* --------------------------------
   NAVIGATION
-------------------------------- */

nav {
    max-width: 1180px;
    height: 72px;
}

.nav-links {
    gap: 25px;
}

.nav-links a {
    position: relative;
    color: #777a84;
    transition:
        color .18s ease,
        opacity .18s ease;
}

.nav-links a:hover {
    color: #dcdde2;
}

.nav-links a.active {
    color: white;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    border-radius: 10px;
    background: var(--ui-accent);
}


/* --------------------------------
   CARDS : moins "boîtes partout"
-------------------------------- */

.stat,
.dashboard-card,
.player-card,
.ranking-card,
.ranking-premium-card,
.podium-premium-card,
.hof-card,
.custom-card,
.match-history-card,
.showmatch-tile,
.home-showmatch-card,
.teammate,
.custom-mvp-highlight {
    border-color: var(--ui-border);
    background-color: var(--ui-surface);
}


/* Grosses cartes */
.home-hero-premium,
.ranking-hero-premium,
.profile-hero-premium,
.custom-detail-hero,
.news-card {
    border-radius: var(--ui-radius-lg);
    border-color: var(--ui-border);
}


/* Cartes internes */
.stat,
.player-card,
.dashboard-card,
.hof-card,
.match-history-card,
.showmatch-tile,
.home-showmatch-card,
.teammate,
.custom-detail-team,
.showmatch-detail-team {
    border-radius: var(--ui-radius-md);
}


/* --------------------------------
   CLICKABILITÉ
-------------------------------- */

.player-card,
.showmatch-tile,
.home-showmatch-card,
.match-history-card {
    cursor: pointer;

    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease,
        box-shadow .22s ease;
}

.player-card:hover,
.showmatch-tile:hover,
.home-showmatch-card:hover,
.match-history-card:hover {
    transform: translateY(-3px);
    border-color: var(--ui-border-hover);
    background-color: var(--ui-surface-hover);
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
}


/* --------------------------------
   BOUTONS / CTA
-------------------------------- */

.hero-button,
.news-replay,
.showmatch-replay,
.home-link {
    transition:
        transform .18s ease,
        background-color .18s ease,
        color .18s ease,
        border-color .18s ease;
}

.hero-button.primary,
.news-replay,
.showmatch-replay {
    border-radius: 10px;
    font-weight: 900;
}

.hero-button.primary:hover,
.news-replay:hover,
.showmatch-replay:hover {
    transform: translateY(-2px);
}

.hero-button.secondary {
    border-color: var(--ui-border);
    background: transparent;
}


/* --------------------------------
   COULEUR DE MARQUE
   réservée aux éléments forts
-------------------------------- */

.gradient {
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #b6a8ff 60%,
            var(--ui-accent) 100%
        );
    -webkit-background-clip: text;
    color: transparent;
}

.mvp-badge,
.rank-chip strong,
.home-link,
.detail-chip.mvp,
.match-chip.mvp {
    color: #b9aaff;
}


/* --------------------------------
   INFOS SECONDAIRES
-------------------------------- */

.section-head span,
.ranking-table-title span,
.custom-meta,
.match-history-date,
.home-showmatch-meta,
.showmatch-tile-meta,
.news-date,
.source {
    color: var(--ui-muted-2);
}


/* --------------------------------
   TABLEAUX
-------------------------------- */

.table-wrap {
    border-color: var(--ui-border);
    border-radius: var(--ui-radius-lg);
}

th {
    color: #676a74;
    font-size: 9px;
}

td {
    border-bottom-color: rgba(255,255,255,.04);
}

tbody tr:hover {
    background: rgba(255,255,255,.025);
}


/* --------------------------------
   ACCESSIBILITÉ CLAVIER
-------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--ui-accent);
    outline-offset: 3px;
}


/* --------------------------------
   ESPACEMENT GLOBAL
-------------------------------- */

main {
    max-width: 1120px;
}

.section-head,
.ranking-table-title,
.home-showmatch-head {
    margin-bottom: 20px;
}

footer {
    color: #41444d;
}


/* --------------------------------
   MOBILE
-------------------------------- */

@media (max-width: 700px) {

    main {
        padding-top: 48px;
    }

    .hero h1 {
        font-size: clamp(42px, 14vw, 58px);
    }

    .home-title {
        font-size: clamp(48px, 15vw, 66px);
        letter-spacing: -3px;
    }

    .subtitle,
    .home-description {
        font-size: 14px;
    }

    .nav-links {
        gap: 14px;
    }
}


/* CUSTOM DU VERSE — 3D SHOWMATCH CYLINDER */

.showmatch-cylinder-section {
    position: relative;
    margin: 70px 0 90px;
}

.showmatch-cylinder-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 8px;
}

.showmatch-cylinder-head h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.showmatch-cylinder-head a {
    color: #777b87;
    text-decoration: none;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
    transition: color .2s ease;
}

.showmatch-cylinder-head a:hover {
    color: #fff;
}

.showmatch-cylinder-kicker {
    margin-top: 8px;
    color: #555965;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}


/* ==========================
   SCÈNE
========================== */

.showmatch-cylinder-stage {
    position: relative;
    height: 430px;
    margin-top: 12px;

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

    perspective: 1100px;
    perspective-origin: 50% 44%;

    overflow: hidden;
}


/* glow discret derrière */

.showmatch-cylinder-stage::before {
    content: "";
    position: absolute;

    width: 650px;
    height: 230px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            ellipse,
            rgba(111, 78, 255, .12) 0%,
            rgba(70, 85, 255, .055) 35%,
            transparent 72%
        );

    filter: blur(25px);
    pointer-events: none;
}


/* lignes futuristes */

.showmatch-cylinder-stage::after {
    content: "";
    position: absolute;
    width: 760px;
    height: 1px;

    left: 50%;
    bottom: 61px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(147, 126, 255, .18),
            transparent
        );

    box-shadow:
        0 -80px 90px rgba(116, 83, 255, .055);

    pointer-events: none;
}


/* ==========================
   ANNEAU
========================== */

.showmatch-ring {
    position: relative;

    width: 390px;
    height: 220px;

    transform-style: preserve-3d;

    animation:
        cdvCylinderRotation 24s linear infinite;
}

.showmatch-cylinder-stage:hover .showmatch-ring {
    animation-play-state: paused;
}

@keyframes cdvCylinderRotation {

    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-360deg);
    }

}


/* ==========================
   PANNEAUX
========================== */

.showmatch-cylinder-card {
    position: absolute;

    inset: 0;

    width: 390px;
    height: 220px;

    overflow: hidden;

    border-radius: 15px;

    border:
        1px solid rgba(255,255,255,.09);

    background:
        #0a0b10;

    color: white;
    text-decoration: none;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-shadow:
        0 20px 55px rgba(0,0,0,.36);

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

.showmatch-cylinder-card:hover {
    border-color:
        rgba(161, 139, 255, .55);

    box-shadow:
        0 25px 70px rgba(0,0,0,.52),
        0 0 30px rgba(111,78,255,.13);

    filter: brightness(1.08);
}


/* ==========================
   IMAGE
========================== */

.showmatch-cylinder-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s cubic-bezier(.2,.7,.2,1);
}

.showmatch-cylinder-card:hover img {
    transform: scale(1.035);
}


/* gradient interne */

.showmatch-cylinder-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4,5,9,.88) 0%,
            rgba(5,6,10,.24) 36%,
            transparent 61%
        );

    pointer-events: none;
}


/* ==========================
   INFORMATIONS
========================== */

.showmatch-cylinder-info {
    position: absolute;

    z-index: 3;

    left: 17px;
    right: 17px;
    bottom: 14px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    pointer-events: none;
}

.showmatch-cylinder-id {
    font-size: 9px;
    font-weight: 950;

    letter-spacing: 1.5px;

    margin-bottom: 3px;
}

.showmatch-cylinder-meta {
    color: rgba(255,255,255,.53);

    font-size: 7px;
    font-weight: 850;

    letter-spacing: 1px;
}

.showmatch-cylinder-score {
    min-width: 43px;

    padding: 7px 10px;

    text-align: center;

    border-radius: 9px;

    border:
        1px solid rgba(255,255,255,.11);

    background:
        rgba(8,9,14,.58);

    backdrop-filter: blur(10px);

    font-size: 13px;
    font-weight: 950;
}


/* ==========================
   LABEL CENTRAL
========================== */

.showmatch-cylinder-status {
    position: absolute;

    left: 50%;
    bottom: 29px;

    transform: translateX(-50%);

    color: #555965;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 2px;

    text-transform: uppercase;

    white-space: nowrap;
}

.showmatch-cylinder-status span {
    color: #9784ff;
}


/* ==========================
   MOBILE : retour carousel 2D
========================== */

@media (max-width: 800px) {

    .showmatch-cylinder-section {
        margin: 50px 0 65px;
    }

    .showmatch-cylinder-stage {
        display: block;

        height: auto;

        margin-top: 24px;

        overflow-x: auto;
        overflow-y: hidden;

        perspective: none;

        padding-bottom: 12px;

        scrollbar-width: none;
    }

    .showmatch-cylinder-stage::-webkit-scrollbar {
        display: none;
    }

    .showmatch-cylinder-stage::before,
    .showmatch-cylinder-stage::after,
    .showmatch-cylinder-status {
        display: none;
    }

    .showmatch-ring {
        position: static;

        display: flex;

        width: max-content;
        height: auto;

        gap: 13px;

        animation: none !important;

        transform: none !important;

        transform-style: flat;
    }

    .showmatch-cylinder-card {
        position: relative;

        inset: auto;

        width: 285px;
        height: 161px;

        flex: 0 0 285px;

        transform: none !important;
    }

    /* Les 3 duplicatas ne servent qu'à la 3D desktop */
    .showmatch-cylinder-card:nth-child(n+4) {
        display: none;
    }

}


/* CDV CURVED SHOWMATCHS V2 */


/* On neutralise l'ancien panneau plat */
.showmatch-ring {
    width: 100%;
    height: 300px;
    animation: none !important;
    transform: none !important;
}


/* Nouvelle scène tournante */
.cdv-film-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 0;
    height: 0;

    transform-style: preserve-3d;

    animation:
        cdvFilmRotate 70s linear infinite;

    will-change: transform;
}


/* IMPORTANT :
   aucun arrêt au hover */
.showmatch-cylinder-stage:hover .cdv-film-ring {
    animation-play-state: running !important;
}


@keyframes cdvFilmRotate {

    from {
        transform:
            translate(-50%, -50%)
            rotateY(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateY(-360deg);
    }

}


/* ==========================
   UNE VIGNETTE = 7 LAMELLES
========================== */

.cdv-curved-card {
    position: absolute;

    left: 0;
    top: 0;

    width: 490px;
    height: 260px;

    transform-style: preserve-3d;

    transform:
        translate(-50%, -50%)
        rotateY(var(--card-angle))
        translateZ(445px);

    text-decoration: none;
    color: white;

    cursor: pointer;
}


/* chaque morceau vertical */
.cdv-film-slice {
    position: absolute;

    top: 0;

    width: 72px;
    height: 260px;

    overflow: hidden;

    background-image: var(--poster);
    background-repeat: no-repeat;

    background-size: 490px 260px;

    background-position:
        calc(var(--slice) * -70px) 0;

    border-top:
        1px solid rgba(255,255,255,.10);

    border-bottom:
        1px solid rgba(255,255,255,.08);

    transform-style: preserve-3d;

    transform:
        translateX(
            calc(
                (var(--slice) - 3) * 66px
            )
        )

        translateZ(
            calc(
                (3 - abs(var(--slice) - 3)) * 10px
            )
        )

        rotateY(
            calc(
                (var(--slice) - 3) * -7deg
            )
        );

    filter:
        brightness(
            calc(
                1 - abs(var(--slice) - 3) * .035
            )
        );

    transition:
        filter .25s ease;
}


/* Les angles extérieurs accentuent la courbure */
.cdv-film-slice:first-child {
    border-radius: 18px 0 0 18px;
}

.cdv-film-slice:last-of-type {
    border-radius: 0 18px 18px 0;
}


/* ombre/glow de l'ensemble */
.cdv-curved-card::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 455px;
    height: 230px;

    transform:
        translate(-50%, -50%)
        translateZ(-18px);

    border-radius: 50%;

    background:
        rgba(103,73,255,.13);

    filter: blur(35px);

    pointer-events: none;
}


/* voile inférieur */
.cdv-curved-card::after {
    content: "";

    position: absolute;

    z-index: 8;

    left: -235px;
    bottom: -130px;

    width: 470px;
    height: 110px;

    background:
        linear-gradient(
            to top,
            rgba(5,6,11,.88),
            transparent
        );

    pointer-events: none;
}


/* ==========================
   INFOS DE LA VIGNETTE
========================== */

.cdv-curved-info {
    position: absolute;

    z-index: 20;

    left: -216px;
    right: -216px;
    bottom: -117px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    pointer-events: none;

    transform: translateZ(25px);
}

.cdv-curved-title {
    font-size: 9px;
    font-weight: 950;

    letter-spacing: 1.5px;

    text-shadow:
        0 2px 10px rgba(0,0,0,.8);
}

.cdv-curved-meta {
    margin-top: 4px;

    color:
        rgba(255,255,255,.58);

    font-size: 7px;
    font-weight: 850;

    letter-spacing: 1px;
}

.cdv-curved-score {
    padding: 7px 10px;

    border-radius: 9px;

    border:
        1px solid rgba(255,255,255,.13);

    background:
        rgba(7,8,13,.7);

    backdrop-filter:
        blur(12px);

    font-size: 14px;
    font-weight: 950;
}


/* hover :
   petit éclaircissement,
   MAIS ON NE STOPPE PAS LA ROTATION */
.cdv-curved-card:hover .cdv-film-slice {
    filter: brightness(1.08);
}


/* ==========================
   SCÈNE PLUS LARGE
========================== */

.showmatch-cylinder-stage {
    height: 470px;

    perspective: 1000px;

    perspective-origin:
        50% 47%;

    overflow: hidden;
}


/* supprime ancien style des cartes */
.showmatch-cylinder-card {
    display: none !important;
}


/* label */
.showmatch-cylinder-status {
    bottom: 25px;
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 800px) {

    .showmatch-cylinder-stage {
        height: 300px;

        overflow: hidden;

        perspective: 800px;
    }

    .cdv-film-ring {
        animation-duration: 85s;
        transform-style: preserve-3d;
    }

    .cdv-curved-card {
        width: 320px;
        height: 180px;

        transform:
            translate(-50%, -50%)
            rotateY(var(--card-angle))
            translateZ(300px);
    }

    .cdv-film-slice {
        width: 48px;
        height: 180px;

        background-size:
            336px 180px;

        background-position:
            calc(var(--slice) * -48px) 0;

        transform:
            translateX(
                calc(
                    (var(--slice) - 3) * 44px
                )
            )

            rotateY(
                calc(
                    (var(--slice) - 3) * -7deg
                )
            );
    }

    .cdv-curved-info {
        display: none;
    }

}


/* CDV SHOWMATCH CAROUSEL V3 FIX */

.showmatch-cylinder-section {
    margin-top: 42px;
}

.showmatch-cylinder-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.showmatch-cylinder-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.showmatch-cylinder-kicker {
    margin-top: 6px;
    color: #7f7da8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 800;
}

.showmatch-cylinder-head a {
    color: #9d9bc8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.showmatch-cylinder-stage {
    position: relative;
    height: 460px;
    overflow: hidden;
    perspective: 1400px;
    perspective-origin: 50% 45%;
}

.showmatch-cylinder-track {
    position: absolute;
    left: 50%;
    top: 53%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    animation: cdvShowmatchSpin 80s linear infinite;
    will-change: transform;
}

.showmatch-cylinder-stage:hover .showmatch-cylinder-track {
    animation-play-state: running !important;
}

@keyframes cdvShowmatchSpin {
    from {
        transform: translate(-50%, -50%) rotateY(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotateY(-360deg);
    }
}

.showmatch-cylinder-card {
    position: absolute;
    left: -250px;
    top: -140px;
    width: 500px;
    height: 280px;
    transform-style: preserve-3d;
    transform:
        rotateY(var(--angle))
        translateZ(145px);
    text-decoration: none;
    color: white;
}

.showmatch-cylinder-poster {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background-image: var(--poster);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow:
        0 20px 60px rgba(0,0,0,.35),
        0 0 0 1px rgba(255,255,255,.04) inset;
}

.showmatch-cylinder-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(4,5,10,.92) 0%,
            rgba(4,5,10,.25) 35%,
            rgba(4,5,10,.04) 100%
        );
    pointer-events: none;
}

.showmatch-cylinder-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 18px 18px 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.showmatch-cylinder-left {
    min-width: 0;
}

.showmatch-cylinder-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.92);
    margin-bottom: 6px;
}

.showmatch-cylinder-title {
    font-size: 20px;
    font-weight: 950;
    line-height: 1.05;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.showmatch-cylinder-meta {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255,255,255,.70);
    text-transform: uppercase;
}

.showmatch-cylinder-score {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(8,10,18,.72);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.showmatch-cylinder-status {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    color: #7f7da8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.showmatch-cylinder-status span {
    color: #9e8cff;
}

@media (max-width: 900px) {
    .showmatch-cylinder-stage {
        height: 320px;
    }

    .showmatch-cylinder-track {
        animation-duration: 90s;
    }

    .showmatch-cylinder-card {
        left: -170px;
        top: -96px;
        width: 340px;
        height: 190px;
        transform:
            rotateY(var(--angle))
            translateZ(100px);
    }

    .showmatch-cylinder-title {
        font-size: 14px;
    }

    .showmatch-cylinder-score {
        font-size: 14px;
        padding: 8px 10px;
    }

    .showmatch-cylinder-meta,
    .showmatch-cylinder-label {
        font-size: 9px;
    }
}


/* CDV SHOWMATCH VISIBILITY HOTFIX */

.showmatch-cylinder-card {
    display: block !important;
}


/* CDV TRUE CONTINUOUS CYLINDER V4 */

.cdv-film-section {
    position: relative;
    margin: 58px 0 85px;
}


/* HEADER */

.cdv-film-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.cdv-film-head h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.6px;
}

.cdv-film-subtitle {
    margin-top: 7px;
    color: #77799f;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.cdv-film-head a {
    color: #9294b9;
    text-decoration: none;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    transition: color .2s ease;
}

.cdv-film-head a:hover {
    color: white;
}


/* ================================
   SCÈNE
================================ */

.cdv-film-stage {
    position: relative;

    height: 480px;

    perspective: 1250px;
    perspective-origin: 50% 47%;

    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* Halo central */

.cdv-film-stage::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 800px;
    height: 300px;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            ellipse,
            rgba(105, 78, 255, .13) 0%,
            rgba(64, 56, 180, .055) 43%,
            transparent 72%
        );

    filter: blur(22px);

    pointer-events: none;
}


/* ligne sous le cylindre */

.cdv-film-stage::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 53px;

    width: 850px;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(151, 132, 255, .16),
            transparent
        );

    pointer-events: none;
}


/* ================================
   CYLINDRE
================================ */

.cdv-film-cylinder {
    position: absolute;

    left: 50%;
    top: 48%;

    width: 0;
    height: 0;

    transform-style: preserve-3d;

    animation:
        cdvTrueCylinderSpin
        120s
        linear
        infinite;

    will-change: transform;
}


/* Aucun arrêt de rotation au hover */
.cdv-film-stage:hover .cdv-film-cylinder {
    animation-play-state: running !important;
}


@keyframes cdvTrueCylinderSpin {

    from {
        transform:
            translate3d(-50%, -50%, 0)
            rotateX(-3deg)
            rotateY(0deg);
    }

    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotateX(-3deg)
            rotateY(-360deg);
    }

}


/* ================================
   TRANCHES DE L'IMAGE
================================ */

.cdv-film-slice {
    position: absolute;

    left: calc(var(--slice-w) / -2);
    top: -180px;

    /*
       +1.5px volontaire :
       cela fait légèrement chevaucher
       les tranches et supprime les trous.
    */
    width: calc(var(--slice-w) + 1.5px);
    height: 360px;

    background-image: var(--poster);
    background-repeat: no-repeat;

    background-size:
        780px
        360px;

    background-position:
        calc(-1 * var(--bg-x))
        center;

    transform-style: preserve-3d;

    transform:
        rotateY(var(--angle))
        translateZ(372px);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    text-decoration: none;

    /* aucun espace / aucune bordure */
    border: 0;
    padding: 0;
    margin: 0;

    box-shadow:
        inset 0 0 6px rgba(0,0,0,.025);

    transition:
        filter .2s ease;
}


/* Très léger voile pour fondre les raccords */

.cdv-film-slice::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4,5,10,.16),
            transparent 30%
        );

    pointer-events: none;
}


/* on ne stoppe rien au hover */

.cdv-film-slice:hover {
    filter: brightness(1.07);
}


/* ================================
   MASQUE / ÉCLAIRAGE DE SCÈNE
================================ */

.cdv-film-lighting {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(8,8,20,.42) 0%,
            transparent 18%,
            transparent 82%,
            rgba(8,8,20,.42) 100%
        );

    z-index: 10;
}


/* ================================
   INDICATEUR
================================ */

.cdv-film-status {
    position: absolute;

    left: 50%;
    bottom: 27px;

    transform: translateX(-50%);

    color: #66698d;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 2.3px;

    text-transform: uppercase;

    white-space: nowrap;
}

.cdv-film-status span {
    color: #9f8cff;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 800px) {

    .cdv-film-section {
        margin: 45px 0 60px;
    }

    .cdv-film-stage {
        height: 340px;
        perspective: 900px;
    }

    .cdv-film-cylinder {
        animation-duration: 140s;
    }

    .cdv-film-slice {
        top: -120px;

        height: 240px;

        background-size:
            520px
            240px;

        transform:
            rotateY(var(--angle))
            translateZ(248px);

        /*
        520 / 36 tranches
        */
        width: calc(14.444px + 1.2px);
        left: -7.222px;

        background-position:
            calc(
                -1 * var(--mobile-bg-x)
            )
            center;
    }

    .cdv-film-status {
        display: none;
    }
}


/* CDV CYLINDER CLEANUP OVERRIDE */

.cdv-film-subtitle,
.cdv-film-status,
.cdv-film-lighting {
    display: none !important;
}

.cdv-film-stage {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.cdv-film-stage::before {
    filter: blur(18px) !important;
}

.cdv-film-slice,
.cdv-film-slice::after {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

.cdv-film-slice {
    box-shadow: none !important;
    clip-path: inset(0 0 0 0) !important;
    overflow: hidden !important;
}


/* CDV CYLINDER HORIZONTAL LINE FIX */

.cdv-film-stage::after,
.cdv-film-slice::after,
.showmatch-cylinder-stage::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.cdv-film-slice {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}


/* CDV GLOBAL UI POLISH V2 */

:root {
    --cdv-text: #f5f5f8;
    --cdv-muted: #8b8e9b;
    --cdv-muted-soft: #616471;
    --cdv-border: rgba(255,255,255,.065);
    --cdv-border-hover: rgba(255,255,255,.13);
    --cdv-surface: rgba(255,255,255,.018);
    --cdv-surface-hover: rgba(255,255,255,.032);
    --cdv-accent: #9683ff;
}


/* =========================
   RYTHME GLOBAL
========================= */

main {
    width: min(1120px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

section + section {
    margin-top: 72px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.section-head h2 {
    margin: 0;
    line-height: 1.1;
}

.section-head span {
    color: var(--cdv-muted-soft);
}


/* =========================
   NAVIGATION
========================= */

nav {
    border-bottom-color: rgba(255,255,255,.045) !important;
}

.nav-links a {
    opacity: .72;
    transition:
        opacity .18s ease,
        color .18s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a.active {
    opacity: 1;
}


/* =========================
   HIÉRARCHIE TYPOGRAPHIQUE
========================= */

.subtitle,
.home-description,
.ranking-hero-sub {
    color: var(--cdv-muted);
    max-width: 60ch;
}

.eyebrow {
    color: #777a94;
}

h1,
h2,
h3 {
    text-wrap: balance;
}


/* =========================
   CARTES
========================= */

.stat,
.dashboard-card,
.player-card,
.hof-card,
.custom-card,
.match-history-card,
.podium-premium-card,
.ranking-premium-card,
.teammate {
    border-color: var(--cdv-border) !important;
}

.player-card,
.dashboard-card,
.hof-card,
.custom-card,
.match-history-card {
    transition:
        transform .2s ease,
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}

.player-card:hover,
.match-history-card:hover {
    transform: translateY(-2px);
    border-color: var(--cdv-border-hover) !important;
    background: var(--cdv-surface-hover);
    box-shadow: 0 14px 32px rgba(0,0,0,.16);
}


/* =========================
   STATISTIQUES
========================= */

.stat {
    padding: 22px !important;
}

.stat .number,
.stat strong {
    letter-spacing: -1px;
}

.stat .label,
.stat span {
    color: var(--cdv-muted);
}


/* =========================
   BOUTONS
========================= */

button,
.hero-button,
.showmatch-replay,
.news-replay {
    min-height: 40px;
}

.hero-button,
.showmatch-replay,
.news-replay {
    border-radius: 10px !important;
}

.hero-button:hover,
.showmatch-replay:hover,
.news-replay:hover {
    transform: translateY(-1px);
}


/* =========================
   TABLEAUX
========================= */

.table-wrap {
    overflow: hidden;
    border-color: var(--cdv-border) !important;
}

th {
    color: #676a76 !important;
    letter-spacing: 1.2px;
}

tbody tr {
    transition: background-color .15s ease;
}

tbody tr:hover {
    background: rgba(255,255,255,.022);
}


/* =========================
   FORMULAIRES / RECHERCHE
========================= */

input {
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

input:focus {
    border-color: rgba(150,131,255,.42) !important;
    box-shadow: 0 0 0 3px rgba(150,131,255,.08);
}


/* =========================
   ACCESSIBILITÉ
========================= */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--cdv-accent);
    outline-offset: 3px;
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 90px;
    color: #444750 !important;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

    main {
        width: min(100% - 28px, 1120px);
    }

    section + section {
        margin-top: 52px;
    }

    .section-head {
        align-items: flex-start;
    }

    .hero {
        margin-bottom: 44px;
    }

}


/* Respecte les utilisateurs qui désactivent
   les animations dans leur système */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .cdv-film-cylinder {
        animation: none !important;
    }
}


/* CDV CYLINDER PREMIUM POLISH V5 */


/* =====================================
   SECTION
===================================== */

.cdv-film-section {
    margin-top: 52px !important;
    margin-bottom: 105px !important;
}


/* =====================================
   HEADER
===================================== */

.cdv-film-head {
    margin-bottom: 8px !important;
    align-items: center !important;
}

.cdv-film-head h2 {
    font-size: 23px !important;
    letter-spacing: -.55px !important;
}

.cdv-film-head a {
    display: inline-flex !important;
    align-items: center !important;

    padding: 7px 2px !important;

    color: #9e9cc5 !important;

    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;

    transition:
        color .2s ease,
        transform .2s ease !important;
}

.cdv-film-head a:hover {
    color: #d7d2ff !important;
    transform: translateX(3px);
}


/* =====================================
   SCÈNE
===================================== */

.cdv-film-stage {
    height: 430px !important;

    /*
       Perspective plus longue =
       courbure visuellement plus douce
       et moins "tube".
    */
    perspective: 1650px !important;
    perspective-origin: 50% 48% !important;

    overflow: hidden !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Halo derrière le cylindre */

.cdv-film-stage::before {
    display: block !important;
    content: "" !important;

    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    width: 720px !important;
    height: 250px !important;

    transform:
        translate(-50%, -50%) !important;

    background:
        radial-gradient(
            ellipse,
            rgba(109, 82, 255, .085) 0%,
            rgba(71, 65, 180, .025) 48%,
            transparent 74%
        ) !important;

    filter: blur(28px) !important;

    border: 0 !important;
    box-shadow: none !important;

    pointer-events: none !important;

    z-index: 0 !important;
}


/*
   Éclairage écran :
   centre parfaitement visible,
   côtés légèrement plus sombres.

   Ce n'est PAS un cadre.
*/
.cdv-film-stage::after {
    display: block !important;
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    width: auto !important;
    height: auto !important;

    transform: none !important;

    background:
        linear-gradient(
            90deg,
            rgba(9, 10, 27, .42) 0%,
            rgba(9, 10, 27, .16) 13%,
            transparent 30%,
            transparent 70%,
            rgba(9, 10, 27, .16) 87%,
            rgba(9, 10, 27, .42) 100%
        ) !important;

    border: 0 !important;
    box-shadow: none !important;

    pointer-events: none !important;

    z-index: 10 !important;
}


/* =====================================
   CYLINDRE
===================================== */

/*
   On ne change PAS sa construction.

   On redéfinit uniquement l'animation
   avec une échelle de 0.87.
*/

@keyframes cdvTrueCylinderSpin {

    from {
        transform:
            translate3d(-50%, -50%, 0)
            rotateX(-2deg)
            rotateY(0deg)
            scale(.87);
    }

    to {
        transform:
            translate3d(-50%, -50%, 0)
            rotateX(-2deg)
            rotateY(-360deg)
            scale(.87);
    }
}


/* Toujours 120 secondes */

.cdv-film-cylinder {
    animation:
        cdvTrueCylinderSpin
        120s
        linear
        infinite !important;

    z-index: 2 !important;
}


/* aucun arrêt avec la souris */

.cdv-film-stage:hover .cdv-film-cylinder {
    animation-play-state: running !important;
}


/* =====================================
   TRANCHES
===================================== */

.cdv-film-slice {
    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    /*
       Légèrement plus contrasté pour
       garder de la présence après réduction.
    */
    filter:
        saturate(.98)
        contrast(1.015);

    transition:
        filter .22s ease !important;
}


.cdv-film-slice:hover {
    filter:
        saturate(1.04)
        contrast(1.025)
        brightness(1.04) !important;
}


/* Toujours aucun pseudo overlay parasite */

.cdv-film-slice::after {
    display: none !important;
    content: none !important;
}


/* =====================================
   SUPPRESSION DES ANCIENS LABELS
===================================== */

.cdv-film-subtitle,
.cdv-film-status,
.cdv-film-lighting {
    display: none !important;
}


/* =====================================
   RESPIRATION AVANT LES STATS
===================================== */

.cdv-film-section + section,
.cdv-film-section + .stats,
.cdv-film-section + .home-stats {
    margin-top: 38px !important;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 800px) {

    .cdv-film-stage {
        height: 320px !important;
        perspective: 1250px !important;
    }

    .cdv-film-section {
        margin-bottom: 75px !important;
    }

    @keyframes cdvTrueCylinderSpin {

        from {
            transform:
                translate3d(-50%, -50%, 0)
                rotateX(-2deg)
                rotateY(0deg)
                scale(.82);
        }

        to {
            transform:
                translate3d(-50%, -50%, 0)
                rotateX(-2deg)
                rotateY(-360deg)
                scale(.82);
        }

    }

}


/* CDV SAFE ARENA BACKGROUND V1 */

/*
   IMPORTANT :
   Aucun transform/filter appliqué au cylindre.
   Toute la décoration reste derrière.
*/

.cdv-film-section {
    position: relative !important;
    isolation: isolate;
    padding-top: 10px;
    padding-bottom: 34px;
}


/* ===================================
   FOND PRINCIPAL : ARÈNE / STADE
=================================== */

.cdv-film-section::before {
    content: "";
    position: absolute;

    z-index: -2;

    left: -8%;
    right: -8%;
    top: 42px;
    bottom: 18px;

    pointer-events: none;

    background:

        /* lumière centrale venant du plafond */
        radial-gradient(
            ellipse at 50% 7%,
            rgba(186, 181, 255, .11) 0%,
            rgba(120, 105, 255, .045) 22%,
            transparent 48%
        ),

        /* halo derrière le cylindre */
        radial-gradient(
            ellipse at 50% 57%,
            rgba(92, 70, 230, .13) 0%,
            rgba(61, 48, 155, .055) 34%,
            transparent 64%
        ),

        /* gradins gauche */
        radial-gradient(
            ellipse at 8% 55%,
            rgba(77, 71, 124, .10) 0%,
            rgba(25, 25, 48, .10) 38%,
            transparent 68%
        ),

        /* gradins droite */
        radial-gradient(
            ellipse at 92% 55%,
            rgba(77, 71, 124, .10) 0%,
            rgba(25, 25, 48, .10) 38%,
            transparent 68%
        ),

        /* ambiance générale */
        linear-gradient(
            180deg,
            rgba(13, 14, 36, .20) 0%,
            rgba(8, 9, 27, .62) 38%,
            rgba(5, 6, 19, .72) 100%
        );

    /* pas de rectangle visible */
    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 38%,
            rgba(0,0,0,.92) 58%,
            transparent 88%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 38%,
            rgba(0,0,0,.92) 58%,
            transparent 88%
        );
}


/* ===================================
   STRUCTURE DU STADE
=================================== */

.cdv-film-section::after {
    content: "";
    position: absolute;

    z-index: -1;

    left: 1%;
    right: 1%;
    top: 76px;
    height: 405px;

    pointer-events: none;

    background:

        /* grand anneau supérieur */
        radial-gradient(
            ellipse at 50% 7%,
            transparent 55%,
            rgba(161, 157, 213, .060) 55.3%,
            rgba(161, 157, 213, .060) 55.8%,
            transparent 56.1%
        ),

        /* deuxième niveau de gradins */
        radial-gradient(
            ellipse at 50% 31%,
            transparent 63%,
            rgba(110, 106, 165, .043) 63.3%,
            rgba(110, 106, 165, .043) 63.8%,
            transparent 64.1%
        ),

        /* petites lumières de tribunes */
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 42px,
            rgba(188, 184, 255, .030) 43px,
            rgba(188, 184, 255, .030) 44px,
            transparent 45px,
            transparent 86px
        );

    opacity: .9;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 12%,
            black 88%,
            transparent
        );

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 12%,
            black 88%,
            transparent
        );
}


/* ===================================
   SCÈNE
   On garde la 3D exactement intacte
=================================== */

.cdv-film-stage {
    position: relative !important;
    z-index: 2 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Ombre AU SOL uniquement.
   On utilise un élément déjà présent
   mais sans toucher au cylindre.
*/

.cdv-film-lighting {
    display: block !important;

    position: absolute !important;
    z-index: 1 !important;

    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 31px !important;

    width: 68% !important;
    height: 68px !important;

    transform: translateX(-50%) !important;

    pointer-events: none !important;

    border-radius: 50% !important;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,.55) 0%,
            rgba(0,0,0,.37) 37%,
            rgba(78, 58, 190, .09) 57%,
            transparent 78%
        ) !important;

    filter: blur(14px) !important;
}


/* Le cylindre reste AU-DESSUS */
.cdv-film-cylinder {
    z-index: 5 !important;
}


/* ===================================
   DEUX SPOTS ULTRA SUBTILS
=================================== */

.cdv-film-head {
    position: relative;
    z-index: 10;
}


/* textes qu'on avait déjà supprimés */
.cdv-film-subtitle,
.cdv-film-status {
    display: none !important;
}


/* ===================================
   MOBILE
=================================== */

@media (max-width: 800px) {

    .cdv-film-section::before {
        left: -3%;
        right: -3%;
    }

    .cdv-film-section::after {
        opacity: .55;
    }

    .cdv-film-lighting {
        width: 82% !important;
        height: 52px !important;
    }

}


/* CDV APPLE LIQUID GLASS V1 */

:root {
    --glass-bg-top:
        rgba(255,255,255,.075);

    --glass-bg-bottom:
        rgba(255,255,255,.022);

    --glass-border:
        rgba(255,255,255,.115);

    --glass-border-soft:
        rgba(255,255,255,.055);

    --glass-highlight:
        rgba(255,255,255,.15);

    --glass-purple:
        rgba(135,112,255,.10);

    --glass-shadow:
        rgba(0,0,0,.24);
}


/* ======================================================
   CARTES / VIGNETTES PRINCIPALES
====================================================== */

.stat,
.dashboard-card,
.player-card,
.ranking-card,
.ranking-premium-card,
.podium-premium-card,
.hof-card,
.custom-card,
.match-history-card,
.showmatch-tile,
.home-showmatch-card,
.teammate,
.custom-mvp-highlight,
.showmatch-detail-team,
.custom-detail-team {

    position: relative;

    background:
        linear-gradient(
            145deg,
            var(--glass-bg-top) 0%,
            rgba(255,255,255,.038) 38%,
            var(--glass-bg-bottom) 100%
        ) !important;

    border:
        1px solid
        var(--glass-border) !important;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.10),

        inset 0 -1px 0
        rgba(255,255,255,.025),

        0 16px 42px
        var(--glass-shadow),

        0 1px 0
        rgba(255,255,255,.025) !important;

    -webkit-backdrop-filter:
        blur(22px)
        saturate(135%);

    backdrop-filter:
        blur(22px)
        saturate(135%);
}


/* ======================================================
   REFLET SUPÉRIEUR
====================================================== */

.stat::before,
.dashboard-card::before,
.player-card::before,
.hof-card::before,
.custom-card::before,
.match-history-card::before,
.home-showmatch-card::before,
.teammate::before {

    content: "";

    position: absolute;

    z-index: 1;

    top: 0;
    left: 8%;
    right: 8%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.22),
            transparent
        );

    opacity: .65;

    pointer-events: none;
}


/* contenu toujours au-dessus */
.stat > *,
.dashboard-card > *,
.player-card > *,
.hof-card > *,
.custom-card > *,
.match-history-card > *,
.home-showmatch-card > *,
.teammate > * {
    position: relative;
    z-index: 2;
}


/* ======================================================
   GRANDES CARTES / HERO
====================================================== */

.home-hero-premium,
.ranking-hero-premium,
.profile-hero-premium,
.custom-detail-hero {

    background:
        radial-gradient(
            circle at 18% 0%,
            rgba(145,120,255,.10),
            transparent 38%
        ),

        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.012)
        ) !important;

    border:
        1px solid
        rgba(255,255,255,.095) !important;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.085),

        0 28px 80px
        rgba(0,0,0,.24) !important;

    -webkit-backdrop-filter:
        blur(26px)
        saturate(130%);

    backdrop-filter:
        blur(26px)
        saturate(130%);
}


/* ======================================================
   HOVER — effet verre légèrement éclairé
====================================================== */

.player-card,
.match-history-card,
.showmatch-tile,
.home-showmatch-card,
.custom-card {

    transition:
        transform .28s
        cubic-bezier(.2,.7,.2,1),

        border-color .28s ease,

        box-shadow .28s ease,

        background .28s ease !important;
}


.player-card:hover,
.match-history-card:hover,
.showmatch-tile:hover,
.home-showmatch-card:hover,
.custom-card:hover {

    transform:
        translateY(-4px) !important;

    border-color:
        rgba(255,255,255,.19) !important;

    background:
        radial-gradient(
            circle at 25% 0%,
            rgba(167,145,255,.105),
            transparent 48%
        ),

        linear-gradient(
            145deg,
            rgba(255,255,255,.10),
            rgba(255,255,255,.028)
        ) !important;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.16),

        0 22px 55px
        rgba(0,0,0,.30),

        0 0 35px
        rgba(113,88,255,.055) !important;
}


/* ======================================================
   PETITS CHIPS / BADGES
====================================================== */

.detail-chip,
.match-chip,
.rank-chip,
.showmatch-detail-tag {

    background:
        rgba(255,255,255,.055) !important;

    border:
        1px solid
        rgba(255,255,255,.085) !important;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.06) !important;

    -webkit-backdrop-filter:
        blur(14px);

    backdrop-filter:
        blur(14px);
}


/* MVP / GAGNANT :
   on conserve l'identité violette */

.detail-chip.mvp,
.match-chip.mvp,
.mvp-badge {

    background:
        linear-gradient(
            135deg,
            rgba(150,126,255,.17),
            rgba(104,81,220,.08)
        ) !important;

    border-color:
        rgba(169,151,255,.20) !important;
}


/* ======================================================
   TABLEAUX EN VERRE
====================================================== */

.table-wrap {

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.012)
        ) !important;

    border:
        1px solid
        rgba(255,255,255,.075) !important;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.055),

        0 20px 55px
        rgba(0,0,0,.18) !important;

    -webkit-backdrop-filter:
        blur(20px);

    backdrop-filter:
        blur(20px);
}


/* ======================================================
   BOUTONS STYLE LIQUID GLASS
====================================================== */

.hero-button.secondary {

    background:
        rgba(255,255,255,.055) !important;

    border:
        1px solid
        rgba(255,255,255,.11) !important;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.08) !important;

    -webkit-backdrop-filter:
        blur(16px);

    backdrop-filter:
        blur(16px);
}


.hero-button.secondary:hover {

    background:
        rgba(255,255,255,.09) !important;

    border-color:
        rgba(255,255,255,.18) !important;
}


/* ======================================================
   ON NE TOUCHE SURTOUT PAS AU CYLINDRE
====================================================== */

.cdv-film-cylinder,
.cdv-film-slice,
.cdv-film-stage {

    /*
        volontairement aucun
        backdrop-filter / glass ici
    */
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 760px) {

    .stat,
    .dashboard-card,
    .player-card,
    .hof-card,
    .custom-card,
    .match-history-card,
    .showmatch-tile {

        -webkit-backdrop-filter:
            blur(16px)
            saturate(125%);

        backdrop-filter:
            blur(16px)
            saturate(125%);
    }

}


/* CDV GLOBAL WALLPAPER V1 */

/*
   Wallpaper du projet intégré très doucement :
   - fortement assombri
   - couleurs conservées
   - trophée perceptible
   - texte toujours prioritaire
*/

html {
    background: #070817 !important;
}

body {
    min-height: 100vh;

    background:
        /* voile sombre principal */
        linear-gradient(
            180deg,
            rgba(5, 7, 20, .76) 0%,
            rgba(6, 7, 21, .84) 38%,
            rgba(5, 6, 17, .93) 78%,
            rgba(5, 6, 15, .97) 100%
        ),

        /* assombrit surtout les côtés */
        radial-gradient(
            ellipse at 50% 18%,
            rgba(40, 34, 105, .06) 0%,
            rgba(7, 8, 22, .15) 47%,
            rgba(4, 5, 15, .52) 100%
        ),

        url("/static/WALLPAPER.png")
        center top / cover
        fixed
        no-repeat !important;

    background-color: #070817 !important;
}


/*
   Les zones principales restent légèrement
   fondues avec le wallpaper au lieu d'avoir
   un gros fond opaque.
*/

main {
    position: relative;
    z-index: 1;
}


/*
   Le wallpaper devient moins présent au fur
   et à mesure que l'on descend dans la page.
*/

body::after {
    content: "";

    position: fixed;
    inset: 0;

    z-index: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(5, 6, 16, .04) 30%,
            rgba(5, 6, 16, .19) 65%,
            rgba(5, 6, 16, .38) 100%
        );
}


/* tout le contenu reste au-dessus */

nav,
main,
footer {
    position: relative;
    z-index: 2;
}


/*
   Navigation : léger verre pour séparer
   proprement le menu du wallpaper.
*/

nav {
    background:
        rgba(8, 9, 26, .58) !important;

    -webkit-backdrop-filter:
        blur(18px)
        saturate(120%);

    backdrop-filter:
        blur(18px)
        saturate(120%);
}


/*
   On ne touche ABSOLUMENT PAS
   à la mécanique du cylindre.
*/

.cdv-film-cylinder,
.cdv-film-slice {
}


/* MOBILE */

@media (max-width: 800px) {

    body {
        /*
           background-attachment: fixed peut être
           coûteux / saccadé sur mobile.
        */
        background-attachment:
            scroll,
            scroll,
            scroll !important;

        background-position:
            center top !important;
    }

}


/* CDV WALLPAPER CLEAN POLISH V2 */


/* ======================================================
   WALLPAPER
   Un peu plus sombre derrière la partie haute
====================================================== */

body {
    background:
        linear-gradient(
            180deg,
            rgba(4,6,18,.80) 0%,
            rgba(5,7,20,.82) 30%,
            rgba(5,6,18,.90) 65%,
            rgba(5,6,15,.97) 100%
        ),

        radial-gradient(
            ellipse at 50% 14%,
            rgba(30,25,90,.035) 0%,
            rgba(5,6,18,.12) 48%,
            rgba(4,5,15,.44) 100%
        ),

        url("/static/WALLPAPER.png")
        center top / cover
        fixed
        no-repeat !important;
}


/* Fondu progressif en descendant */

body::after {
    background:
        linear-gradient(
            180deg,
            rgba(4,5,15,.02) 0%,
            rgba(4,5,15,.08) 34%,
            rgba(4,5,15,.25) 68%,
            rgba(4,5,15,.52) 100%
        ) !important;
}


/* ======================================================
   HERO PLUS "GLASS"
====================================================== */

.home-hero-premium {
    background:
        linear-gradient(
            135deg,
            rgba(25,27,61,.72) 0%,
            rgba(23,23,52,.62) 52%,
            rgba(34,22,57,.58) 100%
        ) !important;

    border:
        1px solid rgba(255,255,255,.09) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 28px 75px rgba(0,0,0,.28) !important;

    -webkit-backdrop-filter:
        blur(22px)
        saturate(115%);

    backdrop-filter:
        blur(22px)
        saturate(115%);
}


/* Les petites cards du hero restent légèrement vitrées */

.home-hero-premium .dashboard-card,
.home-hero-premium .stat {
    background:
        rgba(8,10,27,.48) !important;

    border-color:
        rgba(255,255,255,.075) !important;

    -webkit-backdrop-filter:
        blur(16px);

    backdrop-filter:
        blur(16px);
}


/* ======================================================
   SUPPRESSION DU DÉCOR VIOLET
   AUTOUR DU CYLINDRE
====================================================== */

/*
   On supprime uniquement les anciens backgrounds,
   pseudo-éléments et effets de scène.

   PAS de transform sur le cylindre.
*/

.cdv-film-section::before,
.cdv-film-section::after,
.cdv-film-stage::before,
.cdv-film-stage::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}


/* scène totalement transparente */

.cdv-film-stage {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}


/* ancien éclairage / motif */

.cdv-film-lighting {
    display: none !important;
}


/* ======================================================
   ENLÈVE "DERNIERS SHOWMATCHS"
====================================================== */

.cdv-film-head h2 {
    display: none !important;
}


/*
   Le header ne contient maintenant
   que VOIR TOUT à droite
*/

.cdv-film-head {
    justify-content: flex-end !important;
    min-height: 18px !important;
    margin-bottom: 0 !important;
}


/* lien plus discret */

.cdv-film-head a {
    color: rgba(210,205,240,.58) !important;
    font-size: 8px !important;
    letter-spacing: 1.5px !important;
}

.cdv-film-head a:hover {
    color: white !important;
}


/* ======================================================
   AUCUN CHANGEMENT SUR LE CYLINDRE
====================================================== */

.cdv-film-cylinder {
    /*
       volontairement aucune propriété
       de transform / animation ici.
    */
}

.cdv-film-slice {
    /*
       idem : images et courbure intactes.
    */
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 800px) {

    body {
        background-attachment:
            scroll,
            scroll,
            scroll !important;
    }

    .home-hero-premium {
        backdrop-filter: blur(17px);
        -webkit-backdrop-filter: blur(17px);
    }

}


/* CDV DISCORD COMMUNITY CARD V1 */

.cdv-discord {
    position: relative;

    margin: 70px 0 75px;

    padding: 1px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.16),
            rgba(143,116,255,.10) 42%,
            rgba(255,255,255,.035) 75%
        );

    box-shadow:
        0 28px 80px
        rgba(0,0,0,.22);
}


.cdv-discord-inner {
    position: relative;

    overflow: hidden;

    padding: 26px 28px;

    border-radius: 23px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(116,88,255,.11),
            transparent 42%
        ),

        linear-gradient(
            135deg,
            rgba(15,17,42,.72),
            rgba(8,10,27,.55)
        );

    -webkit-backdrop-filter:
        blur(26px)
        saturate(125%);

    backdrop-filter:
        blur(26px)
        saturate(125%);
}


/* léger reflet liquid glass */

.cdv-discord-inner::before {
    content: "";

    position: absolute;

    left: 7%;
    right: 7%;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.24),
            transparent
        );

    pointer-events: none;
}


.cdv-discord-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 28px;
}


.cdv-discord-kicker {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.43);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2.3px;

    text-transform: uppercase;
}


.cdv-discord-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #7dffb2;

    box-shadow:
        0 0 12px
        rgba(125,255,178,.55);
}


.cdv-discord-title {
    margin: 0;

    color: white;

    font-size: 27px;
    font-weight: 950;

    letter-spacing: -1px;
}


.cdv-discord-online {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 12px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 999px;

    background:
        rgba(255,255,255,.035);

    color:
        rgba(255,255,255,.72);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    white-space: nowrap;
}


.cdv-discord-grid {
    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    gap: 28px;
}


/* =========================
   VOCAUX
========================= */

.cdv-discord-label {
    margin-bottom: 12px;

    color:
        rgba(255,255,255,.33);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.cdv-voice-list {
    display: grid;

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

    gap: 9px;
}


.cdv-voice {
    display: flex;

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

    gap: 10px;

    min-height: 46px;

    padding: 0 13px;

    border:
        1px solid
        rgba(255,255,255,.06);

    border-radius: 12px;

    background:
        rgba(255,255,255,.025);

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}


.cdv-voice:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(255,255,255,.12);

    background:
        rgba(255,255,255,.045);
}


.cdv-voice-name {
    min-width: 0;

    overflow: hidden;

    color:
        rgba(255,255,255,.74);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: .4px;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.cdv-voice-count {
    display: grid;

    place-items: center;

    min-width: 26px;
    height: 26px;

    padding: 0 7px;

    border-radius: 999px;

    background:
        rgba(147,122,255,.09);

    color: #afa2ff;

    font-size: 8px;
    font-weight: 950;
}


/* =========================
   MEMBRES
========================= */

.cdv-members {
    display: flex;

    flex-direction: column;

    justify-content: center;
}


.cdv-avatar-stack {
    display: flex;

    align-items: center;

    min-height: 48px;

    padding-left: 5px;
}


.cdv-avatar {
    position: relative;

    width: 43px;
    height: 43px;

    margin-left: -8px;

    border:
        3px solid
        rgba(10,11,30,.92);

    border-radius: 50%;

    object-fit: cover;

    background: #14162d;

    box-shadow:
        0 8px 20px
        rgba(0,0,0,.18);

    transition:
        transform .2s ease;
}


.cdv-avatar:first-child {
    margin-left: 0;
}


.cdv-avatar:hover {
    z-index: 5;

    transform:
        translateY(-4px)
        scale(1.06);
}


.cdv-avatar-more {
    display: grid;

    place-items: center;

    width: 43px;
    height: 43px;

    margin-left: -8px;

    border:
        3px solid
        rgba(10,11,30,.92);

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(142,116,255,.30),
            rgba(72,63,159,.22)
        );

    color:
        rgba(255,255,255,.76);

    font-size: 8px;
    font-weight: 950;
}


.cdv-members-caption {
    margin-top: 14px;

    color:
        rgba(255,255,255,.35);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


/* =========================
   INVITE
========================= */

.cdv-discord-join {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 20px;

    padding: 10px 14px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 10px;

    background:
        rgba(255,255,255,.045);

    color:
        rgba(255,255,255,.78);

    text-decoration: none;

    font-size: 8px;
    font-weight: 950;

    letter-spacing: 1.4px;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.cdv-discord-join:hover {
    transform:
        translateY(-2px);

    background:
        rgba(255,255,255,.075);

    border-color:
        rgba(255,255,255,.18);

    color: white;
}


.cdv-discord-error {
    color:
        rgba(255,255,255,.42);

    font-size: 10px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

    .cdv-discord {
        margin:
            52px 0 58px;
    }

    .cdv-discord-inner {
        padding:
            21px 18px;
    }

    .cdv-discord-top {
        flex-direction: column;

        margin-bottom: 22px;
    }

    .cdv-discord-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .cdv-voice-list {
        grid-template-columns: 1fr;
    }

    .cdv-discord-title {
        font-size: 23px;
    }

    .cdv-avatar {
        width: 38px;
        height: 38px;
    }

    .cdv-avatar-more {
        width: 38px;
        height: 38px;
    }
}


/* CDV DISCORD VISIBILITY FIX */

.cdv-discord {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;
    z-index: 20 !important;

    width: 100% !important;
    min-height: 260px !important;

    margin: 55px 0 70px !important;

    overflow: visible !important;
}

.cdv-discord-inner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;
    z-index: 21 !important;

    width: 100% !important;
    min-height: 260px !important;
}

.cdv-discord-top,
.cdv-discord-grid,
.cdv-voice-list,
.cdv-members {
    visibility: visible !important;
    opacity: 1 !important;
}

/* empêche un ancien overlay de passer devant */
.cdv-discord::before,
.cdv-discord::after {
    pointer-events: none !important;
}

/* garde le widget au-dessus du wallpaper */
main .cdv-discord {
    isolation: isolate;
}
