/* geocities.css — retro stylesheet for blixa.org */
/* this file has opinions. they are loud. */

/* =============================================
   IE-STYLE SCROLLBAR COLORS (for the purists)
   ============================================= */
body {
    scrollbar-face-color: #003300;
    scrollbar-track-color: #000000;
    scrollbar-arrow-color: #00ff00;
    scrollbar-shadow-color: #006600;
    scrollbar-highlight-color: #00cc00;
    scrollbar-3dlight-color: #009900;
    scrollbar-darkshadow-color: #001100;
}

/* Firefox scrollbar approximation */
* {
    scrollbar-width: thin;
    scrollbar-color: #00ff00 #000000;
}

/* =============================================
   BLINK ANIMATION
   (because <blink> deserved better)
   ============================================= */
@keyframes blink {
    0%, 49% { visibility: visible; }
    50%, 100% { visibility: hidden; }
}

blink {
    animation: blink 1s step-end infinite;
    display: inline;
}

/* =============================================
   NEON GLOW EFFECTS
   ============================================= */
@keyframes neon-pulse {
    0%, 100% {
        text-shadow:
            0 0 4px #00ff00,
            0 0 8px #00ff00,
            0 0 16px #00ff00;
    }
    50% {
        text-shadow:
            0 0 2px #00ff00,
            0 0 4px #00ff00,
            0 0 8px #00ff00;
    }
}

h1, h2, h3 {
    animation: neon-pulse 3s ease-in-out infinite;
    color: #00ff00;
    font-family: "Comic Sans MS", "Papyrus", cursive;
}

/* Hot pink neon variant */
@keyframes pink-pulse {
    0%, 100% {
        text-shadow:
            0 0 4px #ff00ff,
            0 0 8px #ff00ff,
            0 0 16px #ff00ff;
    }
    50% {
        text-shadow:
            0 0 2px #ff00ff,
            0 0 4px #ff00ff;
    }
}

/* Cyan accent glow */
@keyframes cyan-pulse {
    0%, 100% {
        text-shadow:
            0 0 4px #00ffff,
            0 0 12px #00ffff;
    }
    50% {
        text-shadow:
            0 0 2px #00ffff,
            0 0 6px #00ffff;
    }
}

/* =============================================
   LINKS — RETRO STYLE
   ============================================= */
a {
    color: #ff00ff;
    text-decoration: none;
    font-weight: bold;
}

a:visited {
    color: #ffff00;
}

a:hover {
    color: #00ffff;
    text-decoration: underline;
    text-shadow: 0 0 6px #00ffff;
}

a:active {
    color: #ff0000;
}

/* =============================================
   TILED BACKGROUND SUPPORT
   ============================================= */
body.tiled-bg {
    background-image: url('../images/bg-tile.png');
    background-repeat: tile;
    background-attachment: fixed;
}

/* =============================================
   TABLE BORDERS — RETRO
   ============================================= */
table {
    border-collapse: separate;
}

/* beveled table effect */
table[border="2"] {
    box-shadow:
        2px 2px 0 #003300,
        -1px -1px 0 #00ff00;
}

/* =============================================
   HR DECORATION
   ============================================= */
hr {
    border: none;
    border-top: 2px solid #ff00ff;
    box-shadow: 0 0 4px #ff00ff;
    margin: 8px 0;
}

/* =============================================
   PHANTOM CURSOR
   ============================================= */
#phantom-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.4) 0%, rgba(0, 255, 0, 0) 100%);
    border: 1px solid rgba(0, 255, 0, 0.5);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

/* =============================================
   FONT MUTATION TARGETS
   ============================================= */
.mutable-font {
    transition: font-family 0.5s ease;
}

/* =============================================
   PAGE DRIFT TRANSITION
   ============================================= */
body {
    transition: transform 2s ease-in-out;
    transform-origin: center center;
}

/* =============================================
   PHANTOM LINK (nearly invisible)
   ============================================= */
.phantom-link {
    opacity: 0.05;
    color: #003300 !important;
    font-size: 10px;
    text-decoration: none;
}

.phantom-link:hover {
    opacity: 0.15;
}

/* =============================================
   COUNTER DISPLAY
   ============================================= */
#counter-display {
    letter-spacing: 4px;
    font-variant-numeric: tabular-nums;
}

/* =============================================
   BLOG CONTENT
   ============================================= */
#blog-content {
    min-height: 60px;
    font-family: "Courier New", monospace;
    color: #00ff88;
}

/* =============================================
   SELECTION COLOR
   ============================================= */
::selection {
    background: #00ff00;
    color: #000000;
}

::-moz-selection {
    background: #00ff00;
    color: #000000;
}

/* =============================================
   MARQUEE GLOW
   ============================================= */
marquee {
    text-shadow: 0 0 8px currentColor;
}

/* =============================================
   PRE / CODE FORMATTING
   ============================================= */
pre {
    color: #00ffff;
    font-family: "Courier New", monospace;
    font-size: 11px;
    line-height: 1.2;
    margin: 0;
}

/* =============================================
   CHAOS LAYER 2 — KONAMI CLEAN MODE
   ============================================= */
body.konami-clean {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: Georgia, serif !important;
    transition: background 0.4s ease, color 0.4s ease, filter 0.4s ease;
    filter: none !important;
}

body.konami-clean * {
    color: #000000 !important;
    text-shadow: none !important;
    animation: none !important;
    font-family: Georgia, serif !important;
    border-color: #cccccc !important;
    background-color: #ffffff !important;
}

body.konami-clean marquee,
body.konami-clean #phantom-cursor,
body.konami-clean .phantom-link {
    display: none !important;
}

body.konami-glitch-back {
    animation: glitch-return 0.6s steps(2, end);
}

@keyframes glitch-return {
    0%   { filter: hue-rotate(0deg) invert(0); }
    25%  { filter: hue-rotate(90deg) invert(1); }
    50%  { filter: hue-rotate(180deg) invert(0); }
    75%  { filter: hue-rotate(270deg) invert(1); }
    100% { filter: hue-rotate(360deg) invert(0); }
}

/* =============================================
   CHAOS LAYER 2 — 3AM MODE
   ============================================= */
body.chaos-3am {
    animation: chaos-3am-pulse 2s ease-in-out infinite;
}

@keyframes chaos-3am-pulse {
    0%, 100% { filter: brightness(1) saturate(1); }
    50%       { filter: brightness(1.15) saturate(1.4) hue-rotate(5deg); }
}

/* =============================================
   CHAOS LAYER 2 — MIDNIGHT MESSAGE
   ============================================= */
#midnight-msg {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #00ff00;
    font-family: "Courier New", monospace;
    font-size: 13px;
    animation: blink 1s step-end infinite;
    z-index: 10000;
    pointer-events: none;
    white-space: nowrap;
}

/* =============================================
   GITHUB FEED SECTION
   ============================================= */
#github-content table {
    width: 100%;
    border-collapse: separate;
}

#github-content td {
    vertical-align: top;
    padding: 4px 8px;
}

.tag-badge {
    display: inline-block;
    background: #001a00;
    color: #00ff88;
    border: 1px solid #00ff44;
    font-family: "Courier New", monospace;
    font-size: 10px;
    padding: 1px 4px;
    margin: 1px 2px;
}
