/* =============================== */
/*        GLOBAL SETTINGS          */
/* =============================== */

body {
    margin: 0;
    padding: 0;
    background: black;
    color: white;
    font-family: "VT323", monospace;
    overflow-x: hidden;
}

.hidden { display: none !important; }

h1, h2 {
    font-family: "Press Start 2P", cursive;
    letter-spacing: 2px;
}


/* =============================== */
/*         START SCREEN            */
/* =============================== */

#intro-screen {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
}

#intro-names {
    display: flex;
    flex-direction: column;
    font-family: "Press Start 2P", cursive;
    font-size: 18px;
    margin-bottom: 30px;
}

.alias { margin: 5px 0; }
.crossed { text-decoration: line-through; opacity: 0.6; }

#press-start-btn {
    font-family: "Press Start 2P", cursive;
    padding: 12px 22px;
    font-size: 16px;
    color: #00ffc8;
    background: transparent;
    border: 2px solid #00ffc8;
    cursor: pointer;
    transition: 0.3s;
}

#press-start-btn:hover {
    background: #00ffc8;
    color: black;
}


/* =============================== */
/*         KAOMOJI FLOAT           */
/* =============================== */

#kaomoji-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.kaomoji {
    position: absolute;
    font-size: 28px;
    opacity: 0.15;
    animation: floatAround 12s infinite linear;
}

@keyframes floatAround {
    0% { transform: translate(0, 0); }
    25% { transform: translate(40px, -60px); }
    50% { transform: translate(-20px, -30px); }
    75% { transform: translate(30px, 20px); }
    100% { transform: translate(0, 0); }
}


/* =============================== */
/*            GLITCH FX            */
/* =============================== */

#glitch-overlay {
    position: fixed;
    inset: 0;
    background: black;
    display: none;
    z-index: 20000;
    pointer-events: none;
}

.glitch-active {
    display: block !important;
    animation: glitchFX 1.6s ease-in-out forwards;
}

@keyframes glitchFX {
    0% { opacity: 0; }
    10% { opacity: 1; background: #111; }
    25% { background: #ff00c8; }
    40% { background: #00eaff; }
    55% { background: #111; }
    70% { background: #ffcc00; }
    90% { background: #000; }
    100% { opacity: 0; }
}


/* =============================== */
/*            MAIN SITE            */
/* =============================== */

#main-site {
    background: #0a0a0a;
    min-height: 100vh;
    padding-top: 70px;
    animation: fadeIn 1.2s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* =============================== */
/*          MUSIC PLAYER           */
/* =============================== */

#music-player {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 55px;
    background: rgba(20, 20, 20, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    z-index: 5000;
    border-bottom: 2px solid #ffd966;
}

#play-pause-btn {
    font-size: 20px;
    background: transparent;
    border: none;
    color: #ffd966;
    cursor: pointer;
}

#player-name {
    font-family: "Press Start 2P", cursive;
    color: #00c8ff;
    text-decoration: none;
    transition: 0.25s;
}

#player-name:hover {
    color: #82efff;
    text-shadow: 0 0 8px #82efff;
}

#volume-slider { width: 150px; }


/* =============================== */
/*           WELCOME TEXT          */
/* =============================== */

#welcome-section {
    text-align: center;
    margin-top: 40px;
}


/* =============================== */
/*         CONTENT WRAPPER         */
/* =============================== */

#content-wrapper {
    width: 85%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 35px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid #ffd966;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =============================== */
/*             GALLERY             */
/* =============================== */

#gallery-container {
    width: 100%;
    max-width: 900px;
    height: 650px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid #ffd966;
    margin-bottom: 40px;
}

#gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.6s ease;
}

#visualizer-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
    mix-blend-mode: screen;
}


/* =============================== */
/*               BIO               */
/* =============================== */

#bio-section {
    text-align: center;
    margin-top: 25px;
}

#short-bio {
    font-size: 22px;
    line-height: 1.5;
}

.music-page-button {
    margin-top: 1.8rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: 2px solid #ffd966;
    background: transparent;
    color: white;
    font-family: "Press Start 2P";
    cursor: pointer;
    transition: 0.25s ease;
}

.music-page-button:hover {
    background: rgba(255, 204, 77, 0.18);
    box-shadow: 0 0 12px rgba(255, 204, 77, 0.6);
    transform: translateY(-2px);
}


/* =============================== */
/*             CONTACT             */
/* =============================== */

#contact-section {
    text-align: center;
    margin: 60px 0;
}

.contact-link {
    font-family: "Press Start 2P", cursive;
    color: #00c8ff;
    text-decoration: none;
}

.contact-link:hover {
    text-shadow: 0 0 8px #82efff;
}


/* =============================== */
/*          RESPONSIVE             */
/* =============================== */

@media (max-width: 768px) {
    #gallery-container {
        height: 350px;
    }
}

/* ============================================================
   CRONO FOLLOWER CSS
   Handles size, position, pixel clarity, flipping, layering,
   and disables interaction so he never blocks clicks.
   ============================================================ */

#crono-follower {
    position: fixed;
    width: 64px;               /* Adjust size later if needed */
    height: auto;
    pointer-events: none;      /* Prevent blocking buttons */
    z-index: 999999;           /* Always on top */
    transform-origin: center;  /* Ensure clean horizontal flipping */
    image-rendering: pixelated; /* Keep pixel-art sharp */
    transition: transform 0.05s linear;
}

/* Optional: subtle shadow for depth */
#crono-follower::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 22px;
    height: 6px;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    filter: blur(3px);
    z-index: -1;
}
