:root {
    --bg: #0a0f24;
    --text: #ffffff;
    --accent: #0161EA;
    --border: #1d2840;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, sans-serif;
}

/* LA HEADER SFOCATA */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 14, 19, 0.72); /* Sfondo scuro trasparente */
    backdrop-filter: blur(8px); /* L'effetto vetro sfocato */
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 42px;
    width: auto;
}

.brand {
    font-weight: 800;
    letter-spacing: .4px;
    text-decoration: none; /* Toglie la sottolineatura brutta */
    color: white;
}

/* NAVIGAZIONE */
.nav {
    margin-left: auto;
    display: flex;
    gap: 14px;
    align-items: center;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.3s;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
}

.btn-play {
    background: var(--accent) !important; /* Colore blu del brand */
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 20px !important;
    box-shadow: 0 4px 15px rgba(1, 97, 234, 0.3); /* Un leggero bagliore */
    transition: transform 0.2s;
}

.btn-play:hover {
    transform: scale(1.05); /* Si ingrandisce leggermente al passaggio */
    background: #0a3ea3 !important;
}

/* Layout della Hero */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at top, rgba(1, 97, 234, 0.15), transparent);
}

.subtitle {
    font-size: 1.2rem;
    color: #b8c2d9; /* Colore muted dal vecchio stile */
    margin-bottom: 40px;
}

/* TIMER */
.countdown-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    display: inline-block;
    margin-bottom: 40px;
}

.timer {
    display: flex;
    gap: 20px;
    justify-content: center;
    font-family: 'Courier New', monospace; /* Fa molto "tech" */
}

.time-part {
    display: flex;
    flex-direction: column;
}

.time-part span {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
}

.time-part small {
    color: #b8c2d9;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* VIDEO */
.video-section {
    padding: 50px 0;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.video-grid iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.btn-secondary {
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    margin-left: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.defaultButtonLayout {
    /* Trasforma il link in un elemento solido */
    display: inline-block; 
    text-decoration: none; /* Toglie la sottolineatura brutta */
    
    /* Colori e Testo */
    background: rgb(1, 97, 234);
    color: white !important;
    font-weight: bold;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    
    /* Spaziature e Bordi */
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Effetti */
    box-shadow: 0 4px 15px rgba(1, 97, 234, 0.3);
    transition: all 0.3s ease; /* Transizione fluida per tutto */
    cursor: pointer;
}

.defaultButtonLayout:hover {
    transform: translateY(-2px) scale(1.05); /* Sale leggermente e si ingrandisce */
    background: #0a3ea3 !important;
    box-shadow: 0 6px 20px rgba(1, 97, 234, 0.4);
    text-decoration: none;
}

.defaultButtonLayout:active {
    transform: scale(0.98); /* Effetto "clic" quando lo premi */
}