:root {
    --bg: #0b0f14;
    --panel: #101826;
    --text: #e9eef6;
    --muted: #a7b2c3;
    --stroke: rgba(255,255,255,.12);
    --cta: #7c5cff;
    --cta2: #22c55e;
    --focus: rgba(124,92,255,.35);
    --radius: 16px;
    --max: 1100px;
    --header-height: 160px;
  }
  
  * { box-sizing: border-box; }
  
  body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    line-height: 1.55;
    background:
      radial-gradient(1200px 900px at 15% -10%, rgba(124,92,255,.55), transparent 90%),
      radial-gradient(900px 900px at 85% -5%, rgba(34,197,94,.45), transparent 90%),
      radial-gradient(1400px 900px at 50% 40%, rgba(255,255,255,.06), transparent 50%),
      linear-gradient(to bottom, #0b0f14 0%, #0c1119 35%, #0a0d13 70%, #05070b 90%);
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  a { color: inherit; text-decoration: none; }
  
  .wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px;
  }
  
  /* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: 
    linear-gradient(90deg,
      rgba(9,4,36,.98) 0%,        /* Must vasakul (logo pool) */
      rgba(11,9,49,.95) 33%,       /* Jääb mustaks natuke kauem */
      rgba(20,25,35,.75) 50%,       /* Hakkab heledamaks muutuma */
      rgba(124,92,255,.15) 70%,     /* Purple gradient */
      rgba(34,197,94,.12) 100%      /* Green gradient paremal */
    ),
    rgba(11,15,20,.72);              /* Fallback taust */
  border-bottom: 1px solid var(--stroke);
}
  
  header .wrap {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  .headgrid {
    display: grid;
    grid-template-rows: auto auto;
    align-items: center;
  }
  
  .headgrid .row1 {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .headgrid .row2 {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
  }
  
  .logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
  }
  
  .site-logo {
    height: 100px;
    width: auto;
    display: block;
  }
  
  nav { margin-right: auto; }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  nav a {
    display: inline-block;
    padding: 8px 10px;
    border: 1px solid rgba(124,92,255,.4);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255,255,255,.04);
  }
  
  nav a[aria-current="page"] {
    background: rgba(255,255,255,.12) linear-gradient(90deg, #7df9ff 0%, #b36bff 100%);
    border-color: rgba(146, 120, 252, 0.8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  nav a:hover { background: rgba(255,255,255,.08); color: var(--text); }
  nav a:focus { outline: none; box-shadow: 0 0 0 4px var(--focus); }
  
  .lang {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  .lang span {
    font-size: 12px;
    color: var(--muted);
    padding: 6px 10px;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
  }
  
  .lang span[aria-current="page"] {
    color: #7c5cff;
    background: rgba(124,92,255,.15);
    border-color: rgba(124,92,255,.6);
  }
  
  .slogan {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
  }
  
  .search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .search-input {
    flex: 1;
    min-width: 230px;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(124,92,255,.3);
    background: linear-gradient(135deg, rgba(124,92,255,.12), rgba(16,24,38,.9));
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
  }
  
  .search-input::placeholder { color: #bbbbbb; }
  
  .search-button {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    line-height: 1;
    border-radius: 0.5rem;
    border: none;
    background: linear-gradient(90deg, #6e4cad, #6e4cad);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }
  
  .search-button:hover { opacity: 0.85; }
  .search-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  
  /* ===== MAIN ===== */
  main { padding: 8px 0 10px; }
  
  .hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: stretch;
  }
  
  .kicker {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .12em;
  }
  
  .hero .card,
  .grid3 .card,
  .cta .card,
  .postgrid .card {
    display: flex;
    flex-direction: column;
  }
  
  .hero .card .pad,
  .grid3 .card .pad,
  .cta .card .pad,
  .postgrid .card .pad {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .card {
    background: rgba(16,24,38,.72);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
  }
  
  .card:last-child { margin-bottom: 0; }
  .card .pad { padding: 18px; }
  .card h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 20px;
    color: var(--text);
  }
  
  article > * + * { margin-top: 24px; }
  
  h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.15; }
  h2 { margin: 0 0 10px; font-size: 24px; color: #7df9ff; min-height: 1.5em; }
  h3 { margin: 1.5rem 0 0.5rem; font-size: 20px; color: #fff; }
  p { margin: 0 0 12px; color: var(--muted); }
  
  .btnrow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 10px;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: var(--text);
  }
  
  .btn:hover { background: rgba(255,255,255,.10); }
  .btn:focus { outline: none; box-shadow: 0 0 0 4px var(--focus); }
  .btn:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
  
  .btn:focus-visible,
  .search-input:focus-visible,
  nav a:focus-visible {
    outline: 3px solid #7c5cff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.2);
  }
  
  .btn:focus:not(:focus-visible),
  .search-input:focus:not(:focus-visible),
  nav a:focus:not(:focus-visible) {
    outline: 2px solid var(--cta);
    outline-offset: 1px;
  }
  
  .btn.primary { background: rgba(124,92,255,.22); border-color: rgba(124,92,255,.55); }
  .btn.primary:hover { background: rgba(124,92,255,.30); }
  .btn.good { background: rgba(34,197,94,.16); border-color: rgba(34,197,94,.45); }
  .btn.good:hover { background: rgba(34,197,94,.22); }
  
  .grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
    align-items: stretch;
  }
  
  .grid3 .card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .grid3 .card .pad {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .grid3 .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .grid3 .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  }

  
  .list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
  }
  
  .list li { margin: 6px 0; }
  
  .quote-box {
    border-left: 3px solid var(--cta);
    padding: 1rem;
    font-style: italic;
    color: var(--text);
    background: rgba(124,92,255,.08);
    border-radius: 8px;
    margin: 1rem 0;
  }
  
  .meta-info {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-style: italic;
  }
  
  .meta-info time { color: var(--cta); }
  
  .cta {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  
  .posts { margin-top: 22px; }
  
  .postgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  
  .post a { display: block; }
  .post h3 { margin: 0 0 8px; font-size: 20px; }
  .meta { font-size: 12px; color: var(--muted); }
  
  .compare-images {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    padding: 28px 28px 28px 0;
  }
  
  .compare-images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 30px 25px rgba(0,0,0,.35);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  
  .compare-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 45px rgba(124,92,255,.35);
  }
  
  /* ===== FOOTER ===== */
  footer {
    margin-top: 28px;
    padding: 18px 0 28px;
    border-top: 1px solid var(--stroke);
    color: var(--muted);
    font-size: 13px;
  }
  
  .gradient-text {
    background: linear-gradient(90deg, #7df9ff 0%, #b36bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  h1.gradient-text {
    background: linear-gradient(90deg, #7df9ff 0%, #b36bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text);
  }
  
  .footrow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  
  .footlinks {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .footlinks a { color: var(--muted); }
  .footlinks a:hover { color: var(--text); }
  #year { margin-right: 8px; }

  /* ===== AFFILIATE MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(6,10,18,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
  padding: 20px;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: rgba(16,24,38,.95);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: modalSlideIn .3s ease;
  position: relative;}


@keyframes modalSlideIn {
  from { 
    transform: translateY(-20px) scale(.95); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0) scale(1); 
    opacity: 1; 
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.modal-close:hover {
  background: rgba(255,255,255,.15);
  transform: scale(1.05);
}

/* Mobile optimized */
@media (max-width: 768px) {
  .modal {
    padding: 16px;
  }
  
  .modal-content {
    max-width: 100%;
  }
}
  
  /* ===== FEATURE CARDS ===== */
  .feature-card {
    background: rgba(16,24,38,.85);
    border: 1px solid rgba(124,92,255,.3);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
  }
  
  .feature-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1px;
    color: #b36bff;
  }
  
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .feature-box {
    background: rgba(11,15,20,.6);
    border: 1px solid rgba(124,92,255,.2);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,.3);
    border-color: rgba(124,92,255,.5);
  }
  
  .feature-box h3 {
    font-size: 1.2rem;
    margin: 0 0 15px;
    color: #7df9ff;
    display: flex;
    align-items: center;
  }
  
  .feature-box h3:before {
    content: "•";
    color: #b36bff;
    margin-right: 10px;
    font-size: 1.8rem;
  }
  
  .feature-box p {
    color: var(--muted);
    flex-grow: 1;
  }
  
  /* ===== SCROLL TO TOP ===== */
  #scrollTopBtn {
    position: fixed;
    right: 155px;
    bottom: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cta);
    border: 1.5px solid color-mix(in srgb, var(--cta) 60%, white 30%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.95);
    transition: all .25s ease;
    z-index: 999;
  }
  
  #scrollTopBtn:hover {
    background: color-mix(in srgb, var(--cta) 85%, white 15%);
    border-color: color-mix(in srgb, var(--cta) 50%, white 50%);
    transform: translateY(0) scale(1);
  }
  
  #scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  
  #scrollTopBtn svg {
    width: 26px;
    height: 26px;
  }
  
  /* ===== HERO ===== */
  .hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 400px;
  }
  
  .hero-text {
    flex: 1;
    z-index: 2;
    padding: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 3s forwards 1s;
  }
  
  .hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
  }
  
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: transform 0.6s ease;
    border-radius: var(--radius);
  }
  
  .hero-card:hover .hero-image img {
    transform: scale(1.05);
    filter: brightness(0.55);
  }
  
  .hero-text .gradient-text {
    background: linear-gradient(90deg, #7df9ff 0%, #b36bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero-text .btn.primary {
    margin-top: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .hero-text .btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(124,92,255,0.5), 0 0 40px rgba(124,92,255,0.35);
  }
  
  @keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* ===== CARD FLEX ===== */
  .card-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  
  .card-text { flex: 1; }
  
  .card-flex .card-text {
    padding: 28px 20px 28px 28px;
  }
  
  .card-flex .card-image {
    padding: 28px 28px 28px 0;
  }
  
  .card-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
  }
  
  section[id] {
    scroll-margin-top: 160px;
  }
  
  .cta-sticky {
    position: sticky;
    top: 80px;
    z-index: 30;
  }
  
  /* ===== GALLERY ===== */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 12px;
  }
  
  .gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    filter: brightness(.9);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
  }
  
  .gallery-grid img:hover {
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1);
    box-shadow: 0 18px 45px rgba(124,92,255,.35);
  }
  
  /* ===== LIGHTBOX ===== */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6,10,18,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1000;
    backdrop-filter: blur(6px);
  }
  
  .lightbox.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    animation: lightboxZoom .25s ease;
  }
  
  @keyframes lightboxZoom {
    from { transform: scale(.92); opacity: .6; }
    to { transform: scale(1); opacity: 1; }
  }
  
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }
  
  .lightbox-close:hover {
    background: rgba(255,255,255,.18);
    transform: scale(1.05);
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    :root { --header-height: 120px; }
    
    body { background-attachment: scroll; }
    
    header .wrap { padding-left: 24px; padding-right: 24px; }
    
    .headgrid {
      grid-template-rows: auto auto auto;
      gap: 10px;
    }
    
    .headgrid .row1 {
      flex-wrap: wrap;
      justify-content: space-between;
    }
    
    .headgrid .row2 { grid-template-columns: 1fr; }
    
    .lang { justify-self: start; }
    
    .site-logo {
      height: 50px;
      max-width: 100%;
    }
    
    .search-form { width: 100%; }
    
    .search-input {
      width: 100%;
      min-height: 44px;
      font-size: 1rem;
    }
    
    .search-button {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
      min-height: 44px;
    }
    
    nav ul {
      flex-direction: column;
      gap: 5px;
    }
    
    nav a {
      padding: 12px 15px;
      text-align: center;
    }
    
    h1 { font-size: 28px; }
    
    .grid3,
    .feature-grid,
    .gallery-grid {
      grid-template-columns: 1fr;
    }
    
    .gallery-grid img { height: 220px; }
    
    .hero-flex {
      flex-direction: column;
      min-height: auto;
    }
    
    .hero-image {
      position: relative;
      width: 100%;
      height: 200px;
      margin-top: 15px;
    }
    
    .hero-image img {
      filter: brightness(0.6);
      object-position: center top;
    }
    
    .hero-text {
      font-size: 1rem;
      line-height: 1.4;
      padding: 20px;
      text-align: center;
    }
    
    .hero-text h1 {font-size: 1.8rem;}
    .hero-text p { font-size: 1rem; }
    
    .hero-text .gradient-text { font-size: 1.25rem; }
    
    .hero-text .btn {
      font-size: 0.9rem;
      padding: 0.6em 1.2em;
    }
    
    .hero-text .btn.primary {
      width: 100%;
      font-size: 1rem;
      padding: 0.75rem 0;
    }
    
    .card-flex {
      flex-direction: column;
    }
    
    .card-flex .card-text,
    .card-flex .card-image {
      padding: 20px;
    }
    
    .card-image img {
      width: 100%;
      max-width: none;
      margin-top: 15px;
    }
    
    .compare-images {
      max-width: 100%;
      padding: 20px;
    }
    
    #scrollTopBtn {
      width: 44px;
      height: 44px;
      right: 16px;
      bottom: 16px;
    }
    
    #scrollTopBtn svg {
      width: 20px;
      height: 20px;
    }
  }

  /* Hero tekst valge + shadow kõigil lehtedel */
.hero-card .hero-text,
.hero-card .hero-text p,
.hero-card .hero-text h1 {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

.hero-card .hero-text .kicker {
  color: #7df9ff !important;
}

.hero-card .hero-text .gradient-text {
  color: transparent !important;
  text-shadow: none;
}

/* ===== TABELID ===== */
table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  margin: 20px 0;
}

table thead tr {
  border-bottom: 2px solid var(--stroke);
}

table thead th {
  text-align: left;
  padding: 10px;
}

table tbody td {
  padding: 10px;
  border-bottom: 1px solid var(--stroke);
}

table tbody tr td:nth-child(2) {
  background: rgba(169, 147, 255, 0.192);
}

/* Vertikaalsed jooned tabelis, ilma välisjoonteta */
table tbody td + td,
table thead th + th {
  border-left: 1px solid var(--stroke);
}

/* ================================================
   INDEX LEHTEDE ÜHISED KOMPONENDID
   ostujuhid/index.html | mangud/index.html | vordlused/index.html
   ================================================ */

/* --- Statistikariba (hero sees) --- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px;
}
.stat-strip-item {
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--stroke);
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-num { font-size: 26px; font-weight: 900; line-height: 1; }
.stat-strip-label { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* --- Kiirlingid (hero all) --- */
.quick-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.quick-link {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
  background: rgba(255,255,255,0.03);
}
.quick-link:hover {
  border-color: rgba(124,92,255,0.4);
  color: var(--cta);
  background: rgba(124,92,255,0.08);
}

/* --- Kategooria pealkiri --- */
.cat-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke);
}
.cat-heading h2 { font-size: 19px; font-weight: 700; margin: 0; }
.cat-heading-icon { font-size: 22px; }

/* --- Tagid --- */
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(124,92,255,0.12);
  color: var(--cta);
  border: 1px solid rgba(124,92,255,0.25);
}
.tag.green { background: rgba(34,197,94,0.1); color: #22c55e; border-color: rgba(34,197,94,0.25); }
.tag.blue  { background: rgba(96,165,250,0.1); color: #60a5fa; border-color: rgba(96,165,250,0.25); }
.tag.gold  { background: rgba(245,197,24,0.12); color: #f5c518; border-color: rgba(245,197,24,0.25); }
.tag.red   { background: rgba(239,68,68,0.1); color: #f87171; border-color: rgba(239,68,68,0.25); }

/* --- "Loe edasi" nool --- */
.loe-edasi { font-size: 13px; font-weight: 700; color: var(--cta); white-space: nowrap; margin-left: auto; }
.loe-edasi::after { content: ' →'; }

/* --- Ostujuhendite kaardid (ostujuhid/index) --- */
.guide-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  margin-bottom: 14px;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(124,92,255,0.18); }
.guide-card-img { width: 260px; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.guide-card-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.guide-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cta); }
.guide-title { font-size: 21px; font-weight: 800; line-height: 1.25; margin: 0; }
.guide-desc { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0; flex: 1; }
.guide-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* --- Mängude indeksikaardid (mangud/index) --- */
.game-index-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  margin-bottom: 16px;
}
.game-index-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(124,92,255,0.18); }
.game-index-img { width: 280px; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.game-index-body { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.game-index-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cta); }
.game-index-title { font-size: 24px; font-weight: 800; line-height: 1.2; margin: 0; }
.game-index-desc { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0; flex: 1; }
.game-index-footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.game-index-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* --- VS võrdluskaardid (vordlused/index) --- */
.vs-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  margin-bottom: 14px;
}
.vs-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(124,92,255,0.18); }
.vs-side { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; height: 100%; }
.vs-side.left { border-right: 1px solid var(--stroke); }
.vs-side.right { border-left: 1px solid var(--stroke); }
.vs-device-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.vs-device-name { font-size: 20px; font-weight: 800; line-height: 1.2; }
.vs-device-price { font-size: 22px; font-weight: 900; line-height: 1; margin-top: 4px; }
.vs-device-tagline { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.vs-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vs-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.vs-center { padding: 24px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vs-badge-big { font-size: 20px; font-weight: 900; background: linear-gradient(135deg, var(--cta), var(--cta2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 0.05em; }
.vs-winner-badge { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); white-space: nowrap; }
.vs-loe { font-size: 12px; font-weight: 700; color: var(--cta); white-space: nowrap; }
.vs-loe::after { content: ' →'; }

/* Kolmene VS kaart */
.vs-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  margin-bottom: 14px;
}
.vs-triple:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(124,92,255,0.18); }
.vs-triple-col { padding: 24px 18px; text-align: center; border-right: 1px solid var(--stroke); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vs-triple-col:last-child { border-right: none; }
.vs-triple-emoji { font-size: 32px; }
.vs-triple-name { font-size: 16px; font-weight: 800; }
.vs-triple-price { font-size: 20px; font-weight: 900; }
.vs-triple-col.q3 .vs-triple-price { color: #22c55e; }
.vs-triple-col.psvr .vs-triple-price { color: #60a5fa; }
.vs-triple-col.index .vs-triple-price { color: var(--cta); }
.vs-triple-verdict { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.q3 .vs-triple-verdict   { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.psvr .vs-triple-verdict  { background: rgba(96,165,250,0.12); color: #60a5fa; border: 1px solid rgba(96,165,250,0.3); }
.index .vs-triple-verdict { background: rgba(124,92,255,0.12); color: var(--cta); border: 1px solid rgba(124,92,255,0.3); }
.vs-triple-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.vs-triple-cta { grid-column: 1 / -1; padding: 16px 24px; border-top: 1px solid var(--stroke); display: flex; justify-content: space-between; align-items: center; }
.vs-triple-cta-text { font-size: 14px; font-weight: 700; }
.vs-triple-cta-link { font-size: 13px; font-weight: 700; color: var(--cta); }
.vs-triple-cta-link::after { content: ' →'; }

/* Tulekul kaart */
.coming-soon-card {
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.coming-soon-icon { font-size: 32px; opacity: 0.5; }
.coming-soon-text h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; opacity: 0.6; }
.coming-soon-text p { font-size: 13px; color: var(--muted); margin: 0; opacity: 0.7; }

/* --- Mobiil --- */
@media (max-width: 640px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-item:nth-child(2) { border-right: none; }
  .guide-card { grid-template-columns: 1fr; }
  .guide-card-img { width: 100%; height: 180px; }
  .game-index-card { grid-template-columns: 1fr; }
  .game-index-img { width: 100%; height: 200px; }
  .vs-card { grid-template-columns: 1fr; }
  .vs-side.left, .vs-side.right { border: none; }
  .vs-center { padding: 12px; flex-direction: row; justify-content: center; }
  .vs-triple { grid-template-columns: 1fr; }
  .vs-triple-col { border-right: none; border-bottom: 1px solid var(--stroke); }
}

/* ================================================
   VR-ÕUDUSMÄNGUDE HIRMUSKAALAD
   ================================================ */

   .fear-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
  }
  .fear-bar-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    width: 72px;
    flex-shrink: 0;
  }

  .fear-bar-track {
  flex: 1;
  height: 6px;
  border-radius: 10px;
  background: linear-gradient(90deg,
    #22c55e 0%,
    #f5c518 40%,
    #fb923c 60%,
    #ef4444 80%,
    #7f1d1d 100%
  );
  position: relative;
  overflow: hidden;
}
.fear-bar-fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background: #0b0f14;
  border-radius: 0 10px 10px 0;
}

  .fear-bar-val {
    font-size: 12px;
    font-weight: 800;
    width: 36px;
    text-align: right;
    flex-shrink: 0;
    color: var(--muted);
  }

  /* ================================================
   VR-ÕUDUSMÄNGUDE LEHT
   mangud/vr-oudusmangud-2026.html
   ================================================ */

/* Hirmuaste badge */
.fear-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.fear-badge.mild    { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.fear-badge.scary   { background: rgba(245,197,24,0.12); color: #f5c518; border: 1px solid rgba(245,197,24,0.3); }
.fear-badge.intense { background: rgba(239,68,68,0.12); color: #f9620a; border: 1px solid rgba(239,68,68,0.3); }
.fear-badge.extreme { background: rgba(127,29,29,0.3); color: #a70404; border: 1px solid rgba(239,68,68,0.5); box-shadow: 0 0 12px rgba(239,68,68,0.2); }

/* Mängukaart */
.horror-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.horror-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(239,68,68,0.12); }
.horror-card-inner { display: grid; grid-template-columns: 220px 1fr; }
.horror-card-img { width: 220px; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.horror-card-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.horror-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.horror-card-title { font-size: 22px; font-weight: 800; margin: 0; line-height: 1.2; }
.horror-card-desc { font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0; }
.horror-card-bars { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.horror-card-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--stroke); }

/* Platvormi badge */
.platform-badge { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 20px; background: rgba(124,92,255,0.12); color: var(--cta); border: 1px solid rgba(124,92,255,0.25); }
.platform-badge.psvr { background: rgba(59,130,246,0.1); color: #60a5fa; border-color: rgba(59,130,246,0.3); }
.platform-badge.pcvr { background: rgba(34,197,94,0.1); color: #22c55e; border-color: rgba(34,197,94,0.3); }

/* Hoiatuskast */
.warning-box { background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.25); border-left: 3px solid #ef4444; border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.warning-box strong { color: #f87171; }

/* Nõuandekast */
.tip-box { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.2); border-left: 3px solid #22c55e; border-radius: 12px; padding: 16px 18px; margin: 16px 0; }

/* Hirmuaste legend */
.fear-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.fear-legend-item { border-radius: 12px; padding: 14px; text-align: center; }
.fear-legend-item.mild    { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
.fear-legend-item.scary   { background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.2); }
.fear-legend-item.intense { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); }
.fear-legend-item.extreme { background: rgba(127,29,29,0.2); border: 1px solid rgba(239,68,68,0.3); }
.fear-legend-emoji { font-size: 24px; display: block; margin-bottom: 6px; }
.fear-legend-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.fear-legend-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* Kategooria päis */
.category-header { display: flex; align-items: center; gap: 12px; margin: 32px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--stroke); }
.category-icon { font-size: 24px; }
.category-title { font-size: 22px; font-weight: 700; margin: 0; }

/* Väike nimekiri */
.mini-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mini-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--stroke); border-radius: 12px; }
.mini-num { font-size: 18px; font-weight: 900; color: rgba(239,68,68,0.4); min-width: 28px; line-height: 1.4; }
.mini-content { flex: 1; }
.mini-title { font-weight: 700; font-size: 14px; margin: 0 0 3px; }
.mini-desc { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.mini-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

/* Mobiil */
@media (max-width: 600px) {
  .horror-card-inner { grid-template-columns: 1fr; }
  .horror-card-img { width: 100%; height: 200px; }
  .fear-legend { grid-template-columns: repeat(2, 1fr); }
}
/* ===== FOOTER NAV ===== */
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 16px 0 8px;
}
.foot-nav a {
  color: var(--cta);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.foot-nav a:hover {
  color: var(--cta2);
}
.footrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 8px 0;
}
.footlinks {
  display: flex;
  gap: 16px;
}
.footlinks a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footlinks a:hover {
  color: var(--fg);
}
