@import url(anims.css);
@import url(/fonts.css);

:root {
    /* --- ICY PALETTE (Cleaner, Less Neon) --- */
    --color1: #020b14;
    --color2: #0b3a42;
    --color3: #1a6b75;
    --color4: #75e6da;
    
    /* Faint Baby Ice Blue Text Color */
    --mainText: #e3f8ff; 
    
    --altcolor1: #cceeff; /* Slightly darker ice for links */
    --altcolor2: #a4b0f4;
    
    --hoverColor: rgba(200, 255, 255, 0.15);
    --headerimg: rgba(0, 20, 40, 0.705);

    /* Glass background: Minimalist */
    --contentBackgroundColor: rgba(200, 230, 255, 0.08); 
}

/* --- ANIMATIONS --- */
@keyframes moveLeft {
    0% { top: 50%; transform: translate(-50%, -50%); }
    100% { top: 5%; transform: translate(-50%, 0); }
}

@keyframes moveLeftImage {
    0% { top: 50%; }
    100% { top: 10%; }
}

@keyframes chatIn {
    0% { top: 200vh; }
    100% { top: 58vh; }
}

@keyframes chatInMobile {
    0% { top: 200vh; }
    100% { top: 60%; }
}

@keyframes postsin {
    0% { top: 200%; }
    100% { top: 50%; }
}

.animation2 {
    animation: moveLeft 2s forwards ease-in-out 1s;
}

/* --- LAYOUT & TYPOGRAPHY --- */

.postslists {
    grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
    gap: 0;
    width: 100% !important;
    position: absolute;
    text-align: right;
    top: 25% !important;
    left: 0;
    transform: translate(-50%, -50%);
    animation: postsin 6s forwards ease-in-out;
    display: table-cell;
}

.postslists td {
    display: inline-block;
    vertical-align: middle;
    font-size: 2vw;
}

@media (max-width: 1400px) {
    .postslists td { font-size: 5vw; }
    .cell { font-size: 5vw; }
}

.cell {
    padding: 0;
    font-size: 1.5vw;
}

.cell:nth-child(even) a {
    filter: brightness(1.2);
}

.centerimage {
    width: 35vw !important;
    z-index: 0 !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.posttitle {
    width: 100%;
    text-align: center;
    font-family: headerfont;
    color: var(--mainText);
    font-size: 2em;
    z-index: 0 !important;
    text-transform: uppercase;
}

.content {
    padding: 1%;
    height: 78vh !important;
    width: 80vw !important;
    padding-top: 5vh !important;
    margin: 0;
    position: absolute !important;
    top: 1000vh;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    animation: chatIn 3s forwards ease-in-out 1.1s;
    background-color: var(--contentBackgroundColor);
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: none;
    border-radius: 0px;
    box-shadow: none;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.content::-webkit-scrollbar {
    display: none;
}

.content img {
    max-width: 100%;
    overflow: hidden;
    border-radius: 0px; 
    border: none;       
}

/* --- ADDED: GUIDES & DATA TABLES --- */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: fontBody;
    text-transform: uppercase;
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.3);
}

th, td {
    border: 1px solid rgba(175, 215, 255, 0.2);
    padding: 12px;
    text-align: left;
}

th { 
    background-color: rgba(11, 58, 66, 0.5); 
    color: var(--color4);
}

.section-header {
    color: var(--color4);
    margin-top: 30px;
    border-bottom: 1px solid var(--color2);
    display: inline-block;
    width: 100%;
    text-align: left;
    padding-bottom: 5px;
    font-family: fontBody;
    text-transform: uppercase;
}

.search-box {
    background: rgba(175, 215, 255, 0.05);
    border-left: 4px solid var(--color4);
    padding: 15px;
    margin: 20px 0;
}

/* --- CONTINUED BASE STYLES --- */

.centermid.posttitle.animation2 a, a {
    text-decoration: none;
    color: var(--altcolor1);
}

.explination {
    max-width: 100%;
    font-family: headerfont;
    color: #aebdc4; 
    font-size: 1vw;
    z-index: 1;
    text-transform: uppercase;
    transform: translate(-30%, 90%) !important;
    letter-spacing: 2px;
}

.centermid {
    margin: 0;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}

.code {
    animation: textShadow 1.6s infinite;
    text-align: center;
    background-color: rgba(0, 15, 30, 0.5); 
    border-radius: 0px;
    border: 1px solid rgba(175, 215, 255, 0.3);
    padding: 1%;
    line-height: auto;
    text-transform: none !important;
    color: #ccf3ff;
    transition: all 0.3s ease-in-out;
    box-shadow: none; 
    overflow-x: auto;
    max-width: 100%;
}

.code::before {
    content: "$";
    color: #99e6ff !important;
    margin-right: 5px;
}

.code.nodollar::before {
    content: "" !important;
}

.multilinecode {
    line-height: 1.2;
    white-space: pre;
    text-align: left;
}

.code:after {
    animation: fadey 1s infinite ease-in-out;
    content: "█";
    color: #ccf3ff;
}

.important {
    font-weight: 900;
    font-size: large;
    color: #ffaaaa;
}

.important::before {
    content: "-> ";
}

body {
    margin: 0;
    background-size: cover !important;
    background-attachment: fixed;
    background: rgb(26, 26, 27);
    color: var(--mainText); 
    overflow-x: hidden;
}

.line {
    text-align: justify;
    padding-bottom: 2%;
    line-height: 1.5;
    text-indent: 1px;
    text-transform: none;
    color: var(--mainText);
}

.postcontent {
    text-transform: uppercase;
    font-family: fontBody;
    color: var(--mainText);
}

.goback {
    padding: 1%;
    font-family: fontBody;
    background: none; 
    border: none;     
    border-radius: 0; 
    color: var(--mainText);
    cursor: pointer;
}

/* Static Overlay */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: url('img/scan.png');
    z-index: 2;
    background-size: 100% 70px, 5px 100%;
    pointer-events: none;
    opacity: 0.15;
    animation-name: Static;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: steps(4);
    mix-blend-mode: overlay;
}

/* --- MOBILE FIXES --- */
@media screen and (max-width: 900px) {
    .posttitle {
        font-size: 5vw; 
        line-height: 1.1;
        width: 95%; 
    }

    .animation2 {
        animation-name: moveLeftMobile;
    }
    
    .content {
        width: 90vw !important; 
        height: 70vh !important;
        animation: chatInMobile 3s forwards ease-in-out 1.1s;
    }
    .centerimage {
        width: 60vw !important;
    }
}

@keyframes moveLeftMobile {
    0% { top: 50%; transform: translate(-50%, -50%); }
    100% { top: 5%; transform: translate(-50%, 0); } 
}