@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&family=Courier+Prime&display=swap');

:root {
    
    --black: #05010f;
    --white: #f5f3ff;
    --red: #a855f7;
    --blue: #6366f1;
    --dark-red: #7c3aed;
    --dark-blue: #312e81;
    --pink: #c084fc;
    --cyan: #818cf8;

    
    --surface: #0d071f;
    --surface-alt: #140b2f;

    
    --font-pixel: 'VT323', monospace;
    --font-mono: 'Share Tech Mono', monospace;
    --font-tech: 'Courier Prime', monospace;

    
    --box-padding: 10px;
    --outline-gap: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-mono);
    background: linear-gradient(180deg, var(--black) 0%, var(--surface-alt) 100%);
    position: relative;
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/loot.png');
    background-repeat: repeat;
    background-size: 50px 50px;
    opacity: 0.05;
    filter: brightness(0.35) saturate(140%) hue-rotate(260deg);
    pointer-events: none;
    z-index: 0;
}



h1, h2, h3 {
    font-family: var(--font-pixel);
    color: var(--white);
    text-shadow: 0 0 12px rgba(124, 58, 237, 0.45);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

p {
    font-family: var(--font-mono);
    font-size: 13px;
    color: rgba(245, 243, 255, 0.9);
    text-shadow: 0 0 8px rgba(49, 46, 129, 0.25);
    margin-bottom: 8px;
    text-indent: 16px;
}

a {
    color: var(--pink);
    text-decoration: underline dashed rgba(168, 85, 247, 0.4);
    font-family: var(--font-mono);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--red);
    text-decoration-color: var(--red);
}



.box {
    background-color: var(--surface);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    padding: var(--box-padding);
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}


.outline-double {
    position: relative;
}

.outline-double::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    outline: 1px solid rgba(99, 102, 241, 0.45);
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
}

.outline-double::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    outline: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 14px;
    pointer-events: none;
    z-index: 1;
}



.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    background: rgba(17, 24, 39, 0.65);
    border-radius: 8px;
}

.user-avatar {
    
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: rgba(31, 41, 55, 0.9);
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 28px;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(31, 41, 55, 0.9);
    border: 1px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 0 4px rgba(99, 102, 241, 0.4);
    border-radius: 50%;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.username {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--white);
    text-shadow: 0px 1px 0px var(--blue);
}



.badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid rgba(168, 85, 247, 0.5);
    background: rgba(17, 11, 47, 0.75);
    color: var(--white);
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(99, 102, 241, 0.35);
}

.badge-author {
    border-color: var(--red);
}

.badge-admin {
    border-color: var(--red);
    animation: badgeBlink 1.5s infinite;
}

.badge-moderator {
    border-color: var(--blue);
}

.badge-verified {
    border-color: var(--cyan);
}

.badge-contributor {
    border-color: var(--pink);
}

.badge-vip {
    border-color: var(--red);
    background: var(--dark-red);
}

@keyframes badgeBlink {
    0%, 49%, 100% { color: var(--white); text-shadow: 0px 1px 0px var(--blue); }
    50%, 99% { color: transparent; text-shadow: 0px 0px 0px transparent; }
}



.main-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.bigbox {
    background-color: rgba(13, 7, 31, 0.8);
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: var(--box-padding);
    color: var(--white);
    position: relative;
    z-index: 1;
}



::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 7, 31, 0.6);
    border-left: 1px solid rgba(99, 102, 241, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-blue);
    border: 1px solid rgba(99, 102, 241, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}



::selection {
    background: rgba(99, 102, 241, 0.6);
    color: var(--white);
}

::-moz-selection {
    background: rgba(99, 102, 241, 0.6);
    color: var(--white);
}



.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

hr {
    border: none;
    border-top: 1px solid rgba(99, 102, 241, 0.45);
    margin: 10px 0;
}

hr.red {
    border-top-color: rgba(168, 85, 247, 0.55);
}

