/* =========================
GLOBAL
========================= */

body{
    background:
        radial-gradient(circle at 50% 10%, rgba(90,0,0,0.35) 0%, #020202 40%, #000000 80%);
    color:#d6d6d6;
    font-family:Arial, sans-serif;
    margin:0;
    padding:0;
}

/* =========================
HEADER / NAV
========================= */

#page-header{
    width:100%;
    background:#000;
    box-shadow:0 6px 25px rgba(40,0,0,0.9);
    padding:15px 0;
    position:sticky;
    top:0;
    z-index:10;
    border-bottom:1px solid rgba(110,0,0,0.5);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:90%;
    margin:auto;
}

.logo a{
    color:#ff1e1e;
    font-size:28px;
    font-weight:bold;
    text-decoration:none;
    letter-spacing:2px;

    text-shadow:
        0 0 4px rgba(130,0,0,0.9),
        0 0 10px rgba(60,0,0,0.8);
}

.nav-links{
    list-style:none;
    display:flex;
    gap:25px;
}

.nav-links li a{
    color:#9c9c9c;
    text-decoration:none;
    font-size:18px;
    transition:.3s;
}

.nav-links li a:hover,
.nav-links li a.active{
    color:#ff1e1e;

    text-shadow:
        0 0 6px rgba(110,0,0,0.8),
        0 0 14px rgba(60,0,0,0.8);
}

/* =========================
PROFILE SECTION
========================= */

.profile-section{
    text-align:center;
    margin-top:150px;
    position:relative;
    z-index:9999;
}

/* =========================
AVATAR
========================= */

.avatar{
    display:block;
    margin:0 auto 20px auto;

    border-radius:50%;
    width:200px;
    height:200px;
    object-fit:cover;

    border:2px solid rgba(90,0,0,0.7);

    box-shadow:
        0 0 12px rgba(90,0,0,0.9),
        0 0 30px rgba(30,0,0,0.9);

    position:relative;
}

/* =========================
TEXT CONTAINER
========================= */

.text-container{
    display:block;
    width:350px;
    height:50px;
    overflow:hidden;
    position:relative;
    margin:0 auto 10px auto;
}

@keyframes typing{
    0%{width:0}
    50%{width:100%}
    100%{width:0}
}

/* =========================
FLASHING TEXT
========================= */

.flashing-text{
    display:inline-block;
    font-size:24px;
    color:#ff1e1e;

    white-space:nowrap;
    overflow:hidden;

    border-right:3px solid #ff1e1e;

    animation:typing 5s steps(30) infinite;

    position:absolute;
    left:0;
    top:0;

    text-shadow:
        0 0 6px rgba(110,0,0,0.9),
        0 0 16px rgba(60,0,0,0.8);
}

/* =========================
BUTTONS
========================= */

.link-buttons{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:40px;
}

.btn,
.btn-outline{

    padding:15px 30px;
    border-radius:50px;
    text-decoration:none;
    font-size:18px;
    text-align:center;

    transition:.3s;
}

.btn{

    background:linear-gradient(145deg,#550000,#a30000);
    color:white;

    border:1px solid rgba(120,0,0,0.7);

    box-shadow:
        0 0 10px rgba(90,0,0,0.9),
        0 0 25px rgba(30,0,0,0.9);
}

.btn-outline{

    border:2px solid #7a0000;
    color:#ff1e1e;
    background:rgba(20,0,0,0.5);

    box-shadow:inset 0 0 10px rgba(80,0,0,0.8);
}

.btn:hover,
.btn-outline:hover{

    transform:scale(1.07);

    box-shadow:
        0 0 14px rgba(120,0,0,1),
        0 0 35px rgba(40,0,0,1);
}

.btn-outline:hover{
    background:rgba(60,0,0,0.6);
}

/* =========================
VIDEO
========================= */

.video-container{
    margin-top:50px;
    text-align:center;
}

.video-container h2{

    color:#ff1e1e;
    font-size:24px;
    margin-bottom:15px;

    text-shadow:
        0 0 6px rgba(110,0,0,0.9),
        0 0 16px rgba(50,0,0,0.8);
}

.video-container iframe{

    width:90%;
    max-width:560px;
    height:315px;

    border:1px solid rgba(90,0,0,0.7);
    border-radius:12px;

    box-shadow:
        0 0 12px rgba(80,0,0,0.9),
        0 0 30px rgba(30,0,0,0.9);

    background:#000;
}

/* =========================
FOOTER
========================= */

.footer{

    text-align:center;
    background:#000;

    padding:20px 0;
    margin-top:80px;

    color:#666;
    font-size:14px;

    border-top:1px solid rgba(100,0,0,0.5);
}

/* =========================
RESPONSIVE
========================= */

@media (max-width:768px){

    .nav-links{
        flex-direction:column;
        gap:10px;
    }

    .avatar{
        width:150px;
        height:150px;
    }

    .text-container{
        width:270px;
        height:35px;
    }

    .flashing-text{
        font-size:20px;
    }
}

/* =========================
PARTICLES
========================= */

#particleCanvas{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    z-index:9998;
    pointer-events:none;

    background:
        radial-gradient(circle at 50% 50%, rgba(80,0,0,0.15), transparent 80%);
}

/* =========================
ANIMATIONS
========================= */

.fade-in{
    opacity:0;
    transform:translateY(40px);
    transition:all 1.2s ease-out;
}

.fade-in.visible{
    opacity:1;
    transform:translateY(0);
}