/* BASIS */

body{
    margin:0;
    font-family:Arial, sans-serif;
    overflow-x:hidden;
    transition:transform 0.2s ease;

    background: linear-gradient(
        45deg,
        red,
        orange,
        yellow,
        green,
        cyan,
        blue,
        purple
    );

    background-size:400% 400%;
    animation:rainbow 10s infinite;
}

.hidden{
    display:none !important;
}

/* REGENBOOG ANIMATIE */

@keyframes rainbow{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

/* NAVBAR */

.navbar{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:15px;
}

.navbar a{
    text-decoration:none;
    color:white;
    background:rgba(0,0,0,0.45);
    padding:12px 18px;
    border-radius:12px;
    font-weight:bold;
    transition:0.3s;
    position:relative;
}

.navbar a:hover{
    background:white;
    color:black;
}

.navbar a.active::after{
    content:"";
    position:absolute;
    left:10px;
    right:10px;
    bottom:-6px;
    height:3px;
    background:white;
    border-radius:2px;
}

/* HEADER */

header{
    text-align:center;
    padding:40px;
    color:white;
    background:rgba(0,0,0,0.5);
    position:sticky;
    top:0;
    z-index:10;
    backdrop-filter:blur(6px);
}

/* GALLERY */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    padding:30px;
}

.gallery figure{
    text-align:center;
    margin:0;
    background:rgba(255,255,255,0.10);
    border:2px solid rgba(255,255,255,0.20);
    border-radius:18px;
    padding:14px;
    backdrop-filter:blur(8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.gallery img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
    transition:0.3s;
}

.gallery img:hover{
    transform:scale(1.05);
}

.gallery figcaption{
    margin-top:8px;
    font-size:14px;
    color:white;
}

/* FOOTER */

footer{
    text-align:center;
    padding:20px;
    color:white;
    background:rgba(0,0,0,0.5);
}

/* MEMBER PAGINA */

.member-page{
    min-height:70vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.member-story{
    max-width:700px;
    background:rgba(0,0,0,0.5);
    padding:40px;
    border-radius:18px;
    color:white;
    text-align:center;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.member-story p{
    margin:10px 0;
}

.member-story h2{
    margin-bottom:20px;
}

.member-story h3{
    margin-top:20px;
}

/* SUMMON BUTTON */

.summon-btn{
    margin-top:30px;
    padding:18px 30px;
    font-size:18px;
    font-weight:bold;
    background:black;
    color:white;
    border:none;
    border-radius:12px;
    cursor:pointer;
    transition:0.3s;
}

.summon-btn:hover{
    transform:scale(1.1);
    background:red;
}

/* SUMMON SCREEN */

.summon{
    position:fixed;
    inset:0;
    background:black;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:10000;
}

.summon-content{
    text-align:center;
    color:white;
}

.summon img{
    max-width:80vw;
    max-height:70vh;
    border-radius:20px;
    box-shadow:0 0 40px red;
    margin-top:20px;
}

.summon-text{
    font-size:clamp(40px,8vw,90px);
    font-weight:bold;
    letter-spacing:5px;
    animation:summonFlash 0.4s infinite alternate;
}

.summon-close{
    margin-top:20px;
    padding:14px 22px;
    border:none;
    border-radius:12px;
    background:red;
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

@keyframes summonFlash{
    from{opacity:1;}
    to{opacity:0.5;}
}

/* POPUP */

.popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.7);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.popup-box{
    background:white;
    color:black;
    padding:30px;
    border-radius:18px;
    text-align:center;
    width:300px;
}

/* ALARM */

.alarm-box{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:320px;
    background:#111;
    color:white;
    border:4px solid red;
    padding:25px;
    border-radius:16px;
    z-index:9998;
    text-align:center;
}

.alarm-box button{
    margin-top:10px;
    padding:12px;
    width:100%;
    border:none;
    background:red;
    color:white;
    border-radius:10px;
    cursor:pointer;
}

/* JUMPSCARE */

.jumpscare{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.95);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:10000;
}

.jumpscare img{
    max-width:90vw;
    max-height:90vh;
    border-radius:20px;
}

.jumpscare-text{
    position:absolute;
    top:8%;
    left:50%;
    transform:translateX(-50%);
    font-size:clamp(40px,10vw,120px);
    font-weight:900;
    color:white;
    text-shadow:0 0 10px red;
}

/* TROLL MESSAGE */

.troll-message{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    background:black;
    color:white;
    padding:12px 22px;
    border-radius:12px;
    z-index:10001;
    font-weight:bold;
}

/* FAKE CRASH */

.fake-crash{
    position:fixed;
    inset:0;
    background:black;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:10002;
}

.fake-crash-box{
    color:white;
    text-align:center;
    font-size:28px;
}
