:root {
    --bg-main: #07080b;
    --bg-darker: #050608;
    --bg-card: rgba(16, 20, 28, 0.72);
    --text-main: #f5f3ee;
    --text-muted: #a8a49c;
    --accent-yellow: #ffb100;
    --accent-yellow-2: #ffd36a;
    --accent-blue: #0a5a96;
    --accent-light: #6ad4f0;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --radius: 22px;
    --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Outfit", system-ui, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
}

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

button { font-family: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -40px;
    z-index: 4000;
    background: var(--accent-yellow);
    color: #111;
    padding: 8px 14px;
    font-weight: 700;
}
.skip-link:focus { top: 16px; }

.bg-glow {
    position: fixed;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}
.glow-1 { top: -180px; left: -160px; background: rgba(10, 90, 150, 0.55); }
.glow-2 { bottom: -200px; right: -140px; background: rgba(255, 177, 0, 0.18); }
.glow-3 { top: 40%; left: 40%; width: 280px; height: 280px; background: rgba(106, 212, 240, 0.12); }

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: none; }

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s, border-color 0.35s, height 0.35s;
}
header.scrolled {
    background: rgba(7, 8, 11, 0.82);
    backdrop-filter: blur(18px);
    border-bottom-color: var(--line);
    height: 72px;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    z-index: 2000;
}
.logo img { height: 48px; width: auto; object-fit: contain; }
.logo:has(img) .logo-mark,
.mobile-logo:has(img) .logo-mark { display: none; }
.logo-mark { display: flex; flex-direction: column; line-height: 1; }
.logo-mark-top {
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 700;
}
.logo-mark-bottom {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    font-weight: 600;
}

.nav-links { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 8px 12px;
    border-radius: 999px;
    transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--accent-yellow); background: rgba(255, 177, 0, 0.08); }

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}
.hamburger span { width: 26px; height: 2px; background: #fff; display: block; transition: 0.3s; }
.hamburger.active { opacity: 0; pointer-events: none; }

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 8, 0.96);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    padding: 88px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
    backdrop-filter: blur(18px);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-close { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 42px; line-height: 1; }
.mobile-close:hover { color: var(--accent-yellow); }
.mobile-logo { text-align: center; display: grid; gap: 12px; justify-items: center; }
.mobile-logo img { max-width: 180px; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 18px 0; }
.mobile-menu ul li a {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mobile-menu ul li a:hover { color: var(--accent-yellow); }

.slider-container {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* Correzione ripetizione immagini slider */
}
.slide.active { 
    opacity: 1; 
    z-index: 2; 
    animation: kenburns 8s ease forwards; 
}
@keyframes kenburns {
    from { transform: scale(1.04); }
    to { transform: scale(1); }
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 8, 11, 0.88) 0%, rgba(7, 8, 11, 0.45) 52%, rgba(7, 8, 11, 0.2) 100%),
        linear-gradient(to top, rgba(7, 8, 11, 0.92), transparent 42%);
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 3;
    max-width: min(820px, 92vw);
    padding: 0 7vw 18vh;
    transform: translateY(28px);
    opacity: 0;
    transition: all 0.9s ease 0.25s;
}
.slide.active .slide-content { transform: none; opacity: 1; }
.eyebrow {
    display: inline-block;
    color: var(--accent-yellow);
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
}
.slide h1 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(2.5rem, 5.4vw, 5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.94;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}
.slide h1 span { color: var(--accent-yellow); }
.lead, .slide .lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 540px;
    font-weight: 300;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    border-radius: 999px;
    transition: 0.3s;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent-yellow);
    color: #111;
    box-shadow: 0 10px 30px rgba(255, 177, 0, 0.28);
}
.btn-primary:hover {
    background: var(--accent-yellow-2);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.22);
}
.btn-ghost:hover { border-color: var(--accent-yellow); color: var(--accent-yellow); }
.btn-nav {
    background: var(--accent-yellow);
    color: #111;
    padding: 11px 18px;
    white-space: nowrap;
}
.btn-nav:hover { background: #fff; }

.hero-controls {
    position: absolute;
    right: 7vw;
    bottom: 8vh;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    transition: 0.25s;
}
.hero-arrow:hover { border-color: var(--accent-yellow); color: var(--accent-yellow); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
    width: 28px;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 99px;
}
.hero-dots button.active { background: var(--accent-yellow); }

.scroll-hint {
    position: absolute;
    left: 7vw;
    bottom: 7vh;
    z-index: 4;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}
.scroll-line {
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, var(--accent-yellow), transparent);
    animation: pulse 1.6s ease infinite;
}
@keyframes pulse { 50% { opacity: 0.3; transform: translateY(6px); } }

.scroll-dots {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 0;
    transition: 0.3s;
}
.dot:hover { background: rgba(255,255,255,0.5); }
.dot.active {
    background: var(--accent-yellow);
    box-shadow: 0 0 0 4px rgba(255, 177, 0, 0.18);
    transform: scale(1.15);
}

.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: #08090c;
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    padding: 16px 0;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.marquee-track span::before {
    content: "●";
    color: var(--accent-yellow);
    margin-right: 48px;
    font-size: 0.55rem;
    vertical-align: middle;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 110px 0; position: relative; z-index: 2; scroll-margin-top: 80px; }
#home { scroll-margin-top: 0; }
.bg-darker {
    background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 12%), var(--bg-darker);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
    font-family: "Oswald", sans-serif;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.section-title.left { text-align: left; }
.section-title span { color: var(--accent-yellow); }
.section-lead { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

.storia-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.storia-copy p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    backdrop-filter: blur(12px);
}
.stat strong {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 2.4rem;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 8px;
}
.stat span { color: var(--text-muted); font-size: 0.88rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 177, 0, 0.45);
    box-shadow: var(--shadow);
}
.card-media-img { position: relative; overflow: hidden; height: 230px; }
.card-media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.card:hover .card-media-img img { transform: scale(1.08); }
.card-index {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    color: var(--accent-yellow);
    text-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.card-content { padding: 24px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; font-weight: 650; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 820px;
    margin: 0 auto;
}
.pdf-card {
    text-align: left;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--line);
    transition: 0.3s;
    width: 100%;
    color: inherit;
}
.pdf-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(255, 177, 0, 0.12);
}
.pdf-preview {
    height: 180px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pdf-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,8,11,0.85), rgba(7,8,11,0.2));
}
.pdf-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 177, 0, 0.15);
    color: var(--accent-yellow);
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
}
.pdf-icon svg { width: 30px; height: 30px; }
.pdf-info { padding: 22px; }
.pdf-info h3 { margin-bottom: 8px; font-size: 1.15rem; }
.pdf-info p { color: var(--text-muted); }
.pdf-cta { display: inline-block; margin-top: 14px; color: var(--accent-yellow); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }

/* --- Layout a Mosaico Compatto (Nessun buco vuoto) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonne su desktop */
    grid-auto-rows: 220px; /* Altezza base del singolo mattoncino */
    grid-auto-flow: dense; /* Incastra le immagini come un puzzle */
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Obbliga l'immagine a riempire il suo modulo perfettamente */
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Creiamo le variazioni matematiche per un effetto dinamico */
.gallery-item:nth-child(7n + 1) { 
    grid-column: span 2; 
    grid-row: span 2; 
} /* Immagine Gigante (2x2) */

.gallery-item:nth-child(7n + 4) { 
    grid-column: span 2; 
} /* Immagine Larga Orizzontale (2x1) */

.gallery-item:nth-child(7n + 6) { 
    grid-row: span 2; 
} /* Immagine Alta Verticale (1x2) */

/* Effetti Hover Invariati */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 40, 70, 0.75), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item::before {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 3.4rem;
    color: var(--accent-yellow);
    font-weight: 300;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* --- Layout Contatti e Footer --- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 24px; }
.orari-box {
    background: var(--bg-card);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent-yellow);
}
.orari-box h3 {
    font-family: "Oswald", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hours-list { list-style: none; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
}
.hours-list strong { color: #fff; font-weight: 600; }
.hours-note { margin-top: 16px; font-size: 0.82rem; color: #777; }
.contact-cta { margin-top: 28px; display: grid; gap: 14px; }
.contact-cta p { color: var(--text-muted); }
.map-box { border-radius: var(--radius); overflow: hidden; min-height: 420px; border: 1px solid var(--line); }

.site-footer {
    background: #030405;
    padding: 56px 0 28px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 2;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand p { color: var(--text-muted); margin-top: 14px; max-width: 280px; }
.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 14px;
}
.footer-col a, .footer-col p { color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: var(--accent-yellow); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
    color: #fff;
}
.socials a:hover { border-color: var(--accent-yellow); color: var(--accent-yellow); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; color: #555; font-size: 0.82rem; text-align: center;}

/* --- Modali e Lightbox --- */
#lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(0,0,0,0.94);
    align-items: center;
    justify-content: center;
    user-select: none;
    backdrop-filter: blur(12px);
}
#lightbox img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: opacity 0.3s;
    border: 1px solid var(--line);
}
.close-lightbox, .close-modal {
    position: absolute;
    top: 18px;
    right: 24px;
    color: #fff;
    font-size: 38px;
    z-index: 3001;
    line-height: 1;
}
.close-lightbox:hover, .close-modal:hover { color: var(--accent-yellow); }
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 42px;
    padding: 16px;
    z-index: 3001;
    opacity: 0.75;
}
.lb-nav:hover { opacity: 1; color: var(--accent-yellow); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-counter { position: absolute; bottom: 22px; color: #aaa; letter-spacing: 2px; }

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.modal-content {
    background: #10141c;
    padding: 28px;
    border-radius: var(--radius);
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid var(--line);
}
.modal-content h3 { margin-bottom: 18px; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }
.modal iframe { width: 100%; height: 60vh; border: none; margin-bottom: 18px; background: #fff; border-radius: 10px; }

/* --- Media Queries (Responsive) --- */
@media (max-width: 1120px) {
    .nav-links, .btn-nav { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 980px) {
    .scroll-dots { display: none; }
    
    .grid, .pdf-grid, .storia-layout, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
    
    /* Ridimensionamento Mosaico per Tablet */
    .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 10px; }
    
    .slide-content { padding: 0 24px 22vh; }
    .hero-controls { right: 24px; bottom: 6vh; }
    .scroll-hint { display: none; }
    .section { padding: 84px 0; }
    .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    /* Ridimensionamento Mosaico per Mobile Orientale */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

@media (max-width: 480px) {
    /* Tutto incolonnato su schermi molto stretti */
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
    .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Sezione Accedi al Club */
.sezione-tempio-esclusivo {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 51, 51, 0.08) 0%, transparent 55%),
        var(--bg-darker);
    border-top: 1px solid rgba(255, 60, 60, 0.25);
    border-bottom: 1px solid rgba(255, 60, 60, 0.25);
    overflow: hidden;
}

.tempio-inner {
    max-width: 1050px;
    text-align: center;
}

/* Header */
.tempio-header { margin-bottom: 36px; }
.tempio-inner .section-head { margin-bottom: 28px; }
.tempio-inner .section-head .eyebrow { color: #ff4d4d; }

.tempio-sparta {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tempio-sparta s {
    color: #ff4d4d;
    text-decoration-thickness: 2px;
}

.tempio-numero-max {
    font-family: "Oswald", sans-serif;
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    margin: 6px 0 10px;
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-yellow-2) 55%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 51, 51, 0.3));
}

.tempio-claim {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    color: var(--accent-yellow);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}
.tempio-claim-sep {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff4d4d;
}

/* Descrizione */
.tempio-descrizione {
    max-width: 760px;
    margin: 0 auto 48px;
}
.tempio-subtitle {
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.tempio-subtitle span { color: var(--accent-yellow); }
.tempio-descrizione .section-lead {
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.75;
}
.tempio-descrizione .section-lead strong { color: var(--text-main); }

.tempio-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.tempio-highlights li {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.tempio-highlights strong {
    color: var(--accent-yellow);
    font-family: "Oswald", sans-serif;
    font-size: 1rem;
    margin-right: 4px;
}

/* 3 Card stile volantino e sito */
.tempio-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
    text-align: left;
}

.tempio-card {
    background-color: #121418;
    border: 1px solid #232730;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tempio-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-yellow);
}

.card-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
}

.tempio-card h4 {
    color: var(--accent-yellow);
    font-size: 1rem;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.tempio-card p {
    color: #8c93a0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Box di azione dinamico */
.tempio-action-box {
    background-color: #121418;
    border: 1px solid #232730;
    border-radius: 16px;
    padding: 30px;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-disponibilita {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.stato-aperto {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.stato-chiuso {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.tempio-stato-desc {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 22px;
}

/* Pulsante principale stile "VIENI A TROVARCI" */
.btn-sito {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: #0b0c0e !important;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 50px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(255, 177, 0, 0.25);
}

.btn-sito:hover {
    background-color: #ffb845;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 177, 0, 0.45);
}

.btn-soldout {
    background-color: #e74c3c;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-soldout:hover {
    background-color: #ff523d;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}