:root {
    --bg-black: #05070a;
    --card-bg: #0d1117;
    --bulma-green: #00d1b2;
    --primary-blue: #58a6ff;
    --border-color: #21262d;
    --bg-sidebar: #161b22;
    --tt-red: #FE2C55;
    --tt-cyan: #25F4EE;
    --tt-black: #010101;
}

body {
    background-color: var(--bg-black);
    font-family: 'Inter', sans-serif;
    color: #c9d1d9;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.bg-black {
    background-color: var(--bg-black);
}

.bg-deep {
    background-color: #010409;
}

.bg-border {
    background-color: var(--border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color) !important;
}

.border-top {
    border-top: 1px solid var(--border-color) !important;
}

.border-bottom-small {
    border-bottom: 1px solid var(--border-color);
}

.nav-divider {
    background-color: var(--border-color);
    height: 1px;
    margin: 0;
    border: none;
}

.brand-container {
    flex-shrink: 1;
    min-width: 0;
}

.brand-text {
    white-space: nowrap;
    overflow: hidden;
}

.nav-buttons-wrapper {
    flex-shrink: 0;
}

.text-muted {
    color: #8b949e;
}

.hero-parent {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-black);
}

.hero-cover-photo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 209, 178, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 209, 178, 0.25) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    filter: drop-shadow(0 0 1px rgba(0, 209, 178, 0.3));
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    z-index: 0;
}

.relative-z {
    position: relative;
    z-index: 1;
}

.profile-wrapper {
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 0 10px rgba(0, 209, 178, 0.2));
}

.profile-fix {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border: 2px solid var(--bulma-green);
}

.profile-img-zoom {
    box-shadow: 0 0 15px var(--bulma-green);
    transform: scale(1.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img-zoom:hover {
    transform: scale(1.2);
    box-shadow: 0 0 25px var(--bulma-green);
}

.status-indicator {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background-color: var(--bulma-green);
    border: 2px solid var(--bg-black);
    border-radius: 50%;
    z-index: 3;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 var(--bulma-green);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(0, 209, 178, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 209, 178, 0);
    }
}

.title {
    color: #fff !important;
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.status-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.tech-tile {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-tile:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.accent-border {
    border-left: 4px solid var(--primary-blue);
}

.accent-border-green {
    border-left: 4px solid var(--bulma-green);
}

.border-green {
    border: 1px solid rgba(0, 209, 178, 0.3) !important;
}

.border-blue {
    border: 1px solid rgba(88, 166, 255, 0.3) !important;
}

.sidebar-box {
    background-color: var(--bg-sidebar) !important;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar-box p.has-text-primary {
    letter-spacing: 1px;
    border-left: 2px solid var(--primary-blue);
    padding-left: 8px;
    text-transform: uppercase;
}

.manifest-log {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    line-height: 1.6;
}

.tt-section {
    border-left: 4px solid var(--tt-red);
    position: relative;
    overflow: hidden;
    animation: tt-border-flash 4s infinite ease-in-out;
}

.tt-content-layer {
    position: relative;
    z-index: 2;
}

.tt-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tt-hexa-border {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, var(--tt-cyan), transparent, var(--tt-red), transparent);
    animation: tt-hexa-sweep 3s infinite linear;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
}

.tt-logo-container {
    position: relative;
    width: 90px !important;
    height: 90px !important;
    z-index: 2;
    margin: 0 !important;
}

.tt-logo-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--tt-black);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: block;
}

.tt-btn-official {
    background: var(--tt-black) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 30px !important;
    height: 3.5rem !important;
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: visible;
    transition: all 0.3s ease;
}

.tt-btn-official::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--tt-cyan) 49%, var(--tt-red) 51%);
    border-radius: 10px;
    z-index: -2;
    animation: tt-border-glitch 0.2s infinite alternate-reverse;
}

.tt-btn-official::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: var(--tt-black);
    border-radius: 7px;
    z-index: -1;
}

.tt-btn-z-index {
    position: relative;
    z-index: 3;
}

@keyframes tt-hexa-sweep {
    to {
        transform: rotate(360deg);
    }
}

@keyframes tt-border-glitch {
    0% {
        opacity: 1;
        filter: brightness(1);
        transform: translate(0, 0);
    }

    50% {
        opacity: 0.8;
        filter: brightness(1.6);
        transform: translate(-1px, 1px);
    }

    100% {
        opacity: 1;
        filter: brightness(1.3);
        transform: translate(1px, -1px);
    }
}

@keyframes tt-border-flash {

    0%,
    100% {
        border-left-color: var(--tt-red);
    }

    50% {
        border-left-color: var(--tt-cyan);
    }
}

.tt-scanline {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(37, 244, 238, 0.03), rgba(254, 44, 85, 0.03), transparent);
    transform: skewX(-25deg);
    animation: tt-scan 8s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes tt-scan {
    0% {
        left: -100%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.tt-section:hover .tt-title-animate {
    animation: tt-glitch-text 0.3s steps(2) infinite;
    color: var(--tt-cyan) !important;
    text-shadow: 2px 0 var(--tt-red), -2px 0 var(--tt-cyan);
}

@keyframes tt-glitch-text {
    0% {
        transform: translate(0);
    }

    50% {
        transform: translate(-1px, 1px);
    }

    100% {
        transform: translate(0);
    }
}