/* ===============================
   VARIABLES
=============================== */
:root{
    --main-color: #9146FF;
    --secondary-color: #00f7ff;
    --bg-overlay: rgba(0,0,0,0.6);
}

/* ===============================
   RESET
=============================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    color:white;
    background:#000;
    overflow-x:hidden;
}

/* ===============================
   BACKGROUNDS
=============================== */
.background{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background: url("images/bg.png") top center / cover no-repeat;

    background-attachment: fixed;
    filter: brightness(0.6);

    z-index:-3;
    transition:1s ease;
	
}
#twitch-bg{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-2;
    pointer-events:none;
    opacity:0;
    transition:1s;
}

#twitch-bg.active{
    opacity:0.35;
}

.overlay{
    position:fixed;
    width:100%;
    height:100%;
    background:var(--bg-overlay);
    z-index:-1;
}

/* ===============================
   LIVE BADGE
=============================== */
#live-badge{
    position:fixed;
    top:20px;
    right:20px;
    padding:10px 20px;
    border-radius:50px;
    background:red;
    color:white;
    font-weight:bold;
    display:none;
    box-shadow:0 0 20px red;
    animation:pulse 1.5s infinite;
}

@keyframes pulse{
    0%{transform:scale(1);}
    50%{transform:scale(1.1);}
    100%{transform:scale(1);}
}

/* ===============================
   HERO
=============================== */
.hero{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero h1{
    font-family:'Orbitron', sans-serif;
    font-size:4rem;
    text-transform:uppercase;
    background:linear-gradient(45deg,var(--main-color),var(--secondary-color));
    -webkit-background-clip:text;
    color:transparent;
    animation:glow 3s infinite alternate;
}

.hero p{
    margin-top:20px;
    font-size:1.2rem;
    opacity:0.8;
}

/* ===============================
   BUTTON
=============================== */
/* ===============================
   BUTTON STYLE (NEON)
=============================== */
.btn{
    position:relative;

    margin-top:30px;
    padding:15px 35px;

    border:none;
    border-radius:50px;

    font-weight:bold;
    font-size:1rem;

    color:white;
    text-decoration:none;

    cursor:pointer;

    background:linear-gradient(45deg, #9146FF, #00f7ff);

    box-shadow:
        0 0 15px #9146FF,
        0 0 30px #00f7ff;

    transition:0.3s;
}

/* hover */
.btn:hover{
    transform:scale(1.1);

    box-shadow:
        0 0 30px #9146FF,
        0 0 60px #00f7ff;
}

/* glow animé */
.btn::after{
    content:"";
    position:absolute;
    inset:0;

    border-radius:50px;

    box-shadow:0 0 40px #9146FF;
    opacity:0.4;

    animation:pulseGlow 2s infinite;
}

/* ===============================
   FLOATING BUTTON (bas droite)
=============================== */
.floating-btn{
    position:fixed;

    bottom:25px;
    right:25px;

    padding:14px 30px;
    border:none;
    border-radius:50px;

    font-size:1rem;
    font-weight:bold;
    color:white;

    cursor:pointer;

    background:linear-gradient(45deg, #9146FF, #00f7ff);

    box-shadow:
        0 0 15px #9146FF,
        0 0 30px #00f7ff;

    transition:0.3s;

    z-index:1000;
}

/* hover */
.floating-btn:hover{
    transform:scale(1.1);

    box-shadow:
        0 0 30px #9146FF,
        0 0 60px #00f7ff;
}

/* glow animation */
.floating-btn::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50px;

    box-shadow:0 0 40px #9146FF;
    opacity:0.4;

    animation:pulseGlow 2s infinite;
}

@keyframes pulseGlow{
    0%{opacity:0.3;}
    50%{opacity:0.7;}
    100%{opacity:0.3;}
}

/* ===============================
   SECTIONS
=============================== */
section{
    padding:100px 10%;
    text-align:center;
}

section h2{
    font-family:'Orbitron', sans-serif;
    font-size:2.5rem;
    margin-bottom:50px;
    color:var(--secondary-color);
}

/* ===============================
   CARDS
=============================== */
.cards{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
}

.card{
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(15px);
    padding:30px;
    width:300px;
    border-radius:20px;
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.1);

    opacity:0;
    transform:translateY(50px);
}

.card:hover{
    transform:translateY(-15px) scale(1.02);
    box-shadow:0 0 30px var(--secondary-color);
}

/* ===============================
   FOLLOWERS
=============================== */
#followers{
    font-size:1.2rem;
    font-weight:bold;
    color:var(--secondary-color);
    margin-top:10px;
}

/* ===============================
   DISCORD BUTTON
=============================== */
.discord-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 25px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    background:#5865F2;
    color:white;
    transition:0.3s;
    box-shadow:0 0 15px #5865F2;
}

.discord-btn:hover{
    transform:scale(1.1);
    box-shadow:0 0 30px #5865F2;
}

/* ===============================
   MAGYK SECTION
=============================== */
.magy-section{
    padding:100px 10%;
    text-align:center;
}

.magy-box{
    max-width:800px;
    margin:auto;
    padding:40px;
    border-radius:20px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.1);
    text-align:left;
    line-height:1.6;
    box-shadow:0 0 40px rgba(0,255,255,0.2);
}

.magy-box h3{
    margin-top:25px;
    color:var(--secondary-color);
}

.magy-box ul{
    margin-top:10px;
    padding-left:20px;
}

.magy-box li{
    margin-bottom:8px;
}

.highlight{
    margin-top:30px;
    font-size:1.3rem;
    text-align:center;
    color:var(--main-color);
    font-weight:bold;
}
/* =============================== */
/* BOUTON DON */
/* =============================== */

.don-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-top:auto; /* aligne en bas */
    height:50px;
    padding:0 25px;

    border-radius:50px;
    text-decoration:none;
    font-weight:600;

    color:white;

    background:linear-gradient(45deg,#ff0066,#ff7b00);

    box-shadow:0 0 20px rgba(255,0,100,0.6);

    transition:0.3s;
}

.don-btn:hover{
    transform:scale(1.1);
    box-shadow:0 0 30px rgba(255,120,0,1);
}
/* ===============================
   MODAL POPUP
=============================== */
.modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background:rgba(0,0,0,0.9);

    display:none;
    justify-content:center;
    align-items:center;

    z-index:999;

    overflow:hidden;
}

.modal-content{
    position:relative;

    width:95%;
    height:95%;

    border-radius:20px;
    overflow:hidden;

    background:#000;

    box-shadow:0 0 50px rgba(0,255,255,0.2);
}

.modal-content iframe{
    width:100%;
    height:100%;
    border:none;
}

/* ===============================
   CLOSE BUTTON
=============================== */
.close-btn{
    position:fixed;
    top:20px;
    right:20px;

    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
    color:white;
    cursor:pointer;

    z-index:2000;

    background:rgba(0,0,0,0.7);
    border-radius:50%;

    box-shadow:0 0 15px rgba(255,255,255,0.2);

    transition:0.3s;
}

.close-btn:hover{
    transform:scale(1.2);
    color:#ff4444;
    box-shadow:0 0 25px #ff4444;
}

/* ===============================
   FOOTER
=============================== */
footer{
    padding:40px;
    text-align:center;
    background:rgba(0,0,0,0.8);
}

/* ===============================
   ANIMATION
=============================== */
@keyframes glow{
    from{ text-shadow:0 0 10px var(--main-color);}
    to{ text-shadow:0 0 30px var(--secondary-color);}
}

/* ===============================
   RESPONSIVE
=============================== */
@media(max-width:768px){
    .hero h1{ font-size:2.5rem; }
    section{ padding:80px 5%; }

    .modal-content{
        width:95%;
        height:90%;
    }
}
.apply-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 25px;

    border-radius:50px;
    text-decoration:none;
    font-weight:bold;

    background:linear-gradient(45deg,#ff7b00,#ff0000);
    color:white;

    transition:0.3s;
    box-shadow:0 0 15px rgba(255,0,0,0.6);
}

.apply-btn:hover{
    transform:scale(1.1);
    box-shadow:0 0 30px rgba(255,0,0,1);
}
.apply-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 30px;

    border-radius:50px;
    text-decoration:none;
    font-weight:600;

    color:white;

    background:linear-gradient(45deg,#9146FF,#00f7ff);

    box-shadow:0 0 20px rgba(145,70,255,0.6);

    transition:0.3s ease;
}

/* hover glow */
.apply-btn:hover{
    transform:scale(1.1);
    box-shadow:0 0 35px rgba(0,247,255,1);
}

.cards{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:25px;
}

.card{
    display:flex;
    flex-direction:column;
    height:100%;
}
/* =============================== */
/* NEIGE */
/* =============================== */

#snow{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none; /* laisse cliquer en dessous */
    z-index:9999;
}
/* =============================== */
/* SECTION ABO */
/* =============================== */

.family-title{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:20px;
}

.family-title .icon{
    font-size:22px;
}

/* compteur followers */
.followers{
    margin-top:10px;
    font-size:18px;
    font-weight:600;

    background:linear-gradient(45deg,#9146FF,#00f7ff);
    -webkit-background-clip:text;
    color:transparent;
}
.card h3{
    text-shadow:0 0 10px rgba(0,255,255,0.6);
}