

h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 3px;  
    text-transform: uppercase;
}

.card-title {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.system-status {
    opacity: 0.7;
    font-size: 0.9rem;
    letter-spacing: 1px;
}



:root {
    --orange: #ff8c00;
    --yellow: #FFFF00;
    --red: #ff0000;
    --pink: #ff00ff;

    --bg: #050505;          
    --text-main: #e0e0e0;
    --card-bg: #0a0a0a;
    --code-bg: #111;

    color-scheme: dark;

    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-highlight: rgba(255, 255, 255, 0.16);

    
    --pink-a: rgba(255, 0, 255, 0.25);
    --pink-b: rgba(255, 0, 255, 0.12);
}


html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;

    animation: pageFade 0.8s ease-out forwards;

    position: relative;
    isolation: isolate;
}



@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 2px var(--orange), 0 0 5px var(--orange);
        opacity: 1;
    }
    20%, 24%, 55% { text-shadow: none; opacity: 0.5; }
}


/* ===================== FAST CYBER GRID BACKGROUND ===================== */

@keyframes gridMove {
    from {
        background-position: 0 0, 0 0, 0 0;
    }
    to {
        background-position: 70px 70px, 70px 70px, 0 60px;
    }
}

body {
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 5px
        ),
        linear-gradient(rgba(255,0,255,0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,0,255,0.16) 1px, transparent 1px),
        var(--bg);

    background-size:
        100% 60px,
        70px 70px,
        70px 70px,
        auto;

    animation: gridMove 4s linear infinite;
}


html, body { min-height: 100%; }
body { overflow-x: hidden; } /* ok */
body { overflow-x: hidden; } 


nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  border-radius: 10px;

  padding: 20px;
  text-align: center;

    background-color: rgba(18, 18, 18, 0.85);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid #333;
}


.home-link {
  color: var(--orange);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.home-link:hover {
    color: var(--pink);
}





.content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 30px;
    box-sizing: border-box;
}



h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--orange), var(--red), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    text-align: center;
    animation: flicker 3s infinite alternate;
}

h2 {
    color: var(--pink);
    border-bottom: 1px dashed var(--pink);
    padding-bottom: 5px;
    margin-top: 40px;
}



.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

#search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid var(--orange);
    color: var(--orange);
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
}

#search-input:focus {
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.35);
    border-color: var(--pink);
    background: rgba(255, 140, 0, 0.1);
}

#search-input::placeholder { color: rgba(255, 140, 0, 0.5); }



.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}



.post-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    display: block;

    
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);

    -webkit-backdrop-filter: blur(42px) saturate(210%) contrast(120%);
    backdrop-filter: blur(42px) saturate(210%) contrast(120%);

    box-shadow:
        0 18px 55px rgba(0,0,0,0.65),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -18px 40px rgba(0,0,0,0.55);

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* subtle highlight (not white) */
.post-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background:
        radial-gradient(120% 60% at 50% 0%,
            var(--glass-highlight), transparent 72%
        ),
        radial-gradient(800px 500px at 80% 55%,
            rgba(255,0,255,0.10), transparent 75%
        );

    mix-blend-mode: screen;
    opacity: 0.50;
}

/* keep text above highlight layers */
.post-card > * {
    position: relative;
    z-index: 2;
    color: inherit;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,0,255,0.22);
    box-shadow:
        0 26px 75px rgba(0,0,0,0.80),
        0 0 28px rgba(255,0,255,0.16),
        inset 0 1px 0 rgba(255,255,255,0.16),
        inset 0 -20px 45px rgba(0,0,0,0.60);
}

/* ===================== CARD TEXT ===================== */

.card-title {
    color: var(--orange);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.card-meta {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-preview {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.4;
}

.category-red {
    border: 1px solid var(--red);
    color: var(--red);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.category-yellow {
    border: 1px solid var(--yellow);
    color: var(--yellow);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* ===================== CODE ===================== */

pre {
    background-color: var(--code-bg);
    border: 1px solid var(--red);
    padding: 15px;
    overflow-x: auto;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    position: relative;
}

code {
    color: #d4d4d4;
}


.copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: transparent;
    border: 1px solid var(--orange);
    color: var(--orange);
    font-size: 0.8rem;
    padding: 2px 8px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
    opacity: 0.7;
}

.copy-btn:hover {
    background-color: var(--orange);
    color: #000;
    opacity: 1;
    box-shadow: 0 0 10px var(--orange);
}

/* ===================== SCROLL TOP ===================== */

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #000;
    border: 1px solid var(--orange);
    color: var(--orange);
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: var(--orange);
    color: #000;
    box-shadow: 0 0 15px var(--orange);
}

/* ===================== MOBILE ===================== */

@media (max-width: 600px) {
    .content { padding: 15px; }
    h1 { font-size: 1.8rem; }
    .posts-grid { grid-template-columns: 1fr; }
}

input, textarea {
    -webkit-user-select: text !important;
    user-select: text !important;
}

/* ===================== LINKS ===================== */

.terminal-link {
    color: #ccc;
    transition: 0.25s ease;
}

.terminal-link:hover {
    color: var(--pink);
    text-shadow: 0 0 6px rgba(255, 0, 255, 0.35);
}

/* ===================== TOAST ===================== */

#toast-notification {
    visibility: hidden;
    min-width: 250px;
    background-color: #000;
    color: var(--orange);
    text-align: center;
    border: 1px solid var(--orange);
    box-shadow: 0 0 15px var(--orange);
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 0.9rem;
}

#toast-notification.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}


img {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 20px auto;
    border: 1px solid #333;
}

/* Fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .post-card { background: rgba(20, 0, 20, 0.55); }
}

@keyframes dropDown {
    0% {
        transform: translateY(-120%);
        opacity: 0;
    }
    60% {
        transform: translateY(10%);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
    }
}


.terminal-card{
  border-radius: 12px;
  padding: 14px 16px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  font-family: 'JetBrains Mono', monospace;
}

.terminal-row{
  display: grid;
  grid-template-columns: 80px 16px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
}


.terminal-row + .terminal-row{
    border-top: 1px dashed rgba(255,255,255,0.08);
}

.terminal-key{
    color: rgba(255,255,255,0.5);
    text-transform: lowercase;
    letter-spacing: 0.6px;
}

.terminal-sep{
  color: rgba(255,255,255,0.35);
}

.terminal-value{
    color: #e5e5e5;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* make links + buttons match (no orange) */
.terminal-card .terminal-link,
.terminal-card .terminal-btn{
  color: #d6d6d6;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.22);
  padding-bottom: 1px;
  background: transparent;
}

/* hover = subtle pink, no orange glow */
.terminal-card .terminal-link:hover,
.terminal-card .terminal-btn:hover{
  color: var(--pink);
  border-bottom-color: rgba(255,0,255,0.55);
  text-shadow: 0 0 6px rgba(255,0,255,0.25);
}

/* button reset so it looks like text */
.terminal-btn{
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

/* keyboard focus (clean) */
.terminal-card .terminal-link:focus-visible,
.terminal-card .terminal-btn:focus-visible{
  outline: 2px solid rgba(255,0,255,0.35);
  outline-offset: 4px;
  border-radius: 6px;
}

/* improve readability */
.terminal-card{
  line-height: 1.55;
}

/* mobile: more space for long emails/links */
@media (max-width: 480px){
  .terminal-row{
    grid-template-columns: 68px 12px 1fr;
  }
}


/* discord clickable should be a real button */
.terminal-btn{
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.terminal-btn:focus{
  outline: 2px solid rgba(255,140,0,0.35);
  outline-offset: 4px;
  border-radius: 6px;
}

/* mobile layout */
@media (max-width: 480px){
  .terminal-row{
    grid-template-columns: 70px 14px 1fr;
  }
}





/* ================= DOWNLOAD MODULE ================= */

.download-module{

    max-width:500px;
    margin:80px auto;

    border-radius:12px;

    background:rgba(0,0,0,0.6);

    border:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(20px);

    font-family:'JetBrains Mono',monospace;

    overflow:hidden;

}


/* terminal header */

.download-header{

    display:flex;
    align-items:center;

    gap:8px;

    padding:10px 14px;

    border-bottom:1px solid rgba(255,255,255,0.08);

    background:rgba(255,255,255,0.02);

}


/* terminal dots */

.download-dot{

    width:10px;
    height:10px;

    border-radius:50%;

}

.download-dot.red{ background:#ff5f56; }
.download-dot.yellow{ background:#ffbd2e; }
.download-dot.green{ background:#27c93f; }

.download-title{

    margin-left:10px;

    font-size:12px;

    color:#888;

}


/* body */

.download-body{

    padding:16px;

}


/* rows */

.download-row{

    display:grid;

    grid-template-columns:80px 14px 1fr;

    gap:6px;

    padding:8px 0;

}

.download-row + .download-row{

    border-top:1px dashed rgba(255,255,255,0.08);

}


/* text */

.download-key{
    color:#666;
    text-transform:lowercase;
}

.download-sep{
    color:#444;
}

.download-value{
    color:#ddd;
}


/* link */

.download-link{

    color:#ccc;

    text-decoration:none;

    border-bottom:1px dashed rgba(255,255,255,0.25);

    transition:.2s;

}

.download-link:hover{

    color:var(--pink);

    border-bottom-color:rgba(255,0,255,0.5);

}


/* =========================================================
RUNAWAY CURSOR GLOW (GLOBAL)
Does NOT modify existing styles
========================================================= */

.cursor-glow {

    position: fixed;

    width: 320px;
    height: 320px;

    pointer-events: none;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255,0,255,0.16) 0%,
        rgba(255,0,255,0.08) 45%,
        rgba(255,0,255,0.03) 65%,
        transparent 80%
    );

    mix-blend-mode: screen;

    transform: translate(-50%, -50%);

    z-index: -3;

    opacity: 0.55;

    filter: blur(40px);
}


/* breathing animation */

@keyframes glowBreath {

    0% {
        opacity: .55;
        filter: blur(45px);
    }

    50% {
        opacity: .85;
        filter: blur(65px);
    }

    100% {
        opacity: .55;
        filter: blur(45px);
    }

}

