/*
Theme Name: inQer Theme
Theme URI: https://inqer.eu
Author: inQer.eu
Description: Custom cyberpunk theme for inQer.eu gaming community.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: inqer
*/

/* ============================================================
   inQer.eu — Unified Stylesheet
   ============================================================ */

   :root {
    --cyan: #00f2ff;
    --cyan-dim: rgba(0, 242, 255, 0.5);
    --bg: #050608;
    --text: #ffffff;
    --text-muted: #8a9199;
    --glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --discord: #5865F2;
    --twitch: #9146FF;
    --youtube: #FF0000;
    --color-eco:  #85ff9e;
    --color-dayz: #ff3131;
    --color-arma: #3d727d;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Vrstva 1: statické rozmazané pozadí — žádná animace */
body::before {
    content: '';
    position: fixed;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    background: linear-gradient(rgba(5, 6, 8, 0.9), rgba(13, 15, 18, 0.95)),
                url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: blur(5px);
}

/* Vrstva 2: animovaný pohyb — čistý transform, žádný blur = GPU vrstva */
body::after {
    content: '';
    position: fixed;
    top: -10%; left: -10%;
    width: 120%; height: 120%;
    z-index: -1;
    animation: bgScroll 90s linear infinite;
    will-change: transform;
    pointer-events: none;
}

@keyframes bgScroll {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-2%, -2%); }
    100% { transform: translate(0, 0); }
}

.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 50%, rgba(0,0,0,.1) 50%);
    background-size: 100% 4px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* NAVIGACE */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    z-index: 10;
    position: relative;
}

.header-avatar {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--border-glass);
    color: var(--cyan-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}

.header-avatar:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 20px var(--cyan-dim);
    transform: translateY(-50%) scale(1.1);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}

/* ── Server Status Widget ───────────────────────────────── */
.header-servers {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
}

.header-servers-icon {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--border-glass);
    color: var(--cyan-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}

.header-servers-icon:hover,
.header-servers[aria-expanded="true"] .header-servers-icon {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 20px var(--cyan-dim);
    transform: scale(1.1);
}

.header-servers-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 220px;
    background: rgba(5, 6, 8, 0.97);
    border: 1px solid var(--border-glass);
    padding: 10px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.header-servers-panel.hsp-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* small arrow tip */
.hsp-arrow {
    position: absolute;
    top: -6px;
    left: 18px;
    width: 10px;
    height: 10px;
    background: rgba(5, 6, 8, 0.97);
    border-left: 1px solid var(--border-glass);
    border-top: 1px solid var(--border-glass);
    transform: rotate(45deg);
}

.hsp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    text-decoration: none;
    color: var(--text-muted);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    transition: background 0.15s, color 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hsp-row:last-child { border-bottom: none; }

.hsp-row:hover {
    background: rgba(0, 242, 255, 0.05);
    color: #fff;
}

.hsp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hsp-dot--online  { background: #39ff14; box-shadow: 0 0 6px #39ff14; }
.hsp-dot--offline { background: #ff3131; box-shadow: 0 0 6px #ff3131; }

.hsp-name {
    flex: 1;
    font-weight: 600;
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hsp-players {
    font-family: 'Teko', sans-serif;
    font-size: 1rem;
    color: var(--cyan-dim);
    letter-spacing: 0.05em;
}

.nav-container {
    background: var(--glass);
    border: 1px solid var(--border-glass);
    padding: 10px 30px;
    border-radius: 4px;
    clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

nav ul { list-style: none; display: flex; align-items: center; gap: 10px; }

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 15px;
    transition: 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 15%;
    width: 70%; height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--cyan);
}

nav a:hover { color: var(--text); text-shadow: 0 0 10px var(--cyan-dim); }
nav a:hover::after { transform: scaleX(1); }
nav a.active, .current-menu-item > a, .current_page_item > a { color: var(--cyan); text-shadow: 0 0 10px var(--cyan-dim); }
nav a.active::after, .current-menu-item > a::after, .current_page_item > a::after { transform: scaleX(1); }

.logo-mid { margin: 0 30px; transition: 0.3s; }
.logo-mid:hover { transform: scale(1.05); }
.logo-mid img { height: 90px; display: block; filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3)); }

/* PATIČKA */
.main-footer { margin-top: auto; position: relative; z-index: 1; width: 100%; }

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    background: linear-gradient(180deg, transparent, rgba(5,6,8,0.8));
}

.social-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--glass);
    border: 1px solid var(--border-glass);
    padding: 15px 25px;
    min-width: 250px;
    transition: 0.3s ease;
    position: relative;
}

.social-box::before { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--border-glass); transition: 0.3s ease; }
.social-box:hover { color: var(--text); background: rgba(255,255,255,0.05); transform: translateY(-3px); border-color: rgba(255,255,255,0.15); }
.discord-link:hover::before { background: var(--discord); box-shadow: 0 0 10px var(--discord); }
.twitch-link:hover::before  { background: var(--twitch);  box-shadow: 0 0 10px var(--twitch); }
.youtube-link:hover::before { background: var(--youtube); box-shadow: 0 0 10px var(--youtube); }
.social-box i { font-size: 2rem; color: var(--text-muted); transition: 0.3s ease; }
.discord-link:hover i { color: var(--discord); }
.twitch-link:hover i  { color: var(--twitch); }
.youtube-link:hover i { color: var(--youtube); }
.social-info { display: flex; flex-direction: column; line-height: 1.2; }
.social-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.social-name { font-family: 'Teko', sans-serif; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }

.copyright-bar { width: 100%; padding: 20px 0; background: rgba(4, 4, 5, 1); position: relative; }
.copyright-bar::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: var(--cyan); box-shadow: 0 0 15px 1px var(--cyan); opacity: 0.6; }
.cp-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 50px; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 1px; }
.cp-links { display: flex; gap: 20px; align-items: center; }
.cp-links a { color: var(--text-muted); text-decoration: none; transition: 0.3s; text-transform: uppercase; font-size: 0.75rem; }
.cp-links a:hover { color: var(--cyan); }
.separator { color: rgba(255,255,255,0.05); }

/* HOMEPAGE — Hero */
.hero-subtitle { color: var(--cyan); font-family: 'Teko', sans-serif; font-size: 1.8rem; letter-spacing: 8px; font-weight: 400; margin-bottom: 5px; text-shadow: 0 0 15px var(--cyan); }

.hero-title {
    font-family: 'Teko', sans-serif;
    font-size: 10rem;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.btn-browse { font-family: 'Teko', sans-serif; font-size: 2rem; letter-spacing: 5px; text-transform: uppercase; color: var(--cyan); text-decoration: none; border: 1px solid var(--cyan); padding: 15px 50px; transition: 0.3s ease; position: relative; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); }
.btn-browse:hover { background: var(--cyan); color: #000; box-shadow: 0 0 30px var(--cyan-dim); }

.chevron-decor { position: absolute; font-family: 'Teko', sans-serif; font-size: 20rem; color: rgba(255,255,255,0.02); top: 50%; transform: translateY(-50%); user-select: none; line-height: 1; }
.chevron-left { left: 5%; }
.chevron-right { right: 5%; }

/* NEWS — Novinky */
main.news-main {
    flex: 1;
    padding: 40px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.main-wrapper {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    grid-template-rows: 400px 400px;
    gap: 20px;
}

.tile {
    background: var(--glass);
    border: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.tile:hover {
    border-color: var(--cyan-dim);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0, 242, 255, 0.05);
    z-index: 5;
}

.hero-main {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(0, 40, 60, 0.5) 0%, rgba(5, 6, 8, 0.72) 100%);
    text-align: center;
    padding: 50px 30px 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: default;
}

.hero-main:hover {
    transform: none;
    border-color: var(--border-glass);
    box-shadow: none;
}

.hero-main::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }

.congrats { color: var(--cyan); font-family: 'Teko', sans-serif; font-size: 1.1rem; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 5px; text-shadow: 0 0 10px var(--cyan-dim); }
.streamer-name { font-family: 'Teko', sans-serif; font-size: 6.2rem; line-height: 0.85; text-transform: uppercase; margin: 15px 0; color: #fff; text-shadow: 0 0 20px rgba(0, 242, 255, 0.3); }
.milestone { font-family: 'Teko', sans-serif; font-size: 1.4rem; letter-spacing: 2px; color: #fff; text-transform: uppercase; background: rgba(0, 242, 255, 0.1); padding: 4px 18px; border-left: 3px solid var(--cyan); display: inline-block; }
.hero-character { width: 100%; max-width: 380px; margin-top: auto; filter: drop-shadow(0 10px 30px rgba(0, 242, 255, 0.15)); transition: 0.5s; }
.hero-main:hover .hero-character { filter: drop-shadow(0 10px 40px rgba(0, 242, 255, 0.3)); }
.hero-panel-spacer { width: 100%; max-width: 380px; min-height: 220px; margin-top: auto; }
.info-plus { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-family: 'Teko', sans-serif; font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; transition: 0.3s; background: var(--glass); padding: 10px 25px; border: 1px solid var(--border-glass); border-radius: 4px; }
.info-plus { text-decoration: none; }
.info-plus:hover { color: var(--cyan); border-color: var(--cyan-dim); }
.info-plus i { font-size: 1.1rem; color: var(--cyan); }

.tile-text { padding: 35px; }
a.tile-text { color: var(--text); text-decoration: none; display: block; }
.cat-label { display: inline-block; font-family: 'Teko', sans-serif; font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(0, 242, 255, 0.2); background: rgba(0, 242, 255, 0.05); padding: 2px 12px; margin-bottom: 15px; }
.tile-text h2 { font-family: 'Teko', sans-serif; font-size: 2.2rem; line-height: 1.1; text-transform: uppercase; margin-bottom: 10px; color: #fff; transition: 0.3s; }
.tile:hover h2 { color: var(--cyan); }
.tile-text .date { display: block; font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.tile-text p { color: #aaa; font-size: 0.95rem; line-height: 1.6; }
.tile-text::after { content: '→'; position: absolute; bottom: 20px; right: 25px; font-family: 'Teko', sans-serif; font-size: 1.5rem; color: var(--text-muted); transition: 0.3s; }
.tile-text:hover::after { color: var(--cyan); transform: translateX(3px); }

.tile-img { overflow: hidden; background-color: var(--bg); padding: 0; }
.tile-img-inner { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s ease, filter 0.5s ease; filter: grayscale(100%) contrast(110%) brightness(0.6); }
.tile-img:hover .tile-img-inner { transform: scale(1.08); filter: grayscale(0%) contrast(100%) brightness(1); }

a.news-card {
    text-decoration: none;
    color: #fff;
    background-color: transparent;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    align-items: stretch;
    justify-content: flex-end;
    border: 0 !important;
    outline: 1px solid rgba(120, 135, 155, 0.35);
    outline-offset: -1px;
    box-shadow: none !important;
}

a.news-card:hover {
    /* Keep clean hover without inset side artifacts */
    border: 0 !important;
    outline: 1px solid rgba(0, 242, 255, 0.6);
    outline-offset: -1px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45) !important;
    transform: translateY(-5px);
}

.news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 6, 8, 0.02) 0%, rgba(5, 6, 8, 0.14) 55%, rgba(5, 6, 8, 0.82) 100%);
    transition: background 0.3s ease;
    pointer-events: none;
}

.news-card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    padding-bottom: 64px;
}

.news-card .cat-label {
    position: absolute;
    right: 18px;
    bottom: 16px;
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.news-card h2 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(1.45rem, 1.6vw, 1.55rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0;
    color: #fff;
    transition: color 0.3s ease;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.news-card .date {
    display: block;
    position: absolute;
    left: 18px;
    bottom: 16px;
    font-size: 0.75rem;
    color: #bfc3c8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 700;
}

.news-card p {
    color: #b5b9c0;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.news-card:hover h2 { color: var(--cyan); }
.news-card:hover .news-card-overlay {
    background: linear-gradient(180deg, rgba(5, 6, 8, 0) 0%, rgba(5, 6, 8, 0.1) 55%, rgba(5, 6, 8, 0.76) 100%);
}

.pagination-container { margin-top: 60px; display: flex; justify-content: center; align-items: center; gap: 15px; padding: 10px 30px; background: var(--glass); border: 1px solid var(--border-glass); border-radius: 4px; }
.pg-arrow, .pg-num, .active-pg, .pg-dots { font-family: 'Teko', sans-serif; font-size: 1.3rem; cursor: pointer; transition: 0.3s; color: var(--text-muted); padding: 5px 12px; border: 1px solid transparent; }
.active-pg { color: var(--cyan); border-color: var(--cyan); }
.pg-num:hover { color: var(--text); }
.pg-arrow:hover { color: var(--cyan); }
/* WP pagination links */
.pagination-container a { text-decoration: none; }
.pagination-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pagination-container li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pagination-container .page-numbers { font-family: 'Teko', sans-serif; font-size: 1.3rem; color: var(--text-muted); padding: 5px 12px; border: 1px solid transparent; transition: 0.3s; }
.pagination-container .page-numbers.current { color: var(--cyan); border-color: var(--cyan); }
.pagination-container .page-numbers:hover { color: var(--text); }

/* SERVER.HTML */
main.server-main { flex: 1; padding: 80px 20px 60px; z-index: 1; position: relative; text-align: center; }
.header-top { color: var(--cyan); font-family: 'Teko', sans-serif; font-size: 1rem; letter-spacing: 6px; text-transform: uppercase; margin-bottom: 5px; }
.header-main { font-family: 'Teko', sans-serif; font-size: 7rem; text-transform: uppercase; margin-bottom: 60px; background: linear-gradient(180deg, #fff 0%, #555 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 0.9; }

.server-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; max-width: 1200px; margin: 0 auto; }

.server-card {
    width: 320px;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border-glass);
    overflow: hidden;
    position: relative;
    transition: 0.4s ease;
    padding: 30px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.card-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease, filter 0.5s ease; filter: brightness(0.4) saturate(0.6); z-index: 0; }
.server-card:hover .card-image { transform: scale(1.05); filter: brightness(1) saturate(1); }
.server-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(5,6,8,0.9), transparent); z-index: 1; }
.server-label { font-family: 'Teko', sans-serif; font-size: 0.85rem; letter-spacing: 4px; color: var(--text-muted); text-transform: uppercase; position: relative; z-index: 2; transition: 0.3s; }
.server-name { font-family: 'Teko', sans-serif; font-size: 3.5rem; font-weight: 700; text-transform: uppercase; line-height: 1; position: relative; z-index: 2; }
.server-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--cyan); transform: scaleX(0); transition: transform 0.3s ease; z-index: 3; }
.server-card:hover::after { transform: scaleX(1); }
.server-eco::after   { background: var(--color-eco); }
.server-dayz::after  { background: var(--color-dayz); }
.server-arma::after  { background: var(--color-arma); }
.server-eco .server-name   { color: var(--color-eco); }
.server-dayz .server-name  { color: var(--color-dayz); }
.server-arma .server-name  { color: var(--color-arma); }
.server-card.server-eco:hover  { background: rgba(133, 255, 158, 0.05); border-color: rgba(133, 255, 158, 0.3); }
.server-card.server-dayz:hover { background: rgba(255, 49, 49, 0.05); border-color: rgba(255, 49, 49, 0.3); }
.server-card.server-arma:hover { background: rgba(61, 114, 125, 0.05); border-color: rgba(61, 114, 125, 0.3); }
.server-card.server-eco:hover .server-label  { color: var(--color-eco); }
.server-card.server-dayz:hover .server-label { color: var(--color-dayz); }
.server-card.server-arma:hover .server-label { color: var(--color-arma); }
.server-card.server-eco:hover .server-name  { text-shadow: 0 0 10px rgba(133, 255, 158, 0.5); }
.server-card.server-dayz:hover .server-name { text-shadow: 0 0 10px rgba(255, 49, 49, 0.5); }
.server-card.server-arma:hover .server-name { text-shadow: 0 0 10px rgba(61, 114, 125, 0.5); }

/* SERVER_INFO.HTML */
main.info-main { flex: 1; display: grid; grid-template-columns: 80px 1fr 350px; gap: 0; z-index: 1; position: relative; min-height: calc(100vh - 200px); }
.side-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 40px 20px; border-right: 1px solid var(--border-glass); }
.nav-dot { width: 50px; height: 50px; background: var(--glass); border: 1px solid var(--border-glass); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; color: var(--text-muted); font-size: 1rem; }
.nav-dot.active, .nav-dot:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 15px rgba(0,242,255,0.2); }
.info-container { padding: 60px; overflow: hidden; }
.content-section { display: none; }
.content-section.active { display: block; }
.brand-label { color: var(--cyan); font-family: 'Teko', sans-serif; font-size: 1rem; letter-spacing: 5px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.server-title { font-family: 'Teko', sans-serif; font-size: 7rem; line-height: 0.85; text-transform: uppercase; margin: 10px 0 40px 0; background: linear-gradient(180deg, #fff 0%, #888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 30px; margin-bottom: 40px; padding: 20px; background: var(--glass); border: 1px solid var(--border-glass); border-left: 4px solid var(--cyan); }
.stat-box .label { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; }
.stat-box .label i { color: var(--cyan); font-size: 0.8rem; }
.stat-box .value { font-family: 'Teko', sans-serif; font-size: 1.8rem; color: #fff; line-height: 1; }
.ip-highlight { font-size: 1.4rem !important; color: var(--cyan) !important; }
.description { max-width: 600px; color: var(--text-muted); line-height: 1.8; font-size: 1rem; border-top: 1px solid var(--border-glass); padding-top: 25px; }
.info-list { list-style: none; margin-top: 20px; }
.info-list li { margin-bottom: 15px; padding-left: 15px; border-left: 2px solid var(--cyan); }
.info-list strong { color: var(--cyan); display: inline; font-family: 'Teko', sans-serif; font-size: 1.2rem; text-transform: uppercase; }
.visual-container { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.accent-shape { position: absolute; right: 0; width: 300px; height: 80%; background: linear-gradient(180deg, var(--cyan) 0%, rgba(0, 136, 204, 0.5) 100%); clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%); z-index: 1; opacity: 0.2; opacity: 0.15; }
.admin-meta { position: absolute; top: 10%; right: 10%; text-align: right; z-index: 5; }
.admin-meta h3 { font-family: 'Teko', sans-serif; font-size: 5rem; line-height: 0.9; text-transform: uppercase; color: #fff; }
.admin-meta .role { color: var(--cyan); font-family: 'Teko', sans-serif; font-size: 1.5rem; letter-spacing: 3px; }
.diamond-cascade { position: absolute; right: 20px; display: flex; flex-direction: column; gap: 25px; z-index: 10; }
.diamond-link { text-decoration: none; transition: transform 0.3s ease; }
.small-diamond { width: 60px; height: 60px; background: var(--glass); transform: rotate(45deg); border: 1px solid var(--border-glass); display: flex; justify-content: center; align-items: center; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; position: relative; overflow: hidden; }
.small-diamond img { width: 60%; transform: rotate(-45deg); filter: grayscale(1) opacity(0.7); transition: 0.4s ease; }
.diamond-link:hover .small-diamond { border-color: var(--cyan); background: rgba(0, 242, 255, 0.1); box-shadow: 0 0 20px var(--cyan-dim); transform: rotate(45deg) scale(1.1); }
.diamond-link:hover img { filter: grayscale(0) opacity(1) drop-shadow(0 0 5px var(--cyan)); transform: rotate(-45deg) scale(1.1); }
.small-diamond.active { border-color: var(--cyan); box-shadow: 0 0 15px var(--cyan-dim); background: rgba(0, 242, 255, 0.05); }
.small-diamond.active img { filter: grayscale(0) opacity(1); }

/* ARTICLE — single.php */
main.article-main { flex: 1; padding: 60px 20px; display: flex; justify-content: center; z-index: 1; }
.article-wrapper { max-width: 1300px; width: 100%; background: var(--glass); border: 1px solid var(--border-glass); padding: 50px; position: relative; }
.article-wrapper::before { content: ''; position: absolute; top: -1px; left: -1px; width: 40px; height: 40px; background: var(--cyan); clip-path: polygon(0 0, 100% 0, 0 100%); opacity: 0.8; box-shadow: 0 0 15px var(--cyan); }
.back-link { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); text-decoration: none; font-family: 'Teko', sans-serif; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; transition: 0.3s; }
.back-link:hover { transform: translateX(-5px); opacity: 0.8; }
.article-meta { display: flex; gap: 20px; align-items: center; margin-bottom: 15px; flex-wrap: wrap; }
.article-date { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.article-title { font-family: 'Teko', sans-serif; font-size: 4rem; line-height: 1; text-transform: uppercase; margin-bottom: 30px; background: linear-gradient(180deg, #fff 0%, #a0a0a0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.featured-media { position: relative; margin-bottom: 40px; }
.featured-img { width: 100%; height: 400px; object-fit: cover; border: 1px solid var(--border-glass); margin-bottom: 0; filter: brightness(0.8); display: block; }
.article-cat-label {
    position: absolute;
    right: 16px;
    bottom: 16px;
    margin: 0;
    z-index: 2;
}
.article-content { line-height: 1.8; color: #ccc; font-size: 1.1rem; }
.article-content p { margin-bottom: 25px; }
.article-content h2 { font-family: 'Teko', sans-serif; font-size: 2.2rem; color: var(--cyan); text-transform: uppercase; margin: 40px 0 15px 0; border-left: 3px solid var(--cyan); padding-left: 15px; }
.article-content code { background: rgba(0,242,255,0.08); color: var(--cyan); padding: 2px 8px; font-size: 0.95em; border: 1px solid var(--border-glass); }

/* ============================================================
   HAMBURGER NAV — mobilní přepínač
   ============================================================ */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--glass);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    z-index: 200;
    flex-shrink: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-muted);
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--cyan); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--cyan); }
.nav-toggle:hover { border-color: var(--cyan-dim); box-shadow: 0 0 12px var(--cyan-dim); }

/* ============================================================
   RESPONZIVITA — Desktop First Breakpoints
   ============================================================ */

/* ── 1300px ── */
@media (max-width: 1300px) {
    .main-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
    }
    .hero-main {
        grid-column: span 3;
        grid-row: span 1;
        padding: 40px;
        min-height: 320px;
    }
}

/* ── 1200px ── */
@media (max-width: 1200px) {
    .visual-container { display: none; }
    main.info-main { grid-template-columns: 80px 1fr; }
}

/* ── 1100px ── */
@media (max-width: 1100px) {
    .hero-title { font-size: 6rem; }
    .footer-socials { flex-wrap: wrap; gap: 15px; }
    .social-box { min-width: 45%; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-section { grid-template-columns: 1fr; gap: 30px; }
}

/* ── 900px — Tablet landscape ── */
@media (max-width: 900px) {
    /* Header: stack vertically */
    header {
        padding: 15px 16px;
        flex-wrap: wrap;
        gap: 12px;
        position: relative;
    }

    /* Show hamburger */
    .nav-toggle { display: flex; }

    /* Nav: collapsible drawer */
    .nav-container {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(5, 6, 8, 0.97);
        border: none;
        clip-path: none;
        padding: 80px 30px 40px;
        z-index: 150;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
    }
    .nav-container.nav-open { display: flex; }

    nav ul {
        flex-direction: column;
        gap: 4px;
        width: 100%;
        align-items: center;
    }
    nav ul li { width: 100%; text-align: center; }
    nav a {
        font-size: 2.2rem;
        padding: 12px 20px;
        display: block;
        letter-spacing: 4px;
    }

    /* Logo in drawer */
    .logo-mid {
        order: -1;
        margin: 0 0 30px 0;
        width: 100%;
        text-align: center;
    }
    .logo-mid img { height: 70px; margin: 0 auto; }

    /* Header icons: absolutely positioned */
    .header-avatar {
        position: absolute;
        right: 16px; top: 50%;
        transform: translateY(-50%);
        width: 44px; height: 44px;
        font-size: 1.2rem;
    }
    .header-avatar:hover { transform: translateY(-50%) scale(1.1); }
    .header-servers {
        position: absolute;
        left: 16px; top: 50%;
        transform: translateY(-50%);
    }
    .header-servers-panel { left: 0; right: auto; }
    .header-servers-icon { width: 44px; height: 44px; font-size: 1rem; }

    /* Misc layout */
    .chevron-decor { display: none; }
    .cp-content { flex-direction: column; gap: 10px; text-align: center; padding: 0 20px; }
    .cp-links { justify-content: center; flex-wrap: wrap; }
    .main-wrapper { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .hero-main { grid-column: span 2; }
    .news-card h2 { white-space: normal; }
    .social-box { min-width: 45%; }
    .article-wrapper { padding: 30px; }
    .article-title { font-size: 2.8rem; }
    .featured-img { height: 250px; }
}

/* ── 768px — Tablet portrait ── */
@media (max-width: 768px) {
    /* Server info page */
    .side-nav {
        flex-direction: row;
        border-left: none;
        border-bottom: 1px solid var(--border-glass);
        padding: 15px 10px;
        justify-content: center;
        gap: 15px;
    }
    .nav-dot { width: 44px; height: 44px; }
    .server-title { font-size: 3.2rem; }
    main.info-main {
        grid-template-columns: 1fr;
        padding-top: 0;
    }
    .info-container { padding: 25px 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-box .value { font-size: 1.5rem; }

    /* News grid */
    .main-wrapper { grid-template-columns: 1fr; }
    .hero-main { grid-column: span 1; min-height: 280px; }

    /* About page */
    .values-grid { grid-template-columns: 1fr; }
    .t-big { font-size: 3rem; }
    .boot-terminal { padding: 20px; }
    .hex-grid { gap: 18px; }
    .hex-shape { width: 100px; height: 87px; }
    .hex-number { font-size: 1.8rem; }

    /* Article */
    .article-wrapper { padding: 20px; }
    .article-title { font-size: 2.2rem; }
    .featured-img { height: 200px; }
    .article-content { font-size: 1rem; }

    /* Footer */
    .footer-socials { flex-direction: column; align-items: stretch; padding: 20px 16px; gap: 10px; }
    .social-box { min-width: 100%; justify-content: flex-start; }

    /* Servers archive */
    .header-main { font-size: 4rem; margin-bottom: 30px; }
    .server-grid { gap: 16px; padding: 0 4px; }
    .server-card { width: 100%; max-width: 400px; height: 320px; clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%); }

    /* Server archive page */
    main.server-main { padding: 50px 16px 50px; }

    /* Pagination */
    .pagination-container { padding: 10px 16px; gap: 8px; }
    .pagination-container .page-numbers { font-size: 1.1rem; padding: 4px 9px; }
}

/* ── 600px — Mobile ── */
@media (max-width: 600px) {
    /* Homepage hero */
    .hero-title { font-size: 3.8rem; letter-spacing: -1px; margin-bottom: 25px; }
    .hero-subtitle { font-size: 1rem; letter-spacing: 4px; }
    .btn-browse { font-size: 1.4rem; padding: 12px 28px; letter-spacing: 3px; }

    /* News */
    .main-wrapper { grid-template-columns: 1fr; }
    .hero-main { grid-column: span 1; }
    .streamer-name { font-size: 3.5rem; }

    /* Servers */
    .header-main { font-size: 3rem; margin-bottom: 25px; }
    .server-card { width: 100%; height: 280px; }
    .server-name { font-size: 2.8rem; }

    /* Social footer */
    .social-box { min-width: 100%; padding: 14px 18px; }
    .social-box i { font-size: 1.6rem; }

    /* About page */
    .team-grid { grid-template-columns: 1fr; }
    .section-heading { font-size: 2.4rem; }
    .value-card { padding: 28px 22px; }
    .tl-title { font-size: 1.3rem; }

    /* Article */
    .article-wrapper { padding: 16px; }
    .article-title { font-size: 1.9rem; }
    .featured-img { height: 180px; }

    /* Server info */
    .server-title { font-size: 2.6rem; }
    .brand-label { font-size: 0.85rem; letter-spacing: 3px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
    .stat-box .value { font-size: 1.35rem; }
    .ip-highlight { font-size: 1.1rem !important; }

    /* Server archive */
    main.server-main { padding: 40px 16px 40px; }
    .header-top { font-size: 0.85rem; letter-spacing: 4px; }
}

/* ── 480px — Small phones ── */
@media (max-width: 480px) {
    header { padding: 12px 14px; }
    .hero-title { font-size: 3rem; }
    .btn-browse { font-size: 1.2rem; padding: 10px 22px; }
    .streamer-name { font-size: 3rem; }
    .congrats { font-size: 0.9rem; letter-spacing: 3px; }
    .milestone { font-size: 1.1rem; }

    /* News hero tile */
    .hero-main { padding: 30px 20px 0; }

    /* Footer copyright */
    .cp-content { font-size: 0.72rem; }

    /* Terminal */
    .boot-terminal { padding: 16px; }
    .terminal-lines { font-size: 0.78rem; line-height: 1.7; }
    .t-big { font-size: 2.2rem; }

    /* Hex stats */
    .hex-grid { gap: 12px; }
    .hex-shape { width: 88px; height: 76px; }
    .hex-number { font-size: 1.5rem; }
    .hex-label { font-size: 0.8rem; }

    /* Server info nav dots */
    .nav-dot { width: 40px; height: 40px; font-size: 0.9rem; }

    /* Server card */
    .server-card { height: 260px; }
    .server-name { font-size: 2.4rem; }
}

/* ── Touch: disable hover transforms to avoid sticky states ── */
@media (hover: none) {
    .tile:hover { transform: none; }
    .server-card:hover .card-image { transform: none; }
    .team-card:hover { transform: none; }
    .social-box:hover { transform: none; }
}

































/* ARCHIVE - Vertikální seznam */
.archive-list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.archive-list-container::-webkit-scrollbar {
    width: 6px;
}

.archive-list-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 3px;
}

.archive-list-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.archive-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.archive-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.archive-list-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.archive-list-item:hover::before {
    opacity: 1;
}

.archive-list-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.archive-list-content h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.archive-list-item:hover .archive-list-content h3 {
    color: var(--accent-primary);
}

.archive-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Mobile */
@media (max-width: 768px) {
    .archive-list-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .archive-list-image {
        width: 100%;
        height: 200px;
    }
}

/* ============================================================
   O PROJEKTU — page-o-projektu.php
   ============================================================ */

/* Amber proměnné (specifické pro tuto stránku) */
:root {
    --amber: #ffb347;
    --amber-dim: rgba(255, 179, 71, 0.4);
    --amber-glow: rgba(255, 179, 71, 0.15);
}

/* Layout */
main.about-main { flex: 1; padding: 40px 20px 80px; z-index: 1; position: relative; }
.about-wrapper  { max-width: 1300px; margin: 0 auto; }

/* ----- Boot terminál ----- */
.boot-terminal {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glass);
    border-top: 2px solid var(--cyan);
    padding: 40px 50px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}
.boot-terminal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent, transparent 2px,
        rgba(0, 242, 255, 0.015) 2px,
        rgba(0, 242, 255, 0.015) 4px
    );
    pointer-events: none;
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-glass);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.red    { background: #ff5f57; box-shadow: 0 0 5px #ff5f57; }
.t-dot.yellow { background: #febc2e; box-shadow: 0 0 5px #febc2e; }
.t-dot.green  { background: #28c840; box-shadow: 0 0 5px #28c840; }
.t-title { margin-left: auto; font-family: 'Courier New', Courier, monospace; font-size: 0.75rem; color: var(--text-muted); letter-spacing: 2px; }
.terminal-lines { font-family: 'Courier New', Courier, monospace; font-size: 0.95rem; line-height: 1.9; }
.t-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    opacity: 0;
    transform: translateY(5px);
    animation: lineIn 0.4s ease forwards;
}
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }
.t-prompt { color: var(--cyan); }
.t-cmd    { color: #fff; }
.t-output { color: var(--text-muted); padding-left: 20px; }
.t-ok     { color: #28c840; }
.t-warn   { color: var(--amber); }
.t-big {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    padding: 20px 0;
    text-shadow: 0 0 40px rgba(0, 242, 255, 0.3);
    display: block;
}
.cursor-blink {
    display: inline-block;
    width: 10px; height: 1.1em;
    background: var(--cyan);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ----- Sekce — label a nadpis ----- */
.section-label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: var(--cyan);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-heading {
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0;
    width: 60%; height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    box-shadow: 0 0 10px var(--cyan-dim);
}

/* ----- Glitch efekt ----- */
.glitch-title { position: relative; display: inline-block; }
.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    font-family: inherit;
    font-size: inherit;
}
.glitch-title::before {
    color: var(--cyan);
    clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
    transform: translateX(-2px);
    animation: glitch1 4s infinite;
}
.glitch-title::after {
    color: #ff004f;
    clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%);
    transform: translateX(2px);
    animation: glitch2 4s infinite;
}
@keyframes glitch1 {
    0%, 90%, 100% { transform: translateX(0); opacity: 0; }
    91% { transform: translateX(-3px); opacity: 0.8; }
    93% { transform: translateX(3px);  opacity: 0.8; }
    95% { transform: translateX(0);   opacity: 0; }
}
@keyframes glitch2 {
    0%, 88%, 100% { transform: translateX(0); opacity: 0; }
    89% { transform: translateX(3px);  opacity: 0.8; }
    91% { transform: translateX(-3px); opacity: 0.8; }
    93% { transform: translateX(0);   opacity: 0; }
}

/* ----- Hodnoty ----- */
.values-section { margin-bottom: 70px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.value-card {
    background: var(--glass);
    border: 1px solid var(--border-glass);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
    cursor: default;
}
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    box-shadow: 0 0 10px var(--cyan);
}
.value-card:hover { background: rgba(0, 242, 255, 0.04); border-color: rgba(0, 242, 255, 0.2); }
.value-card:hover::after { transform: scaleX(1); }
.value-num {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 242, 255, 0.08);
    position: absolute;
    top: 15px; right: 20px;
    transition: 0.4s;
}
.value-card:hover .value-num { color: rgba(0, 242, 255, 0.15); }
.value-icon  { font-size: 1.8rem; color: var(--cyan); margin-bottom: 20px; display: block; }
.value-title { font-family: 'Teko', sans-serif; font-size: 1.8rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; color: #fff; }
.value-desc  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ----- Oddělovač ----- */
.divider      { display: flex; align-items: center; gap: 20px; margin: 60px 0; }
.divider-line { flex: 1; height: 1px; background: var(--border-glass); }
.divider-icon { color: var(--cyan); font-size: 1rem; opacity: 0.5; }

/* ----- Timeline ----- */
.timeline-section {
    margin-bottom: 70px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.timeline-intro p { color: var(--text-muted); line-height: 1.8; margin-top: 20px; font-size: 0.95rem; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 1px; height: 100%;
    background: linear-gradient(180deg, var(--cyan), rgba(0, 242, 255, 0.1));
}
.tl-item { position: relative; padding: 0 0 40px 40px; cursor: pointer; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
    position: absolute;
    left: -6px; top: 6px;
    width: 13px; height: 13px;
    background: var(--bg);
    border: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: 0.3s;
}
.tl-item.active .tl-dot,
.tl-item:hover  .tl-dot {
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}
.tl-year  { font-family: 'Teko', sans-serif; font-size: 1rem; color: var(--cyan); letter-spacing: 3px; margin-bottom: 6px; text-transform: uppercase; }
.tl-title { font-family: 'Teko', sans-serif; font-size: 1.6rem; text-transform: uppercase; color: #fff; margin-bottom: 8px; transition: 0.3s; }
.tl-item:hover .tl-title { color: var(--cyan); }
.tl-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}
.tl-item.active .tl-desc,
.tl-item:hover  .tl-desc { max-height: 100px; opacity: 1; }

/* ----- Hexagony ----- */
.hex-section { margin-bottom: 70px; }
.hex-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
    justify-content: center;
}
.hex-item { display: flex; flex-direction: column; align-items: center; gap: 15px; cursor: default; }
.hex-shape {
    position: relative;
    width: 120px; height: 104px;
    background: var(--glass);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.4s ease;
    animation: hexFloat 3s ease-in-out infinite;
}
.hex-item:nth-child(1) .hex-shape { animation-delay: 0s; }
.hex-item:nth-child(2) .hex-shape { animation-delay: 0.4s; }
.hex-item:nth-child(3) .hex-shape { animation-delay: 0.8s; }
.hex-item:nth-child(4) .hex-shape { animation-delay: 1.2s; }
.hex-item:nth-child(5) .hex-shape { animation-delay: 1.6s; }
@keyframes hexFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
.hex-shape::before {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--bg);
    z-index: 0;
    transition: 0.4s;
}
.hex-inner  { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hex-shape:hover { background: var(--cyan); filter: drop-shadow(0 0 15px var(--cyan-dim)); }
.hex-shape:hover::before { background: rgba(0, 10, 15, 0.9); }
.hex-number { font-family: 'Teko', sans-serif; font-size: 2.2rem; color: #fff; line-height: 1; }
.hex-unit   { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 0.6rem; color: var(--cyan); letter-spacing: 2px; text-transform: uppercase; }
.hex-label  { font-family: 'Teko', sans-serif; font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); text-align: center; }

/* ----- Tým ----- */
.team-section { margin-bottom: 70px; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
    gap: 2px;
    margin-top: 40px;
}
.team-card {
    background: var(--glass);
    border: 1px solid var(--border-glass);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,242,255,0.05), transparent);
    transition: left 0.5s ease;
}
.team-card:hover::before { left: 100%; }
.team-card:hover { border-color: rgba(0, 242, 255, 0.2); transform: translateY(-4px); }
.team-avatar {
    width: 70px; height: 70px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid var(--cyan-dim);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--cyan);
    transition: 0.4s;
}
.team-card:hover .team-avatar { background: rgba(0, 242, 255, 0.12); box-shadow: 0 0 20px var(--cyan-dim); }
.team-role { font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 0.65rem; color: var(--cyan); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 5px; }
.team-name { font-family: 'Teko', sans-serif; font-size: 1.6rem; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.team-bio  { color: var(--text-muted); font-size: 0.8rem; line-height: 1.6; }
/* ----- Responsive (O projektu) ----- */
@media (max-width: 1100px) {
    .values-grid      { grid-template-columns: 1fr 1fr; }
    .team-grid        { grid-template-columns: repeat(2, 1fr); }
    .timeline-section { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .values-grid  { grid-template-columns: 1fr; }
    .team-grid    { grid-template-columns: 1fr 1fr; }
    .t-big        { font-size: 3rem; }
    .boot-terminal { padding: 25px; }
}
@media (max-width: 500px) {
    .team-grid { grid-template-columns: 1fr; }
}