/* === ZÁKLADNÍ NASTAVENÍ === */
:root {
    --bg-color: #121212; 
    --panel-bg: #1a1a1a; 
    --stroke-color: #292929;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default; 
}

input, textarea, .about-desc, .skill-secret, .subtitle {
    user-select: auto;
    cursor: text;
}

/* Třída pro stoprocentní skrytí honeypot pasti před běžnými uživateli */
.hidden {
    display: none !important;
}

.section-container {
    min-height: 100vh;
    scroll-margin-top: 80px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 50px;
}

/* === NAVIGAČNÍ LIŠTA === */
.navbar {
    position: fixed;
    top: 0; width: 100%; height: 80px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 50px;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--stroke-color);
    z-index: 1000;
}
.nav-logo { height: 50px; transition: all 0.4s ease; filter: drop-shadow(0 0 2px rgba(255,255,255,0.1)); cursor: pointer; }
.nav-logo:hover { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(255,255,255,0.8)); }
.nav-links { display: flex; gap: 40px; }
.nav-links a { color: var(--text-color); text-decoration: none; font-weight: 500; font-size: 1.1rem; transition: all 0.3s ease; cursor: pointer; }

.nav-links a:hover, .nav-links a.active {
    text-shadow: 0 0 15px #ffffff, 0 0 30px #ffffff;
}

.socials { display: flex; gap: 20px; align-items: center; }
.social-icon { color: var(--text-color); width: 24px; height: 24px; transition: all 0.3s ease; cursor: pointer; }
.discord-btn { background: none; border: none; outline: none; }
.social-icon:hover { transform: translateY(-3px); filter: drop-shadow(0 0 10px #ffffff); }

#discord-toast {
    position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%);
    background-color: var(--panel-bg); color: #fff; padding: 15px 30px;
    border: 2px solid #5865F2; border-radius: 30px; font-weight: 700;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6); z-index: 9999;
    transition: bottom 0.5s ease;
}
#discord-toast.show { bottom: 40px; }

/* === HERO SEKCE (ÚVOD) === */
.hero { justify-content: center; text-align: center; }
.main-title { font-size: 5.5rem; font-weight: 900; letter-spacing: 2px; margin-bottom: 10px; }
.hero .subtitle { font-size: 1.5rem; font-weight: 100; font-style: italic; color: var(--text-muted); margin-bottom: 25px; }

.achievements { display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 15px; margin-left: 20px; }
.achiev-pill {
    position: relative; background-color: var(--panel-bg); border: 1px solid var(--stroke-color);
    border-radius: 100px; display: flex; align-items: center; padding: 8px 25px 8px 30px;
    margin-left: 20px; transition: all 0.4s ease; white-space: nowrap;
}
.achiev-pill .icon { position: absolute; left: -20px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)); }
.achiev-pill .text-content { text-align: left; }
.achiev-pill h3 { font-size: 0.7rem; font-weight: 800; margin-bottom: 0px; letter-spacing: 0.5px; text-transform: uppercase; }
.achiev-pill p { font-size: 0.9rem; font-weight: 100; font-style: italic; color: var(--text-muted); }

.blue-neon:hover { border-color: #00e5ff; box-shadow: 0 0 20px rgba(0, 229, 255, 0.4); transform: translateY(-4px); }
.red-neon:hover { border-color: #ff0055; box-shadow: 0 0 20px rgba(255, 0, 85, 0.4); transform: translateY(-4px); }
.purple-neon:hover { border-color: #b000ff; box-shadow: 0 0 20px rgba(176, 0, 255, 0.4); transform: translateY(-4px); }

/* === PORTFOLIO === */
.portfolio { display: block; padding-top: 100px; }

.portfolio-header {
    background-color: var(--panel-bg);
    border: 1px solid var(--stroke-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 50px;
    width: 100%;
}

.port-top-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    border-bottom: 1px solid var(--stroke-color); padding-bottom: 15px; margin-bottom: 15px;
}

.port-left { display: flex; flex-direction: column; gap: 10px; }
.port-title-area { display: flex; align-items: center; gap: 15px; }
.port-logo { height: 40px; }
.port-title-area h2 { font-size: 2rem; font-weight: 800; letter-spacing: 1px; }

.platform-toggles { display: flex; gap: 10px; }
.plat-btn {
    background: transparent; border: 1px solid var(--stroke-color); color: var(--text-muted);
    padding: 5px 15px; border-radius: 30px; font-size: 0.8rem; cursor: pointer; transition: all 0.3s;
}
.plat-btn.active { border-color: #fff; color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.2); }

.format-toggles { display: flex; gap: 5px; }
.fmt-btn {
    background: transparent; border: 1px solid var(--stroke-color); color: var(--text-muted);
    padding: 10px 20px; cursor: pointer; transition: all 0.3s; font-size: 1rem;
}
.fmt-btn:first-child { border-radius: 8px 0 0 8px; }
.fmt-btn:last-child { border-radius: 0 8px 8px 0; border-left: none; }

.fmt-btn.active { background-color: rgba(255,255,255,0.1); color: #fff; transform: scale(0.95); box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); }

/* Oprava zámku - Změna kurzoru místo zakázání akcí */
.blurred-disabled { 
    filter: blur(2px); 
    opacity: 0.6; 
    cursor: not-allowed; 
}

/* BUBLINY TVŮRCŮ */
.creators-bar { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 5px; cursor: pointer; }
.creators-bar::-webkit-scrollbar { height: 0px; }

.creator-pill {
    display: flex; align-items: center; background-color: var(--bg-color);
    border: 1px solid var(--stroke-color); border-radius: 50px; padding: 5px; cursor: pointer;
    max-width: 50px; transition: max-width 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s; overflow: hidden;
}

.creator-pill:hover, .creator-pill.selected { max-width: 250px; border-color: #555; }
.creator-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; transition: all 0.3s ease; }
.icon-mode { display: flex; justify-content: center; align-items: center; font-size: 1.2rem; background: #222; }
.creator-pill:hover .creator-avatar, .creator-pill.selected .creator-avatar { box-shadow: 0 0 10px rgba(255,255,255,0.5); }

.creator-details {
    display: flex; flex-direction: column; padding-left: 10px; padding-right: 15px;
    opacity: 0; white-space: nowrap; transition: opacity 0.3s ease 0.1s; 
}
.creator-pill:hover .creator-details, .creator-pill.selected .creator-details { opacity: 1; }
.c-name { font-size: 0.85rem; font-weight: 700; color: #fff; }
.c-subs { font-size: 0.75rem; font-style: italic; color: var(--text-muted); }

/* MŘÍŽKA VIDEÍ */
.portfolio-content { width: 100%; display: flex; justify-content: center; }
.please-select-text { font-size: 2.5rem; font-weight: 100; font-style: italic; color: var(--text-muted); opacity: 0.5; margin-top: 50px; }
.video-grid { display: flex; flex-wrap: wrap; gap: 30px; width: 100%; }

.port-video-card { text-decoration: none; color: var(--text-color); flex: 1 1 320px; max-width: 450px; transition: transform 0.3s ease; cursor: pointer; }
.port-video-card .thumbnail { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--stroke-color); margin-bottom: 10px; transition: all 0.3s ease; }
.port-video-card .thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.port-video-card h3 { font-size: 1.1rem; font-weight: 500; transition: color 0.3s ease; }

.port-video-card:hover { transform: translateY(-5px); }
.port-video-card:hover .thumbnail { box-shadow: 0 10px 25px rgba(255,255,255,0.15); border-color: #555; }
.port-video-card:hover .thumbnail img { transform: scale(1.05); }
.port-video-card:hover h3 { text-shadow: 0 0 8px rgba(255,255,255,0.3); }


/* === SEKCE O MNĚ === */
.about {
    justify-content: center;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px; 
    max-width: 1250px; 
    width: 100%;
}

@media (max-width: 900px) {
    .about-wrapper { flex-direction: column; text-align: center; gap: 40px; }
}

.about-image-container {
    position: relative;
    flex: 1.3; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    position: relative;
    z-index: 1;
    width: 100%; 
    max-width: 700px; 
    height: auto;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

.about-text-container {
    flex: 1; 
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 20px;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* --- Skill Bary --- */
.skill-bars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-pill {
    background-color: var(--panel-bg);
    border: 1px solid var(--stroke-color);
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
}

.skill-track {
    width: 100%;
    height: 6px;
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px currentColor;
}

.skill-secret {
    max-height: 0;
    opacity: 0;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    transition: all 0.4s ease;
    margin-top: 0;
}

.skill-pill:hover { transform: translateY(-3px); }
.skill-pill:hover .skill-secret { max-height: 30px; opacity: 1; margin-top: 10px; }
.grey-neon:hover { border-color: #888; box-shadow: 0 0 20px rgba(136, 136, 136, 0.4); }


/* === SEKCE KONTAKT === */
.contact-wrapper {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-input {
    width: 100%;
    background-color: var(--panel-bg);
    border: 1px solid var(--stroke-color);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-input:focus { border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.1); }
.form-textarea { resize: vertical; }

.chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.chip input[type="radio"] { display: none; }

.chip-text {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--stroke-color);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.chip input[type="radio"]:checked + .chip-text {
    background-color: #fff;
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
    border-color: #fff;
}

.gdpr-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-top: 5px;
}

.submit-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255,255,255,0.5);
}


/* === FINÁLNÍ PATIČKA (FOOTER) === */
.footer {
    width: 100%;
    background-color: #0d0d0010; 
    border-top: 1px solid var(--stroke-color);
    padding: 30px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.footer-content {
    max-width: 1250px;
    width: 100%;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}