:root {
    --bg-dark: #0a0a0a;
    --text-light: #f5f5f5;
    --text-muted: #888888;
    --arbyy-green: #00ff66;
    
    --font-main: 'Exo 2', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: none; 
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    background-image: url('image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--bg-dark);
}

/* ---------------- BOOT OS OBRAZOVKA ---------------- */
#boot-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #030303; z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 10vw; font-family: 'Courier New', Courier, monospace; color: var(--arbyy-green); transition: opacity 0.8s ease, visibility 0.8s ease; }
#boot-screen.hidden { opacity: 0; visibility: hidden; }
.terminal-text p { font-size: clamp(1rem, 3vw, 1.5rem); margin: 0.5rem 0; opacity: 0; text-shadow: 0 0 5px var(--arbyy-green); }
.cursor-blink { font-size: clamp(1rem, 3vw, 1.5rem); animation: blink 1s step-end infinite; margin-top: 0.5rem; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ---------------- CUSTOM KURZOR ---------------- */
.cursor-dot { width: 8px; height: 8px; background-color: var(--arbyy-green); border-radius: 50%; position: fixed; pointer-events: none; z-index: 1000; transform: translate(-50%, -50%); box-shadow: 0 0 10px var(--arbyy-green); transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease; }
.cursor-dot.active { width: 25px; height: 25px; background-color: transparent; border: 2px solid var(--arbyy-green); animation: cursorPulse 1s infinite alternate; }
.cursor-outline { width: 30px; height: 30px; border: 2px solid rgba(0, 255, 102, 0.2); border-radius: 50%; position: fixed; pointer-events: none; z-index: 999; transform: translate(-50%, -50%); transition: border-color 0.3s ease; }
.cursor-outline.active { border-color: rgba(0, 255, 102, 0.6); }
@keyframes cursorPulse { 0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 5px var(--arbyy-green); } 100% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 15px var(--arbyy-green); } }

/* ---------------- EASTER EGG MATRIX ---------------- */
#easter-egg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 998; display: none; }
#mega-trigger { cursor: none; position: relative; z-index: 100; }

/* ---------------- ANIMACE HERO ---------------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes assembleText { 0% { letter-spacing: 50px; opacity: 0; filter: blur(10px); transform: scale(1.2); } 100% { letter-spacing: -4px; opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes neonPulse { 0% { text-shadow: 0 0 10px rgba(0, 255, 102, 0.2); transform: translateY(0); } 50% { text-shadow: 0 0 30px rgba(0, 255, 102, 0.6), 0 0 60px rgba(0, 255, 102, 0.3); transform: translateY(-8px); } 100% { text-shadow: 0 0 10px rgba(0, 255, 102, 0.2); transform: translateY(0); } }

/* ---------------- GLITCH EFEKT ---------------- */
@keyframes glitch-anim-1 {
  0%, 90% { clip-path: inset(100% 0 100% 0); transform: translate(0); }
  92% { clip-path: inset(20% 0 80% 0); transform: translate(-4px, 2px); }
  94% { clip-path: inset(50% 0 30% 0); transform: translate(4px, -2px); }
  96% { clip-path: inset(10% 0 60% 0); transform: translate(-4px, 2px); }
  98% { clip-path: inset(80% 0 5% 0); transform: translate(4px, -2px); }
  100% { clip-path: inset(100% 0 100% 0); transform: translate(0); }
}

@keyframes glitch-anim-2 {
  0%, 90% { clip-path: inset(100% 0 100% 0); transform: translate(0); }
  92% { clip-path: inset(10% 0 60% 0); transform: translate(4px, 2px); }
  94% { clip-path: inset(80% 0 5% 0); transform: translate(-4px, -2px); }
  96% { clip-path: inset(20% 0 80% 0); transform: translate(4px, 2px); }
  98% { clip-path: inset(50% 0 30% 0); transform: translate(-4px, -2px); }
  100% { clip-path: inset(100% 0 100% 0); transform: translate(0); }
}

.mega-text::before, .mega-text::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; }
.mega-text::before { left: 3px; text-shadow: -2px 0 red; clip-path: inset(100% 0 100% 0); animation: glitch-anim-1 4s infinite linear alternate-reverse; }
.mega-text::after { left: -3px; text-shadow: -2px 0 blue; clip-path: inset(100% 0 100% 0); animation: glitch-anim-2 5s infinite linear alternate-reverse; }

/* ---------------- HERO SEKCE ---------------- */
.hero { height: 100vh; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 1rem; }
.mega-text { position: relative; font-family: var(--font-heading); font-size: clamp(4rem, 15vw, 8rem); font-weight: 900; color: var(--arbyy-green); letter-spacing: -4px; margin-bottom: -10px; text-transform: lowercase; opacity: 0; animation: assembleText 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, neonPulse 4s infinite alternate ease-in-out 1.5s; }
.name { font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; opacity: 0; animation: fadeInUp 1s ease-out forwards; animation-delay: 0.8s; }
.subtitle { font-size: clamp(1rem, 3vw, 1.2rem); color: var(--text-muted); font-weight: 300; opacity: 0; animation: fadeInUp 1s ease-out forwards; animation-delay: 1.1s; }
.social-links { display: flex; gap: 1.5rem; margin-top: 1.5rem; opacity: 0; animation: fadeInUp 1s ease-out forwards; animation-delay: 1.4s; }
.social-links a, .discord-badge { color: var(--text-muted); font-size: 1.8rem; text-decoration: none; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem; cursor: none; }
.discord-badge span { font-size: 1rem; font-weight: 700; }
.social-links a:hover, .discord-badge:hover { color: var(--arbyy-green); transform: translateY(-5px); }

/* ---------------- OBSAH ---------------- */
.container { max-width: 800px; width: 90%; padding: 4rem 0; text-align: center; }
h3 { font-size: 2rem; color: var(--arbyy-green); margin-bottom: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; font-weight: 300; }
strong { color: var(--text-light); font-weight: 700; }
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ---------------- COUNTERS ---------------- */
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1rem 0; }
.counter-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.5rem 1rem; border: 1px solid #222; border-radius: 12px; background: rgba(17,17,17,0.6); backdrop-filter: blur(4px); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.counter-item:hover { border-color: var(--arbyy-green); box-shadow: 0 0 15px rgba(0,255,102,0.1); }
.counter-value { display: flex; align-items: baseline; gap: 3px; }
.counter-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: var(--arbyy-green); line-height: 1; }
.counter-suffix { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 900; color: var(--arbyy-green); line-height: 1; }
.counter-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 300; text-align: center; }
@media (max-width: 600px) { .counters-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- PROJEKTY ---------------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.project-card { background-color: rgba(17, 17, 17, 0.85); border: 1px solid #222; border-radius: 12px; padding: 2.5rem 1.5rem 1.5rem; text-align: left; position: relative; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.project-card:hover { border-color: var(--arbyy-green); box-shadow: 0 0 20px rgba(0, 255, 102, 0.15); transform: translateY(-5px); }
.project-card h4 { color: var(--text-light); font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 700; }
.project-card p { font-size: 0.95rem; margin-bottom: 0; }
.wip-badge { position: absolute; top: -12px; right: 20px; background-color: var(--arbyy-green); color: var(--bg-dark); padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 900; border-radius: 20px; text-transform: uppercase; box-shadow: 0 0 10px rgba(0, 255, 102, 0.4); font-family: var(--font-main); }

/* ---------------- TLAČÍTKA ---------------- */
.btn { display: inline-block; padding: 1rem 2.5rem; border: 2px solid var(--arbyy-green); color: var(--arbyy-green); text-decoration: none; font-weight: 700; border-radius: 8px; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; cursor: none;}
.btn:hover { background-color: var(--arbyy-green); color: var(--bg-dark); box-shadow: 0 0 15px rgba(0, 255, 102, 0.4); }

/* ---------------- PATIČKA ---------------- */
footer { padding: 2.5rem 2rem; color: var(--text-muted); font-size: 0.9rem; margin-top: 2rem; text-align: center; font-weight: 300; border-top: 1px solid #1a1a1a; width: 100%; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); font-size: 1.3rem; text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; cursor: none; }
.footer-links a:hover { color: var(--arbyy-green); transform: translateY(-3px); }
.footer-copy { font-size: 0.85rem; }
.footer-heart { color: var(--arbyy-green); }

/* ---------------- RESPONSIVITA ---------------- */
@media (max-width: 600px) { .container { padding: 3rem 0; } p { font-size: 1rem; } .project-card { padding: 2.5rem 1.2rem 1.2rem; } }

/* ---------------- OPTIMALIZACE PRO DOTYKOVÁ ZAŘÍZENÍ (MOBILY) ---------------- */
@media (hover: none) and (pointer: coarse) {
    html, .btn, .social-links a, .discord-badge, #mega-trigger, .progress-fill {
        cursor: auto !important;
    }
    .cursor-dot, .cursor-outline, .cursor-trail {
        display: none !important;
    }
}

/* ---------------- SCROLL PROGRESS ---------------- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--arbyy-green); z-index: 10001; box-shadow: 0 0 8px var(--arbyy-green); transition: width 0.1s linear; }

/* ---------------- NAVIGACE ---------------- */
.main-nav { position: fixed; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 2.5rem; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.6s ease, background 0.3s ease, padding 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; }
.main-nav.visible { opacity: 1; pointer-events: all; }
.main-nav.scrolled { background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(12px); padding: 0.8rem 2.5rem; border-bottom-color: rgba(0, 255, 102, 0.1); }
.nav-logo { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 900; color: var(--arbyy-green); text-decoration: none; letter-spacing: 2px; text-shadow: 0 0 10px rgba(0,255,102,0.4); cursor: none; }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.3s ease; cursor: none; }
.nav-links a:hover { color: var(--arbyy-green); }
.nav-toggle { display: none; background: none; border: none; cursor: none; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-muted); transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--arbyy-green); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--arbyy-green); }

@media (max-width: 600px) {
    .nav-toggle { display: flex; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; gap: 0; background: rgba(10,10,10,0.97); backdrop-filter: blur(12px); max-height: 0; overflow: hidden; transition: max-height 0.35s ease; border-bottom: 1px solid #222; }
    .nav-links.open { max-height: 320px; }
    .nav-links li { padding: 0.9rem 2rem; border-bottom: 1px solid #1a1a1a; }
    .main-nav { padding: 1rem 1.5rem; }
    .main-nav.scrolled { padding: 0.8rem 1.5rem; }
}

/* ---------------- TYPEWRITER ---------------- */
.tw-cursor { color: var(--arbyy-green); animation: blink 1s step-end infinite; margin-left: 1px; font-weight: 300; }

/* ---------------- TECH STACK ---------------- */
.tech-title { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; margin-top: 3rem; margin-bottom: 1.2rem; font-weight: 300; text-align: center; }
.tech-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.tech-icon { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1rem 1.2rem; border: 1px solid #222; border-radius: 10px; min-width: 72px; background: rgba(17,17,17,0.6); transition: all 0.3s ease; backdrop-filter: blur(4px); }
.tech-icon:hover { border-color: var(--arbyy-green); transform: translateY(-5px); box-shadow: 0 0 15px rgba(0,255,102,0.12); }
.tech-icon i { font-size: 2rem; }
.tech-icon span { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------------- LOL STATS ---------------- */
.lol-card { background: rgba(17,17,17,0.85); border: 1px solid #222; border-radius: 12px; padding: 2rem 2.5rem; backdrop-filter: blur(5px); min-height: 110px; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.lol-card:hover { border-color: rgba(200,155,60,0.35); box-shadow: 0 0 20px rgba(200,155,60,0.08); }
.lol-loading { color: var(--text-muted); font-size: 1rem; }
.lol-info { display: flex; align-items: center; gap: 2rem; width: 100%; }
.lol-emblem { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(200,155,60,0.35)); }
.lol-details { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.lol-name { font-size: 1.4rem; font-weight: 700; color: var(--text-light); }
.lol-level, .lol-server { font-size: 0.85rem; color: var(--text-muted); font-weight: 300; margin-left: 0.5rem; }
.lol-rank { font-size: 1.1rem; color: rgb(200, 155, 60); font-weight: 700; }
.lol-winrate { font-size: 0.95rem; color: var(--text-muted); margin: 0; }
.wr-good { color: var(--arbyy-green); font-weight: 700; }
.wr-bad { color: #ff4d4d; font-weight: 700; }

@media (max-width: 600px) { .lol-info { gap: 1.2rem; } .lol-emblem { width: 60px; height: 60px; } .lol-name { font-size: 1.1rem; } }

/* ---------------- CUSTOM SCROLLBAR ---------------- */
html { scrollbar-width: thin; scrollbar-color: var(--arbyy-green) transparent; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--arbyy-green); border-radius: 2px; box-shadow: 0 0 8px var(--arbyy-green); }
::-webkit-scrollbar-thumb:hover { box-shadow: 0 0 14px var(--arbyy-green); }

/* ---------------- HW MONITOR ---------------- */
@keyframes scanline { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
.hw-monitor { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 500; background: rgba(8,8,8,0.92); border: 1px solid rgba(0,255,102,0.25); border-radius: 8px; padding: 0.75rem 1rem; font-family: 'Courier New', monospace; backdrop-filter: blur(12px); box-shadow: 0 0 20px rgba(0,255,102,0.08), inset 0 0 40px rgba(0,255,102,0.02); min-width: 148px; overflow: hidden; }
.hw-monitor::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30px; background: linear-gradient(transparent, rgba(0,255,102,0.04), transparent); animation: scanline 4s linear infinite; pointer-events: none; }
.hw-header { font-size: 0.58rem; letter-spacing: 3px; color: rgba(0,255,102,0.45); margin-bottom: 0.55rem; padding-bottom: 0.4rem; border-bottom: 1px solid rgba(0,255,102,0.12); display: flex; align-items: center; gap: 6px; }
.hw-blink { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--arbyy-green); animation: blink 1.5s step-end infinite; box-shadow: 0 0 5px var(--arbyy-green); flex-shrink: 0; }
.hw-row { display: flex; justify-content: space-between; gap: 1.2rem; margin: 0.28rem 0; }
.hw-label { font-size: 0.62rem; color: rgba(0,255,102,0.4); letter-spacing: 1px; }
.hw-value { font-size: 0.72rem; color: var(--arbyy-green); font-weight: bold; text-shadow: 0 0 6px var(--arbyy-green); }
@media (max-width: 600px) { .hw-monitor { bottom: 1rem; right: 1rem; min-width: 130px; } }


/* ---------------- AUDIO TOGGLE ---------------- */
.audio-toggle { background: none; border: 1px solid #333; color: var(--text-muted); font-size: 0.85rem; padding: 0.35rem 0.6rem; border-radius: 6px; cursor: none; transition: all 0.3s ease; flex-shrink: 0; }
.audio-toggle:hover { border-color: var(--arbyy-green); color: var(--arbyy-green); }
.audio-toggle.audio-on { border-color: rgba(0,255,102,0.4); color: var(--arbyy-green); }

/* ---------------- CURSOR TRAIL ---------------- */
.cursor-trail { width: 8px; height: 8px; background: var(--arbyy-green); border-radius: 50%; position: fixed; pointer-events: none; z-index: 996; transform: translate(-50%, -50%); }

/* ---------------- DISCORD STATUS DOT ---------------- */
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #747f8d; display: inline-block; margin-left: 6px; flex-shrink: 0; box-shadow: 0 0 6px currentColor; transition: background 0.5s ease; }

/* ---------------- NOW PLAYING ---------------- */
.now-playing { margin-top: 1.2rem; background: rgba(17,17,17,0.85); border: 1px solid #2a2a2a; border-radius: 14px; padding: 0.8rem 1.2rem; backdrop-filter: blur(10px); max-width: 360px; animation: fadeInUp 0.4s ease forwards; }
.np-content { display: flex; align-items: center; gap: 0.9rem; }
.np-art { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.np-text { display: flex; flex-direction: column; gap: 0.1rem; text-align: left; min-width: 0; }
.np-label { font-size: 0.68rem; color: #1db954; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.np-song { font-size: 0.9rem; color: var(--text-light); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-artist { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-game-icon { font-size: 2rem; color: var(--arbyy-green); flex-shrink: 0; }
.np-label .fa-brands { margin-right: 3px; }

/* ---------------- SCROLLSPY ACTIVE LINK ---------------- */
.nav-links a.active { color: var(--arbyy-green); }

/* ---------------- LANGUAGE TOGGLE ---------------- */
.lang-toggle { background: none; border: 1px solid #333; color: var(--text-muted); font-family: var(--font-main); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; padding: 0.35rem 0.7rem; border-radius: 6px; cursor: none; transition: border-color 0.3s ease; text-transform: uppercase; flex-shrink: 0; display: flex; align-items: center; gap: 4px; }
.lang-toggle:hover { border-color: var(--arbyy-green); }
.lang-opt { color: var(--text-muted); transition: color 0.3s ease; }
.lang-opt.active { color: var(--arbyy-green); }
.lang-sep { color: #444; }

/* ---------------- KONTAKT ---------------- */
.contact-email { display: flex; align-items: center; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.btn-copy { background: none; border: 2px solid #333; color: var(--text-muted); padding: 1rem 1.2rem; border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; cursor: none; }
.btn-copy:hover { border-color: var(--arbyy-green); color: var(--arbyy-green); box-shadow: 0 0 15px rgba(0,255,102,0.2); }
.copy-toast { display: inline-block; margin-top: 0.8rem; font-size: 0.85rem; color: var(--arbyy-green); opacity: 0; transition: opacity 0.3s ease; }
.copy-toast.visible { opacity: 1; }

/* ---------------- SECTION DIVIDERS ---------------- */
.section-divider { width: 90%; max-width: 800px; height: 1px; background: linear-gradient(to right, transparent, rgba(0, 255, 102, 0.25), transparent); margin: 0 auto; }
