/* ==========================================
   HERO - FIERY ORANGE & DARK METAL
========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
}

/* Contenuto */

.hero-content{
    position: relative;
    z-index: 2;
    width: min(1000px, 90%);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-30px);
}

/* ==========================================
   GESTIONE LOGO + GLOW
========================================== */

.logo-glow-wrapper {
    position: relative;
    display: inline-block;
}

/* Effetto Glow Dietro al Logo */
.logo-glow-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,85,0,0.45) 0%, rgba(255,183,0,0.2) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.main-logo {
    width: 1500px;
    max-width: 90%;
    display: block;
    margin: auto;
    margin-top: 40px;
    filter: brightness(0.85);
    position: relative;
    z-index: 2;
    animation: float 5s ease-in-out infinite;
}

/* Sottotitolo */

.hero-subtitle{
    margin-top: 45px;
    font-size: 26px;
    line-height: 1.8;
    color: #ececec;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 25px rgba(0,0,0,.9);
}

/* Pulsanti */

.buttons{
    margin-top: 55px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.primary,
.secondary{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 280px;
    min-height: 62px;
    padding: 20px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: .35s ease;
}

/* Primario (Arancione Fuoco) */

.primary{
    background: linear-gradient(135deg,#FFB700 0%, #FF5500 50%, #D00000 100%);
    border: none;
    color: #fff;
    box-shadow: 0 0 30px rgba(255,85,0,.45);
}

.primary:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(255,183,0,.6);
}

/* Secondario (Bordo Arancione Neon) */

.secondary{
    border: 1px solid rgba(255,85,0,.45);
    background: rgba(20,20,22,0.6);
    color: #fff;
    backdrop-filter: blur(10px);
}

.secondary:hover{
    background: #FF5500;
    border-color: #FF5500;
    box-shadow: 0 0 25px rgba(255,85,0,.5);
}

/* Scroll Indicator */

.scroll-indicator{
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: rgba(255,255,255,.8);
    font-size: 28px;
    text-decoration: none;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: .35s ease;
}

.scroll-indicator a:hover{
    color: #FFB700;
    filter: drop-shadow(0 0 20px rgba(255,85,0,.8));
}

.scroll-down span{
    display: block;
    font-size: 28px;
    margin-top: 12px;
    animation: premium 2s infinite ease-in-out;
}

@keyframes premium{
    0%{ transform: translateY(0) scale(1); opacity: 1; }
    30%{ transform: translateY(12px) scale(1.15); opacity: .6; }
    60%{ transform: translateY(0) scale(1); opacity: 1; }
    100%{ transform: translateY(0); opacity: 1; }
}

/* Animazioni */

@keyframes float{
    0%{ transform: translateY(0); }
    50%{ transform: translateY(-12px); }
    100%{ transform: translateY(0); }
}

@keyframes bounce{
    0%,20%,50%,80%,100%{ transform: translateY(0); }
    40%{ transform: translateY(10px); }
    60%{ transform: translateY(5px); }
}

@keyframes scrollBounce{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(10px); }
}

/* ==========================================
   VIDEO BACKGROUND STYLING (HOME)
========================================== */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -99;
    pointer-events: none;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    filter: blur(5px);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(5, 5, 6, 0.4),
        rgba(10, 10, 11, 0.5)
    );
    z-index: -98;
}