@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── TOKENS (stile Matchfishing) ──────────────────────────── */
:root {
    --primary: #0A5EB0;
    --primary-dark: #084A8A;
    --primary-light: #E8F1FB;
    --accent: #E63946;
    /* rosso italia */
    --accent-dark: #c1121f;
    --accent-light: #fde8ea;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-500: #ADB5BD;
    --gray-700: #495057;
    --gray-900: #212529;
    --dark: #1A1D23;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .07);
    --shadow: 0 4px 12px rgba(0, 0, 0, .09);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);
    --font-h: 'Outfit', sans-serif;
    --font-b: 'Inter', sans-serif;
    --ease: all .25s ease;

    /* Admin specific tokens */
    --bg-card: #ffffff;
    --border: var(--gray-200);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    color: var(--gray-900);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--ease);
}

a:hover {
    color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-h);
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

/* ─── TOP BAR ────────────────────────────────────────────────── */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, .75);
    font-size: .78rem;
    padding: .45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-lbl {
    font-weight: 500;
    white-space: nowrap;
    color: var(--gray-300);
}

/* ─── HEADER BRANDING ────────────────────────────────────────── */
.header-brand {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.header-brand-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand-group {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.header-ad-728 {
    width: 728px;
    height: 90px;
    min-width: 728px;
    min-height: 90px;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
}

.header-ad-728 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1100px) {
    .header-ad-728 {
        display: none;
    }

    /* Hide on smaller screens to prevent overlap */
}

.brand-logo {
    font-family: var(--font-h);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .3rem;
}

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

.brand-tagline {
    color: var(--gray-500);
    font-size: .82rem;
}

/* ─── NAV PRINCIPALE ─────────────────────────────────────────── */
.main-nav {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: .25rem;
    overflow-x: auto;
}

.main-nav-inner::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: rgba(255, 255, 255, .82) !important;
    font-family: var(--font-h);
    font-size: .88rem;
    font-weight: 600;
    padding: .9rem 1rem;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: var(--ease);
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    border-bottom-color: var(--accent);
    background: rgba(255, 255, 255, .04);
}

/* ─── REGIONI NAV (griglia, non scroll) ──────────────────────── */
.regions-nav {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: .6rem 0;
}

.regions-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
}

.region-pill {
    font-size: .75rem;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: .28rem .85rem;
    transition: var(--ease);
    white-space: nowrap;
}

.region-pill:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: #b6d0f0;
}

.region-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-body {
    padding: 2rem 0 4rem;
}

/* ─── HERO GRID: mappa + notizie ────────────────────────────── */
.hero-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

/* ─── MAP CARD ───────────────────────────────────────────────── */
.map-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-card-title {
    font-family: var(--font-h);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--gray-500);
    margin-bottom: .25rem;
}

.map-counter {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.map-counter small {
    font-size: .85rem;
    font-weight: 400;
    color: var(--gray-500);
}

/* SVG mappa */
#italy-map {
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: block;
}

#italy-map path {
    fill: #f1f3f5;
    stroke: #fff;
    stroke-width: 1.5;
    cursor: pointer;
    transition: fill .35s ease, filter .2s ease;
}



#italy-map path:hover {
    filter: brightness(.88);
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .8rem;
    margin-top: .75rem;
    font-size: .72rem;
    color: var(--gray-700);
    align-items: center;
}

.legend-swatch {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ─── TOOLTIP MAPPA ──────────────────────────────────────────── */
#map-tooltip {
    position: fixed;
    background: var(--dark);
    color: #fff;
    padding: .5rem .9rem;
    border-radius: var(--radius-sm);
    font-size: .8rem;
    font-family: var(--font-h);
    pointer-events: none;
    z-index: 9999;
    display: none;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

#map-tooltip strong {
    color: #fff;
    font-size: .88rem;
}

#map-tooltip span {
    color: #fbbf24;
    /* Giallo ambra per contrasto su nero */
}

/* ─── NEWS PANEL (destra) ────────────────────────────────────── */
.article-hero-img-wrapper {
    width: 100%;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--gray-100);
}

.article-hero-img-wrapper img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Related Section in Article */
.related-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.related-section h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.related-card-mini {
    display: flex;
    gap: .75rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--gray-100);
    padding: .5rem;
    border-radius: var(--radius-sm);
    transition: var(--ease);
}

.related-card-mini:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.related-card-mini img,
.related-card-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-card-placeholder {
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.related-card-content {
    flex: 1;
    min-width: 0;
}

.related-card-title {
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: .35rem;
    color: var(--gray-900);
}

.related-card-meta {
    font-size: .75rem;
    color: var(--gray-500);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    border-left: 4px solid var(--accent);
    padding-left: .75rem;
}

.see-all {
    font-size: .82rem;
    color: var(--primary);
    font-weight: 600;
}

.see-all:hover {
    color: var(--primary-dark);
}

/* Card articolo compatto (sidebar) */
.article-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 29px;
}

.article-item {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: .85rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--ease);
}

/* Hero specific grid (2x2) */
.hero-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-grid-item {
    flex-direction: column;
    gap: .75rem;
    padding: 0;
    border-bottom: none;
}

.hero-grid-item .article-item-thumb,
.hero-grid-item .article-item-placeholder {
    width: 100%;
    height: 110px;
}

.hero-grid-item .article-item-title {
    font-size: .95rem;
    font-weight: 700;
}

.hero-bottom-banner {
    width: 100%;
    height: 110px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
}

.hero-bottom-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── HOME LAYOUT ────────────────────────────────────────────── */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 302px;
    gap: 2.5rem;
    align-items: start;
}

.home-main {
    min-width: 0;
}

.home-sidebar {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section h3 {
    font-family: var(--font-h);
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gray-900);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: .5rem;
}

.rubriche-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.rubriche-list a {
    font-size: .88rem;
    color: var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rubriche-list a:hover {
    color: var(--primary);
}

.rubriche-list a::after {
    content: '→';
    font-size: .75rem;
    opacity: .4;
}

.sidebar-ad-card {
    width: 100%;
    height: 250px;
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sidebar-ad-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero-item:first-child {
    padding-top: 0;
}

.hero-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover .article-item-title {
    color: var(--primary);
}

.article-item-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
}

.hero-item .article-item-thumb {
    width: 140px;
    height: 95px;
}

.article-item-placeholder {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-item .article-item-placeholder {
    width: 140px;
    height: 95px;
    font-size: 2.2rem;
}

.article-item-body {
    flex: 1;
    min-width: 0;
}

.article-item-badge {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: 3px;
    padding: .1rem .45rem;
    display: inline-block;
    margin-bottom: .3rem;
}

.hero-item .article-item-title {
    font-size: 1.05rem;
    line-height: 1.3;
}

.article-item-meta {
    font-size: .72rem;
    color: var(--gray-500);
    margin-top: .2rem;
}


/* ─── GRIGLIA ARTICOLI PRINCIPALE ────────────────────────────── */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.article-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--gray-100);
}

.article-card-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-light), #dce8f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.article-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.article-card-title {
    font-family: var(--font-h);
    font-size: .95rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .article-card-title {
    color: var(--primary);
}

.article-card-excerpt {
    font-size: .8rem;
    color: var(--gray-700);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    margin-top: auto;
    padding-top: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .72rem;
    color: var(--gray-500);
}

/* Badge regione */
.badge-region {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 3px;
    padding: .1rem .45rem;
    display: inline-block;
}

/* ─── ADMIN / MAPPA COLORI ───────────────────────────────────── */
/* Le classi di colore vengono assegnate via JS */

/* ─── ARTICLE PAGE ───────────────────────────────────────────── */
.article-hero {
    max-width: 820px;
    margin: 2.5rem auto;
}

.article-hero h1 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    margin: .75rem 0 1rem;
}

.article-hero .excerpt {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.75;
    border-left: 4px solid var(--accent);
    padding-left: 1.1rem;
    margin: 1.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-h);
    font-weight: 600;
    font-size: .88rem;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    background: var(--gray-200);
    color: var(--gray-900);
    text-decoration: none;
}

.btn:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 94, 176, .2);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 57, 70, .2);
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    padding: 2.5rem 0;
    font-size: .85rem;
    text-align: center;
}

footer a {
    color: var(--accent);
}

/* ─── ADMIN LAYOUT ───────────────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--gray-50);
}

.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--dark);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-sidebar .brand-logo {
    font-size: 1.2rem;
}

.nav-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1.5rem 0 0.5rem 0.85rem;
}

.admin-nav a {
    display: block;
    padding: .55rem .85rem;
    color: rgba(255, 255, 255, .7);
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-family: var(--font-h);
    font-weight: 600;
    margin-bottom: .2rem;
    transition: var(--ease);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.page-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.stat-box .lbl {
    font-size: .75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.stat-box .val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-h);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}

table th,
table td {
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: .85rem;
    text-align: left;
}

table th {
    color: var(--gray-500);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    background: var(--gray-50);
}

.badge-approved {
    background: #d1fae5;
    color: #065f46;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

/* ULTRA COMPACT MAP */
.map-card.ultra-compact {
    position: relative;
    padding: 0.5rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.map-floating-header {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.map-counter,
.map-period-selector {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.map-counter small {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-700);
}

.map-period-selector {
    display: flex;
    padding: 3px;
}

.period-btn {
    border: none;
    background: transparent;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
}

.period-btn:hover {
    color: var(--primary);
}

.period-btn.active {
    background: var(--primary);
    color: #fff;
}

.map-legend-slim {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    padding: 0.6rem;
    background: var(--gray-50);
    border-radius: 0 0 10px 10px;
    margin: 0 -0.5rem -0.5rem -0.5rem;
    border-top: 1px solid var(--gray-100);
}

.legend-swatch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .map-card {
        position: static;
    }

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

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

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

    .brand-logo {
        font-size: 1.3rem;
    }
}

/* ─── ADBLOCK DETECTION & LIGHTBOX ──────────────────────────── */
.ab-bait, .ads-banner, .adsbox, .ad-unit { 
    position: absolute; left: -9999px; top: -1000px; 
    width: 1px; height: 1px; display: block;
}


#ab-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#ab-modal {
    background: #fff;
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    animation: abModalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes abModalPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

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

.ab-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--primary-light);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.ab-title {
    font-family: var(--font-h);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ab-text {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.ab-btn {
    display: block;
    background: var(--primary);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: var(--font-h);
    text-decoration: none;
    cursor: pointer;
    transition: var(--ease);
    font-size: 1.1rem;
}

.ab-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 94, 176, 0.3);
}

.ab-footer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--gray-400);
}