  @import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap');

  :root {
    --bg-dark: #06080d;
    --bg-darker: #03050a;
    --card-bg: rgba(15, 20, 32, 0.7);
    --card-bg-hover: rgba(20, 27, 44, 0.85);
    --card-border: rgba(80, 105, 160, 0.2);
    --card-border-hover: rgba(120, 155, 220, 0.55);
    --primary: #3e4e7a;
    --primary-hover: #536a9a;
    --accent-blue: #6b8fd4;
    --accent-blue-bright: #9dbaf0;
    --accent-glow: rgba(107, 143, 212, 0.15);
    --accent-glow-strong: rgba(107, 143, 212, 0.4);
    --text-main: #f5f7fd;
    --text-muted: #8d99b5;
    --sidebar-bg: rgba(11, 15, 24, 0.88);
    --code-bg: #04060b;
    --success: #4ade80;
    --danger: #f87171;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-smooth: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* ============================================================
   POZADÍ – minimalistické, ultra-decentní efekty
   ============================================================ */

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
  /* Velmi jemná mřížka s nepatrnou viditelností (1%) */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 75%);
  animation: gridDrift 60s linear infinite;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.005) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
}

@keyframes gridDrift {
  0%   { background-position: center center; }
  100% { background-position: calc(50% + 120px) calc(50% + 120px); }
}

/* Hlavní horní záře – stažená na minimum */
.bg-glow {
  position: fixed;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 212, 0.04) 0%, rgba(0, 0, 0, 0) 60%);
  top: -450px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -2;
  pointer-events: none;
  animation: pulseGlow 12s ease-in-out infinite;
}

/* Pravá spodní záře */
.bg-glow-2 {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 78, 122, 0.03) 0%, rgba(0, 0, 0, 0) 60%);
  bottom: -300px;
  right: -200px;
  z-index: -2;
  pointer-events: none;
  animation: pulseGlowSoft 16s ease-in-out infinite;
}

/* Levá spodní záře */
.bg-glow-3 {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 212, 0.02) 0%, rgba(0, 0, 0, 0) 60%);
  bottom: -200px;
  left: -200px;
  z-index: -2;
  pointer-events: none;
  animation: pulseGlowSoft 14s ease-in-out infinite reverse;
}

/* Horní tenká linka – velmi jemný proužek bez silného glowu */
.bg-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.2), rgba(255, 255, 255, 0.15), rgba(107, 143, 212, 0.2), transparent);
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(107, 143, 212, 0.1);
  animation: linePulse 6s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.5; }
}

/* Ztmavení okrajů */
.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.8) 100%);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.3; transform: translateX(-50%) scale(1.02); }
}

@keyframes pulseGlowSoft {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.2; transform: scale(1.03); }
}

  /* ============================================================
    VIDEO POZADÍ – jemné Ken Burns + brightness
    ============================================================ */

  .video-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    overflow: hidden;
    background: #000;
    pointer-events: none;
  }

  .video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    filter: brightness(0.85) saturate(1.15) contrast(1.05);
    animation: kenBurns 30s ease-in-out infinite alternate;
  }

  @keyframes kenBurns {
    0%   { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1.15); }
  }

  .video-bg .video-overlay {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(6, 8, 13, 0.15) 0%, rgba(6, 8, 13, 0.55) 80%),
      linear-gradient(180deg, rgba(6, 8, 13, 0.25) 0%, rgba(6, 8, 13, 0.55) 100%);
    pointer-events: none;
  }

  /* ============================================================
    NAVIGACE
    ============================================================ */

  .navbar {
    background: rgba(6, 8, 13, 0.72);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0.95rem 2.5rem;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s var(--transition) both;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-brand svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px var(--accent-glow-strong));
  }

  .nav-brand img {
    height: 34px;
    width: 34px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: 0 0 16px var(--accent-glow-strong), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s var(--transition), transform 0.4s var(--transition-bounce);
  }

  .nav-brand:hover img {
    box-shadow: 0 0 24px var(--accent-glow-strong), 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: rotate(-6deg) scale(1.06);
  }

  .nav-links {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.35s var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
  }

  .nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 143, 212, 0.18), rgba(107, 143, 212, 0));
    opacity: 0;
    transition: opacity 0.35s var(--transition);
    pointer-events: none;
  }

  .nav-links a svg {
    flex-shrink: 0;
    transition: transform 0.35s var(--transition-bounce);
  }

  .nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--card-border);
    transform: translateY(-2px);
  }

  .nav-links a:hover::before { opacity: 1; }

  .nav-links a:hover svg {
    transform: scale(1.18) rotate(-4deg);
  }

  .nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-color: var(--primary-hover);
    box-shadow: 0 4px 20px rgba(62, 78, 122, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-blue-bright);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--accent-blue-bright);
    animation: pulseDot 2s ease-in-out infinite;
  }

  /* ============================================================
    HLAVNÍ ROZVRŽENÍ
    ============================================================ */

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
    flex: 1;
  }

  .hero-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
  }

  .hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
  }

  .hero-text-content {
    flex: 1;
    animation: fadeInLeft 1s var(--transition) 0.15s both;
  }

  .hero-logo-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s var(--transition) 0.3s both;
  }

  .main-hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    filter: drop-shadow(0 0 50px var(--accent-glow-strong));
    border-radius: var(--radius-xl);
    animation: floatLogo 6s ease-in-out infinite;
  }

  @keyframes floatLogo {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-14px) rotate(-1deg); }
  }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(62, 78, 122, 0.28), rgba(107, 143, 212, 0.14));
    border: 1px solid var(--card-border-hover);
    color: var(--accent-blue-bright);
    padding: 0.45rem 1.1rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(8px);
    letter-spacing: 0.05em;
    box-shadow: 0 0 24px rgba(107, 143, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: fadeInDown 0.8s var(--transition) 0.2s both;
    position: relative;
    overflow: hidden;
  }

  .badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 186, 240, 0.25), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
  }

  @keyframes shimmer {
    0%   { left: -100%; }
    60%  { left: 100%; }
    100% { left: 100%; }
  }

  .badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue-bright);
    box-shadow: 0 0 12px var(--accent-blue-bright);
    animation: pulseDot 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
  }

  @keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.4rem;
    letter-spacing: -0.04em;
    animation: fadeInUp 1s var(--transition) 0.25s both;
  }

  .hero-title span {
    background: linear-gradient(135deg, #b8ccf7 0%, var(--accent-blue) 45%, #7b9fe8 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    filter: drop-shadow(0 0 35px rgba(107, 143, 212, 0.35));
    animation: gradientShift 6s ease-in-out infinite;
  }

  @keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
  }

  .hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 1s var(--transition) 0.4s both;
  }

  .btn-group {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--transition) 0.55s both;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    padding: 0.9rem 1.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s var(--transition);
    border: 1px solid var(--primary-hover);
    box-shadow: 0 4px 24px rgba(62, 78, 122, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
  }

  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.8s var(--transition);
  }

  .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 40px rgba(83, 106, 154, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .btn-primary:hover::before { left: 100%; }

  .btn-primary:active { transform: translateY(-1px) scale(0.99); }

  .btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 0.9rem 1.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s var(--transition);
    backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
  }

  .btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 143, 212, 0.15), rgba(107, 143, 212, 0));
    opacity: 0;
    transition: opacity 0.4s var(--transition);
  }

  .btn-secondary:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(107, 143, 212, 0.15);
  }

  .btn-secondary:hover::before { opacity: 1; }

  .btn-secondary:active { transform: translateY(-1px) scale(0.99); }

  /* ============================================================
    KARTIČKY A PANELY
    ============================================================ */

  .card-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.4s var(--transition), box-shadow 0.4s var(--transition);
    position: relative;
    overflow: hidden;
  }

  .card-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.5), transparent);
  }

  .section-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s var(--transition) 0.3s both;
  }

  .section-title span {
    background: linear-gradient(135deg, var(--accent-blue-bright), var(--accent-blue));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
  }

  .section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.7;
    animation: fadeInUp 0.8s var(--transition) 0.4s both;
  }

  /* ============================================================
    IP BOX
    ============================================================ */

  .ip-box {
    background: var(--code-bg);
    border: 1px solid var(--card-border);
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1rem;
    font-family: 'Lexend', monospace;
    color: var(--success);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.35s var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .ip-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--success);
    box-shadow: 0 0 16px var(--success);
    animation: pulseDot 2s ease-in-out infinite;
  }

  .ip-box:hover {
    border-color: var(--primary-hover);
    background: #060910;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(56, 239, 125, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .ip-box svg {
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.35s var(--transition), transform 0.35s var(--transition-bounce);
  }

  .ip-box:hover svg {
    opacity: 1;
    transform: rotate(-8deg) scale(1.1);
  }

  /* ============================================================
    SERVER STATUS
    ============================================================ */

  .server_status_div {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.9s var(--transition) 0.5s both;
  }

  .server_status {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.7rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: 440px;
    backdrop-filter: blur(18px);
    transition: all 0.4s var(--transition);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
  }

  .server_status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.6), transparent);
    animation: shimmer 4s ease-in-out infinite;
  }

  .server_status:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5), 0 0 40px rgba(74, 222, 128, 0.12);
  }

  .server_status_indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.8), 0 0 28px rgba(74, 222, 128, 0.45);
    flex-shrink: 0;
    animation: pulseIndicator 2s ease-in-out infinite;
    position: relative;
  }

  .server_status_indicator::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(74, 222, 128, 0.45);
    animation: rippleIndicator 2s ease-out infinite;
  }

  @keyframes pulseIndicator {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
  }

  @keyframes rippleIndicator {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
  }

  .server_status_wrapper {
    display: flex;
    flex-direction: column;
  }

  .server_status_wrapper .title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
  }

  .server_status_wrapper .label {
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .server_status .players {
    margin-left: auto;
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-blue-bright);
    background: rgba(107, 143, 212, 0.14);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(107, 143, 212, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 16px rgba(107, 143, 212, 0.1);
    transition: all 0.35s var(--transition);
  }

  .server_status:hover .players {
    background: rgba(107, 143, 212, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 24px rgba(107, 143, 212, 0.25);
  }

  /* ============================================================
    O NÁS SEKCE
    ============================================================ */

  .about_us_container {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    min-height: 320px;
    overflow: hidden;
    transition: all 0.4s var(--transition);
  }

  .about_us_container:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45), 0 0 40px rgba(107, 143, 212, 0.12);
  }

  .about_us_container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.6), transparent);
  }

  .about_us_overlay {
    position: relative;
    z-index: 2;
    max-width: 60%;
  }

  .about_us_overlay .big {
    font-size: 2.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
  }

  .about_us_overlay p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    font-weight: 300;
  }

  .about_us_overlay p span {
    color: var(--accent-blue-bright);
    font-weight: 600;
  }

  .about_us_right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    max-width: 40%;
    object-fit: cover;
    opacity: 0.8;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
  }

  /* ============================================================
   PRAVIDLA – prémiový design
   ============================================================ */

.rules-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding-top: 2rem;
}

.rules-header .badge {
  margin-bottom: 1.2rem;
}

.rules-header .section-title {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
}

.rules-header .section-desc {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Layout */
.rules-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Sidebar */
.sidebar-menu {
  background: var(--sidebar-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.2rem;
  height: fit-content;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.menu-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 1.2rem;
  padding-left: 0.5rem;
}

/* Sidebar tlačítko */
.sidebar-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
  transition: all 0.3s var(--transition);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.sidebar-btn-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(107, 143, 212, 0.1);
  border: 1px solid rgba(107, 143, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-bright);
  transition: all 0.4s var(--transition);
}

.sidebar-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sidebar-btn-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-btn-count {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.7;
}

.sidebar-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--card-border);
  transform: translateX(4px);
}

.sidebar-btn:hover .sidebar-btn-icon {
  background: rgba(107, 143, 212, 0.25);
  border-color: var(--primary-hover);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.sidebar-btn:hover .sidebar-btn-title {
  color: var(--accent-blue-bright);
}

.sidebar-btn.active {
  background: linear-gradient(135deg, rgba(62, 78, 122, 0.4), rgba(107, 143, 212, 0.15));
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: 0 4px 20px rgba(62, 78, 122, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar-btn.active .sidebar-btn-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-color: var(--primary-hover);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow-strong);
}

.sidebar-btn.active .sidebar-btn-title {
  color: #fff;
  font-weight: 700;
}

.sidebar-btn.active .sidebar-btn-count {
  color: var(--accent-blue-bright);
  opacity: 1;
}

/* Sidebar footer */
.sidebar-footer {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sidebar-footer-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(107, 143, 212, 0.1);
  border: 1px solid rgba(107, 143, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-bright);
  flex-shrink: 0;
}

.sidebar-footer p {
  margin: 0;
  font-weight: 300;
}

.sidebar-footer strong {
  color: var(--accent-blue-bright);
  font-weight: 600;
}

/* Obsah pravidel */
.rules-content-wrapper {
  min-width: 0;
}

.rules-panel {
  padding: 2.5rem;
}

.rules-panel-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}

.rules-panel-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue-bright);
  background: rgba(107, 143, 212, 0.12);
  border: 1px solid rgba(107, 143, 212, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.rules-panel-header .section-title {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.rules-panel-header .section-desc {
  margin-bottom: 0;
}

/* Bloky */
.rules-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.rule-block {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  position: relative;
  transition: all 0.4s var(--transition);
}

.rule-block::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-blue-bright), var(--primary));
  opacity: 0;
  transition: opacity 0.4s var(--transition);
  border-radius: 3px;
}

.rule-block:hover {
  border-left-color: transparent;
  transform: translateX(4px);
}

.rule-block:hover::before {
  opacity: 1;
}

.rule-block-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.rule-block-number {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(107, 143, 212, 0.2), rgba(62, 78, 122, 0.1));
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-blue-bright);
  letter-spacing: -0.03em;
  transition: all 0.4s var(--transition-bounce);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rule-block:hover .rule-block-number {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-color: var(--primary-hover);
  color: #fff;
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 0 24px var(--accent-glow-strong);
}

.rule-block h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  margin: 0;
  transition: color 0.3s var(--transition);
}

.rule-block:hover h4 {
  color: var(--accent-blue-bright);
}

.rule-block-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 0.6rem;
  font-weight: 300;
}

.rule-block-content p:last-child {
  margin-bottom: 0;
}

.rule-block-content strong {
  color: var(--text-main);
  font-weight: 600;
}

.rule-block-content em {
  color: var(--accent-blue-bright);
  font-style: normal;
  font-weight: 500;
}

/* Responzivita */
@media (max-width: 900px) {
  .rules-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sidebar-menu {
    position: static;
  }

  .rules-header .section-title {
    font-size: 2rem;
  }

  .rules-panel {
    padding: 1.8rem;
  }

  .rules-panel-header .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .rules-header .section-title {
    font-size: 1.7rem;
  }

  .rule-block-number {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .rule-block h4 {
    font-size: 1rem;
  }

  .rule-block-content p {
    font-size: 0.88rem;
  }
}

  /* ============================================================
   TEAM – prémiový design
   ============================================================ */

.team-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
  padding-top: 2rem;
}

.team-header .badge {
  margin-bottom: 1.2rem;
}

.team-header .section-title {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
}

.team-header .section-desc {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Skupina */
.staff-group {
  margin-bottom: 3.5rem;
}

.staff-group:last-child {
  margin-bottom: 0;
}

/* Hlavička skupiny */
.staff-group-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--card-border);
  position: relative;
}

.staff-group-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(107, 143, 212, 0.2), rgba(62, 78, 122, 0.12));
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 20px rgba(107, 143, 212, 0.15);
  transition: all 0.4s var(--transition-bounce);
}

.staff-group:hover .staff-group-icon {
  background: linear-gradient(135deg, rgba(107, 143, 212, 0.4), rgba(62, 78, 122, 0.25));
  border-color: var(--primary-hover);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 28px var(--accent-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.staff-group-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0;
}

.staff-group-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  margin: 0.2rem 0 0;
}

.staff-group-count {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-blue-bright);
  background: rgba(107, 143, 212, 0.12);
  border: 1px solid rgba(107, 143, 212, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Grid karet */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

/* Karta */
.staff-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(18px);
  transition: all 0.5s var(--transition);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.staff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}

.staff-card-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 212, 0.25), transparent 70%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.5s var(--transition);
  pointer-events: none;
}

.staff-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 48px rgba(107, 143, 212, 0.15);
  background: var(--card-bg-hover);
}

.staff-card:hover::before {
  opacity: 1;
}

.staff-card:hover .staff-card-glow {
  opacity: 1;
}

/* Avatar */
.avatar-wrapper {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.1rem;
  z-index: 1;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary);
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.5s var(--transition);
  background: var(--bg-dark);
}

.staff-card:hover .avatar {
  border-color: var(--accent-blue-bright);
  box-shadow: 0 0 32px var(--accent-glow-strong), 0 0 0 4px rgba(107, 143, 212, 0.15);
  transform: scale(1.06);
}

.status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--success);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.9);
  animation: pulseIndicator 2s ease-in-out infinite;
}

/* Info */
.staff-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.staff-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  letter-spacing: -0.015em;
  transition: color 0.35s var(--transition);
  word-break: break-word;
  line-height: 1.3;
}

.staff-card:hover .staff-name {
  color: var(--accent-blue-bright);
}

/* Role badge */
.role-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.32rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.4s var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid;
}

.role-founder {
  color: var(--accent-blue-bright);
  background: rgba(192, 132, 252, 0.12);
  border-color: #6b8fd466;
  text-shadow: 0 0 8px #6b8fd466;
}

.role-cofounder {
  color: var(--accent-blue-bright);
  background: rgba(192, 132, 252, 0.12);
  border-color: #6b8fd466;
  text-shadow: 0 0 8px #6b8fd466;
}

.role-management {
  color: var(--accent-blue-bright);
  background: rgba(192, 132, 252, 0.12);
  border-color: #6b8fd466;
  text-shadow: 0 0 8px #6b8fd466;
}

.role-community {
  color: var(--accent-blue-bright);
  background: rgba(192, 132, 252, 0.12);
  border-color: #6b8fd466;
  text-shadow: 0 0 8px #6b8fd466;
}

.role-head {
  color: var(--accent-blue-bright);
  background: rgba(192, 132, 252, 0.12);
  border-color: #6b8fd466;
  text-shadow: 0 0 8px #6b8fd466;
}

.staff-card:hover .role-badge {
  transform: scale(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 16px currentColor;
}

/* Responzivita */
@media (max-width: 900px) {
  .team-header .section-title {
    font-size: 2rem;
  }

  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
  }

  .avatar-wrapper {
    width: 76px;
    height: 76px;
  }

  .staff-name {
    font-size: 0.92rem;
  }
}

@media (max-width: 600px) {
  .team-header .section-title {
    font-size: 1.7rem;
  }

  .staff-group-header {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .staff-group-icon {
    width: 42px;
    height: 42px;
  }

  .staff-group-title {
    font-size: 1.05rem;
  }

  .staff-group-desc {
    font-size: 0.75rem;
  }

  .staff-group-count {
    margin-left: 0;
  }

  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .staff-card {
    padding: 1.4rem 1rem 1.2rem;
  }

  .avatar-wrapper {
    width: 68px;
    height: 68px;
  }

  .staff-name {
    font-size: 0.85rem;
  }

  .role-badge {
    font-size: 0.62rem;
    padding: 0.28rem 0.65rem;
  }
}

  /* ============================================================
    FEATURES SEKCE
    ============================================================ */

  .features-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.9s var(--transition) 0.35s both;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.9rem;
    backdrop-filter: blur(18px);
    transition: all 0.5s var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--transition);
  }

  .feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(107, 143, 212, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--transition);
    pointer-events: none;
  }

  .feature-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 56px rgba(107, 143, 212, 0.15);
    background: var(--card-bg-hover);
  }

  .feature-card:hover::before,
  .feature-card:hover::after { opacity: 1; }

  .feature-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(107, 143, 212, 0.18), rgba(62, 78, 122, 0.12));
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    transition: all 0.5s var(--transition-bounce);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
  }

  .feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(107, 143, 212, 0.4), rgba(62, 78, 122, 0.25));
    border-color: var(--primary-hover);
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 0 32px var(--accent-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .feature-icon svg {
    transition: transform 0.5s var(--transition-bounce), filter 0.5s var(--transition);
  }

  .feature-card:hover .feature-icon svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(157, 186, 240, 0.75));
  }

  .feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    transition: color 0.35s var(--transition);
  }

  .feature-card:hover h3 {
    color: var(--accent-blue-bright);
  }

  .feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 1;
  }

  /* ============================================================
    TABULKA FRAKCÍ
    ============================================================ */

  .table-responsive {
    overflow-x: auto;
    margin-top: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  }

  .faction-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 700px;
  }

  .faction-table th,
  .faction-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
  }

  .faction-table th {
    background: linear-gradient(135deg, rgba(62, 78, 122, 0.4), rgba(62, 78, 122, 0.18));
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    color: var(--accent-blue-bright);
    white-space: nowrap;
  }

  .faction-table tbody tr { transition: background 0.3s var(--transition); }
  .faction-table tbody tr:hover { background: rgba(107, 143, 212, 0.12); }
  .faction-table tbody tr:last-child td { border-bottom: none; }
  .faction-table td:first-child { color: var(--text-main); font-weight: 600; }
  .faction-table td:nth-child(2) { white-space: nowrap; color: var(--text-muted); }
  .faction-table td:nth-child(3) { color: var(--text-muted); font-size: 0.85rem; }

  .country-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.3s var(--transition);
    white-space: nowrap;
  }

  .country-link:hover {
    color: var(--accent-blue-bright);
    background: rgba(107, 143, 212, 0.12);
    border-color: var(--card-border);
    transform: translateX(3px);
  }

  .country-flag {
    width: 20px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    display: block;
    transition: transform 0.3s var(--transition-bounce);
  }

  .country-link:hover .country-flag {
    transform: scale(1.15) rotate(-4deg);
  }

  /* ============================================================
    STAVOVÉ BADGE
    ============================================================ */

  .status-open {
    display: inline-block;
    color: var(--success);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.7rem;
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.4);
    border-radius: 6px;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
    white-space: nowrap;
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: pulseDot 2.5s ease-in-out infinite;
  }

  .status-closed {
    display: inline-block;
    color: var(--danger);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.7rem;
    background: rgba(248, 113, 113, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.4);
    border-radius: 6px;
    text-shadow: 0 0 12px rgba(248, 113, 113, 0.5);
    white-space: nowrap;
    box-shadow: 0 0 16px rgba(248, 113, 113, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .table-note {
    margin-top: 12px;
    font-size: 0.82rem;
    opacity: 0.7;
    font-style: italic;
    color: var(--text-muted);
    font-weight: 300;
  }

  /* ============================================================
    FOOTER
    ============================================================ */

  footer {
    border-top: 1px solid var(--card-border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: auto;
    backdrop-filter: blur(18px);
    font-weight: 300;
    position: relative;
    animation: fadeIn 1s var(--transition) 0.9s both;
  }

  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.5), transparent);
    animation: linePulse 4s ease-in-out infinite;
  }

  /* ============================================================
    SCROLLBAR
    ============================================================ */

  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-darker);
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-hover));
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-hover), var(--accent-blue));
  }

  /* ============================================================
   RESPONZIVITA – kompletní pro všechny sekce
   ============================================================ */

/* ---------- TABLET (max 900px) ---------- */
@media (max-width: 900px) {

  /* Hero */
  .hero-layout {
    flex-direction: column-reverse;
    text-align: center;
  }
  .btn-group { justify-content: center; }
  .hero-title { font-size: 2.6rem; }
  .main-hero-logo { max-height: 240px; }

  /* Hero logo wrapper */
  .hero-logo-wrapper { max-width: 320px; }
  .hero-logo-wrapper .main-hero-logo { max-height: 240px; }

  /* Pravidla */
  .rules-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .sidebar-menu { position: static; }
  .rules-header .section-title { font-size: 2rem; }

  /* Info */
  .info-header .section-title { font-size: 2rem; }
  .info-hero-title { font-size: 2.4rem; }
  .info-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .info-card-featured { flex-direction: column; padding: 1.6rem 1.4rem; }
  .info-card-featured-icon { width: 50px; height: 50px; }
  .info-card-featured-content h2 { font-size: 1.3rem; }

  /* Team */
  .team-header .section-title { font-size: 2rem; }
  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
  }
  .avatar-wrapper { width: 76px; height: 76px; }
  .staff-name { font-size: 0.92rem; }

  /* Features mini */
  .features-mini-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }

  /* Stepper / FAQ / How-to */
  .stepper-header .section-title,
  .faq-header .section-title,
  .features-header .section-title,
  .how-to-header .section-title { font-size: 1.8rem; }
  .how-to-grid { grid-template-columns: 1fr; }

  /* About */
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .about-gallery { height: 400px; }
  .about-header .section-title { font-size: 1.8rem; }
  .about-heading { font-size: 1.35rem; }
}

/* ---------- MOBIL (max 768px) ---------- */
@media (max-width: 768px) {

  /* Navigace */
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
  }
  .nav-links a {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }
  .nav-links a.active::after { display: none; }

  /* Hero */
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }

  /* About US */
  .about_us_right { display: none; }
  .about_us_overlay { max-width: 100%; }

  /* Container / panel */
  .card-panel { padding: 1.5rem; }
  .container { padding: 2rem 1rem; }
  .server_status { max-width: 100%; }

  /* Team */
  .staff-grid {
    grid-template-columns: repeat(auto-fill, 180px);
    gap: 1rem;
    justify-content: center;
  }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.5rem; }

  /* Tabulka frakcí */
  .faction-table th,
  .faction-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* CTA */
  .cta-content { max-width: 100%; }
  .cta-wumpus { width: 130px; right: 0.5rem; opacity: 0.6; }
  .cta-title { font-size: 1.4rem; }
  .cta-card { padding: 2rem 1.5rem; }

  /* Section indicator (schovat na mobilu) */
  .section-indicator { display: none; }
}

/* ---------- MALÝ MOBIL (max 600px) ---------- */
@media (max-width: 600px) {

  /* Hero */
  .hero-title { font-size: 1.7rem; }

  /* Navigace – jen ikony */
  .nav-links a span { display: none; }
  .nav-links a { padding: 0.6rem; }
  .nav-links a svg { margin: 0; }

  /* Team */
  .team-header .section-title { font-size: 1.7rem; }
  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .avatar-wrapper { width: 68px; height: 68px; }
  .staff-name { font-size: 0.85rem; }
  .role-badge { font-size: 0.62rem; padding: 0.28rem 0.65rem; }
  .staff-group-header { flex-wrap: wrap; gap: 0.8rem; }
  .staff-group-icon { width: 42px; height: 42px; }
  .staff-group-title { font-size: 1.05rem; }
  .staff-group-desc { font-size: 0.75rem; }
  .staff-group-count { margin-left: 0; }

  /* Pravidla */
  .rules-header .section-title { font-size: 1.7rem; }
  .rule-block-number { width: 36px; height: 36px; font-size: 0.85rem; }
  .rule-block h4 { font-size: 1rem; }
  .rule-block-content p { font-size: 0.88rem; }

  /* Info */
  .info-hero-title { font-size: 1.9rem; }
  .info-hero-desc { font-size: 0.95rem; }
  .info-header .section-title { font-size: 1.7rem; }
  .info-stats-grid { grid-template-columns: 1fr; }
  .info-career-grid { grid-template-columns: 1fr; }
  .info-factions-grid { grid-template-columns: 1fr; }
  .info-stat-pill { padding: 0.55rem 1rem; font-size: 0.85rem; }
  .info-card-featured-content h2 { font-size: 1.15rem; }
  .info-card-featured-content p { font-size: 0.88rem; }
  .info-section-header .section-title { font-size: 1.6rem; }

  /* Features mini */
  .features-header .section-title { font-size: 1.8rem; }
  .features-mini-grid { grid-template-columns: 1fr; gap: 0.7rem; }
  .feature-mini { padding: 0.95rem 1rem; gap: 0.75rem; }
  .feature-mini-icon { width: 38px; height: 38px; }
  .feature-mini-icon svg { width: 18px; height: 18px; }
  .feature-mini-text h3 { font-size: 0.88rem; }
  .feature-mini-text p { font-size: 0.74rem; }

  /* Stepper */
  .stepper-card { padding: 1.5rem 1.2rem 1.2rem; }
  .stepper-panel h3 { font-size: 1.15rem; }
  .stepper-panel p { font-size: 0.88rem; }
  .stepper-controls { flex-wrap: wrap; }
  .stepper-counter { order: -1; width: 100%; text-align: center; margin-bottom: 0.5rem; }

  /* FAQ */
  .faq-header .section-title { font-size: 1.8rem; }
  .faq-item summary { padding: 1rem 1.2rem; font-size: 0.9rem; }
  .faq-content { padding: 0 1.2rem 1.1rem; font-size: 0.88rem; }

  /* How-to (starý) */
  .how-to-header .section-title { font-size: 1.8rem; }
  .how-to-card { padding: 1.8rem 1.5rem 1.5rem; }
  .how-to-number { font-size: 2.4rem; top: 1rem; right: 1.2rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-header .section-title { font-size: 1.8rem; }
  .testimonial-card { padding: 1.5rem 1.3rem 1.2rem; }

  /* About gallery */
  .about-stats { grid-template-columns: 1fr; }
  .about-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .gallery-item { height: 200px; }
  .gallery-item-large { grid-column: auto; grid-row: auto; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-desc { max-width: 100%; }

  /* Marquee */
  .marquee-item { font-size: 0.75rem; letter-spacing: 0.18em; }

  /* CTA */
  .cta-wumpus { width: 100px; right: 0.5rem; opacity: 0.4; }
}

/* ---------- EXTRA MALÝ (max 480px) ---------- */
@media (max-width: 480px) {

  /* Hero */
  .hero-title { font-size: 1.5rem; }

  /* Hero logo */
  .hero-logo-wrapper { max-width: 240px; }
  .hero-logo-wrapper .main-hero-logo { max-height: 180px; }

  /* Team */
  .staff-grid {
    grid-template-columns: repeat(auto-fill, 160px);
  }

  /* Tabulka */
  .faction-table th,
  .faction-table td {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  /* Back to top */
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 18px;
    right: 18px;
  }

  /* Cursor trail – vypnout */
  .cursor-trail { display: none; }
}

  /* ============================================================
    RULE BLOCK – nadpisy s ikonami
    ============================================================ */

  .rule-block h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: color 0.3s var(--transition);
  }

  .rule-block h4 svg {
    flex-shrink: 0;
    color: var(--accent-blue-bright);
    filter: drop-shadow(0 0 6px rgba(107, 143, 212, 0.4));
    transition: all 0.35s var(--transition-bounce);
  }

  .rule-block:hover h4 svg {
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(157, 186, 240, 0.85));
    transform: scale(1.15) rotate(-6deg);
  }

  /* ============================================================
    O NÁS – prémiová sekce s galerií (index.html)
    ============================================================ */

  .about-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
    animation: fadeInUp 1s var(--transition) 0.4s both;
  }

  .about-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
  }

  .about-header .badge { margin-bottom: 1.2rem; }
  .about-header .section-title { font-size: 2.2rem; margin-bottom: 0.8rem; }
  .about-header .section-desc { margin-bottom: 0; font-size: 1rem; }

  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .about-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .about-heading span {
    background: linear-gradient(135deg, var(--accent-blue-bright), var(--accent-blue));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
  }

  .about-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 300;
  }

  .about-text p strong {
    color: var(--accent-blue-bright);
    font-weight: 600;
  }

  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
  }

  .stat-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1.2rem 1rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
  }

  .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.5), transparent);
  }

  .stat-item:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 32px rgba(107, 143, 212, 0.15);
  }

  .stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-blue-bright);
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 20px rgba(107, 143, 212, 0.4);
    transition: text-shadow 0.4s var(--transition);
  }

  .stat-item:hover .stat-number {
    text-shadow: 0 0 32px rgba(157, 186, 240, 0.8);
  }

  .stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
  }

  .about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 460px;
  }

  .gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    transition: all 0.5s var(--transition);
    cursor: pointer;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--transition), filter 0.5s var(--transition);
  }

  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
    transition: opacity 0.5s var(--transition);
  }

  .gallery-item:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55), 0 0 48px rgba(107, 143, 212, 0.2);
    transform: translateY(-6px);
  }

  .gallery-item:hover img {
    transform: scale(1.12);
    filter: brightness(1.08) saturate(1.12);
  }

  .gallery-item-large {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-item-large::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.85) 100%);
  }

  .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    transform: translateY(8px);
    opacity: 0.9;
    transition: transform 0.5s var(--transition), opacity 0.5s var(--transition);
  }

  .gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
  }

  .gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(62, 78, 122, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border-hover);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .gallery-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue-bright);
    box-shadow: 0 0 10px var(--accent-blue-bright);
    animation: pulseDot 2s ease-in-out infinite;
  }

  @media (max-width: 900px) {
    .about-content { grid-template-columns: 1fr; gap: 2rem; }
    .about-gallery { height: 400px; }
    .about-header .section-title { font-size: 1.8rem; }
    .about-heading { font-size: 1.35rem; }
  }

  @media (max-width: 600px) {
    .about-stats { grid-template-columns: 1fr; }
    .about-gallery {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      height: auto;
    }
    .gallery-item { height: 200px; }
    .gallery-item-large { grid-column: auto; grid-row: auto; }
  }

  /* ============================================================
    ANIMACE – klíčové snímky
    ============================================================ */

  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  @keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
  }

  /* ============================================================
    SCROLL REVEAL – objevování při scrollu (dolů i nahoru)
    ============================================================ */

  .reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(6px);
    transition:
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
  }

  .reveal-left   { transform: translateX(-60px); }
  .reveal-right  { transform: translateX(60px); }
  .reveal-up     { transform: translateY(60px); }
  .reveal-down   { transform: translateY(-60px); }
  .reveal-scale  { transform: scale(0.92); }
  .reveal-rotate { transform: translateY(40px) rotate(-3deg); }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0);
    filter: blur(0);
  }

  .reveal.delay-1 { transition-delay: 0.08s; }
  .reveal.delay-2 { transition-delay: 0.16s; }
  .reveal.delay-3 { transition-delay: 0.24s; }
  .reveal.delay-4 { transition-delay: 0.32s; }
  .reveal.delay-5 { transition-delay: 0.40s; }
  .reveal.delay-6 { transition-delay: 0.48s; }
  .reveal.delay-7 { transition-delay: 0.56s; }
  .reveal.delay-8 { transition-delay: 0.64s; }

  /* ============================================================
    PREFERS-REDUCED-MOTION
    ============================================================ */

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
    }

    .reveal {
      opacity: 1;
      transform: none;
      filter: none;
      transition: none;
    }

    .bg-grid,
    .bg-glow,
    .bg-glow-2,
    .bg-glow-3,
    .bg-line,
    .video-bg video {
      animation: none !important;
    }
  }

  /* ============================================================
    PREMIUM REVEAL SYSTÉM – opravený, funkční
    ============================================================ */

  /* ---------- Základní reveal ---------- */

  [data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition:
      opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
      transform 1.2s cubic-bezier(0.19, 1, 0.22, 1),
      filter 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform, filter;
  }

  [data-reveal="left"]  { transform: translateX(-60px) translateY(0); }
  [data-reveal="right"] { transform: translateX(60px) translateY(0); }
  [data-reveal="up"]    { transform: translateY(60px); }
  [data-reveal="down"]  { transform: translateY(-60px); }
  [data-reveal="scale"] { transform: scale(0.9); }
  [data-reveal="rotate"]{ transform: translateY(40px) rotate(-4deg); }
  [data-reveal="fade"]  { transform: none; filter: none; }

  [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0);
    filter: blur(0);
  }

  /* ---------- Split text ---------- */

  .split-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.28em;
    padding-bottom: 0.05em;
  }

  .split-word > .split-inner {
    display: inline-block;
    transform: translateY(110%) rotate(6deg);
    opacity: 0;
    transition:
      transform 1.2s cubic-bezier(0.19, 1, 0.22, 1),
      opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity;
  }

  .split-word.is-revealed > .split-inner {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }

  .split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotate(8deg);
    filter: blur(6px);
    transition:
      transform 1.1s cubic-bezier(0.19, 1, 0.22, 1),
      opacity 1.1s cubic-bezier(0.19, 1, 0.22, 1),
      filter 1.1s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform, opacity, filter;
  }

  .split-char.is-revealed {
    opacity: 1;
    transform: translateY(0) rotate(0);
    filter: blur(0);
  }

  /* Gradient na hero-title zůstane i po rozdělení na písmena */
  .hero-title span .split-char,
  .hero-title span .split-char.is-revealed {
    background: linear-gradient(135deg, #b8ccf7 0%, var(--accent-blue) 45%, #7b9fe8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .section-title span .split-word > .split-inner,
  .about-heading span .split-word > .split-inner {
    background: linear-gradient(135deg, var(--accent-blue-bright), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ---------- Magnetic buttons ---------- */

  .magnetic {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  /* ---------- Scroll progress bar ---------- */

  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg,
      var(--primary),
      var(--accent-blue),
      var(--accent-blue-bright),
      var(--accent-blue),
      var(--primary));
    background-size: 200% 100%;
    box-shadow:
      0 0 12px rgba(107, 143, 212, 0.8),
      0 0 24px rgba(107, 143, 212, 0.5);
    z-index: 9998;
    pointer-events: none;
    transition: width 0.08s linear;
    animation: shimmerBar 3s linear infinite;
  }

  @keyframes shimmerBar {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
  }

  /* ---------- Page transition ---------- */

  .page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #06080d;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .page-transition.is-active {
    opacity: 1;
    pointer-events: all;
  }

  .page-transition .transition-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px var(--accent-glow-strong);
    transition:
      opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1) 0.15s,
      transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.15s;
  }

  .page-transition.is-active .transition-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  /* ============================================================
   BÍLÁ MŘÍŽKA – ULTRA JEMNÁ, MINIMALISTICKÁ
   ============================================================ */

.bg-grid {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  /* Sníženo z 0.07 na 0.02 (2% průhlednost) – jen velmi jemný nádech */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
  mix-blend-mode: normal;
}

/* Žádná druhá mřížka uvnitř */
.bg-grid::before {
  display: none;
}

/* Horní linka – snížena na nepatrných 8% průhlednosti */
.bg-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
  pointer-events: none;
  box-shadow: none;
  animation: none;
}

/* Vignette – jemné stínění okrajů */
.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
  animation: none;
}

/* Glow vrstvy vypnuté */
.bg-glow,
.bg-glow-2,
.bg-glow-3 {
  display: none;
}

/* Video – v pozadí */
.video-bg {
  z-index: -5;
}

/* Overlay videa – mírně zjemněnýtmavý přechod */
.video-bg .video-overlay {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(6, 8, 13, 0.1) 0%, rgba(6, 8, 13, 0.4) 80%),
    linear-gradient(180deg, rgba(6, 8, 13, 0.15) 0%, rgba(6, 8, 13, 0.4) 100%);
}

  /* ---------- Respektuj prefers-reduced-motion ---------- */

  @media (prefers-reduced-motion: reduce) {
    [data-reveal],
    .split-word > .split-inner,
    .split-char,
    .magnetic {
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
      transition: none !important;
    }

    .scroll-progress { display: none; }
    .page-transition { display: none; }
  }

  /* ============================================================
    LOADING SCREEN
    ============================================================ */

  .loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #06080d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                visibility 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
  }

  .loader-logo {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 0 60px var(--accent-glow-strong),
                0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: loaderFloat 2.5s ease-in-out infinite;
  }

  @keyframes loaderFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-8px) scale(1.03); }
  }

  .loader-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
  }

  .loader-title span {
    background: linear-gradient(135deg, #b8ccf7 0%, var(--accent-blue) 45%, #7b9fe8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .loader-bar {
    width: 260px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
  }

  .loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
      var(--primary),
      var(--accent-blue),
      var(--accent-blue-bright));
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(107, 143, 212, 0.8);
    transition: width 0.25s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .loader-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 1.2em;
  }

  /* ============================================================
    RECENZE / TESTIMONIALS
    ============================================================ */

  .testimonials-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
    animation: fadeInUp 1s var(--transition) 0.4s both;
  }

  .testimonials-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
  }

  .testimonials-header .badge {
    margin-bottom: 1.2rem;
  }

  .testimonials-header .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .testimonials-header .section-desc {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.7rem 1.5rem;
    backdrop-filter: blur(18px);
    transition: all 0.5s var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--transition);
  }

  .testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(107, 143, 212, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--transition);
    pointer-events: none;
  }

  .testimonial-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 48px rgba(107, 143, 212, 0.15);
    background: var(--card-bg-hover);
  }

  .testimonial-card:hover::before,
  .testimonial-card:hover::after {
    opacity: 1;
  }

  .testimonial-quote {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.6;
    color: var(--accent-blue);
    opacity: 0.35;
    margin-bottom: 0.25rem;
    transition: all 0.5s var(--transition);
    position: relative;
    z-index: 1;
  }

  .testimonial-card:hover .testimonial-quote {
    opacity: 0.7;
    color: var(--accent-blue-bright);
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(157, 186, 240, 0.5));
  }

  .testimonial-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 300;
    font-style: italic;
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    position: relative;
    z-index: 1;
  }

  .testimonial-avatar {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    transition: all 0.4s var(--transition);
  }

  .testimonial-card:hover .testimonial-avatar img {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px var(--accent-glow-strong);
  }

  .testimonial-status {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 11px;
    height: 11px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
    animation: pulseIndicator 2s ease-in-out infinite;
  }

  .testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .testimonial-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
  }

  .testimonial-role {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.04em;
  }

  @media (max-width: 600px) {
    .testimonials-grid {
      grid-template-columns: 1fr;
    }

    .testimonials-header .section-title {
      font-size: 1.8rem;
    }

    .testimonial-card {
      padding: 1.5rem 1.3rem 1.2rem;
    }
  }

  /* ============================================================
    CUSTOM SCROLLBAR – animovaný gradient + indikátor sekce
    ============================================================ */

  /* Skryjeme nativní scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-track {
    background: #03050a;
  }

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
      var(--primary) 0%,
      var(--accent-blue) 50%,
      var(--accent-blue-bright) 100%);
    background-size: 100% 300%;
    background-position: 0% 0%;
    border-radius: 5px;
    border: 2px solid #03050a;
    animation: scrollbarShift 6s ease-in-out infinite;
    transition: background-position 0.3s var(--transition);
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
      var(--primary-hover) 0%,
      var(--accent-blue-bright) 50%,
      #fff 100%);
    background-size: 100% 300%;
    box-shadow: 0 0 16px rgba(107, 143, 212, 0.6);
  }

  @keyframes scrollbarShift {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 0% 100%; }
  }

  /* Firefox */
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) #03050a;
  }

  /* ---------- Indikátor sekce (pravá strana) ---------- */

  .section-indicator {
    position: fixed;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    pointer-events: auto;
  }

  .section-indicator .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    transition: all 0.4s var(--transition);
  }

  .section-indicator .dot:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue-bright);
    transform: scale(1.3);
    box-shadow: 0 0 16px var(--accent-blue-bright);
  }

  .section-indicator .dot.active {
    background: var(--accent-blue-bright);
    border-color: var(--accent-blue-bright);
    box-shadow:
      0 0 12px var(--accent-blue-bright),
      0 0 24px rgba(107, 143, 212, 0.6);
    transform: scale(1.2);
  }

  .section-indicator .dot.active::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--accent-blue-bright);
    animation: dotRipple 2s ease-out infinite;
  }

  @keyframes dotRipple {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
  }

  /* Tooltip s názvem sekce */
  .section-indicator .dot::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    color: var(--text-main);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .section-indicator .dot:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  @media (max-width: 768px) {
    .section-indicator {
      display: none;
    }
  }

  /* ============================================================
    NOISE / GRAIN OVERLAY – filmový šum
    ============================================================ */

  .noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9996;
    pointer-events: none;
    opacity: 0.055;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    animation: noiseShift 0.8s steps(6) infinite;
  }

  @keyframes noiseShift {
    0%   { background-position: 0 0; }
    20%  { background-position: -20px 10px; }
    40%  { background-position: 15px -15px; }
    60%  { background-position: -10px 20px; }
    80%  { background-position: 25px 5px; }
    100% { background-position: 0 0; }
  }

  /* ============================================================
    SCANLINE OVERLAY – military radar linka
    ============================================================ */

  .scanline-overlay {
    position: fixed;
    inset: 0;
    z-index: 9995;
    pointer-events: none;
    overflow: hidden;
  }

  /* Horizontální linka, která jede shora dolů */
  .scanline-overlay::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
      transparent,
      rgba(157, 186, 240, 0.3) 20%,
      rgba(157, 186, 240, 0.9) 50%,
      rgba(157, 186, 240, 0.3) 80%,
      transparent);
    box-shadow:
      0 0 20px rgba(157, 186, 240, 0.8),
      0 0 40px rgba(107, 143, 212, 0.5);
    animation: scanlineMove 8s linear infinite;
    opacity: 0.4;
  }

  @keyframes scanlineMove {
    0%   { top: -3%; }
    100% { top: 103%; }
  }

  /* Jemné vodorovné čáry (jako starý monitor) */
  .scanline-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.015) 0px,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 3px
    );
    pointer-events: none;
    opacity: 0.6;
  }

  /* ============================================================
    LENIS SMOOTH SCROLL
    ============================================================ */

  html.lenis,
  html.lenis body {
    height: auto;
  }

  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }

  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }

  .lenis.lenis-stopped {
    overflow: hidden;
  }

  .lenis.lenis-scrolling iframe {
    pointer-events: none;
  }

  /* Respektuj prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce) {
    .noise-overlay,
    .scanline-overlay {
      display: none;
    }

    .section-indicator {
      display: none;
    }
  }

  /* ============================================================
    BACK TO TOP BUTTON
    ============================================================ */

  .back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(18px);
    color: var(--accent-blue-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: all 0.45s var(--transition);
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .back-to-top:hover {
    border-color: var(--card-border-hover);
    color: #fff;
    background: var(--card-bg-hover);
    transform: translateY(-4px) scale(1.08);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.5),
      0 0 32px rgba(107, 143, 212, 0.35);
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s var(--transition-bounce);
  }

  .back-to-top:hover svg {
    transform: translateY(-2px) scale(1.15);
  }

  /* Kruhový progress okolo tlačítka */
  .back-to-top::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
      var(--accent-blue-bright) calc(var(--scroll-pct, 0) * 1%),
      transparent 0
    );
    z-index: -1;
    opacity: 0.65;
    transition: opacity 0.4s var(--transition);
  }

  .back-to-top:hover::before {
    opacity: 1;
  }

  @media (max-width: 480px) {
    .back-to-top {
      width: 42px;
      height: 42px;
      bottom: 18px;
      right: 18px;
    }
  }

  /* ============================================================
    LIGHTBOX PRO GALERII
    ============================================================ */

  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(3, 5, 10, 0.92);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--transition), visibility 0.5s var(--transition);
    cursor: zoom-out;
  }

  .lightbox.is-open {
    opacity: 1;
    visibility: visible;
  }

  .lightbox-image-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transform: scale(0.92);
    transition: transform 0.5s var(--transition);
  }

  .lightbox.is-open .lightbox-image-wrapper {
    transform: scale(1);
  }

  .lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.7),
      0 0 60px rgba(107, 143, 212, 0.2);
    object-fit: contain;
    display: block;
  }

  /* Zavírací tlačítko */
  .lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(18px);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.4s var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  .lightbox-close:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    color: var(--accent-blue-bright);
    transform: rotate(90deg) scale(1.08);
  }

  /* Navigační šipky */
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(18px);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.4s var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  .lightbox-nav:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    color: var(--accent-blue-bright);
    transform: translateY(-50%) scale(1.1);
  }

  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }

  /* Počítadlo obrázků */
  .lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(18px);
    color: var(--text-main);
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  }

  @media (max-width: 768px) {
    .lightbox-nav {
      width: 42px;
      height: 42px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  }

  /* ============================================================
    PARALLAX HERO LOGO
    ============================================================ */

  .main-hero-logo {
    will-change: transform;
    transition: transform 0.15s linear;
  }

  /* ============================================================
    ANIMATED GRADIENT BORDER NA KARTÁCH
    ============================================================ */

  /* Přidáme animovaný gradient rámeček */
  .feature-card,
  .staff-card,
  .testimonial-card,
  .stat-card,
  .how-to-card,
  .faq-item,
  .card-panel {
    position: relative;
    z-index: 0;
  }

  .feature-card::before,
  .staff-card::before,
  .testimonial-card::before,
  .stat-card::before,
  .how-to-card::before,
  .card-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
      var(--gradient-angle, 0deg),
      transparent 0%,
      transparent 30%,
      var(--accent-blue) 50%,
      transparent 70%,
      transparent 100%
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--transition);
    animation: rotateGradient 6s linear infinite;
    pointer-events: none;
    z-index: 1;
  }

  .feature-card:hover::before,
  .staff-card:hover::before,
  .testimonial-card:hover::before,
  .stat-card:hover::before,
  .how-to-card:hover::before,
  .card-panel:hover::before {
    opacity: 1;
  }

  @property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }

  @keyframes rotateGradient {
    0%   { --gradient-angle: 0deg; }
    100% { --gradient-angle: 360deg; }
  }

  /* Fallback pro prohlížeče bez @property */
  @supports not (background: paint(something)) {
    .feature-card:hover::before,
    .staff-card:hover::before,
    .testimonial-card:hover::before,
    .stat-card:hover::before,
    .how-to-card:hover::before,
    .card-panel:hover::before {
      background: linear-gradient(90deg,
        transparent,
        var(--accent-blue-bright),
        transparent);
      animation: slideBorder 3s linear infinite;
      background-size: 200% 100%;
    }
    @keyframes slideBorder {
      0%   { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }
  }

  /* ============================================================
    ANIMATED COUNTERS (počítadla)
    ============================================================ */

  .stat-value,
  .stat-number {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    min-width: 1ch;
  }

  /* Respektuj prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce) {
    .back-to-top,
    .lightbox,
    .lightbox-image-wrapper,
    .feature-card::before,
    .staff-card::before,
    .testimonial-card::before,
    .stat-card::before,
    .how-to-card::before,
    .card-panel::before {
      animation: none !important;
      transition: none !important;
    }
  }

  /* ============================================================
    SERVER STATUS – živý status s animací
    ============================================================ */

  /* Stavy indikátoru */
  .server_status[data-status="soon"] .server_status_indicator {
    background: #fbbf24;
    box-shadow:
      0 0 14px rgba(251, 191, 36, 0.9),
      0 0 28px rgba(251, 191, 36, 0.5);
  }

  .server_status[data-status="soon"] .server_status_indicator::after {
    border-color: rgba(251, 191, 36, 0.5);
  }

  .server_status[data-status="online"] .server_status_indicator {
    background: var(--success);
    box-shadow:
      0 0 14px rgba(74, 222, 128, 0.9),
      0 0 28px rgba(74, 222, 128, 0.5);
  }

  .server_status[data-status="online"] .server_status_indicator::after {
    border-color: rgba(74, 222, 128, 0.5);
  }

  .server_status[data-status="offline"] .server_status_indicator {
    background: var(--danger);
    box-shadow:
      0 0 14px rgba(248, 113, 113, 0.9),
      0 0 28px rgba(248, 113, 113, 0.5);
  }

  .server_status[data-status="offline"] .server_status_indicator::after {
    border-color: rgba(248, 113, 113, 0.5);
  }

  /* Label – barva podle stavu */
  .server_status[data-status="soon"] .label {
    color: #fbbf24;
  }

  .server_status[data-status="online"] .label {
    color: var(--success);
  }

  .server_status[data-status="offline"] .label {
    color: var(--danger);
  }

  /* Živý počet hráčů – jemné pulzování */
  .server_status[data-status="online"] .players {
    animation: playersPulse 3s ease-in-out infinite;
  }

  @keyframes playersPulse {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 16px rgba(107, 143, 212, 0.1); }
    50%      { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 26px rgba(74, 222, 128, 0.35); }
  }

 /* ============================================================
   HERO LOGO – prémiové efekty v2
   ============================================================ */

.hero-logo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  isolation: isolate;

  /* Float + breath animace na wrapperu (aby nekolidovala s JS parallaxem) */
  animation: heroLogoFloat 7s ease-in-out infinite,
             heroLogoBreath 5s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}

/* ---------- Hlavní logo – prémiová verze ---------- */

.hero-logo-wrapper .main-hero-logo {
  position: relative;
  z-index: 3;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  border-radius: var(--radius-xl);
  transform-origin: center center;
  will-change: transform, filter;
  transition:
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  /* Více vrstev drop-shadow pro hloubku */
  filter:
    drop-shadow(0 0 20px rgba(107, 143, 212, 0.35))
    drop-shadow(0 0 50px rgba(107, 143, 212, 0.4))
    drop-shadow(0 0 100px rgba(107, 143, 212, 0.25));
  animation: heroLogoShine 8s ease-in-out infinite;
}

/* Shine efekt – jemné přelévání světla přes logo */
@keyframes heroLogoShine {
  0%, 100% {
    filter:
      drop-shadow(0 0 20px rgba(107, 143, 212, 0.35))
      drop-shadow(0 0 50px rgba(107, 143, 212, 0.4))
      drop-shadow(0 0 100px rgba(107, 143, 212, 0.25));
  }
  50% {
    filter:
      drop-shadow(0 0 30px rgba(157, 186, 240, 0.5))
      drop-shadow(0 0 70px rgba(107, 143, 212, 0.55))
      drop-shadow(0 0 130px rgba(107, 143, 212, 0.35));
  }
}

/* Hover – výrazné rozzáření + jemné zvětšení */
.hero-logo-wrapper:hover .main-hero-logo {
  transform: scale(1.04);
  filter:
    drop-shadow(0 0 30px rgba(157, 186, 240, 0.6))
    drop-shadow(0 0 70px rgba(107, 143, 212, 0.7))
    drop-shadow(0 0 140px rgba(107, 143, 212, 0.5))
    drop-shadow(0 0 200px rgba(107, 143, 212, 0.3));
  animation-play-state: paused;
}

/* Jemné nadzvednutí při kliknutí */
.hero-logo-wrapper:active .main-hero-logo {
  transform: scale(1.02);
}

/* Respektuj prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrapper .main-hero-logo {
    animation: none !important;
  }
}

/* ---------- Klíčové animace ---------- */

@keyframes heroLogoFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-8px) rotate(-0.5deg) scale(1.005);
  }
  50% {
    transform: translateY(-16px) rotate(-1deg) scale(1.01);
  }
  75% {
    transform: translateY(-8px) rotate(-0.5deg) scale(1.005);
  }
}

@keyframes heroLogoBreath {
  0%, 100% {
    filter: drop-shadow(0 0 40px rgba(107, 143, 212, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 80px rgba(107, 143, 212, 0.7));
  }
}

/* ---------- Záře za logem ---------- */

.hero-logo-glow {
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(107, 143, 212, 0.4) 0%,
    rgba(107, 143, 212, 0.18) 30%,
    rgba(107, 143, 212, 0.05) 55%,
    transparent 70%);
  z-index: 1;
  animation: heroGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
  filter: blur(30px);
  will-change: opacity, transform;
}

@keyframes heroGlowPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

/* ---------- Pulzující prstence (radar / sonar efekt) ---------- */

.hero-logo-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(157, 186, 240, 0.35);
  z-index: 2;
  pointer-events: none;
  animation: radarPulse 3s ease-out infinite;
  will-change: transform, opacity;
}

.hero-logo-ring-2 {
  inset: 8%;
  border: 1px solid rgba(107, 143, 212, 0.4);
  animation: radarPulse 3s ease-out infinite 1.5s;
}

/* Třetí prstenec – přes pseudo-element */
.hero-logo-wrapper::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(157, 186, 240, 0.3);
  z-index: 0;
  pointer-events: none;
  animation: radarPulse 3s ease-out infinite 0.75s;
  will-change: transform, opacity;
}

/* Sonar efekt – kroužky se rozšiřují a mizí */
@keyframes radarPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
    border-width: 2px;
    box-shadow: 0 0 20px rgba(107, 143, 212, 0.6),
                inset 0 0 20px rgba(107, 143, 212, 0.3);
  }
  50% {
    opacity: 0.4;
    border-width: 1px;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
    border-width: 1px;
    box-shadow: 0 0 0 rgba(107, 143, 212, 0),
                inset 0 0 0 rgba(107, 143, 212, 0);
  }
}

/* Jemné rotující světelné paprsky za logem (navíc) */
.hero-logo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(107, 143, 212, 0.15) 60deg,
    transparent 120deg,
    transparent 180deg,
    rgba(157, 186, 240, 0.12) 240deg,
    transparent 300deg,
    transparent 360deg
  );
  z-index: 0;
  pointer-events: none;
  animation: heroRaysRotate 20s linear infinite;
  will-change: transform;
  opacity: 0.8;
  filter: blur(8px);
}

@keyframes heroRaysRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* ---------- Světelné tečky na prstenci ---------- */

.hero-logo-ring::before,
.hero-logo-ring::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue-bright);
  box-shadow:
    0 0 12px var(--accent-blue-bright),
    0 0 24px rgba(107, 143, 212, 0.7);
  animation: heroDotPulse 2s ease-in-out infinite;
}

.hero-logo-ring::before {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-logo-ring::after {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

@keyframes heroDotPulse {
  0%, 100% {
    opacity: 0.7;
    box-shadow:
      0 0 12px var(--accent-blue-bright),
      0 0 24px rgba(107, 143, 212, 0.7);
  }
  50% {
    opacity: 1;
    box-shadow:
      0 0 20px var(--accent-blue-bright),
      0 0 40px rgba(107, 143, 212, 0.9);
  }
}

/* ---------- Responzivita ---------- */

@media (max-width: 1100px) {
  .hero-logo-wrapper { max-width: 400px; }
  .hero-logo-wrapper .main-hero-logo { max-height: 300px; }
}

@media (max-width: 900px) {
  .hero-logo-wrapper { max-width: 320px; }
  .hero-logo-wrapper .main-hero-logo { max-height: 240px; }

  /* Zmenšit intenzitu glow na menších obrazovkách */
  .hero-logo-glow {
    filter: blur(20px);
    inset: -20%;
  }
}

@media (max-width: 600px) {
  .hero-logo-wrapper { max-width: 280px; }
  .hero-logo-wrapper .main-hero-logo { max-height: 200px; }
}

@media (max-width: 480px) {
  .hero-logo-wrapper { max-width: 240px; }
  .hero-logo-wrapper .main-hero-logo { max-height: 180px; }

  /* Vypnout vnější prstenec na malých obrazovkách */
  .hero-logo-wrapper::before { display: none; }
}

/* ---------- Prefers-reduced-motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrapper,
  .hero-logo-wrapper .main-hero-logo,
  .hero-logo-glow,
  .hero-logo-ring,
  .hero-logo-ring-2,
  .hero-logo-wrapper::before,
  .hero-logo-ring::before,
  .hero-logo-ring::after,
  .server_status .players {
    animation: none !important;
  }
}

  /* ============================================================
    JAK ZAČÍT HRÁT
    ============================================================ */

  .how-to-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
  }

  .how-to-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
  }

  .how-to-header .badge {
    margin-bottom: 1.2rem;
  }

  .how-to-header .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .how-to-header .section-desc {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .how-to-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem 1.8rem;
    backdrop-filter: blur(18px);
    transition: all 0.5s var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .how-to-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.5s var(--transition);
  }

  .how-to-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(107, 143, 212, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--transition);
    pointer-events: none;
  }

  .how-to-card:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 56px rgba(107, 143, 212, 0.15);
    background: var(--card-bg-hover);
  }

  .how-to-card:hover::before,
  .how-to-card:hover::after {
    opacity: 1;
  }

  .how-to-number {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(107, 143, 212, 0.12);
    letter-spacing: -0.05em;
    transition: all 0.5s var(--transition);
    pointer-events: none;
  }

  .how-to-card:hover .how-to-number {
    color: rgba(157, 186, 240, 0.3);
    transform: scale(1.1);
  }

  .how-to-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(107, 143, 212, 0.2), rgba(62, 78, 122, 0.12));
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    transition: all 0.5s var(--transition-bounce);
    color: var(--accent-blue-bright);
    position: relative;
    z-index: 1;
  }

  .how-to-card:hover .how-to-icon {
    background: linear-gradient(135deg, rgba(107, 143, 212, 0.4), rgba(62, 78, 122, 0.25));
    border-color: var(--primary-hover);
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 0 28px var(--accent-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .how-to-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.7rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    transition: color 0.35s var(--transition);
  }

  .how-to-card:hover h3 {
    color: var(--accent-blue-bright);
  }

  .how-to-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
    position: relative;
    z-index: 1;
    margin-bottom: 1.2rem;
  }

  .how-to-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-blue-bright);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--card-border);
    background: rgba(107, 143, 212, 0.08);
    transition: all 0.35s var(--transition);
    position: relative;
    z-index: 1;
  }

  .how-to-link:hover {
    background: rgba(107, 143, 212, 0.18);
    border-color: var(--card-border-hover);
    transform: translateX(4px);
    color: #fff;
  }

  .how-to-link svg {
    transition: transform 0.35s var(--transition-bounce);
  }

  .how-to-link:hover svg {
    transform: translate(2px, -2px);
  }

  .how-to-hint {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
    position: relative;
    z-index: 1;
  }

  /* ============================================================
    FAQ – rozbalovací akordeon
    ============================================================ */

  .faq-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
  }

  .faq-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
  }

  .faq-header .badge {
    margin-bottom: 1.2rem;
  }

  .faq-header .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .faq-header .section-desc {
    margin-bottom: 0;
    font-size: 1rem;
  }

  .faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(18px);
    transition: all 0.4s var(--transition);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .faq-item:hover {
    border-color: var(--card-border-hover);
    background: var(--card-bg-hover);
  }

  .faq-item[open] {
    border-color: var(--primary-hover);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 32px rgba(107, 143, 212, 0.12);
  }

  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-main);
    transition: color 0.3s var(--transition);
    position: relative;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary:hover {
    color: var(--accent-blue-bright);
  }

  .faq-item[open] summary {
    color: var(--accent-blue-bright);
  }

  /* Ikona + / × */
  .faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.4s var(--transition);
  }

  .faq-icon::before,
  .faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--accent-blue-bright);
    border-radius: 2px;
    transition: all 0.4s var(--transition);
  }

  .faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
  }

  .faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
  }

  .faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
  }

  .faq-item[open] .faq-icon::before {
    transform: translate(-50%, -50%) rotate(180deg);
    background: #fff;
  }

  /* Obsah */
  .faq-content {
    padding: 0 1.5rem 1.3rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 300;
    animation: faqSlide 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .faq-content p {
    margin: 0;
  }

  .faq-content strong {
    color: var(--accent-blue-bright);
    font-weight: 600;
  }

  @keyframes faqSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ============================================================
    Responzivita
    ============================================================ */

  @media (max-width: 900px) {
    .how-to-header .section-title,
    .faq-header .section-title {
      font-size: 1.8rem;
    }

    .how-to-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 600px) {
    .how-to-card {
      padding: 1.8rem 1.5rem 1.5rem;
    }

    .how-to-number {
      font-size: 2.4rem;
      top: 1rem;
      right: 1.2rem;
    }

    .faq-item summary {
      padding: 1rem 1.2rem;
      font-size: 0.9rem;
    }

    .faq-content {
      padding: 0 1.2rem 1.1rem;
      font-size: 0.88rem;
    }
  }

 /* ============================================================
   MARQUEE – běžící text
   ============================================================ */

.marquee {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg,
    rgba(107, 143, 212, 0.06) 0%,
    rgba(107, 143, 212, 0.12) 50%,
    rgba(107, 143, 212, 0.06) 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marqueeScroll 18s linear infinite;
  width: max-content;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-main);
  opacity: 0.75;
}

.marquee-dot {
  color: var(--accent-blue-bright);
  font-size: 0.85rem;
  filter: drop-shadow(0 0 6px var(--accent-blue-bright));
  animation: marqueeDotPulse 2s ease-in-out infinite;
}

@keyframes marqueeDotPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.3); }
}

/* ============================================================
   FOOTER – prémiový
   ============================================================ */

.main-footer {
  background: rgba(3, 5, 10, 0.92);
  border-top: 1px solid var(--card-border);
  backdrop-filter: blur(24px);
  padding: 3.5rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.6), transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 0 16px var(--accent-glow-strong), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--transition-bounce);
}

.footer-brand:hover img {
  transform: rotate(-6deg) scale(1.08);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.4rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.footer-social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 143, 212, 0.25), rgba(107, 143, 212, 0));
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.footer-social:hover {
  color: var(--accent-blue-bright);
  border-color: var(--card-border-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(107, 143, 212, 0.25);
}

.footer-social:hover::before { opacity: 1; }

.footer-social svg {
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--transition-bounce);
}

.footer-social:hover svg { transform: scale(1.15); }

.footer-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue-bright);
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 0.85rem;
}

.footer-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--accent-blue-bright), var(--primary));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-glow-strong);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links li { display: flex; }

.footer-links a,
.footer-links li > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.25rem 0;
  transition: all 0.35s var(--transition);
  position: relative;
}

.footer-links a svg,
.footer-links li > svg {
  color: var(--accent-blue);
  opacity: 0.7;
  flex-shrink: 0;
  transition: all 0.35s var(--transition);
}

.footer-links a:hover {
  color: var(--accent-blue-bright);
  transform: translateX(4px);
}

.footer-links a:hover svg {
  opacity: 1;
  color: var(--accent-blue-bright);
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px var(--accent-blue-bright));
}

.footer-info li {
  color: var(--text-muted);
  font-size: 0.88rem;
  align-items: center;
  gap: 0.55rem;
  display: inline-flex;
  padding: 0.25rem 0;
}

.footer-donate {
  color: #ffd166 !important;
}

.footer-donate svg { color: #ffd166 !important; }

.footer-donate:hover {
  color: #fff !important;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.6);
}

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 300;
  margin: 0;
}

.footer-copy strong {
  color: var(--accent-blue-bright);
  font-weight: 600;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.35s var(--transition);
}

.footer-legal a:hover { color: var(--accent-blue-bright); }

.footer-sep {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-desc { max-width: 100%; }
  .marquee-item {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }
}

/* ============================================================
   MAGNETIC CURSOR TRAIL (kometa)
   ============================================================ */

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 99998;
}

.cursor-trail-particle {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle,
    var(--accent-blue-bright) 0%,
    rgba(157, 186, 240, 0.6) 40%,
    rgba(107, 143, 212, 0) 70%);
  box-shadow:
    0 0 12px var(--accent-blue-bright),
    0 0 24px rgba(107, 143, 212, 0.6);
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

@media (hover: none) {
  .cursor-trail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-trail { display: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   MARQUEE + FOOTER – VŽDY VIDITELNÉ
   (nesmí je schovat reveal systém)
   ============================================================ */

.marquee,
.marquee[data-reveal],
.marquee.is-revealed {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  visibility: visible !important;
}

.main-footer,
.main-footer[data-reveal],
.main-footer.is-revealed {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  visibility: visible !important;
}

/* Vynucení rychlosti marquee */
.marquee-track {
  animation: marqueeScroll 18s linear infinite !important;
}

/* ============================================================
   STEPPER – JAK SE PŘIPOJIT
   ============================================================ */

.stepper-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem;
}

.stepper-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.stepper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.6), transparent);
}

.stepper-card::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 212, 0.15), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* Progress segmenty */
.stepper-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.stepper-segment {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.stepper-segment.is-active {
  background: linear-gradient(90deg, var(--primary), var(--accent-blue-bright));
  box-shadow: 0 0 12px rgba(107, 143, 212, 0.6);
}

.stepper-segment.is-completed {
  background: var(--primary);
  box-shadow: 0 0 8px rgba(107, 143, 212, 0.4);
}

/* Panely */
.stepper-panels {
  position: relative;
  min-height: 180px;
  z-index: 1;
}

.stepper-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 1rem 0;
  pointer-events: none;
}

.stepper-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.stepper-panel h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stepper-panel p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
}

.stepper-panel p strong {
  color: var(--accent-blue-bright);
  font-weight: 600;
}

.stepper-btn {
  margin-top: 0.5rem;
}

.stepper-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
}

/* Kontrolky */
.stepper-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
}

.stepper-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.35s var(--transition);
}

.stepper-btn-nav:hover:not(:disabled) {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  color: var(--accent-blue-bright);
  transform: translateY(-2px);
}

.stepper-btn-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper-btn-next {
  color: var(--accent-blue-bright);
  border-color: rgba(107, 143, 212, 0.4);
}

.stepper-btn-next:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  border-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(62, 78, 122, 0.5);
}

.stepper-counter {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
}

.stepper-counter .stepper-current {
  color: var(--accent-blue-bright);
  font-weight: 700;
}

/* Responzivita */
@media (max-width: 600px) {
  .stepper-card {
    padding: 1.5rem 1.2rem 1.2rem;
  }

  .stepper-panel h3 {
    font-size: 1.15rem;
  }

  .stepper-panel p {
    font-size: 0.88rem;
  }

  .stepper-controls {
    flex-wrap: wrap;
  }

  .stepper-counter {
    order: -1;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

/* ============================================================
   FEATURES – MINI GRID (Co u nás zažiješ)
   ============================================================ */

.features-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.features-header .badge {
  margin-bottom: 1.2rem;
}

.features-header .section-title {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.features-header .section-desc {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Grid – 3 sloupce na desktopu, 2 na tabletu, 1 na mobilu */
.features-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Mini karta */
.feature-mini {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(18px);
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-mini::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.feature-mini::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(107, 143, 212, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
  pointer-events: none;
}

.feature-mini:hover {
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 28px rgba(107, 143, 212, 0.12);
}

.feature-mini:hover::before,
.feature-mini:hover::after {
  opacity: 1;
}

/* Ikona */
.feature-mini-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(107, 143, 212, 0.15);
  border: 1px solid rgba(107, 143, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-bright);
  transition: all 0.4s var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.feature-mini:hover .feature-mini-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-color: var(--primary-hover);
  color: #fff;
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 6px 20px rgba(107, 143, 212, 0.4);
}

/* Text */
.feature-mini-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.feature-mini-text h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  transition: color 0.35s var(--transition);
}

.feature-mini:hover .feature-mini-text h3 {
  color: var(--accent-blue-bright);
}

.feature-mini-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}

/* Responzivita */
@media (max-width: 900px) {
  .features-mini-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 600px) {
  .features-header .section-title {
    font-size: 1.8rem;
  }

  .features-mini-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .feature-mini {
    padding: 0.95rem 1rem;
    gap: 0.75rem;
  }

  .feature-mini-icon {
    width: 38px;
    height: 38px;
  }

  .feature-mini-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-mini-text h3 {
    font-size: 0.88rem;
  }

  .feature-mini-text p {
    font-size: 0.74rem;
  }
}

/* ============================================================
   CTA – PŘIPOJ SE NA DISCORD (podle vzoru)
   ============================================================ */

.cta-section {
  margin-bottom: 3rem;
  padding: 3rem 0;
  display: flex;
  justify-content: center;
}

.cta-card {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding: 3rem 2.5rem;
  background: rgba(18, 20, 28, 0.9);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.4s var(--transition);
}

.cta-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.55), 0 0 64px rgba(107, 143, 212, 0.12);
}

/* Pozadí Discord */
.cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* Wumpus vpravo dole */
.cta-wumpus {
  position: absolute;
  bottom: 0;
  right: 2rem;
  width: 140px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 24px rgba(107, 143, 212, 0.45));
  animation: ctaWumpusFloat 4s ease-in-out infinite;
}

@keyframes ctaWumpusFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Obsah CTA */
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 55%;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.cta-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  background: #7289da;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.35s var(--transition);
  box-shadow: 0 4px 18px rgba(114, 137, 218, 0.3);
}

.cta-btn:hover {
  background: #5b6eae;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(114, 137, 218, 0.55);
}

.cta-players {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-players strong {
  color: var(--accent-blue-bright);
  font-weight: 700;
}

/* Responzivita */
@media (max-width: 700px) {
  .cta-card {
    padding: 2rem 1.5rem;
  }
  .cta-content {
    max-width: 100%;
  }
  .cta-wumpus {
    width: 100px;
    right: 0.5rem;
    opacity: 0.5;
  }
  .cta-title {
    font-size: 1.4rem;
  }
}

/* ============================================================
   INFORMACE – prémiový design v2
   ============================================================ */

/* HERO sekce */
.info-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem 0;
}

.info-hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue-bright);
  background: rgba(107, 143, 212, 0.12);
  border: 1px solid rgba(107, 143, 212, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 24px rgba(107, 143, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.info-hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.info-hero-title span {
  background: linear-gradient(135deg, #b8ccf7 0%, var(--accent-blue) 45%, #7b9fe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  filter: drop-shadow(0 0 35px rgba(107, 143, 212, 0.35));
}

.info-hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Statistiky – pills */
.info-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.info-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  backdrop-filter: blur(18px);
  transition: all 0.4s var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.info-stat-pill:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(107, 143, 212, 0.12);
}

.info-stat-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue-bright);
  box-shadow: 0 0 10px var(--accent-blue-bright);
  animation: pulseDot 2s ease-in-out infinite;
}

.info-stat-pill-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.info-stat-pill-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Featured karta */
.info-card-featured {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 2.2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--transition);
  margin-bottom: 3rem;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.info-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 143, 212, 0.6), transparent);
}

.info-card-featured::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 143, 212, 0.15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.info-card-featured:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.5), 0 0 48px rgba(107, 143, 212, 0.15);
}

.info-card-featured-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(107, 143, 212, 0.25), rgba(62, 78, 122, 0.15));
  border: 1px solid var(--card-border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 24px rgba(107, 143, 212, 0.2);
  position: relative;
  z-index: 1;
}

.info-card-featured-icon.cta-icon {
  background: linear-gradient(135deg, rgba(107, 143, 212, 0.4), rgba(62, 78, 122, 0.25));
  box-shadow: 0 0 32px rgba(107, 143, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.info-card-featured-content {
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.info-card-featured-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue-bright);
  margin-bottom: 0.6rem;
  opacity: 0.9;
}

.info-card-featured-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.info-card-featured-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1rem;
}

.info-card-featured-content p strong {
  color: var(--accent-blue-bright);
  font-weight: 600;
}

.info-cta-btn {
  margin-top: 0.5rem;
}

/* Sekce */
.info-section {
  margin-bottom: 3rem;
}

.info-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.info-section-header .badge {
  margin-bottom: 1.2rem;
}

.info-section-header .section-title {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.info-section-header .section-desc {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Kariéra grid */
.info-career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.info-career-card {
  padding: 1.8rem 1.6rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.info-career-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}

.info-career-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5), 0 0 40px rgba(107, 143, 212, 0.12);
  background: var(--card-bg-hover);
}

.info-career-card:hover::before {
  opacity: 1;
}

.info-career-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(107, 143, 212, 0.35);
  background: rgba(107, 143, 212, 0.15);
  color: var(--accent-blue-bright);
  transition: all 0.5s var(--transition-bounce);
}

.info-career-card:hover .info-career-icon {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 0 28px var(--accent-glow-strong);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-color: var(--primary-hover);
  color: #fff;
}

.info-career-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
  transition: color 0.3s var(--transition);
}

.info-career-card:hover h3 {
  color: var(--accent-blue-bright);
}

.info-career-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

/* Frakce grid */
.info-factions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.info-faction-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.info-faction-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-blue-bright), var(--primary));
  opacity: 0;
  transition: opacity 0.4s var(--transition);
}

.info-faction-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px) translateX(4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(107, 143, 212, 0.15);
  background: var(--card-bg-hover);
}

.info-faction-card:hover::before {
  opacity: 1;
}

.info-faction-flag {
  flex-shrink: 0;
  width: 48px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--transition-bounce);
}

.info-faction-card:hover .info-faction-flag {
  transform: scale(1.08) rotate(-3deg);
}

.info-faction-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-faction-info {
  flex: 1;
  min-width: 0;
}

.info-faction-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--transition);
}

.info-faction-card:hover .info-faction-info h3 {
  color: var(--accent-blue-bright);
}

.info-faction-type {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.info-faction-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
  margin: 0;
  opacity: 0.85;
}

.info-faction-status {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-blue-bright);
  background: rgba(107, 143, 212, 0.14);
  border: 1px solid rgba(107, 143, 212, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-shadow: 0 0 12px rgba(107, 143, 212, 0.5);
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(107, 143, 212, 0.12);
}

.info-factions-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
  margin-top: 1.5rem;
  font-weight: 300;
}

/* ============================================================
   PŘEPIS BARVY IP BOXU – modrá místo zelené
   ============================================================ */

.ip-box {
  color: var(--accent-blue-bright) !important;
}

.ip-box::before {
  background: var(--accent-blue-bright) !important;
  box-shadow: 0 0 16px var(--accent-blue-bright) !important;
}

.ip-box:hover {
  border-color: var(--primary-hover) !important;
  box-shadow: 0 10px 28px rgba(107, 143, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* ============================================================
   PŘEPIS BARVY STATUS BADGE – modrá místo zelené
   ============================================================ */

.status-open {
  color: var(--accent-blue-bright) !important;
  background: rgba(107, 143, 212, 0.14) !important;
  border: 1px solid rgba(107, 143, 212, 0.4) !important;
  text-shadow: 0 0 12px rgba(107, 143, 212, 0.5) !important;
  box-shadow: 0 0 16px rgba(107, 143, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* ============================================================
   Responzivita pro info sekci
   ============================================================ */

@media (max-width: 900px) {
  .info-hero-title { font-size: 2.4rem; }
  .info-card-featured { flex-direction: column; padding: 1.6rem 1.4rem; }
  .info-card-featured-icon { width: 50px; height: 50px; }
  .info-card-featured-content h2 { font-size: 1.3rem; }
}

@media (max-width: 600px) {
  .info-hero-title { font-size: 1.9rem; }
  .info-hero-desc { font-size: 0.95rem; }
  .info-card-featured-content h2 { font-size: 1.15rem; }
  .info-card-featured-content p { font-size: 0.88rem; }
  .info-section-header .section-title { font-size: 1.6rem; }
  .info-career-grid { grid-template-columns: 1fr; }
  .info-factions-grid { grid-template-columns: 1fr; }
  .info-stat-pill { padding: 0.55rem 1rem; font-size: 0.85rem; }
}