/* =========================
   HERO PRO
========================= */

.fhl-hero-pro {
    position: relative;
    width: 100%;
    min-height: 620px;
    background-image: url("../img/hero-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* OVERLAY */

.fhl-hero-overlay{
    position:absolute;
    inset:0;
    background:none;
    z-index:1;
}

/* =========================
   NAVBAR
========================= */

.fhl-hero-navbar{
    position:relative;

    z-index:5;

    display:flex;

    justify-content:space-between;

    align-items:center;

    width:100%;

    padding:22px 50px;

    box-sizing:border-box;

    background:
    linear-gradient(
        180deg,
        rgba(0,0,0,.35) 0%,
        rgba(0,0,0,0) 100%
    );

    border-bottom:
    1px solid rgba(255,255,255,.04);

    backdrop-filter:blur(8px);
}

/* LEFT */

.fhl-navbar-left{
    display:flex;

    align-items:center;

    gap:14px;
}

/* LOGO */

.fhl-logo{
    font-size:28px;

    font-weight:900;

    color:#f7b500;

    letter-spacing:3px;

    text-transform:uppercase;

    position:relative;

    text-decoration:none;
}

.fhl-logo:hover{
    color:#f7b500;
}

/* MENU */

.fhl-menu{
    display:flex;

    align-items:center;

    gap:26px;
}

.fhl-menu a{
    position:relative;

    color:#fff;

    text-decoration:none;

    font-size:12px;

    font-weight:800;

    letter-spacing:1px;

    text-transform:uppercase;

    transition:.25s ease;

    opacity:.88;
}

.fhl-menu a:hover,
.fhl-menu a.active{
    color:#f7b500;

    opacity:1;
}

.fhl-menu a::after{
    content:'';

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#f7b500;

    transition:.25s ease;
}

.fhl-menu a:hover::after,
.fhl-menu a.active::after{
    width:100%;
}

.fhl-admin-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:0;
    padding:7px 12px;
    border:1px solid #f7b500;
    border-radius:999px;
    background:rgba(247,181,0,.16);
    color:#f7b500 !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.8px;
    text-transform:uppercase;
    text-decoration:none;
    opacity:1 !important;
    box-shadow:0 0 14px rgba(247,181,0,.28);
    white-space:nowrap;
}

.fhl-admin-badge::after{
    display:none !important;
}

.fhl-admin-badge:hover{
    background:#f7b500;
    color:#111 !important;
}

/* TOP LOGIN BTN */

.fhl-login-top-btn{
    display:flex;

    align-items:center;

    justify-content:center;

    width:125px;

    height:40px;

    background:#f7b500;

    color:#111;

    border-radius:8px;

    text-decoration:none;

    font-size:12px;

    font-weight:900;

    letter-spacing:1px;

    text-transform:uppercase;

    box-shadow:
    0 5px 20px rgba(247,181,0,.20);

    transition:.25s ease;
}

.fhl-login-top-btn:hover{
    transform:translateY(-2px);

    box-shadow:
    0 8px 28px rgba(247,181,0,.30);
}

/* =========================
   HERO CONTENT
========================= */

.fhl-hero-content-wrapper{

    position:relative;

    z-index:3;

    width:100%;

    max-width:none;

    margin:0 auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:72px;

    padding:40px 40px;

    box-sizing:border-box;

    flex:1;

}

/* LEFT CONTENT */

.fhl-hero-left{

    width:100%;

    max-width:560px;

    margin:0;

    position:relative;

    z-index:5;

}


/* =========================
   HERO BRAND + PARTNERS
========================= */

.fhl-hero-brand-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:18px 28px;
    margin-bottom:24px;
}

.fhl-hero-brand{
    display:block;
    color:#f7b500;
    font-size:28px;
    font-weight:800;
    letter-spacing:.8px;
    text-transform:none;
    text-shadow:0 3px 12px rgba(0,0,0,.45);
    position:relative;
    padding-bottom:12px;
    flex:0 0 auto;
}

.fhl-hero-brand::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:180px;
    height:2px;
    background:rgba(255,255,255,.85);
    border-radius:2px;
}

.fhl-hero-partners{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px 18px;
    min-width:0;
}

.fhl-hero-partner{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:0;
    text-decoration:none;
    transition:opacity .2s ease, transform .2s ease;
}

.fhl-hero-partner img{
    display:block;
    height:44px;
    width:auto;
    max-width:140px;
    object-fit:contain;
}

.fhl-hero-partner:hover{
    opacity:.88;
    transform:translateY(-1px);
}


/* BADGE */

.fhl-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;             /* lascia crescere in altezza */
    min-height: 34px;         /* altezza minima */
    padding: 0 18px;
    background: #f7b500;
    color: #111;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom:35px;
padding:0 22px;
    max-width: 100%;          /* non esce dal contenitore */
    white-space: normal;      /* permette il testo su più righe */
    text-align: center;
    word-break: break-word;   /* evita che il testo trabocchi */
}

/* TITLE */

.fhl-hero-left h1{
    font-size:56px;
    line-height:.95;
    color:#fff;
    font-weight:900;
    margin:0 0 18px;
    letter-spacing:-1px;
    text-transform:uppercase;
    text-shadow:0 4px 18px rgba(0,0,0,.45);
}

/* SUBTITLE */

.fhl-hero-subtitle{
    color:#ececec;
    font-size:24px;
    line-height:1.45;
    margin-bottom:28px;
    max-width:540px;
}

/* =========================
   COUNTDOWN
========================= */
.fhl-countdown-box{
    display:flex;
    gap:14px;
    margin:35px 0;
}

.fhl-count-item {
    width: 90px;      /* dimensione più compatta */
    height: 90px;     /* altezza più compatta */
    background: rgba(0,0,0,0.5); /* colore sfondo simile allo screenshot */
    border: 1px solid rgba(247,181,0,0.2); /* bordo giallo tenue */
    backdrop-filter: blur(6px);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.fhl-count-item span {
    font-size: 34px; /* numero più piccolo e proporzionato */
    font-weight: 900;
    color: #f7b500; /* colore giallo */
    margin-bottom: 4px;
}

/* =========================
   HERO BUTTONS
========================= */
.fhl-hero-actions {
    display: flex;
    gap: 30px; /* spazio tra i pulsanti */
    margin-top: 0;
}

/* PRIMARY */
.fhl-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 40px;
    background: #8b0000; /* rosso scuro come nell’immagine */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    transition: .25s ease;
}

.fhl-btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* SECONDARY */
.fhl-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 40px;
    border: 1px solid #f7b500; /* giallo bordo */
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    transition: .25s ease;
}

.fhl-btn-secondary:hover {
    background: rgba(0,0,0,0.7);
}


/* =========================
   LOGIN BOX PRO
========================= */

.fhl-hero-right{
    width:286px;
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
}

.fhl-hero-media-logos{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:14px 18px;
    min-width:0;
}

.fhl-hero-media-logo{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:0;
    text-decoration:none;
    transition:opacity .2s ease, transform .2s ease;
}

.fhl-hero-media-logo img{
    display:block;
    height:44px;
    width:auto;
    max-width:140px;
    object-fit:contain;
}

.fhl-hero-media-logo:hover{
    opacity:.88;
    transform:translateY(-1px);
}

.fhl-hero-login-box {
    width: 100%;
    flex-shrink: 0;
    min-height: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10,10,10,.97) 0%,
            rgba(5,5,5,.99) 100%
        );

    border: 1px solid rgba(247,181,0,.05);

    border-radius: 6px;

    padding: 18px 18px 16px;

    box-sizing: border-box;

    backdrop-filter: blur(12px);

    box-shadow: 0 3px 10px rgba(0,0,0,.24);

    margin-top: 0;

    position: relative;

}

/* TITLE */

.fhl-hero-login-box h3{
    font-size:12px;

    line-height:1;

    margin-bottom:6px;

    color:#f7b500;

    font-weight:900;

    text-transform:uppercase;
}

/* SUBTITLE */

.fhl-login-subtitle{
    color:#ddd;

    font-size:14px;

    line-height:1.5;

    margin-bottom:22px;
}

/* FORM */

.fhl-hero-login-box form{
    display:flex;

    flex-direction:column;

    gap:14px;
}

/* INPUT WRAPPER */

.fhl-input-group{
    position:relative;
}

.fhl-password-group input{
    padding-right:48px;
}

.fhl-password-toggle{

    position:absolute;

    top:50%;

    right:16px;

    transform:translateY(-50%);

    width:28px;

    height:28px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    color:#bdbdbd;

    font-size:16px;

    line-height:1;

    opacity:.65;

    user-select:none;

    transition:
        color .2s ease,
        opacity .2s ease;

}

.fhl-password-toggle:hover{

    color:#f7b500;

    opacity:1;

}



/* INPUTS */

.fhl-hero-login-box input[type="text"],
.fhl-hero-login-box input[type="password"]{
    width:100%;

    height:46px;

    background:
    rgba(255,255,255,.02);

    border:
    1px solid rgba(255,255,255,.08);

    border-radius:6px;

    padding:0 16px;

    color:#fff;

    font-size:14px;

    outline:none;

    transition:.25s ease;

    box-sizing:border-box;
}

.fhl-hero-login-box input:focus{
    border-color:
    rgba(247,181,0,.55);
}

/* REMEMBER ROW */

.fhl-login-row{
    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:2px;
}

/* REMEMBER */

.fhl-remember{
    display:flex;

    align-items:center;

    gap:8px;

    color:#ddd;

    font-size:13px;
}

/* FORGOT */

.fhl-forgot{
    color:#f7b500;

    text-decoration:none;

    font-size:13px;

    font-weight:700;
}

/* BUTTON */

.fhl-hero-login-box button{
    width:100%;
    height:48px;
    background:#f7b500;
    color:#111;
    border:none;
    border-radius:6px;
    font-size:15px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
    cursor:pointer;
    transition:.25s ease;
    margin-top:6px;
}

.fhl-hero-login-box button:hover{
    transform:translateY(-2px);

    opacity:.95;
}

/* FOOTER */

.fhl-login-footer{
    text-align:center;

    margin-top:6px;

    color:#ccc;

    font-size:13px;
}

.fhl-login-footer a{
    color:#f7b500;

    text-decoration:none;

    font-weight:700;
}

.fhl-hero-claim{
    margin-top:18px;
    color:#f7b500;
    font-size:22px;
    font-weight:900;
    line-height:1.3;
    text-transform:uppercase;
    text-shadow:0 3px 12px rgba(0,0,0,.45);
}

.fhl-btn-create{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:18px;
    padding:14px 28px;
    background:#f7b500;
    color:#111;
    font-size:16px;
    font-weight:900;
    letter-spacing:.4px;
    text-transform:uppercase;
    text-decoration:none;
    border-radius:8px;
    box-shadow:0 8px 20px rgba(0,0,0,.35);
}

.fhl-btn-create:hover{
    filter:brightness(1.05);
    color:#111;
}



/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

    .fhl-hero-content-wrapper{
        flex-direction:column;

        align-items:flex-start;
    }

    .fhl-hero-right{
        width:100%;
        max-width:360px;
    }

    .fhl-hero-login-box{
        width:100%;
    }

}

@media(max-width:900px){

    .fhl-hero-pro{
        min-height:min(620px, 100dvh);
    }

    .fhl-hero-navbar{
        flex-wrap:wrap;
        gap:12px;
        padding:16px 20px;
    }

    .fhl-navbar-left{
        flex:1 1 auto;
        min-width:0;
    }

    .fhl-menu{
        width:100%;
        flex-wrap:wrap;
        gap:10px 16px;
        order:3;
    }

    .fhl-menu a{
        font-size:11px;
        letter-spacing:0.6px;
    }

    .fhl-admin-badge{
        padding:6px 10px;
        font-size:10px !important;
    }

    .fhl-hero-left h1{
        font-size:clamp(32px, 8vw, 48px);
    }

    .fhl-hero-subtitle{
        font-size:18px;
    }

    .fhl-countdown-box{
        flex-wrap:wrap;
        gap:10px;
    }

    .fhl-count-item{
        width:72px;
        height:72px;
    }

    .fhl-count-item span{
        font-size:26px;
    }

    .fhl-hero-actions{
        flex-direction:column;
    }

    .fhl-btn-primary,
    .fhl-btn-secondary{
        width:100%;
        min-height:44px;
        height:auto;
    }

    .fhl-btn-create{
        min-height:44px;
    }

}

@media(max-width:640px){

    .fhl-hero-navbar{
        padding:14px 16px;
    }

    .fhl-logo{
        font-size:22px;
        letter-spacing:2px;
    }

    .fhl-hero-content-wrapper{
        padding:24px 16px;
        gap:28px;
    }

    .fhl-hero-brand-row{
        gap:14px 16px;
        margin-bottom:18px;
    }

    .fhl-hero-brand{
        font-size:22px;
    }

    .fhl-hero-brand::after{
        width:140px;
    }

    .fhl-hero-partner img{
        height:36px;
        max-width:110px;
    }

    .fhl-hero-media-logo img{
        height:36px;
        max-width:110px;
    }

    .fhl-hero-left h1{
        font-size:clamp(28px, 9vw, 40px);
    }

    .fhl-hero-subtitle{
        font-size:16px;
        margin-bottom:20px;
    }

    .fhl-hero-claim{
        font-size:16px;
    }

    .fhl-count-item{
        width:64px;
        height:64px;
        font-size:10px;
    }

    .fhl-count-item span{
        font-size:22px;
    }

}

@media(max-width:480px){

    .fhl-menu{
        gap:8px 12px;
    }

    .fhl-menu a{
        font-size:10px;
    }

    .fhl-admin-badge{
        padding:5px 8px;
        font-size:9px !important;
    }

}