*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    min-height:100%;
}

body{

    font-family:'Poppins',sans-serif;

    background:
    linear-gradient(
        rgba(0,0,0,0.68),
        rgba(0,0,0,0.78)
    ),
    url('https://the-youth-event.com/couver.png');

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    background-attachment:scroll;

    background-color:#000;

    color:white;

    overflow-x:hidden;
}

/* =========================
HEADER
========================= */

.header{

    width:100%;

    position:fixed;

    top:0;
    left:0;

    z-index:999;

    background:
    linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.85)
    ),
    url('https://the-youth-event.com/couver.png');

    background-size:cover;

    background-position:center;

    border-bottom:1px solid rgba(255,255,255,0.08);
}

.header-container{

    width:100%;

    max-width:1400px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 40px;
}

.logo-area{

    display:flex;

    align-items:center;

    gap:15px;

    text-decoration:none;
}

.logo-circle{

    width:55px;

    height:55px;

    border-radius:50%;

    overflow:hidden;

    background:#ff8800;

    flex-shrink:0;
}

.logo-image{

    width:100%;

    height:100%;

    object-fit:cover;
}

.logo-text h1{

    font-size:22px;

    color:white;

    line-height:1.2;
}

.logo-text p{

    font-size:13px;

    color:#ccc;

    margin-top:3px;
}

.navbar{

    display:flex;

    align-items:center;

    gap:15px;
}

.navbar a{

    color:white;

    text-decoration:none;

    padding:12px 18px;

    border-radius:10px;

    transition:0.3s;

    font-size:15px;

    font-weight:500;

    background:
    rgba(0,0,0,0.45);
}

.navbar a:hover{

    background:#ff8800;

    color:white;
}

.header-space{
    height:110px;
}

/* =========================
HERO
========================= */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:40px 20px;

    position:relative;

    overflow:hidden;
}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,0.60),
        rgba(0,0,0,0.72)
    ),
    url('https://the-youth-event.com/couver.png');

    background-size:cover;

    background-position:center;

    z-index:0;
}

.hero-content{

    position:relative;

    z-index:2;

    width:100%;

    max-width:950px;

    padding:40px;

    border-radius:25px;

    background:
    rgba(0,0,0,0.45);

    border:
    1px solid rgba(255,255,255,0.08);

    animation:fadeIn 1.2s ease;
}

.hero h1{

    font-size:70px;

    margin-bottom:20px;
}

.edition-title{

    font-size:32px;

    color:#ffcc00;

    margin-bottom:25px;
}

.hero-description{

    max-width:850px;

    margin:auto;

    line-height:1.9;

    font-size:18px;

    color:#e5e5e5;
}

.event-info{

    margin-top:35px;

    display:flex;

    flex-direction:column;

    gap:12px;

    align-items:center;
}

.event-item{

    font-size:28px;

    font-weight:700;
}

/* =========================
BUTTONS
========================= */

.buttons{

    width:100%;

    max-width:900px;

    margin:50px auto 0;

    display:flex;

    flex-direction:column;

    gap:20px;
}

button,
.btn{

    width:100%;

    display:block;

    text-align:center;

    padding:16px;

    border:none;

    border-radius:14px;

    background:#ff8800;

    color:white;

    font-size:16px;

    font-weight:600;

    text-decoration:none;

    cursor:pointer;

    transition:0.3s;
}

button:hover,
.btn:hover{

    background:#ffcc00;

    color:black;

    transform:translateY(-3px);
}

.secondary-btn{

    background:
    rgba(0,0,0,0.55);

    border:
    1px solid rgba(255,255,255,0.1);
}

/* =========================
FORM
========================= */

.form-container{

    width:100%;

    max-width:500px;

    margin:150px auto;

    padding:40px;

    border-radius:20px;

    background:
    linear-gradient(
        rgba(0,0,0,0.58),
        rgba(0,0,0,0.68)
    ),
    url('https://the-youth-event.com/couver.png');

    background-size:cover;

    background-position:center;

    border:
    1px solid rgba(255,255,255,0.08);

    box-shadow:
    0 0 35px rgba(0,0,0,0.4);
}

.form-container h2{
    margin-bottom:25px;
}

input,
select,
textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:none;

    border-radius:10px;

    font-size:16px;

    outline:none;

    background:#fff;

    color:#111;

    appearance:none;
}

/* =========================
BOXES
========================= */

.guide-box,
.guide-warning,
.success-box,
.admin-card,
.ticket-price-item{

    background:
    linear-gradient(
        rgba(0,0,0,0.58),
        rgba(0,0,0,0.68)
    ),
    url('https://the-youth-event.com/couver.png');

    background-size:cover;

    background-position:center;

    border:
    1px solid rgba(255,255,255,0.08);

    border-radius:20px;
}

.guide-box,
.guide-warning,
.success-box,
.admin-card{

    padding:25px;
}

.guide-box h3{
    color:#ffcc00;
}

.guide-warning{
    color:#ffcc00;
    line-height:1.7;
}

/* =========================
TICKET
========================= */

.ticket{

    width:700px;

    margin:100px auto;

    overflow:hidden;

    border-radius:20px;

    background:
    linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.70)
    ),
    url('https://the-youth-event.com/couver.png');

    background-size:cover;

    background-position:center;

    color:white;
}

.ticket-header{

    padding:25px;

    background:
    rgba(0,0,0,0.45);
}

.ticket-body{
    padding:40px;
}

.ticket-code{

    background:#000;

    color:#ffcc00;

    padding:15px;

    margin-top:20px;

    border-radius:10px;

    font-size:20px;

    text-align:center;

    word-break:break-word;
}

/* =========================
QR
========================= */

.qr-box{

    text-align:center;

    margin:25px 0;
}

.qr-box img{

    width:180px;

    background:white;

    padding:10px;

    border-radius:15px;
}

/* =========================
PHONE INPUT
========================= */

.phone-input{

    display:flex;

    align-items:center;

    width:100%;

    margin-bottom:20px;

    background:white;

    border-radius:10px;

    overflow:hidden;
}

.phone-prefix{

    background:#ececec;

    color:#111;

    padding:15px;

    font-weight:600;

    border-right:1px solid #ccc;

    font-size:16px;
}

.phone-input input{

    margin:0;

    border:none;

    border-radius:0;

    flex:1;
}

/* =========================
FOOTER
========================= */

.footer{

    margin-top:80px;

    padding:60px 20px 30px;

    background:
    linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.85)
    ),
    url('https://the-youth-event.com/couver.png');

    background-size:cover;

    background-position:center;

    border-top:
    1px solid rgba(255,255,255,0.08);
}

.footer-content{

    max-width:900px;

    margin:auto;

    text-align:center;
}

.footer h2{

    font-size:32px;

    color:#ff3b30;

    margin-bottom:10px;
}

.footer-edition{

    color:#ccc;

    font-size:18px;

    margin-bottom:25px;
}

.footer-line{

    width:120px;

    height:3px;

    background:#ff3b30;

    margin:25px auto;

    border-radius:10px;
}

.footer-description{

    max-width:700px;

    margin:30px auto;

    line-height:1.8;

    color:#ccc;

    font-size:15px;
}

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,0.08);

    margin-top:35px;

    padding-top:25px;
}

.footer-bottom p{

    color:#888;

    font-size:14px;
}

/* =========================
ANIMATION
========================= */

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
MOBILE
========================= */

@media(max-width:900px){

    .header-container{

        flex-direction:column;

        justify-content:center;

        align-items:center;

        padding:10px;

        gap:10px;
    }

    .navbar{

        flex-wrap:wrap;

        justify-content:center;

        gap:8px;
    }

    .navbar a{

        min-width:95px;

        padding:8px 10px;

        font-size:13px;

        text-align:center;
    }

    .header-space{
        height:110px;
    }

    .hero h1{
        font-size:40px;
    }

    .edition-title{
        font-size:24px;
    }

    .hero-description{

        font-size:15px;

        line-height:1.8;
    }

    .event-item{
        font-size:22px;
    }

    .ticket{
        width:95%;
    }

    .form-container{

        width:95%;

        padding:20px;

        margin:120px auto;
    }

    .ticket-body{
        padding:25px;
    }

    .footer h2{
        font-size:24px;
    }

    body{

        background-size:cover;

        background-position:center top;

        background-attachment:scroll;
    }

}

/* =========================
COULEURS RESEAUX
========================= */

.mpesa-color{

    color:#e30613 !important;
}

.orange-color{

    color:#ff7900 !important;
}

.afrimoney-color{

    color:#ff3b30 !important;
}

/* =========================
BOXES RESEAUX
========================= */

.guide-box.mpesa-box{

    border:2px solid #e30613;

    box-shadow:
    0 0 25px rgba(227,6,19,0.25);
}

.guide-box.orange-box{

    border:2px solid #ff7900;

    box-shadow:
    0 0 25px rgba(255,121,0,0.25);
}

.guide-box.airtel-box{

    border:2px solid #ff3b30;

    box-shadow:
    0 0 25px rgba(255,59,48,0.25);
}
/* =========================
EMAIL CHECKBOX FIX
========================= */

.email-box{

    background:
    rgba(0,0,0,0.35);

    border:
    1px solid rgba(255,255,255,0.08);

    padding:18px;

    border-radius:16px;

    margin-bottom:20px;
}

.email-checkbox{

    display:flex;

    align-items:flex-start;

    gap:12px;

    cursor:pointer;

    color:white;

    font-size:15px;

    line-height:1.5;
}

/* IMPORTANT */

.email-checkbox input[type="checkbox"]{

    appearance:auto !important;

    -webkit-appearance:checkbox !important;

    width:22px !important;

    height:22px !important;

    min-width:22px !important;

    max-width:22px !important;

    margin:2px 0 0 0 !important;

    padding:0 !important;

    border:none !important;

    border-radius:4px !important;

    accent-color:#ff8800;

    cursor:pointer;

    flex-shrink:0;

    background:white !important;
}

.email-checkbox span{

    flex:1;
}

.email-small{

    margin-top:12px;

    font-size:13px;

    color:#ccc;

    line-height:1.7;
}
input[type="checkbox"]{

    width:auto !important;
}