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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #f5f5f5;
    background-color: #020041;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: rgba(2, 0, 65, 0.96);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    position: relative;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 46px;
    width: auto;
    display: block;
    border-radius: 6px;
    background-color: transparent;
}

.logo-text {
    font-family: 'Anton', sans-serif;
    font-size: 1.6rem;
}

/* Contenitore logo (adatta il selettore alle tue classi reali) */
.site-logo,
.site-logo img,
.navbar-logo,
.navbar-brand img {
  background-color: transparent !important;
}

/* Se per caso hai messo un background globale aggressivo */
img {
  background-color: transparent;
}


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

.nav-links a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #B8956B;
    border-bottom-color: #B8956B;
}

.nav-toggle {
     position: relative;
  z-index: 1100;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background-color: #f5f5f5;
    display: block;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 580px;
    overflow: hidden;
    background: #020041;
    margin-top: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: flex-end;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(2, 0, 65, 0.95) 0%,
        rgba(2, 0, 65, 0.7) 40%,
        rgba(2, 0, 65, 0.4) 70%,
        transparent 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 40px;
    max-width: 600px;
    color: #ffffff;
    animation: slideInUp 0.8s ease-out;
}

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

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #B8956B 0%, #a67d52 100%);
    color: #020041;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(184, 149, 107, 0.3);
}

.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    color: #B8956B;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

.hero-text {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #B8956B 0%, #a67d52 100%);
    color: #020041;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 6px 20px rgba(184, 149, 107, 0.3);
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 15;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 149, 107, 0.45);
    background: linear-gradient(135deg, #a67d52 0%, #95714a 100%);
}

.hero-cta:active {
    transform: translateY(-1px);
}

/* HERO ARROWS */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(184, 149, 107, 0.15);
    border: none;
    color: #B8956B;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(184, 149, 107, 0.3);
    color: #d4c5a0;
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-arrow-prev {
    left: 30px;
}

.hero-arrow-next {
    right: 30px;
}

.hero-arrow svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* HERO DOTS */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(184, 149, 107, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background-color: rgba(184, 149, 107, 0.6);
    transform: scale(1.15);
}

.hero-dot.active {
    background-color: #B8956B;
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 0 16px rgba(184, 149, 107, 0.5);
}

/* ===== PAGINA PREVISIONI ===== */

/* HERO PREVISIONI */
.hero-predictions {
    background: radial-gradient(circle at top left, #081655 0%, #020041 40%, #010020 100%);
    padding: 80px 20px 40px;
    border-bottom: 1px solid rgba(184, 149, 107, 0.25);
}

.hero-predictions-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-predictions-content {
    max-width: 680px;
}

.hero-predictions-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.6rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.hero-predictions-title span#pred-hero-giornata {
    color: #B8956B;
}

.hero-predictions-text {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.hero-predictions-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(184, 149, 107, 0.5);
    color: #B8956B;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(184, 149, 107, 0.08);
}

.badge-pill.badge-soft {
    border-color: rgba(255, 255, 255, 0.15);
    color: #d8d8d8;
    background: rgba(255, 255, 255, 0.03);
}

.hero-predictions-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0084FF 0%, #0073e6 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    box-shadow: 0 8px 24px rgba(0, 132, 255, 0.35);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-predictions-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 132, 255, 0.5);
}

/* Colonna destra hero */
.hero-predictions-side {
    flex-shrink: 0;
}

/* Badge matchday/stato */
.pred-hero-badge {
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(184,149,107,0.18), rgba(34,34,34,0.95));
    border: 1px solid rgba(184,149,107,0.5);
    text-align: right;
    min-width: 150px;
}

.pred-hero-badge-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b0b0b0;
    margin-bottom: 3px;
}

.pred-hero-badge-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-predictions-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* SEZIONI PREVISIONI */
.pred-section {
    padding: 50px 20px;
    border-top: 1px solid rgba(184, 149, 107, 0.18);
}

.pred-fanta {
    background: linear-gradient(135deg, #020041 0%, #010020 100%);
}

.pred-prono {
    background: linear-gradient(135deg, #010020 0%, #020041 100%);
}

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

.pred-section-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.9rem;
    color: #B8956B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pred-section-subtitle {
    color: #d0d0d0;
    font-size: 0.95rem;
    max-width: 520px;
}

.pred-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.pred-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b0b0b0;
}

.pred-select {
    min-width: 130px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid rgba(184, 149, 107, 0.6);
    background: rgba(5, 5, 25, 0.9);
    color: #f5f5f5;
    font-size: 0.9rem;
}

/* CARD CONTENITORE PREVISIONI */
.pred-card {
    background: rgba(10, 0, 40, 0.75);
    border-radius: 16px;
    border: 1px solid rgba(184, 149, 107, 0.3);
    padding: 24px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.pred-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.pred-card-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.4rem;
    color: #B8956B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pred-card-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pred-card-select {
    min-width: 130px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(184, 149, 107, 0.6);
    background: rgba(5, 5, 25, 0.95);
    color: #f5f5f5;
    font-size: 0.85rem;
}


/* LISTA MATCH */
.pred-match-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Card match base, la popoleremo via JS */
.pred-match-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: radial-gradient(circle at top left, rgba(10, 10, 30, 0.96), rgba(3, 3, 18, 0.98));
    border: 1px solid rgba(184, 149, 107, 0.25);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pred-match-card:hover {
    border-color: rgba(184, 149, 107, 0.6);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.pred-match-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pred-match-logos {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pred-match-logos img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.pred-match-names {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pred-match-title {
    font-weight: 600;
    color: #f5f5f5;
    font-size: 0.95rem;
}

.pred-match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    color: #b0b0b0;
}

.pred-match-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.8rem;
    color: #d0d0d0;
}

/* ===== DASHBOARD ANALITICA ===== */
.dashboard-section {
    background: linear-gradient(135deg, #020041 0%, #010020 100%);
    padding: 60px 20px;
    border-top: 1px solid rgba(184, 149, 107, 0.2);
}

.dashboard-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: #B8956B;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* TABS */

.logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(10, 10, 25, 0.95), rgba(5, 5, 15, 0.98));
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-pill img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(1.4) contrast(1.1);
}

.dashboard-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(184, 149, 107, 0.2);
}

/* Tabella previsioni fantacalcio */
.pred-fanta-table th {
    text-align: left;
}

.pred-fanta-table td {
    cursor: pointer;
}

/* stile per cella match con loghi */
.pred-match-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pred-match-cell-logos {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pred-match-cell-logos img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.pred-match-cell-names {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
}


.tab-btn {
    padding: 10px 20px;
    background: rgba(184, 149, 107, 0.1);
    border: 1px solid rgba(184, 149, 107, 0.3);
    color: #B8956B;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(184, 149, 107, 0.2);
    border-color: rgba(184, 149, 107, 0.6);
}

.tab-btn.active {
    background: linear-gradient(135deg, #B8956B 0%, #a67d52 100%);
    color: #020041;
    border-color: #B8956B;
    box-shadow: 0 4px 12px rgba(184, 149, 107, 0.3);
}

/* TAB CONTENT */
.dashboard-content {
    background: rgba(10, 0, 40, 0.6);
    border: 1px solid rgba(184, 149, 107, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 40px;
}

/* Wrapper scrollabile per tabelle su mobile */
.dashboard-table-wrapper {
    width: 100%;
    overflow-x: auto;
}


.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* TABLES */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

/* Tabella classifica Serie A */
.table.classifica-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table.classifica-table thead {
    border-bottom: 2px solid rgba(184, 149, 107, 0.3);
}

.table.classifica-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 700;
    color: #B8956B;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.table.classifica-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(184, 149, 107, 0.1);
    color: #e0e0e0;
    font-size: 0.95rem;
}


/* ZONE EUROPEE / RETROCESSIONE */
.zona-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zona-badge img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.zona-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.zona-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* stile diverso per ogni coppa */
.zona-champions img {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.zona-europa img {
    filter: drop-shadow(0 0 6px rgba(255, 153, 51, 0.6));
}

.zona-conference img {
    filter: drop-shadow(0 0 6px rgba(0, 255, 170, 0.6));
}

/* bollino retrocessione già ok */
.zona-relegation span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff4b4b 0%, #b00000 70%);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}


/* Bollino retrocessione */
.zona-relegation span {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff4b4b 0%, #b00000 70%);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

.dashboard-table thead {
    border-bottom: 2px solid rgba(184, 149, 107, 0.3);
}

.dashboard-table th {
    padding: 12px 8px;
    text-align: left;
    font-weight: 700;
    color: #B8956B;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(184, 149, 107, 0.1);
    color: #e0e0e0;
    font-size: 0.95rem;
}

.dashboard-table tbody tr:hover {
    background: rgba(184, 149, 107, 0.05);
}

.dashboard-table tbody tr.clickable {
    cursor: pointer;
}

.dashboard-table tbody tr.clickable:hover {
    background: rgba(184, 149, 107, 0.15);
}

/* LINK */
.dashboard-link {
    color: #B8956B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.dashboard-link:hover {
    color: #d4c5a0;
    text-decoration: underline;
}

/* LOGHI IN TABELLE */
.table-team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(1.1);
}

/* ===== STATISTICHE DI IMPATTO ===== */
.stats-section {
    background: linear-gradient(135deg, #020041 0%, #010020 100%);
    padding: 60px 20px;
    border-top: 1px solid rgba(184, 149, 107, 0.2);
    border-bottom: 1px solid rgba(184, 149, 107, 0.2);
}

.stats-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: #B8956B;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.08) 0%, rgba(184, 149, 107, 0.04) 100%);
    border: 1px solid rgba(184, 149, 107, 0.25);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    border-color: rgba(184, 149, 107, 0.6);
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.15) 0%, rgba(184, 149, 107, 0.08) 100%);
    box-shadow: 0 12px 36px rgba(184, 149, 107, 0.2);
    transform: translateY(-6px);
}

.stat-card-clickable {
    cursor: pointer;
    position: relative;
}

.stat-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.stat-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    display: inline-block;
}

.stat-number {
    font-family: 'Anton', sans-serif;
    font-size: 2.8rem;
    color: #B8956B;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(184, 149, 107, 0.2);
    letter-spacing: 0.02em;
}

.stat-label {
    font-size: 0.95rem;
    color: #d8d8d8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.stat-small {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-style: italic;
    margin-top: 4px;
}

.stat-card-clickable:hover .stat-number {
    color: #d4c5a0;
    text-shadow: 0 4px 16px rgba(184, 149, 107, 0.4);
}

.stats-disclaimer {
    text-align: center;
    color: #808080;
    font-size: 0.85rem;
    margin-top: 20px;
}

/* ===== NEWS CARDS SECTION ===== */
.news-cards-section {
    background: linear-gradient(135deg, #020041 0%, #010020 100%);
    padding: 60px 20px;
    border-top: 1px solid rgba(184, 149, 107, 0.2);
}

.news-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: #B8956B;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(184, 149, 107, 0.2);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 149, 107, 0.6);
    box-shadow: 0 20px 50px rgba(184, 149, 107, 0.2);
}

.news-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(2, 0, 65, 0.95) 0%,
        rgba(2, 0, 65, 0.6) 50%,
        transparent 100%
    );
    z-index: 2;
    transition: all 0.4s ease;
}

.news-card:hover .news-card-overlay {
    background: linear-gradient(
        to top,
        rgba(2, 0, 65, 0.98) 0%,
        rgba(2, 0, 65, 0.7) 40%,
        transparent 100%
    );
}

.news-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.news-card-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.4rem;
    color: #B8956B;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.news-card-subtitle {
    font-size: 0.95rem;
    color: #d8d8d8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* NEWS MODAL */
#news-modal.modal.active {
    display: flex;
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin: -40px -40px 20px -40px;
}

.modal-subtitle {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-style: italic;
}

.modal-text {
    color: #d8d8d8;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== TELEGRAM CTA - PREMIUM ===== */
.telegram-section-premium {
    position: relative;
    background: linear-gradient(135deg, #020041 0%, #010020 100%);
    padding: 80px 20px;
    border-top: 1px solid rgba(184, 149, 107, 0.2);
    border-bottom: 1px solid rgba(184, 149, 107, 0.2);
    overflow: hidden;
}

.telegram-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.telegram-deco-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #B8956B, transparent);
    top: -100px;
    right: -100px;
}

.telegram-deco-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #B8956B, transparent);
    bottom: -50px;
    left: -50px;
}

.telegram-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.telegram-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.telegram-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.4rem;
    color: #B8956B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin: 0;
}

.telegram-subtitle {
    font-size: 1.1rem;
    color: #d8d8d8;
    line-height: 1.7;
    margin: 0;
}

.telegram-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.telegram-feature {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: rgba(184, 149, 107, 0.08);
    border-left: 3px solid rgba(184, 149, 107, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.telegram-feature:hover {
    background: rgba(184, 149, 107, 0.15);
    border-left-color: #B8956B;
    padding-left: 16px;
}

.telegram-feature-icon {
    font-size: 1.6rem;
    min-width: 40px;
    display: flex;
    align-items: center;
}

.telegram-feature strong {
    display: block;
    color: #B8956B;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.telegram-feature p {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.telegram-cta-buttons {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.btn-telegram-primary,
.btn-telegram-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    border: none;
}

.btn-telegram-primary {
    background: linear-gradient(135deg, #0084FF 0%, #0073e6 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 132, 255, 0.3);
}

.btn-telegram-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 132, 255, 0.45);
    background: linear-gradient(135deg, #0099ff 0%, #0084FF 100%);
}

.btn-telegram-primary:active {
    transform: translateY(-2px);
}

.btn-telegram-secondary {
    background: rgba(184, 149, 107, 0.2);
    color: #B8956B;
    border: 2px solid rgba(184, 149, 107, 0.5);
}

.btn-telegram-secondary:hover {
    background: rgba(184, 149, 107, 0.3);
    border-color: #B8956B;
    box-shadow: 0 8px 24px rgba(184, 149, 107, 0.2);
    transform: translateY(-4px);
}

.telegram-guarantee {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* RIGHT SIDE: QR */
.telegram-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-qr-box {
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.1) 0%, rgba(184, 149, 107, 0.05) 100%);
    border: 2px solid rgba(184, 149, 107, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    max-width: 280px;
}

.telegram-qr-box:hover {
    border-color: rgba(184, 149, 107, 0.6);
    box-shadow: 0 20px 60px rgba(184, 149, 107, 0.15);
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.15) 0%, rgba(184, 149, 107, 0.08) 100%);
}

.telegram-qr-label {
    color: #B8956B;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    margin-top: 0;
}

.telegram-qr-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(184, 149, 107, 0.3);
    margin-bottom: 16px;
    display: block;
}

.telegram-qr-hint {
    color: #808080;
    font-size: 0.8rem;
    margin: 0;
    font-style: italic;
}

/* ===== FEATURES (non più usata su index, ma utile altrove) ===== */
.features {
    padding: 60px 20px;
    background: #f9f9f9;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #020041;
}

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

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature h3 {
    margin-bottom: 15px;
    color: #020041;
}

.feature p {
    color: #666;
}

/* ===== BUTTONS GENERICI ===== */
.btn {
    display: inline-block;
    padding: 14px 34px;
    margin: 10px 0;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.btn-primary {
    background-color: #B8956B;
    color: #020041;
}

.btn-success {
    background-color: #ffffff;
    color: #020041;
}

/* ===== FORMS ===== */
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #020041;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B8956B;
    box-shadow: 0 0 0 3px rgba(184, 149, 107, 0.1);
}

/* ===== TRACK RECORD TABLES ===== */
.track-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.track-table thead {
    background-color: #020041;
    color: white;
}

.track-table th,
.track-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.track-table tbody tr:hover {
    background-color: #f5f5f5;
}

.track-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== EXPERTISE ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.expertise-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #B8956B;
}

.expertise-item h3 {
    color: #020041;
    margin-bottom: 10px;
}

.expertise-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== CTA SECTION GENERICA ===== */
.cta-section {
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cta-section h2 {
    margin-bottom: 15px;
    color: #020041;
}

.cta-section p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* ===== MODAL GENERICO (INFORTUNIO + NEWS) ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #0a0028 0%, #020041 100%);
    border: 1px solid rgba(184, 149, 107, 0.4);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #B8956B;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: #d4c5a0;
}

.modal-body h2 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: #B8956B;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.modal-body h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: #B8956B;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-body > p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.modal-details {
    border-top: 1px solid rgba(184, 149, 107, 0.3);
    padding-top: 20px;
}

.modal-details p {
    color: #d8d8d8;
    margin: 12px 0;
    line-height: 1.6;
}

.modal-details strong {
    color: #B8956B;
}

/* Modal classifica completa */
.modal-content-wide {
    max-width: 900px;
}

/* wrapper scrollabile per la tabella completa */
.modal-table-wrapper {
    max-height: 420px;
    overflow-y: auto;
    margin-top: 16px;
    border-radius: 10px;
}

/* opzionale: righe leggermente più compatte dentro la modal */
#classifica-full-body td {
    padding: 10px 8px;
}

/* Modal analisi fantacalcio */
.pred-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.pred-modal-logos img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.pred-modal-title-block h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.pred-modal-subtitle {
    font-size: 0.9rem;
    color: #d0d0d0;
}

.pred-modal-section {
    margin-bottom: 18px;
}

.pred-modal-section h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.pred-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pred-modal-col h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #B8956B;
}

.pred-modal-col p {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Modal pronostici */
.pred-prono-main {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pred-prono-main-esito {
    flex: 1 1 200px;
}

.pred-prono-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b0b0b0;
    margin-bottom: 4px;
}

.pred-prono-esito {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #B8956B 0%, #a67d52 100%);
    display: inline-block;
}

.pred-prono-main-conf {
    text-align: right;
    min-width: 150px;
}

.pred-prono-stars {
    font-size: 1rem;
    color: #ffd76a;
}

.pred-prono-conf-num {
    font-size: 0.8rem;
    color: #d0d0d0;
    margin-left: 6px;
}

.pred-prono-alt-list {
    padding-left: 18px;
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Banner giocatore sotto hero */
.pred-player-highlight {
    padding: 26px 20px 10px;
    background: radial-gradient(circle at top left, rgba(184,149,107,0.16) 0%, rgba(4,4,18,0.98) 40%, #020012 100%);
    border-bottom: 1px solid rgba(184,149,107,0.18);
}

.pred-player-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.pred-player-image-wrap {
    position: relative;
    max-width: 260px;
}

.pred-player-image {
    width: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}

.pred-player-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b0b0b0;
    margin-bottom: 4px;
}

.pred-player-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.pred-player-desc {
    font-size: 0.95rem;
    color: #d5d5d5;
    max-width: 520px;
}

@media (max-width: 768px) {
    .pred-player-highlight {
        padding: 18px 20px 6px;
    }

    .pred-player-inner {
        grid-template-columns: 1fr;
    }

    .pred-player-image-wrap {
        max-width: 220px;
    }
}

/* ===== PAGINA RISULTATI ===== */

/* Hero risultati */
.hero-results {
    background: radial-gradient(circle at top left, #081655 0%, #020041 40%, #010020 100%);
    padding: 70px 20px 40px;
    border-bottom: 1px solid rgba(184, 149, 107, 0.25);
}

.hero-results-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-results-content {
    max-width: 680px;
}

.hero-results-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.4rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.hero-results-text {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.hero-results-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Badge lato destro hero risultati */
.hero-results-side {
    flex-shrink: 0;
}

.res-hero-badge {
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(184,149,107,0.18), rgba(34,34,34,0.95));
    border: 1px solid rgba(184,149,107,0.5);
    text-align: right;
    min-width: 150px;
}

.res-hero-badge-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b0b0b0;
    margin-bottom: 3px;
}

.res-hero-badge-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

/* KPI cards */
.results-kpi {
    padding: 32px 20px 18px;
    background: linear-gradient(135deg, #020041 0%, #010020 100%);
    border-bottom: 1px solid rgba(184,149,107,0.18);
}

.results-kpi-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.results-kpi-card {
    background: rgba(5, 5, 30, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(184,149,107,0.35);
    padding: 16px 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.6);
}

.results-kpi-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #b0b0b0;
    margin-bottom: 6px;
}

.results-kpi-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.results-kpi-sub {
    font-size: 0.85rem;
    color: #d0d0d0;
}

/* Storico giornate */
.results-history {
    padding: 32px 20px 40px;
    background: #010020;
}

.results-history-header {
  max-width: 1200px;
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.results-history-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #d0d0d0;
}

#results-giornata-select {
  min-width: 140px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(184, 149, 107, 0.6);
  background: rgba(5, 5, 25, 0.95);
  color: #f5f5f5;
  font-size: 0.9rem;
}

.results-history-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #B8956B;
    margin-bottom: 6px;
}

.results-history-subtitle {
    font-size: 0.95rem;
    color: #d0d0d0;
}

/* Riga miglior giornata nella tabella risultati */
.results-best-round-row {
  background: linear-gradient(90deg, rgba(184, 149, 107, 0.16) 0%, rgba(2, 0, 65, 0.95) 60%);
}

.results-best-round-row td {
  font-weight: 600;
  color: #f5f5f5;
}

.results-best-round-row:hover {
  background: linear-gradient(90deg, rgba(184, 149, 107, 0.22) 0%, rgba(2, 0, 65, 0.98) 60%);
}


/* KPI cards */
.results-kpi-card {
  background: rgba(5, 5, 30, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(184, 149, 107, 0.35);
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* Hover “premium” */
.results-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  border-color: rgba(184, 149, 107, 0.8);
  background: linear-gradient(135deg, rgba(184,149,107,0.18) 0%, rgba(5,5,30,0.95) 100%);
}

/* Dettaglio sul valore centrale */
.results-kpi-card:hover .results-kpi-value {
  color: #B8956B;
  text-shadow: 0 0 12px rgba(184, 149, 107, 0.7);
}


/* Tabella risultati riusa .dashboard-table, qui solo qualche tweak se vuoi */
.results-table td,
.results-table th {
    white-space: nowrap;
}

.results-table td:nth-child(4),
.results-table td:nth-child(5) {
    white-space: normal;
}

/* Responsivo */
@media (max-width: 900px) {
    .results-kpi-inner {
        grid-template-columns: 1fr;
    }

    .hero-results-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== PAGINA CHI SONO ===== */

/* Hero */
.hero-about {
  background: radial-gradient(circle at top left, #081655 0%, #020041 40%, #010020 100%);
  padding: 80px 20px 40px;
  border-bottom: 1px solid rgba(184, 149, 107, 0.25);
}

.hero-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-about-content {
  max-width: 700px;
}

.hero-about-title {
  font-family: 'Anton', sans-serif;
  font-size: 2.6rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero-about-text {
  font-size: 1.05rem;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.hero-about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-about-side {
  flex-shrink: 0;
}

.about-hero-card {
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184,149,107,0.18), rgba34,34,34,0.96);
  border: 1px solid rgba(184,149,107,0.5);
  min-width: 220px;
}

.about-hero-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b0b0b0;
  margin-bottom: 4px;
}

.about-hero-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.about-hero-note {
  font-size: 0.85rem;
  color: #d0d0d0;
}

/* Profilo */
.about-profile {
  background: #010020;
  padding: 50px 20px;
  border-bottom: 1px solid rgba(184, 149, 107, 0.18);
}

.about-profile-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.about-avatar-placeholder {
  width: 260px;
  height: 260px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(184,149,107,0.2), rgba4,4,18,1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  color: #ffffff;
  border: 1px solid rgba(184,149,107,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}

.about-profile-content p {
  margin-bottom: 14px;
  color: #d8d8d8;
  font-size: 0.98rem;
}

/* Titoli generici */
.about-section-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.9rem;
  color: #B8956B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.about-section-title.center {
  text-align: center;
}

.about-section-subtitle {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
  color: #d0d0d0;
  font-size: 0.98rem;
}

/* Metodo */
.about-method {
  background: linear-gradient(135deg, #020041 0%, #010020 100%);
  padding: 60px 20px;
  border-bottom: 1px solid rgba(184,149,107,0.18);
}

.about-method-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.about-method-card {
  background: rgba(5,5,25,0.95);
  border-radius: 14px;
  border: 1px solid rgba(184,149,107,0.25);
  padding: 18px 18px 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.about-method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8);
  border-color: rgba(184,149,107,0.7);
  background: radial-gradient(circle at top, rgba(184,149,107,0.18), rgba(5,5,25,1));
}


.about-method-card h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.about-method-card p {
  font-size: 0.9rem;
  color: #d0d0d0;
}

.about-method-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

/* Stats sezione riuso stat-card esistente */

/* Per chi è */
.about-for-who {
  background: #010020;
  padding: 60px 20px;
  border-top: 1px solid rgba(184,149,107,0.18);
  border-bottom: 1px solid rgba(184,149,107,0.18);
}

.about-for-who-grid {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-for-who-card {
  background: rgba(5,5,25,0.96);
  border-radius: 14px;
  border: 1px solid rgba(184,149,107,0.25);
  padding: 18px 18px 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.about-for-who-card h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.about-for-who-card p {
  font-size: 0.9rem;
  color: #d0d0d0;
}

.about-for-who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8);
  border-color: rgba(184,149,107,0.7);
  background: radial-gradient(circle at top, rgba(184,149,107,0.18), rgba(5,5,25,1));
}

.about-for-who-note {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184,149,107,0.14), rgba4,4,18,0.98);
  border: 1px solid rgba(184,149,107,0.4);
  font-size: 0.9rem;
  color: #f0f0f0;
  text-align: center;
}

/* responsive */
@media (max-width: 900px) {
  .about-for-who-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .about-for-who-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.about-cta-section {
  background: linear-gradient(135deg, #020041 0%, #010020 100%);
  padding: 60px 20px 50px;
}

.about-cta {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: rgba(5,5,25,0.96);
  border-radius: 18px;
  border: 1px solid rgba(184,149,107,0.4);
  padding: 32px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}

.about-cta h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  color: #B8956B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.about-cta p {
  color: #d8d8d8;
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-about-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .about-avatar-placeholder {
    width: 220px;
    height: 220px;
  }

  .about-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-for-who-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-method-grid {
    grid-template-columns: 1fr;
  }
}

/* SEZIONE NUMERI CHIAVE – pagina Chi Sono */
.about-stats {
  background: #010020;
  padding: 50px 20px;
  border-top: 1px solid rgba(184,149,107,0.18);
  border-bottom: 1px solid rgba(184,149,107,0.18);
}

.about-stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* trofei compatti */
.about-stats-grid .stat-card {
  padding: 20px 12px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(184,149,107,0.14), rgba(4,4,18,0.98));
  border: 1px solid rgba(184,149,107,0.35);
  box-shadow: 0 10px 26px rgba(0,0,0,0.7);
  min-height: 140px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.about-stats-grid .stat-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.about-stats-grid .stat-number {
  font-size: 2rem;
  margin-bottom: 4px;
}

.about-stats-grid .stat-label {
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.about-stats-grid .stat-small {
  font-size: 0.75rem;
}

.about-stats-grid .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.85);
  border-color: rgba(184,149,107,0.8);
  background: radial-gradient(circle at top, rgba(184,149,107,0.2), rgba(4,4,18,1));
}

/* layout 2x2 / 1x4 */
@media (max-width: 900px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGINA CONTATTI ===== */

.hero-contact {
  background: radial-gradient(circle at top left, #081655 0%, #020041 40%, #010020 100%);
  padding: 70px 20px 40px;
  border-bottom: 1px solid rgba(184,149,107,0.25);
}

.hero-contact-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-contact-title {
  font-family: 'Anton', sans-serif;
  font-size: 2.4rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero-contact-text {
  font-size: 1.02rem;
  color: #e0e0e0;
  max-width: 700px;
}

/* Sezione contatti */
.contact-section {
  background: #010020;
  padding: 50px 20px 60px;
  border-bottom: 1px solid rgba(184,149,107,0.18);
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  background: rgba(5,5,25,0.96);
  border-radius: 14px;
  border: 1px solid rgba(184,149,107,0.25);
  padding: 20px 18px 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-card h2 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.9rem;
  color: #d0d0d0;
}

.contact-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(184,149,107,0.7);
  background: linear-gradient(135deg, #B8956B 0%, #a67d52 100%);
  color: #020041;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(184,149,107,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184,149,107,0.5);
  background: linear-gradient(135deg, #a67d52 0%, #95714a 100%);
}

.contact-detail {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #b8b8b8;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.85);
  border-color: rgba(184,149,107,0.7);
  background: radial-gradient(circle at top, rgba(184,149,107,0.18), rgba(5,5,25,1));
}

.contact-note {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184,149,107,0.14), rgba4,4,18,0.98);
  border: 1px solid rgba(184,149,107,0.4);
  font-size: 0.9rem;
  color: #f0f0f0;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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




/* ===== FOOTER PREMIUM ===== */
.footer-premium {
    background: linear-gradient(135deg, #010010 0%, #020041 100%);
    color: #e0e0e0;
    padding: 0;
    border-top: 2px solid rgba(184, 149, 107, 0.25);
    position: relative;
    overflow: hidden;
}

.footer-decoration {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 149, 107, 0.05), transparent);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* CTA BANNER */
.footer-cta-banner {
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.15) 0%, rgba(184, 149, 107, 0.08) 100%);
    border: 1px solid rgba(184, 149, 107, 0.3);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.footer-cta-banner h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: #B8956B;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-cta-banner p {
    color: #d8d8d8;
    margin-bottom: 24px;
    font-size: 1rem;
}

.footer-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #0084FF 0%, #0073e6 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 24px rgba(0, 132, 255, 0.3);
}

.footer-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 132, 255, 0.45);
    background: linear-gradient(135deg, #0099ff 0%, #0084FF 100%);
}

/* MAIN FOOTER CONTENT */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(184, 149, 107, 0.2);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-brand {
    gap: 16px;
}

.footer-logo {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo h4 {
    font-family: 'Anton', sans-serif;
    color: #B8956B;
    margin: 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-logo p {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin: 4px 0 0 0;
}

.footer-bio {
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0 0 16px 0;
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(184, 149, 107, 0.15);
    border: 1px solid rgba(184, 149, 107, 0.3);
    color: #B8956B;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: rgba(184, 149, 107, 0.3);
    border-color: #B8956B;
    color: #d4c5a0;
}

/* FOOTER COLUMNS */
.footer-col-title {
    font-family: 'Anton', sans-serif;
    color: #B8956B;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #d8d8d8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #B8956B;
    padding-left: 4px;
}

/* STATS COLUMN */
.footer-col-stats {
    gap: 16px;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(184, 149, 107, 0.08);
    border-radius: 8px;
    border-left: 3px solid rgba(184, 149, 107, 0.3);
}

.footer-stat-value {
    font-family: 'Anton', sans-serif;
    color: #B8956B;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-stat-label {
    color: #a0a0a0;
    font-size: 0.8rem;
    display: block;
}

/* BOTTOM SECTION */
.footer-bottom {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(184, 149, 107, 0.15);
}

.footer-copyright {
    color: #d8d8d8;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-disclaimer {
    color: #808080;
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero-content {
    padding: 50px 30px;
    max-width: 500px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-arrow-prev { left: 20px; }
  .hero-arrow-next { right: 20px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-card { padding: 28px 16px; }
  .stat-number { font-size: 2.4rem; }
  .stat-icon { font-size: 2rem; }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 50px 0;
  }
  .footer-cta-banner {
    padding: 32px 24px;
  }
  .footer-cta-banner h3 {
    font-size: 1.4rem;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  /* NAVBAR MOBILE */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 0, 65, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  }

  .navbar-inner {
    padding: 10px 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    gap: 8px;
    font-size: 1.1rem;
  }

  .logo-image { height: 32px; }
  .logo-text { font-size: 1.1rem; }

  /* Mostra hamburger, nasconde menu in linea */
  .nav-toggle {
    display: flex;
    position: static;
    z-index: 1001;
  }

  .nav-toggle-bar {
    width: 20px;
    height: 2px;
    background-color: #f5f5f5;
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 56px; /* altezza navbar */
    left: 0;
    right: 0;
    background-color: #020041;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(184, 149, 107, 0.25);
    display: none;
    z-index: 999;
  }

  .nav-links.nav-open {
    display: flex; /* aggiunta dal JS */
  }

  .nav-links a {
    padding: 8px 0;
    font-size: 0.9rem;
  }

  /* Compensa navbar fissa */
  body {
    padding-top: 56px;
  }

  /* HERO MOBILE */
  .hero-slider { min-height: 520px; }
  .hero-content { padding: 32px 20px 80px; }
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .hero-text {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
  .hero-cta {
    position: static !important;
    margin-top: 20px;
    align-self: flex-start;
    padding: 10px 22px;
    font-size: 0.8rem;
    box-shadow: 0 6px 20px rgba(184, 149, 107, 0.3);
  }
  .hero-dots { bottom: 20px; }

  /* NEWS */
  .news-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-card { height: 250px; }
  .news-card-title { font-size: 1.2rem; }
  .news-card-subtitle { font-size: 0.85rem; }
  .news-card-content { padding: 20px; }
  .modal-image {
    height: 200px;
    margin: -30px -24px 16px -24px;
  }

  /* DASHBOARD */
  .dashboard-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  .dashboard-tabs {
    gap: 8px;
    margin-bottom: 20px;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .dashboard-content { padding: 20px; }
  .dashboard-table th,
  .dashboard-table td {
    padding: 10px 6px;
    font-size: 0.85rem;
  }
  .modal-content {
    padding: 30px 24px;
    max-width: 90%;
  }
  .modal-body h2,
  .modal-body h3 {
    font-size: 1.4rem;
  }

  /* TELEGRAM */
  .telegram-section-premium { padding: 60px 20px; }
  .telegram-container { gap: 30px; }
  .telegram-title { font-size: 1.6rem; }
  .telegram-subtitle { font-size: 1rem; }
  .telegram-cta-buttons { flex-direction: column; }
  .btn-telegram-primary,
  .btn-telegram-secondary {
    width: 100%;
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  .telegram-features { gap: 12px; }
  .telegram-feature {
    padding: 10px;
    gap: 12px;
  }
  .telegram-qr-box {
    max-width: 200px;
    padding: 24px 16px;
  }
  .telegram-qr-image { max-width: 160px; }

  /* GENERALE + FOOTER */
  .features-grid { grid-template-columns: 1fr; }
  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  .table-logo {
    width: 20px;
    height: 20px;
  }
  .stats-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-card {
    padding: 24px 12px;
    border-radius: 12px;
  }
  .stat-number { font-size: 2rem; }
  .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .stat-label { font-size: 0.85rem; }
  .stat-small { font-size: 0.75rem; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
  }
  .footer-main .footer-col:not(.footer-col-brand) {
    display: none;
  }
  .footer-premium {
    border-top: 1px solid rgba(184, 149, 107, 0.3);
    background: linear-gradient(135deg, #010010 0%, #020041 100%);
  }
  .footer-cta-banner { margin-top: 20px; }
  .footer-cta-banner h3 { font-size: 1.3rem; }
  .footer-cta-banner p { font-size: 0.95rem; }
  .footer-cta-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
  .footer-col-title {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    opacity: 0.9;
  }
  .footer-links { gap: 6px; }
  .footer-links a {
    font-size: 0.85rem;
    opacity: 0.9;
  }
  .footer-bottom { padding: 18px 0; }
}

.termsfeed-com---nb {
  position: fixed !important;
  right: 24px;
  bottom: 24px;
  max-width: 420px;
  border-radius: 16px;
  background: #0B1220 !important;
  color: #F9FAFB !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(245, 194, 66, 0.5);
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 9999;
}

.termsfeed-com---nb.termsfeed-com---visible {
  transform: translateY(0);
  opacity: 1;
}

/* Testo */
.termsfeed-com---nb .cc-nb-title,
.termsfeed-com---nb .cc-nb-text {
  color: #F9FAFB !important;
  font-family: inherit;
}

.termsfeed-com---nb .cc-nb-okagree,
.termsfeed-com---nb .cc-nb-reject {
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-size: 0.9rem !important;
  border: none !important;
}

/* Bottone ACCETTA */
.termsfeed-com---nb .cc-nb-okagree {
  background-color: #F5C242 !important;      /* oro */
  color: #0B1220 !important;                 /* blu notte */
}

/* Bottone RIFIUTA */
.termsfeed-com---nb .cc-nb-reject {
  background-color: transparent !important;
  color: #D1D5DB !important;
  border: 1px solid rgba(209, 213, 219, 0.5) !important;
}

/* Link "Impostazioni" o simili */
.termsfeed-com---nb a {
  color: #F5C242 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Mobile: banner più largo e centrato */
@media (max-width: 640px) {
  .termsfeed-com---nb {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 16px;
  }
}

.site-footer #open_preferences_center {
  color: #D1D5DB;
  font-size: 0.85rem;
}

.site-footer #open_preferences_center:hover {
  color: #F5C242;
}



