@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 10;
    transform-origin: center;
}

.logo {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.logo-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(-15px) rotateX(90deg);
    animation: charFlip 0.6s forwards;
    position: relative;
}

.logo-char:nth-child(1) { animation-delay: 0.5s; }
.logo-char:nth-child(2) { animation-delay: 0.7s; }
.logo-char:nth-child(3) { animation-delay: 0.9s; }
.logo-char:nth-child(4) { animation-delay: 1.1s; }

.logo-char.corrupt {
    animation: charGlitch 0.15s;
}

@keyframes charFlip {
    0% {
        opacity: 0;
        transform: translateY(-15px) rotateX(90deg);
    }
    50% {
        opacity: 1;
        transform: translateY(5px) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes charGlitch {
    0%, 100% {
        transform: translate(0) scale(1);
        color: inherit;
    }
    25% {
        transform: translate(-2px, 2px) scale(1.1);
        color: #ff0000;
    }
    50% {
        transform: translate(2px, -2px) scale(0.9);
        color: #00ffff;
    }
    75% {
        transform: translate(-2px, -2px) scale(1.05);
        color: #ff00ff;
    }
}

.logo-glitch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    pointer-events: none;
    opacity: 0;
}

.logo-glitch.red {
    color: #ff0000;
    text-shadow: 3px 0 0 #ff0000;
    mix-blend-mode: screen;
}

.logo-glitch.cyan {
    color: #00ffff;
    text-shadow: -3px 0 0 #00ffff;
    mix-blend-mode: screen;
}

.logo-glitch.active.red {
    animation: glitchRed 0.3s;
}

.logo-glitch.active.cyan {
    animation: glitchCyan 0.3s;
}

@keyframes glitchRed {
    0% {
        transform: translateX(-50%) translate(0);
        opacity: 0;
    }
    25% {
        transform: translateX(-50%) translate(-4px, 4px);
        opacity: 0.9;
    }
    50% {
        transform: translateX(-50%) translate(4px, -4px);
        opacity: 0.9;
    }
    75% {
        transform: translateX(-50%) translate(-4px, -4px);
        opacity: 0.9;
    }
    100% {
        transform: translateX(-50%) translate(0);
        opacity: 0;
    }
}

@keyframes glitchCyan {
    0% {
        transform: translateX(-50%) translate(0);
        opacity: 0;
    }
    25% {
        transform: translateX(-50%) translate(4px, -4px);
        opacity: 0.9;
    }
    50% {
        transform: translateX(-50%) translate(-4px, 4px);
        opacity: 0.9;
    }
    75% {
        transform: translateX(-50%) translate(4px, 4px);
        opacity: 0.9;
    }
    100% {
        transform: translateX(-50%) translate(0);
        opacity: 0;
    }
}

.info-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    position: relative;
}

.info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.info-row:nth-child(1) .info-label {
    animation-delay: 1.2s;
}

.info-row:nth-child(2) .info-label {
    animation-delay: 1.6s;
}

.info-row:nth-child(3) .info-label {
    animation-delay: 2s;
}

.info-value {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.info-row:nth-child(1) .info-value {
    animation-delay: 1.2s;
}

.info-row:nth-child(2) .info-value {
    animation-delay: 1.6s;
}

.info-row:nth-child(3) .info-value {
    animation-delay: 2s;
}

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

.info-value::before,
.info-value::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.info-value::before {
    color: #ff0000;
    text-shadow: 2px 0 0 #ff0000;
    mix-blend-mode: screen;
}

.info-value::after {
    color: #00ffff;
    text-shadow: -2px 0 0 #00ffff;
    mix-blend-mode: screen;
}

.info-value.glitch::before {
    animation: valueGlitchRed 0.2s;
}

.info-value.glitch::after {
    animation: valueGlitchCyan 0.2s;
}

@keyframes valueGlitchRed {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    50% {
        transform: translate(-3px, 3px);
        opacity: 0.8;
    }
}

@keyframes valueGlitchCyan {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    50% {
        transform: translate(3px, -3px);
        opacity: 0.8;
    }
}

.link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
    position: relative;
    display: inline-block;
}

.link-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(5px);
    animation: charReveal 0.1s forwards;
    position: relative;
    transition: all 0.1s;
}

.link-char.corrupt {
    animation: linkCharGlitch 0.2s;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes linkCharGlitch {
    0%, 100% {
        transform: translate(0) scale(1);
        color: inherit;
    }
    33% {
        transform: translate(-1px, 1px) scale(1.15);
        color: #ff0000;
        text-shadow: 0 0 5px #ff0000;
    }
    66% {
        transform: translate(1px, -1px) scale(0.85);
        color: #00ffff;
        text-shadow: 0 0 5px #00ffff;
    }
}

.label-char {
    display: inline-block;
    position: relative;
}

.label-char.corrupt {
    animation: labelGlitch 0.15s;
}

@keyframes labelGlitch {
    0%, 100% {
        transform: translate(0);
        color: inherit;
    }
    50% {
        transform: translate(-1px, 1px);
        color: #ff0000;
    }
}

.link:hover {
    color: #ff0000;
    border-bottom-color: #ff0000;
}

.data-stream {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255, 0, 0, 0.4), transparent);
    z-index: 998;
    pointer-events: none;
    animation: scan 7s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.screen-tear {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #ff0000, transparent);
    z-index: 997;
    pointer-events: none;
    opacity: 0;
    transform: translateY(0);
}

.screen-tear.active {
    animation: screenTear 0.5s;
}

@keyframes screenTear {
    0% {
        opacity: 0;
        transform: translateY(0) skewY(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(50vh) skewY(2deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) skewY(0deg);
    }
}

.container-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.glitch-block {
    position: absolute;
    background: rgba(255, 0, 0, 0.3);
    opacity: 0;
}

.glitch-block.active {
    animation: glitchBlock 0.15s;
}

@keyframes glitchBlock {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .info-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .logo {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

