/* =========================================================
   WOW STORE ESPORTS - PLAYER CARDS
   ========================================================= */

:root {
    --background: #050607;
    --background-soft: #0b0e10;
    --panel: rgba(14, 17, 19, 0.95);
    --panel-light: rgba(23, 27, 30, 0.92);

    --red: #d12626;
    --red-dark: #690909;
    --red-glow: rgba(209, 38, 38, 0.35);

    --gold: #efc44e;
    --gold-dark: #856211;
    --gold-glow: rgba(239, 196, 78, 0.38);

    --silver: #d4d8db;
    --bronze: #c48045;

    --white: #f2f2f2;
    --grey: #b8bbbe;
    --grey-dark: #777d81;

    --border: rgba(255, 255, 255, 0.11);
    --border-strong: rgba(255, 255, 255, 0.22);

    --heading-font: "Anton", Impact, sans-serif;
    --body-font: "Oswald", Arial, sans-serif;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--white);
    font-family: var(--body-font);

    background: var(--background);

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================================
   SFONDO
   ========================================================= */

.page-background {
    position: fixed;
    inset: 0;
    z-index: -3;

    background:
        radial-gradient(
            circle at 80% 18%,
            rgba(163, 22, 14, 0.30),
            transparent 35%
        ),
        radial-gradient(
            circle at 16% 72%,
            rgba(112, 11, 11, 0.20),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #050607 0%,
            #121416 45%,
            #070809 100%
        );
}

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.68)
        );

    pointer-events: none;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    border-bottom: 1px solid var(--border);

    background:
        rgba(5, 7, 8, 0.90);

    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1500px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    width: 52px;
    height: 52px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--red);

    font-size: 29px;

    border: 1px solid rgba(209, 38, 38, 0.62);

    background:
        linear-gradient(
            145deg,
            rgba(209, 38, 38, 0.18),
            rgba(18, 20, 22, 0.88)
        );

    box-shadow:
        0 0 18px rgba(209, 38, 38, 0.22);

    clip-path: polygon(
        10px 0,
        calc(100% - 10px) 0,
        100% 10px,
        100% calc(100% - 10px),
        calc(100% - 10px) 100%,
        10px 100%,
        0 calc(100% - 10px),
        0 10px
    );
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-text strong {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
}

.brand-text span {
    margin-top: 4px;

    color: var(--red);

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    position: relative;

    padding: 30px 0 27px;

    color: var(--grey);

    font-size: 16px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;

    height: 2px;

    background: var(--red);

    transform: scaleX(0);

    transition:
        transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================
   SELETTORE LINGUA
   ========================================================= */

.language-switcher {
    height: 42px;
    padding: 3px;

    display: flex;
    align-items: center;
    gap: 3px;

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid var(--border-strong);
}

.language-button {
    width: 42px;
    height: 34px;
    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--grey-dark);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;

    background: transparent;
    border: 0;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.language-button:hover {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.06);
}

.language-button.active {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #d62b2b,
            #720909
        );

    box-shadow:
        0 0 12px rgba(209, 38, 38, 0.28);
}

.back-button {
    min-height: 42px;
    padding: 9px 15px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--white);

    font-size: 15px;
    font-weight: 700;

    border:
        1px solid var(--border-strong);

    background:
        rgba(255, 255, 255, 0.04);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.back-button:hover {
    transform: translateY(-2px);

    border-color: var(--red);
}

/* =========================================================
   HERO
   ========================================================= */

.cards-hero {
    position: relative;

    min-height: 470px;
    padding: 85px 0 70px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom:
        1px solid var(--border);
}

.cards-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 4, 5, 0.98) 0%,
            rgba(3, 4, 5, 0.88) 50%,
            rgba(3, 4, 5, 0.35) 78%,
            rgba(3, 4, 5, 0.75) 100%
        ),
        radial-gradient(
            circle at 78% 42%,
            rgba(183, 35, 20, 0.35),
            transparent 35%
        );

    pointer-events: none;
}

.cards-hero::after {
    content: "";

    position: absolute;
    right: -180px;
    bottom: -360px;

    width: 740px;
    height: 740px;

    border:
        2px solid rgba(209, 38, 38, 0.12);

    border-radius: 50%;

    box-shadow:
        0 0 100px rgba(209, 38, 38, 0.08);

    pointer-events: none;
}

.cards-hero-content {
    position: relative;
    z-index: 2;

    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;

    color: var(--red);

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

.cards-hero h1 {
    margin: 12px 0 18px;

    font-family: var(--heading-font);
    font-size: clamp(68px, 8vw, 120px);
    font-weight: 400;
    line-height: 0.90;
    letter-spacing: 1px;
}

.cards-hero h1 span {
    display: block;

    color: var(--red);

    text-shadow:
        0 0 24px rgba(209, 38, 38, 0.36);
}

.cards-hero p {
    max-width: 680px;
    margin: 0;

    color: var(--grey);

    font-size: 22px;
    font-weight: 300;
    line-height: 1.55;
}

.create-card-button {
    min-height: 50px;
    margin-top: 30px;
    padding: 12px 21px;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;

    border:
        1px solid #ed4545;

    background:
        linear-gradient(
            145deg,
            #d62b2b,
            #720909
        );

    box-shadow:
        0 8px 28px rgba(209, 38, 38, 0.24);

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.create-card-button:hover {
    transform: translateY(-2px);

    filter: brightness(1.13);
}

/* =========================================================
   FILTRI
   ========================================================= */

.filters-section {
    position: relative;
    z-index: 5;

    margin-top: -33px;
}

.filters-container {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px;

    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 15px;
    align-items: center;

    background:
        linear-gradient(
            145deg,
            rgba(20, 24, 27, 0.98),
            rgba(7, 9, 10, 0.99)
        );

    border:
        1px solid var(--border-strong);

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.52);
}

.search-box {
    min-height: 51px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    gap: 11px;

    border:
        1px solid var(--border);

    background:
        rgba(0, 0, 0, 0.30);
}

.search-box ion-icon {
    color: var(--red);

    font-size: 22px;
}

.search-box input {
    width: 100%;
    padding: 13px 0;

    color: #ffffff;

    font-size: 16px;

    background: transparent;
    border: 0;
    outline: none;
}

.search-box input::placeholder {
    color: var(--grey-dark);
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-group select {
    min-width: 175px;
    min-height: 51px;
    padding: 0 13px;

    color: #ffffff;

    background:
        rgba(0, 0, 0, 0.32);

    border:
        1px solid var(--border);

    outline: none;

    cursor: pointer;
}

.filter-group select:focus {
    border-color: var(--red);

    box-shadow:
        0 0 12px rgba(209, 38, 38, 0.18);
}

.filter-group select option {
    color: #ffffff;

    background: #090c0d;
}

/* =========================================================
   SEZIONE GIOCATORI
   ========================================================= */

.players-section {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 95px 0 115px;
}

.section-heading {
    margin-bottom: 35px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.section-heading h2 {
    margin: 7px 0 0;

    font-family: var(--heading-font);
    font-size: clamp(48px, 5vw, 75px);
    font-weight: 400;
    line-height: 1;
}

.players-count {
    padding: 8px 13px;

    color: var(--gold);

    font-size: 14px;
    font-weight: 700;

    border:
        1px solid rgba(239, 196, 78, 0.35);

    background:
        rgba(239, 196, 78, 0.06);
}

/* =========================================================
   GRIGLIA CARTE
   ========================================================= */

.players-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* =========================================================
   CARTA PREVIEW
   ========================================================= */

.player-card-preview {
    position: relative;

    min-width: 0;
    padding: 11px;

    background:
        linear-gradient(
            150deg,
            #181b1d,
            #050708
        );

    border:
        2px solid var(--gold);

    clip-path: polygon(
        18px 0,
        calc(100% - 18px) 0,
        100% 18px,
        100% calc(100% - 18px),
        calc(100% - 18px) 100%,
        18px 100%,
        0 calc(100% - 18px),
        0 18px
    );

    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.58),
        0 0 30px rgba(239, 196, 78, 0.15);

    overflow: hidden;

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.player-card-preview::before {
    content: "";

    position: absolute;
    inset: 8px;
    z-index: 20;

    border:
        1px solid var(--gold);

    clip-path: inherit;

    pointer-events: none;
}

.player-card-preview:hover {
    transform: translateY(-7px);

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.68),
        0 0 45px var(--gold-glow);
}

.tier-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 30;

    padding: 5px 12px;

    color: #17120a;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    background:
        linear-gradient(
            145deg,
            #f4d66e,
            #b88513
        );
}

.preview-header {
    min-height: 62px;
    padding: 10px 17px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--gold);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(116, 84, 15, 0.74),
            rgba(159, 117, 20, 0.82),
            rgba(116, 84, 15, 0.74),
            transparent
        );

    border-bottom:
        1px solid var(--gold);
}

.preview-header > span {
    font-family: var(--heading-font);
    font-size: 23px;
    letter-spacing: 1px;
}

.preview-header > strong {
    display: flex;
    align-items: flex-end;
    gap: 5px;

    font-family: var(--heading-font);
    font-size: 39px;
    font-weight: 400;
    line-height: 0.9;
}

.preview-header small {
    margin-bottom: 4px;

    font-family: var(--body-font);
    font-size: 12px;
    letter-spacing: 1px;
}

.preview-image {
    position: relative;

    height: 265px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(162, 51, 19, 0.45),
            transparent 52%
        ),
        linear-gradient(
            145deg,
            #171a1c,
            #050607
        );
}

.preview-player-photo {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center center;

    display: block;
}

.preview-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            #080a0b 0%,
            transparent 52%
        );

    pointer-events: none;
}

.game-name {
    position: absolute;
    top: 22px;
    left: 20px;
    z-index: 2;

    width: 95px;

    color: var(--gold);

    font-family: var(--heading-font);
    font-size: 22px;
    line-height: 0.9;
}

.photo-placeholder {
    position: absolute;
    right: 10px;
    bottom: 3px;

    color:
        rgba(255, 255, 255, 0.11);

    font-family: var(--heading-font);
    font-size: 87px;
    line-height: 1;
}

.preview-player-info {
    position: relative;
    z-index: 3;

    margin-top: -27px;
    padding: 0 16px 14px;
}

.preview-player-info h3 {
    margin: 0;

    color: var(--gold);

    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
}

.player-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    color: var(--gold);

    font-size: 15px;
}

.preview-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid rgba(239, 196, 78, 0.30);

    border-left:
        1px solid rgba(239, 196, 78, 0.30);
}

.preview-stats > div {
    min-height: 70px;
    padding: 7px 3px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-right:
        1px solid rgba(239, 196, 78, 0.30);

    border-bottom:
        1px solid rgba(239, 196, 78, 0.30);
}

.preview-stats strong {
    color: var(--gold);

    font-family: var(--heading-font);
    font-size: 27px;
    font-weight: 400;
}

.preview-stats span {
    margin-top: 3px;

    color: #d5d5d5;

    font-size: 11px;
    text-transform: uppercase;
}

.preview-role {
    min-height: 73px;
    padding: 11px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: var(--gold);

    border:
        1px solid rgba(239, 196, 78, 0.30);

    border-top: 0;
}

.preview-role span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.preview-role strong {
    margin-top: 3px;

    font-size: 21px;
    letter-spacing: 1px;
    text-align: center;
}

.preview-actions {
    margin-top: 11px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.open-card-button {
    min-height: 46px;
    padding: 10px 15px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    color: #18120a;

    font-weight: 800;

    border:
        1px solid #f1d36b;

    background:
        linear-gradient(
            145deg,
            #f0cd5f,
            #a97812
        );

    cursor: pointer;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.open-card-button:hover {
    transform: translateY(-2px);

    filter: brightness(1.12);
}

.coming-soon-card {
    color: var(--grey);

    border-color:
        var(--border-strong);

    background:
        rgba(255, 255, 255, 0.04);

    cursor: default;
}

.compare-button {
    width: 47px;
    height: 46px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--gold);

    font-size: 22px;

    border:
        1px solid rgba(239, 196, 78, 0.45);

    background:
        rgba(239, 196, 78, 0.06);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

/* ===== PLAYER CARD CLAIM ===== */

.claim-card-button {
    min-height: 46px;
    padding: 10px 15px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    border: 1px solid #c62828;

    background:
        linear-gradient(
            145deg,
            #d32f2f,
            #7b1111
        );

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.claim-card-button:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            #ef5350,
            #a31515
        );

    box-shadow:
        0 0 18px rgba(211, 47, 47, 0.45);
}

.claim-card-button.claim-sent {
    border-color: #43a047;

    background:
        linear-gradient(
            145deg,
            #2e7d32,
            #1b5e20
        );

    box-shadow:
        0 0 18px rgba(67, 160, 71, 0.40);
}

.compare-button:hover {
    transform: translateY(-2px);

    background:
        rgba(239, 196, 78, 0.14);
}

/* =========================================================
   CREA NUOVA CARTA
   ========================================================= */

.create-new-card {
    min-height: 100%;
    padding: 38px 29px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    border:
        1px dashed rgba(209, 38, 38, 0.55);

    background:
        linear-gradient(
            145deg,
            rgba(124, 10, 10, 0.14),
            rgba(8, 10, 11, 0.95)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.create-new-card:hover {
    transform: translateY(-6px);

    border-color: var(--red);

    box-shadow:
        0 25px 65px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(209, 38, 38, 0.12);
}

.create-card-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 22px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--red);

    font-size: 48px;

    border:
        1px solid rgba(209, 38, 38, 0.56);

    border-radius: 50%;

    background:
        rgba(209, 38, 38, 0.08);

    box-shadow:
        0 0 26px rgba(209, 38, 38, 0.12);
}

.create-new-card > span {
    color: var(--red);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.create-new-card h3 {
    max-width: 350px;
    margin: 10px 0 15px;

    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

.create-new-card p {
    max-width: 370px;
    margin: 0;

    color: var(--grey);

    font-size: 17px;
    line-height: 1.55;
}

.create-new-card .create-card-button {
    margin-top: 27px;
}

/* =========================================================
   NESSUN RISULTATO
   ========================================================= */

.no-results {
    min-height: 330px;
    padding: 55px 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    border:
        1px solid var(--border);

    background:
        rgba(12, 15, 17, 0.82);
}

.no-results[hidden] {
    display: none;
}

.no-results ion-icon {
    color: var(--red);

    font-size: 60px;
}

.no-results h3 {
    margin: 16px 0 6px;

    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 400;
}

.no-results p {
    margin: 0;

    color: var(--grey);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    border-top:
        1px solid var(--border);

    background:
        rgba(5, 7, 8, 0.92);
}

.footer-inner {
    width: min(1500px, calc(100% - 40px));
    min-height: 145px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-inner strong {
    font-family: var(--heading-font);
    font-size: 25px;
    font-weight: 400;
}

.footer-inner p {
    margin: 6px 0 0;

    color: var(--grey-dark);
}

.footer-inner > a {
    color: var(--red);

    font-weight: 700;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1250px) {

    .main-nav {
        display: none;
    }

    .filters-container {
        grid-template-columns: 1fr;
    }

    .filter-group {
        display: grid;
        grid-template-columns:
            repeat(3, 1fr);
    }

    .filter-group select {
        min-width: 0;
    }

    .players-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {

    .header-inner {
        min-height: 72px;
    }

    .back-button {
        display: none;
    }

    .cards-hero {
        padding-top: 65px;
    }

    .cards-hero h1 {
        font-size: 67px;
    }

    .cards-hero p {
        font-size: 19px;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

    .players-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {

    .header-inner,
    .cards-hero-content,
    .filters-container,
    .players-section,
    .footer-inner {
        width: min(100% - 22px, 1500px);
    }

    .brand-symbol {
        width: 46px;
        height: 46px;
    }

    .brand-text strong {
        font-size: 19px;
    }

    .brand-text span {
        font-size: 12px;
    }

    .language-button {
        width: 37px;
    }

    .cards-hero h1 {
        font-size: 52px;
    }

    .create-card-button {
        width: 100%;
    }

    .filters-container {
        padding: 12px;
    }

    .players-section {
        padding-top: 75px;
    }

    .preview-header > span {
        font-size: 19px;
    }

    .preview-header > strong {
        font-size: 34px;
    }

    .preview-image {
        height: 225px;
    }

    .photo-placeholder {
        font-size: 68px;
    }

    .preview-player-info h3 {
        font-size: 42px;
    }

    .player-meta {
        flex-direction: column;
        gap: 3px;
    }

    .footer-inner {
        padding: 30px 0;

        flex-direction: column;
        align-items: flex-start;
    }
}
/* Due carte affiancate sui normali schermi PC */

.players-grid {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
}

/* Il riquadro "Crea la tua carta" occupa tutta la riga sotto */

.create-new-card {
    grid-column: 1 / -1;
    min-height: 360px;
}

@media (max-width: 900px) {
    .players-grid {
        grid-template-columns: 1fr;
    }

    .create-new-card {
        grid-column: auto;
    }
}
.player-footer,
.card-footer,
.info-footer {
    display: none !important;
}
.verified-owner-badge,
.verified-player-badge{

    height:46px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    font-size:13px;

    letter-spacing:.5px;

}

.verified-owner-badge{

    background:#1f9d55;

    color:#fff;

}

.verified-player-badge{

    background:#1565c0;

    color:#fff;

}
/* =========================================================
   HEADER MOBILE SENZA HAMBURGER - VERSIONE 2
   ========================================================= */

@media (max-width: 720px) {

    .site-header {
        position: relative !important;
        top: auto !important;

        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;

        background: rgba(5, 7, 8, 0.99) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .header-inner {
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 12px 10px 0 !important;

        display: grid !important;

        grid-template-columns:
            minmax(135px, 1fr)
            62px
            minmax(140px, auto) !important;

        grid-template-rows:
            auto
            auto !important;

        grid-template-areas:
            "brand actions account"
            "nav nav nav" !important;

        column-gap: 6px !important;
        row-gap: 12px !important;

        align-items: center !important;
    }

    /* LOGO */

    .brand {
        grid-area: brand !important;

        position: static !important;
        inset: auto !important;

        min-width: 0 !important;
        margin: 0 !important;

        gap: 7px !important;
    }

    .brand-symbol {
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;

        font-size: 23px !important;
    }

    .brand-text {
        min-width: 0 !important;
    }

    .brand-text strong {
        font-size: 18px !important;
        white-space: nowrap !important;
    }

    .brand-text span {
        font-size: 9px !important;
        letter-spacing: 2.5px !important;
        white-space: nowrap !important;
    }

    /* IT / EN TRA LOGO E CAMPANELLA */

    .header-actions {
        grid-area: actions !important;

        position: static !important;
        inset: auto !important;

        width: 62px !important;
        height: 34px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .header-actions > .language-switcher {
        width: 62px !important;
        height: 32px !important;

        margin: 0 !important;
        padding: 2px !important;

        display: flex !important;
        gap: 2px !important;
    }

    .header-actions > .language-switcher .language-button {
        width: 28px !important;
        height: 26px !important;
        min-width: 0 !important;

        padding: 0 !important;

        font-size: 9px !important;
        letter-spacing: 0 !important;
    }

    .mobile-menu-button {
        display: none !important;
    }

    /* CAMPANELLA + PROFILO */

    .esports-account-area {
        grid-area: account !important;

        position: static !important;
        inset: auto !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;

        display: flex !important;
        justify-content: flex-end !important;
    }

    .logged-account-box {
        width: auto !important;
        max-width: 150px !important;
        min-width: 0 !important;
    }

    .logged-account-controls {
        width: 100% !important;

        display: grid !important;
        grid-template-columns: 34px minmax(0, 1fr) !important;

        gap: 0 !important;
    }

    .notification-bell-button {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;

        padding: 0 !important;

        border-radius: 6px 0 0 6px !important;
    }

    .logged-account-controls .account-menu-button {
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;

        height: 34px !important;
        min-height: 34px !important;

        padding: 0 6px !important;

        gap: 5px !important;

        border-radius: 0 6px 6px 0 !important;

        font-size: 10px !important;
    }

    #accountUsername {
        max-width: 62px !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* MENU SEMPRE VISIBILE E DENTRO IL FLUSSO */

    .main-nav {
        grid-area: nav !important;

        position: static !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 0 !important;

        overflow: visible !important;

        transform: none !important;

        border-top: 1px solid rgba(255, 255, 255, 0.11) !important;

        background: transparent !important;
        box-shadow: none !important;
    }

    .main-nav .nav-link,
    .main-nav > a {
        position: static !important;

        width: 100% !important;
        min-height: 48px !important;

        margin: 0 !important;
        padding: 13px 14px !important;

        display: flex !important;
        align-items: center !important;

        color: #d3d5d7 !important;

        font-size: 16px !important;
        font-weight: 500 !important;

        border-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
        border-left: 0 !important;

        background: transparent !important;

        transform: none !important;
    }

    .main-nav .nav-link::after,
    .main-nav > a::after {
        display: none !important;
    }

    .main-nav .nav-link.active,
    .main-nav > a.active {
        padding-left: 18px !important;

        color: #ffffff !important;

        border-left: 3px solid #d12626 !important;

        background: rgba(209, 38, 38, 0.14) !important;
    }

    /* La lingua grande dentro il vecchio menu non serve più */

    .mobile-language-menu {
        display: none !important;
    }

    /* Garantisce che la Hero inizi DOPO tutto l'header */

    main {
        position: relative !important;
        z-index: 1 !important;

        clear: both !important;
    }

    .hero-section {
        margin-top: 0 !important;
    }
}
/* =========================================================
   FIX PANNELLO NOTIFICHE MOBILE
   ========================================================= */

@media (max-width: 720px) {

    body.notifications-open {
        overflow: hidden !important;
    }

    body.notifications-open::before {
        content: "";

        position: fixed;
        inset: 0;
        z-index: 9997;

        background: rgba(0, 0, 0, 0.88);

        pointer-events: none;
    }

    .notification-panel {
        position: fixed !important;

        top: 12px !important;
        right: 10px !important;
        bottom: 12px !important;
        left: 10px !important;

        z-index: 9999 !important;

        width: auto !important;
        height: auto !important;
        max-height: none !important;

        overflow: hidden !important;

        border: 1px solid rgba(209, 38, 38, 0.75) !important;
        border-radius: 12px !important;

        background: #080b0d !important;

        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.95),
            0 0 28px rgba(209, 38, 38, 0.22) !important;

        backdrop-filter: none !important;
    }

    .notification-panel-header {
        background: #101416 !important;
    }

    .notification-panel-toolbar {
        background: #0b0f11 !important;
    }

    .notification-list {
        max-height: calc(100vh - 125px) !important;

        overflow-y: auto !important;

        background: #080b0d !important;
    }

    .notification-item {
        color: #eeeeee !important;

        background: #080b0d !important;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .notification-item.unread {
        background:
            linear-gradient(
                90deg,
                #241011,
                #0b0e10
            ) !important;
    }

    .notification-item-content strong {
        color: #ffffff !important;
    }

    .notification-item-content > span {
        color: #c5c9cc !important;
    }

    .notification-item-content small {
        color: #8d9498 !important;
    }

    .notification-empty {
        color: #c5c9cc !important;
    }

    .notification-panel-close {
        color: #ffffff !important;
        background: #1a1e21 !important;
    }
}
/* =========================================================
   CAMPANELLA PLAYER CARDS COME HOME
   ========================================================= */

.notification-bell-button {
    color: #efc44e !important;

    border-color: rgba(239, 196, 78, 0.52) !important;

    background:
        linear-gradient(
            180deg,
            rgba(42, 34, 12, 0.98),
            rgba(12, 11, 7, 0.98)
        ) !important;

    box-shadow:
        0 0 14px rgba(239, 196, 78, 0.18) !important;
}

.notification-bell-button ion-icon {
    color: #efc44e !important;
}

.notification-bell-button:hover,
.notification-bell-button[aria-expanded="true"] {
    color: #ffd968 !important;

    border-color: #efc44e !important;

    background:
        linear-gradient(
            180deg,
            rgba(73, 55, 15, 0.98),
            rgba(20, 16, 7, 0.98)
        ) !important;

    box-shadow:
        0 0 18px rgba(239, 196, 78, 0.32) !important;
}
/* =========================================================
   DESIGN DEFINITIVO NOTIFICHE MOBILE
   ========================================================= */

@media (max-width: 720px) {

    /* TESTATA */

    .notification-panel-header {
        min-height: 112px !important;
        padding:
            max(22px, env(safe-area-inset-top))
            22px
            20px !important;

        align-items: center !important;

        border-bottom:
            1px solid rgba(209, 38, 38, 0.38) !important;

        background:
            linear-gradient(
                135deg,
                #171b1e 0%,
                #0b0f11 60%,
                #240b0c 100%
            ) !important;
    }

    .notification-panel-header > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
    }

    .notification-panel-header span {
        color: #dc4545 !important;

        font-size: 12px !important;
        font-weight: 800 !important;
        letter-spacing: 3px !important;
        text-transform: uppercase !important;
    }

    .notification-panel-header strong {
        color: #ffffff !important;

        font-family: "Anton", Impact, sans-serif !important;
        font-size: 35px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        letter-spacing: 1px !important;
    }

    .notification-panel-close {
        width: 48px !important;
        height: 48px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        color: #ffffff !important;

        font-size: 29px !important;

        border:
            1px solid rgba(255, 255, 255, 0.20) !important;

        border-radius: 10px !important;

        background: #1b2023 !important;
    }

    /* BARRA NON LETTE */

    .notification-panel-toolbar {
        min-height: 64px !important;
        padding: 11px 20px !important;

        color: #aeb4b7 !important;

        font-family: "Oswald", Arial, sans-serif !important;
        font-size: 16px !important;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.10) !important;

        background: #090d0f !important;
    }

    .notification-panel-toolbar button {
        min-height: 38px !important;
        padding: 0 14px !important;

        color: #ff7070 !important;

        font-family: "Oswald", Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 700 !important;

        border:
            1px solid rgba(209, 38, 38, 0.38) !important;

        border-radius: 6px !important;

        background:
            rgba(209, 38, 38, 0.10) !important;
    }

    /* AREA DELLE NOTIFICHE */

    .notification-list {
        padding: 18px !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;

        background:
            radial-gradient(
                circle at 90% 5%,
                rgba(209, 38, 38, 0.10),
                transparent 35%
            ),
            #050708 !important;
    }

    /* SINGOLA NOTIFICA COME VERA CARD */

    .notification-item {
        position: relative !important;

        width: 100% !important;
        min-height: 155px !important;
        padding: 20px !important;

        display: grid !important;
        grid-template-columns: 62px minmax(0, 1fr) !important;
        gap: 17px !important;
        align-items: start !important;

        overflow: hidden !important;

        border:
            1px solid rgba(255, 255, 255, 0.13) !important;

        border-radius: 11px !important;

        background:
            linear-gradient(
                145deg,
                #14191c,
                #080b0d
            ) !important;

        box-shadow:
            0 13px 30px rgba(0, 0, 0, 0.45) !important;
    }

    .notification-item.unread {
        border-color:
            rgba(209, 38, 38, 0.72) !important;

        background:
            linear-gradient(
                135deg,
                #351112 0%,
                #151012 42%,
                #090c0e 100%
            ) !important;

        box-shadow:
            0 0 22px rgba(209, 38, 38, 0.14),
            0 13px 30px rgba(0, 0, 0, 0.50) !important;
    }

    .notification-item.unread::before {
        content: "";

        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;

        width: 5px;

        background: #e33131 !important;

        box-shadow:
            0 0 12px rgba(227, 49, 49, 0.70) !important;
    }

    /* ICONA */

    .notification-item-icon {
        width: 62px !important;
        height: 62px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        color: #efc44e !important;

        font-size: 30px !important;

        border:
            1px solid rgba(239, 196, 78, 0.52) !important;

        border-radius: 12px !important;

        background:
            linear-gradient(
                145deg,
                rgba(239, 196, 78, 0.16),
                rgba(239, 196, 78, 0.035)
            ) !important;

        box-shadow:
            0 0 17px rgba(239, 196, 78, 0.12) !important;
    }

    /* TESTI */

    .notification-item-content {
        min-width: 0 !important;

        display: flex !important;
        flex-direction: column !important;
        gap: 9px !important;
    }

    .notification-item-content strong {
        color: #ffffff !important;

        font-family: "Oswald", Arial, sans-serif !important;
        font-size: 21px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }

    .notification-item-content > span {
        color: #d0d4d6 !important;

        font-family: Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .notification-item-content small {
        width: fit-content !important;
        margin-top: 3px !important;
        padding: 5px 9px !important;

        color: #a8afb3 !important;

        font-family: Arial, sans-serif !important;
        font-size: 12px !important;

        border-radius: 999px !important;

        background:
            rgba(255, 255, 255, 0.065) !important;
    }

    /* QUANDO NON CI SONO NOTIFICHE */

    .notification-empty {
        min-height: 260px !important;
        padding: 40px 25px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        color: #aeb4b7 !important;

        font-size: 18px !important;
        text-align: center !important;

        border:
            1px dashed rgba(255, 255, 255, 0.15) !important;

        border-radius: 12px !important;

        background:
            rgba(255, 255, 255, 0.025) !important;
    }
}
/* =========================================================
   BADGE NUMERICO CAMPANELLA PLAYER CARDS
   ========================================================= */

.notification-bell-button {
    position: relative !important;
    overflow: visible !important;
}

.notification-badge {
    position: absolute !important;

    top: -8px !important;
    right: -7px !important;

    z-index: 100 !important;

    min-width: 20px !important;
    height: 20px !important;

    padding: 0 5px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    border: 2px solid #080b0d !important;
    border-radius: 999px !important;

    background: #df2020 !important;

    box-shadow:
        0 0 0 1px rgba(255, 75, 75, 0.65),
        0 0 11px rgba(223, 32, 32, 0.85) !important;
}

.notification-badge[hidden] {
    display: none !important;
}
/* =========================================================
   FIX HEADER PLAYER CARDS DESKTOP
   Nasconde gli elementi riservati al mobile
   ========================================================= */

@media (min-width: 721px) {

    .site-header .mobile-language-menu {
        display: none !important;
    }

    .site-header .mobile-menu-button {
        display: none !important;
    }

    .site-header .header-actions {
        display: flex !important;
        align-items: center !important;
    }

    .site-header .header-actions > .language-switcher {
        display: flex !important;
    }
}
/* =========================================================
   NOTIFICHE DESKTOP - STILE HOME
   ========================================================= */

.logged-account-controls {
    display: flex;
    align-items: center;
}

.notification-bell-button {
    position: relative;

    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 0;

    color: #efc44e;

    font-size: 21px;

    border: 1px solid rgba(239, 196, 78, 0.52);
    border-radius: 8px 0 0 8px;

    background:
        linear-gradient(
            180deg,
            rgba(42, 34, 12, 0.98),
            rgba(12, 11, 7, 0.98)
        );

    box-shadow:
        0 0 14px rgba(239, 196, 78, 0.18);

    cursor: pointer;
}

.notification-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 300;

    width: min(390px, calc(100vw - 24px));
    max-height: min(620px, calc(100vh - 105px));

    overflow: hidden;

    border: 1px solid rgba(239, 196, 78, 0.42);
    border-radius: 13px;

    background:
        linear-gradient(
            155deg,
            rgba(18, 20, 21, 0.99),
            rgba(5, 7, 8, 0.995)
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.80),
        0 0 28px rgba(239, 196, 78, 0.12);
}

.notification-panel[hidden] {
    display: none !important;
}

.notification-panel-header,
.notification-panel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.notification-panel-header {
    padding: 16px 17px 13px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.09);
}

.notification-panel-header > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notification-panel-header span {
    color: #efc44e;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.notification-panel-header strong {
    color: #ffffff;

    font-size: 20px;
}

.notification-panel-close {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #c7c7c7;

    font-family: Arial, sans-serif;
    font-size: 24px;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.035);

    cursor: pointer;
}

.notification-panel-toolbar {
    padding: 11px 17px;

    color: #a9aeb1;

    font-family: Arial, sans-serif;
    font-size: 11px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.notification-panel-toolbar button {
    padding: 0;

    color: #efc44e;

    font-size: 11px;
    font-weight: 700;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.notification-list {
    max-height: 470px;

    overflow-y: auto;
}

.notification-item {
    position: relative;

    padding: 14px 17px;

    display: grid;
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 12px;
    align-items: start;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    background: transparent;
}

.notification-item:hover {
    background:
        rgba(255, 255, 255, 0.045);
}

.notification-item.unread {
    background:
        linear-gradient(
            90deg,
            rgba(239, 196, 78, 0.11),
            rgba(239, 196, 78, 0.02)
        );
}

.notification-item-icon {
    width: 43px;
    height: 43px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    color: #efc44e;

    font-size: 22px;

    border:
        1px solid rgba(239, 196, 78, 0.28);

    border-radius: 10px;

    background:
        rgba(239, 196, 78, 0.065);
}

.notification-item-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-item-content strong {
    color: #ffffff;

    font-size: 13px;
    line-height: 1.25;
}

.notification-item-content > span {
    color: #b7babc;

    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
}

.notification-item-content small {
    color: #747a7e;

    font-family: Arial, sans-serif;
    font-size: 10px;
}

.notification-empty {
    padding: 38px 20px;

    color: #8f9497;

    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
/* =========================================================
   LOGO E LINK WOW STORE DRAGONA
   ========================================================= */

.esports-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
}

.esports-header-logo {
    display: block;

    width: 72px;
    height: 72px;

    object-fit: contain;
}

.nav-dragona-link {
    color: #efc44e !important;
}

.nav-dragona-link:hover {
    color: #ffffff !important;
}

@media (max-width: 720px) {

    .esports-header-logo {
        width: 54px;
        height: 54px;
    }

    .nav-dragona-link {
        color: #efc44e !important;
    }
}
/* =========================================================
   PLAYER CARDS MOBILE — HERO COME LA HOME
   ========================================================= */

@media (max-width: 720px) {

    .cards-hero {
        min-height: auto !important;

        padding:
            145px
            23px
            115px !important;

        display: block !important;

        text-align: center !important;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .cards-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(3, 4, 5, 0.92) 0%,
                rgba(3, 4, 5, 0.72) 42%,
                rgba(3, 4, 5, 0.88) 100%
            ),
            radial-gradient(
                circle at 72% 35%,
                rgba(183, 35, 20, 0.32),
                transparent 48%
            ) !important;
    }

    .cards-hero::after {
        right: -360px !important;
        bottom: -440px !important;

        width: 760px !important;
        height: 760px !important;
    }

    .cards-hero-content {
        width: 100% !important;
        max-width: 760px !important;

        margin: 0 auto !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;

        text-align: center !important;
    }

    .cards-hero .eyebrow {
        width: 100% !important;

        color: #e13939 !important;

        font-size: clamp(18px, 4.7vw, 25px) !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        letter-spacing: 4px !important;
        text-align: center !important;
    }

    .cards-hero h1 {
        width: 100% !important;

        margin:
            28px
            0
            35px !important;

        font-size: clamp(76px, 21vw, 118px) !important;
        line-height: 0.84 !important;
        letter-spacing: 1px !important;

        text-align: center !important;
    }

    .cards-hero h1 span {
        display: block !important;

        color: #d92b2b !important;

        text-shadow:
            0 0 28px rgba(209, 38, 38, 0.35) !important;
    }

    .cards-hero p {
        width: 100% !important;
        max-width: 720px !important;

        margin: 0 auto !important;

        color: #c4c6c8 !important;

        font-size: clamp(22px, 5.2vw, 31px) !important;
        font-weight: 300 !important;
        line-height: 1.55 !important;
        text-align: center !important;
    }

    .cards-hero .create-card-button {
        width: 100% !important;
        min-height: 74px !important;

        margin-top: 56px !important;
        padding: 18px 22px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 13px !important;

        font-size: clamp(20px, 5vw, 27px) !important;
        letter-spacing: 0.3px !important;

        border:
            1px solid #ff5555 !important;

        background:
            linear-gradient(
                135deg,
                #df3030,
                #930e0e
            ) !important;

        box-shadow:
            0 14px 35px rgba(209, 38, 38, 0.30),
            0 0 25px rgba(209, 38, 38, 0.18) !important;
    }

    .cards-hero .create-card-button ion-icon {
        font-size: 29px !important;
    }

    /* I filtri iniziano più ordinati sotto la Hero */

    .filters-section {
        margin-top: 0 !important;
        padding-top: 70px !important;
    }

    .filters-container {
        width: calc(100% - 46px) !important;
        margin: 0 auto !important;
        padding: 18px !important;
    }
}

@media (max-width: 390px) {

    .cards-hero {
        padding:
            120px
            18px
            95px !important;
    }

    .cards-hero h1 {
        font-size: 72px !important;
    }

    .cards-hero p {
        font-size: 21px !important;
    }

    .cards-hero .create-card-button {
        min-height: 68px !important;
        font-size: 19px !important;
    }
}
/* =========================================================
   PLAYER CARDS — HEADER MOBILE IDENTICO ALLA HOME
   DEVE RESTARE COME ULTIMO BLOCCO DEL FILE
   ========================================================= */

@media (max-width: 720px) {

    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;

        width: 100% !important;
        min-height: 86px !important;

        background: rgba(5, 7, 8, 0.99) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .site-header .header-inner {
        position: relative !important;

        width: 100% !important;
        min-height: 86px !important;
        margin: 0 !important;
        padding: 10px 12px !important;

        display: grid !important;

        grid-template-columns:
            72px
            minmax(0, 1fr)
            44px !important;

        grid-template-areas:
            "brand account hamburger" !important;

        align-items: center !important;
        gap: 8px !important;
    }

    /* Logo/Home completamente a sinistra */

    .site-header .brand {
        grid-area: brand !important;

        position: static !important;
        inset: auto !important;

        width: 68px !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .site-header .esports-header-logo {
        display: block !important;

        width: 64px !important;
        height: 64px !important;

        object-fit: contain !important;
    }

    /* Blocco unico campanella + profilo */

    .site-header .esports-account-area {
        grid-area: account !important;

        position: static !important;
        inset: auto !important;

        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        z-index: 10030 !important;
    }

    .site-header .logged-account-box {
        position: relative !important;

        width: min(100%, 205px) !important;
        max-width: 205px !important;
        min-width: 0 !important;
    }

    .site-header .logged-account-controls {
        width: 100% !important;

        display: grid !important;
        grid-template-columns:
            42px
            minmax(0, 1fr) !important;

        align-items: stretch !important;
        gap: 0 !important;
    }

    .site-header .notification-bell-button,
    .site-header .logged-account-controls .account-menu-button {
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
    }

    .site-header .notification-bell-button {
        width: 42px !important;
        min-width: 42px !important;

        border-radius: 8px 0 0 8px !important;
    }

    .site-header .logged-account-controls .account-menu-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        padding: 0 10px !important;

        justify-content: center !important;

        border-left: 0 !important;
        border-radius: 0 8px 8px 0 !important;
    }

    .site-header #accountUsername {
        display: block !important;

        max-width: 105px !important;
        min-width: 0 !important;

        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* Hamburger separato a destra */

    .site-header .header-actions {
        grid-area: hamburger !important;

        position: static !important;
        inset: auto !important;

        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        z-index: 10040 !important;
    }

    .site-header .header-actions > .language-switcher,
    .site-header .user-area {
        display: none !important;
    }

    .site-header .mobile-menu-button {
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 44px !important;

        font-size: 28px !important;

        border-radius: 7px !important;
    }

    /* Menu chiuso */

    .site-header .main-nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Player Cards usa is-open */

    .site-header .main-nav.is-open {
        position: absolute !important;

        top: 86px !important;
        right: 0 !important;
        left: 0 !important;

        z-index: 10020 !important;

        width: 100% !important;
        max-height: calc(100vh - 86px) !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-y: auto !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;

        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 390px) {

    .site-header .header-inner {
        grid-template-columns:
            64px
            minmax(0, 1fr)
            40px !important;

        padding-right: 8px !important;
        padding-left: 8px !important;

        gap: 6px !important;
    }

    .site-header .brand {
        width: 60px !important;
    }

    .site-header .esports-header-logo {
        width: 58px !important;
        height: 58px !important;
    }

    .site-header .logged-account-box {
        max-width: 188px !important;
    }

    .site-header #accountUsername {
        max-width: 78px !important;
    }

    .site-header .header-actions,
    .site-header .mobile-menu-button {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }
}