/* ===== BASE LAYOUT (STRUTTURA COMPLETA) ===== */

body {
    font-family: 'Courier New', monospace;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== TOP LOGO (HOME) ===== */

.top-header {
    width: 100%;
    max-width: 1200px; /* allineato alla TV */
    margin: 10px auto 0;

    display: flex;
    justify-content: center;
}

.top-logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.top-logo img {
    width: 200px;       /* 🔥 dimensione stabile */
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TV FRAME ===== */

.tv-frame {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;

    border-radius: 30px;
    padding: 40px;
}

/* ===== CRT SCREEN ===== */

.crt-screen {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

/* ===== CONTENT ===== */

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
    text-align: center;
}

/* ===== LOGO CENTRALE ===== */

.logo {
    text-align: center;
    line-height: 1.2;
}

.logo .vigevano {
    display: block;
    font-size: 1.2rem;
}

.logo .retro,
.logo .futura {
    font-size: 2.2rem;
}

/* ===== CONTENT TEXT ===== */

.content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tagline {
    text-align: center;
    margin-bottom: 20px;
}

.subcopy {
    text-align: center;
    margin-bottom: 20px;
}

/* ===== DATE ===== */

.date-container {
    text-align: center;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 10px;
}

.date {
    font-size: 2rem;
}

.location {
    font-size: 1.2rem;
}

/* ===== COUNTDOWN ===== */

.countdown-wrap {
    margin: 20px auto;
    padding: 15px;
    max-width: 700px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cd-unit {
    min-width: 90px;
    text-align: center;
}

.cd-num {
    font-size: 2rem;
}

.cd-text {
    font-size: 0.7rem;
}

/* ===== BUTTON PRINCIPALE ===== */

.evento2026-btn {
    display: block;
    max-width: 420px;
    margin: 30px auto;
    padding: 18px;
    text-align: center;
    border-radius: 10px;
}

/* ===== FEATURES GRID ===== */

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 🔥 2 colonne */
    gap: 20px;
    max-width: 600px;
    margin: 40px auto;
}

.feature {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 1rem;
}

/* ===== CTA ===== */

.cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    .tv-frame {
        padding: 20px;
    }

    .logo .retro,
    .logo .futura {
        font-size: 1.6rem;
    }

    .features {
        grid-template-columns: 1fr; /* mobile */
    }

    .cd-num {
        font-size: 1.5rem;
    }

    .date {
        font-size: 1.5rem;
    }
}

/* ===== HOVER EVENTO 2026 ===== */
.evento2026-btn {
    position: relative;
    overflow: hidden;
}

.evento2026-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(0,255,255,0.2),
        transparent
    );
    transition: 0.5s;
}

.evento2026-btn:hover::after {
    left: 100%;
}

.evento2026-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 10px 25px rgba(107,153,153,0.4),
        0 0 30px rgba(0,255,255,0.25),
        inset 0 0 10px rgba(0,0,0,0.6);
}


/* ===== FEATURE BUTTONS ===== */
.feature {
    position: relative;
    overflow: hidden;
}

/* glow pulse */
.feature:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 10px 25px rgba(107,153,153,0.3),
        0 0 20px rgba(0,255,255,0.2),
        inset 0 0 10px rgba(0,0,0,0.6);
}

/* luce che scorre */
.feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(0,255,255,0.15),
        transparent
    );
    transition: 0.6s;
}

.feature:hover::after {
    left: 120%;
}


/* ===== ICONA ANIMATA ===== */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}


/* ===== TESTO REATTIVO ===== */
.feature-text {
    transition: 0.3s;
}

.feature:hover .feature-text {
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(0,255,255,0.6),
        0 0 16px rgba(0,255,255,0.3);
}