:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --card: #171722;
  --border: #26263a;
  --text: #ececf4;
  --muted: #8a8aa3;
  --accent: #e11d48;
  --accent-2: #f43f5e;
  --gradient: linear-gradient(135deg, #e11d48, #f97316);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.accent { color: var(--accent-2); }
.gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TOPBAR ===== */
.topbar {
  background: #07070a;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
  color: var(--muted);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.topbar-sep { opacity: .35; }
.topbar-server { color: var(--accent-2); font-weight: 600; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right a { text-decoration: none; transition: color .2s; }
.topbar-right a:hover { color: #fff; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: #fff; text-decoration: none;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.logo-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--gradient); display: inline-block; }
.logo-accent { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--muted); text-decoration: none;
  font-weight: 600; font-size: .9rem;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: #fff; }
.btn-nav {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 10px 22px; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(225,29,72,.35);
}
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.burger span { width: 24px; height: 2px; background: #fff; transition: .3s; }

/* ===== HERO ===== */
.hero { position: relative; padding: 90px 0 80px; overflow: hidden; text-align: center; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(225,29,72,.3), transparent 65%);
  filter: blur(70px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: 3px; color: var(--accent-2);
  border: 1px solid var(--border); padding: 6px 16px;
  border-radius: 100px; margin-bottom: 24px;
  background: rgba(225,29,72,.08);
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  line-height: 1.1; font-weight: 700;
  margin-bottom: 20px; letter-spacing: -.5px;
}
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 0 auto 36px; }
.hero-sub strong { color: var(--accent-2); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-metrics { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.metric { display: flex; flex-direction: column; }
.metric strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem; font-weight: 700; color: #fff;
}
.metric span { color: var(--muted); font-size: .8rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 13px 32px;
  border-radius: 12px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  border: none; font-size: .98rem; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 34px rgba(225,29,72,.4);
}
.btn-primary:hover { box-shadow: 0 14px 44px rgba(225,29,72,.6); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; margin-bottom: 6px;
}
.section-head p { color: var(--muted); font-size: 1rem; }
.link-more {
  color: var(--accent-2); font-weight: 700; font-size: .9rem;
  text-decoration: none; white-space: nowrap;
}
.link-more:hover { text-decoration: underline; }

/* ===== PAGE HEADER ===== */
.page-header { padding: 60px 0 30px; border-bottom: 1px solid var(--border); }
.page-header h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; margin-bottom: 8px;
}
.page-header p { color: var(--muted); font-size: 1.05rem; max-width: 620px; }

/* ===== FILTERS ===== */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter {
  padding: 9px 20px; border-radius: 100px;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--muted); font-weight: 600; cursor: pointer;
  transition: .2s; font-family: inherit; font-size: .88rem;
}
.filter:hover { color: #fff; border-color: var(--accent); }
.filter.active { background: var(--gradient); color: #fff; border-color: transparent; }

/* ===== SERVERS ===== */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.server-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.server-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.server-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(225,29,72,.22);
}
.server-card:hover::before { transform: scaleX(1); }
.server-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.server-game {
  font-size: .7rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent-2);
  background: rgba(225,29,72,.12);
  padding: 5px 10px; border-radius: 6px;
}
.server-status { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: #22c55e; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse 2s infinite; }
.server-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.server-map { color: var(--muted); font-size: .86rem; margin-bottom: 14px; }
.server-meta {
  display: flex; justify-content: space-between;
  padding: 13px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: 16px;
  font-size: .84rem;
}
.server-meta div { display: flex; flex-direction: column; }
.server-meta span { color: var(--muted); font-size: .7rem; }
.server-meta strong { color: #fff; font-size: .98rem; }
.server-card .btn { width: 100%; text-align: center; padding: 10px; font-size: .9rem; }

/* ===== STATS ===== */
.stats-section { background: var(--bg-2); }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 22px; text-align: center;
  transition: border-color .2s, transform .2s;
}
.stat-card:hover { border-color: var(--accent-2); transform: translateY(-4px); }
.stat-icon {
  width: 40px; height: 40px; margin: 0 auto 14px;
  border-radius: 10px; background: rgba(225,29,72,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--accent-2); font-weight: 800;
}
.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.3rem; font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* ===== BLOG ===== */
.blog-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 22px;
}
.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.blog-tag {
  display: inline-block; align-self: flex-start;
  font-size: .68rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: #fff;
  background: var(--gradient); padding: 5px 11px;
  border-radius: 6px; margin-bottom: 14px;
}
.blog-tag.alt { background: linear-gradient(135deg,#3b82f6,#8b5cf6); }
.blog-tag.alt2 { background: linear-gradient(135deg,#10b981,#06b6d4); }
.blog-card h3 { font-size: 1.12rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.blog-card p strong { color: var(--accent-2); }
.featured-post h3 { font-size: 1.45rem; }
.featured-post p { font-size: .96rem; }
.blog-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; color: var(--muted); font-size: .78rem;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.author { color: var(--accent-2); font-weight: 700; }

/* ===== TEAM ===== */
.team-section { background: var(--bg-2); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.team-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 22px; text-align: center;
  transition: transform .25s, border-color .25s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.team-avatar {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.9rem; font-weight: 700; color: #fff;
  box-shadow: 0 10px 30px rgba(225,29,72,.35);
  overflow: hidden;
  position: relative;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 3px; }
.team-role { color: var(--accent-2); font-weight: 700; font-size: .82rem; margin-bottom: 10px; }
.team-bio { color: var(--muted); font-size: .86rem; }

/* OPRAVA PRO FOTKU V TÝMU */
.team-avatar.team-avatar-img {
  padding: 0 !important;
  background: none !important;
  border: 2px solid var(--border); /* Volitelný rámeček, můžeš smazat */
}
.team-avatar.team-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== VIP ===== */
.pricing {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; align-items: start;
}
.price-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 26px;
  text-align: center; position: relative; transition: .25s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(225,29,72,.3);
  background: linear-gradient(180deg, rgba(225,29,72,.1), var(--card));
}
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  padding: 5px 16px; border-radius: 100px;
  font-size: .7rem; font-weight: 800; letter-spacing: .5px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem; font-weight: 700; margin-bottom: 22px;
}
.price small { font-size: .82rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 26px; }
.price-card li {
  padding: 9px 0; border-bottom: 1px solid var(--border);
  color: var(--muted); font-size: .88rem;
}
.price-card .btn { width: 100%; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-2); }
.faq-grid { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; color: #fff; font-size: 1.02rem; font-weight: 600;
  font-family: inherit; text-align: left;
}
.faq-q:hover { color: var(--accent-2); }
.faq-icon { font-size: 1.3rem; color: var(--accent-2); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq-a p { color: var(--muted); padding-bottom: 20px; font-size: .93rem; }
.faq-a code {
  background: var(--bg); padding: 2px 7px; border-radius: 5px;
  color: var(--accent-2); font-size: .86rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.contact-info { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-info h3 { font-size: 1.2rem; margin-bottom: 16px; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-label { color: var(--muted); font-size: .85rem; min-width: 100px; }
.contact-value { font-weight: 600; }
.contact-value code { background: var(--bg); padding: 2px 7px; border-radius: 5px; color: var(--accent-2); }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: .92rem;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-msg { margin-top: 12px; font-size: .88rem; color: #22c55e; display: none; }

/* ===== COMMUNITY CTA ===== */
.community-section { padding-top: 0; }
.community-box {
  background: linear-gradient(135deg, rgba(225,29,72,.15), rgba(249,115,22,.08));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 38px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 26px; flex-wrap: wrap;
}
.community-box h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.9rem; margin-bottom: 6px; }
.community-box p { color: var(--muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-wrap {
  display: flex; justify-content: space-between; gap: 44px;
  flex-wrap: wrap; padding-bottom: 36px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: .88rem; margin-top: 12px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h4 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; margin-bottom: 12px;
}
.footer-cols a {
  display: block; color: var(--muted); text-decoration: none;
  font-size: .88rem; padding: 4px 0; transition: color .2s;
}
.footer-cols a:hover { color: var(--accent-2); }
.copyright {
  border-top: 1px solid var(--border);
  padding: 20px 22px; text-align: center;
  color: var(--muted); font-size: .8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .featured-post { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed; top: 110px; right: -100%;
    flex-direction: column; background: var(--bg-2);
    width: 280px; height: calc(100vh - 110px);
    padding: 30px 22px; gap: 18px;
    border-left: 1px solid var(--border);
    transition: right .3s; align-items: flex-start;
    z-index: 99;
  }
  .nav.open { right: 0; }
  .burger { display: flex; }
  .topbar-right { display: none; }
  .hero-metrics { gap: 30px; }
  .hero-metrics strong { font-size: 1.7rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .community-box { padding: 32px 24px; }
  .footer-cols { gap: 36px; }
}