/*
Theme Name: Colori Digital Animated (Bilingual)
Theme URI: https://boja.hr
Author: Bojan Zadravec Čolak
Description: Digital infrastructure with animated Colori logo, sticky grayscale header, Matrix background, EN/HR support and Levitating Scrolling Rebel Badge.
Version: 34.0.0
Text Domain: colori
*/
:root { --neon-cyan: #0ff; --neon-green: #39ff14; --neon-blue: #0088ff; --neon-red: #ff003c; --neon-magenta: #ff00ff; --neon-amber: #ffb000; --bg-dark: #050505; }
body { background-color: var(--bg-dark); color: var(--neon-cyan); font-family: 'Share Tech Mono', monospace; overflow-x: hidden; position: relative; margin: 0; }
::selection { background: var(--neon-cyan); color: #000; }
.vignette { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; box-shadow: 0 0 200px rgba(0,0,0,0.95) inset; pointer-events: none; z-index: 9998; }
.scan-bar { position: fixed; top: 0; left: 0; width: 100vw; height: 4px; background: rgba(0, 255, 255, 0.4); box-shadow: 0 0 15px rgba(0, 255, 255, 0.6); opacity: 0.7; pointer-events: none; z-index: 9999; animation: scanbar 8s linear infinite; }
@keyframes scanbar { 0% { top: -10vh; } 100% { top: 110vh; } }
.scanlines { position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); z-index: 1; background-size: 100% 2px, 3px 100%; pointer-events: none; }
.crt::after { content: " "; display: block; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: rgba(18, 16, 16, 0.1); opacity: 0; z-index: 2; pointer-events: none; animation: flicker 0.15s infinite; }
@keyframes flicker { 0%, 100% { opacity: 0.02; } 50% { opacity: 0.05; } }
#matrix-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; opacity: 1; pointer-events: none; display: block; }
.title-orbitron { font-family: 'Orbitron', sans-serif; }

/* ANIMACIJA SLOVA */
@keyframes neonCycle {
    0%, 100% { color: #0ff; filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8)); }
    16.6% { color: #39ff14; filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.8)); }
    33.3% { color: #ff00ff; filter: drop-shadow(0 0 15px rgba(255, 0, 255, 0.8)); }
    50% { color: #ffb000; filter: drop-shadow(0 0 15px rgba(255, 176, 0, 0.8)); }
    66.6% { color: #ff003c; filter: drop-shadow(0 0 15px rgba(255, 0, 60, 0.8)); }
    83.3% { color: #0088ff; filter: drop-shadow(0 0 15px rgba(0, 136, 255, 0.8)); }
}
.anim-letter { display: inline-block; animation: neonCycle 6s linear infinite; }
.anim-letter:nth-child(1) { animation-delay: 0s; }
.anim-letter:nth-child(2) { animation-delay: -1s; }
.anim-letter:nth-child(3) { animation-delay: -2s; }
.anim-letter:nth-child(4) { animation-delay: -3s; }
.anim-letter:nth-child(5) { animation-delay: -4s; }
.anim-letter:nth-child(6) { animation-delay: -5s; }

/* LEBDEĆI KOSTUR - ANIMACIJE */
@keyframes hoverFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.floating-skull {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 50;
    animation: hoverFloat 3.5s ease-in-out infinite;
    transition: top 0.15s ease-out, opacity 0.3s ease, filter 0.3s ease;
}

.custom-logo-wrapper img, .custom-logo {
    max-width: 100%;
    height: auto;
    max-height: 120px; /* Smanjeno za ~30% */
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    transition: all 0.1s linear; /* Brža tranzicija za skrol */
}
.custom-logo-wrapper img:hover, .custom-logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
    transform: scale(1.02);
}

.footer-logo img {
    max-height: 80px;
    opacity: 0.7;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
    transition: all 0.3s ease;
}
.footer-logo img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8));
    transform: scale(1.05);
}

.neon-border-green { border: 1px solid var(--neon-green); box-shadow: 0 0 5px var(--neon-green), inset 0 0 5px var(--neon-green); background: rgba(5, 5, 5, 0.7); color: var(--neon-green); }
.neon-border-blue { border: 1px solid var(--neon-blue); box-shadow: 0 0 5px var(--neon-blue), inset 0 0 5px var(--neon-blue); background: rgba(5, 5, 5, 0.7); color: var(--neon-blue); }
.neon-border-red { border: 1px solid var(--neon-red); box-shadow: 0 0 5px var(--neon-red), inset 0 0 5px var(--neon-red); background: rgba(5, 5, 5, 0.7); color: var(--neon-red); }
.neon-border-cyan { border: 1px solid var(--neon-cyan); box-shadow: 0 0 5px var(--neon-cyan), inset 0 0 5px var(--neon-cyan); background: rgba(5, 5, 5, 0.7); }
.neon-border-magenta { border: 1px solid var(--neon-magenta); box-shadow: 0 0 5px var(--neon-magenta), inset 0 0 5px var(--neon-magenta); background: rgba(5, 5, 5, 0.7); color: var(--neon-magenta); }
.neon-border-amber { border: 1px solid var(--neon-amber); box-shadow: 0 0 5px var(--neon-amber), inset 0 0 5px var(--neon-amber); background: rgba(5, 5, 5, 0.7); color: var(--neon-amber); }

.glitch { position: relative; color: white; text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.025em -0.05em 0 rgba(0,255,0,.75), 0.025em 0.05em 0 rgba(0,0,255,.75); animation: glitch 500ms infinite; }
@keyframes glitch { 0%, 14%, 100% { text-shadow: 0.05em 0 0 rgba(255,0,0,.75), -0.05em -0.025em 0 rgba(0,255,0,.75), -0.025em 0.05em 0 rgba(0,0,255,.75); } 15%, 49% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,.75), 0.025em 0.025em 0 rgba(0,255,0,.75), -0.05em -0.05em 0 rgba(0,0,255,.75); } 50%, 99% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,.75), 0.05em 0 0 rgba(0,255,0,.75), 0 -0.05em 0 rgba(0,0,255,.75); } }
.cyber-button { background: rgba(0, 0, 0, 0.9); color: var(--neon-cyan); border: 2px solid var(--neon-cyan); text-transform: uppercase; letter-spacing: 2px; transition: all 0.3s ease; }
.cyber-button:hover { background: var(--neon-cyan); color: var(--bg-dark); box-shadow: 0 0 15px var(--neon-cyan); }
.price-tag { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed currentColor; }