:root {
  --bg-color: #0b0e14;
  --card-bg: #1a1d24;
  --delo-blue: #005a9c;
  --delo-orange: #ff6b00;
  --text-color: #ffffff;
  --border-color: #252830;
  --light-bg: #ffffff;
  --light-text: #333333;
  --light-border: #e0e0e0;
}

/* --- GLOBALNE NASTAVITVE --- */
* {
  box-sizing: border-box;
  /* Prepreči modri utrip na Androidu ob kliku */
  -webkit-tap-highlight-color: transparent;
}

body {
  background-image: url("img/igre_bg.webp");
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-color);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Prepreči zamik klika na vseh interaktivnih elementih */
a,
button,
.game-card,
.modal-trigger {
  touch-action: manipulation;
}

/* --- GLAVA (HEADER) --- */
header {
  background-color: #ffffff;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--delo-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
  height: 35px;
}

.top-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-nav a {
  text-decoration: none;
  color: var(--delo-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.top-nav a:hover {
  background-color: var(--delo-blue);
  color: #ffffff;
}

.top-nav a.nav-leaderboard {
  color: var(--delo-orange);
  border: 2px solid var(--delo-orange);
  margin-left: 10px;
}

.top-nav a.nav-leaderboard:hover {
  background-color: var(--delo-orange);
  color: white;
}

/* --- VSEBINA --- */
.container {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--delo-blue);
  background-color: white;
  display: block;
  padding: 10px;
}

h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 50px;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--delo-blue);
  background-color: white;
  display: block;
  padding: 10px;
}

/* --- MREŽA IGER --- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* --- KARTICE (OPTIMIZIRANO ZA DOTIK) --- */
.game-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: visible;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  cursor: pointer;

  /* KLJUČNO: Prepreči izbiro teksta, da ne moti klika */
  user-select: none;
  -webkit-user-select: none;

  /* Priprava na animacijo */
  transition: box-shadow 0.3s ease;
}

/* Učinki SAMO za računalnik (hover) */
@media (hover: hover) {
  .game-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      box-shadow 0.4s ease;
  }
  .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }
  .game-card:hover .game-info {
    filter: brightness(1.1);
  }
}

/* Učinki za MOBITEL (active/dotik) - Takojšen odziv */
.game-card:active {
  transform: scale(0.97);
  transition: transform 0.05s ease-out; /* Zelo hiter odziv */
}

.game-card:active .game-info {
  filter: brightness(0.9);
}

.game-thumb {
  border-radius: 12px 12px 0 0;
  width: 100%;
  background: #252830;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  /* KLJUČNO: Slika ne sme "loviti" klikov, klik mora iti skozi njo na kartico */
  pointer-events: none;
}

.game-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 2;
}

.game-info {
  border-radius: 0 0 12px 12px;
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: 200% 200%;
  position: relative;
  transition: background 0.3s ease, filter 0.2s ease;
}

.game-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  padding-bottom: 25px;
}

.game-genre {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- INFO GUMB STILI --- */
.info-wrapper {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 20;
}

.info-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(2px);
  /* Zagotovi, da je gumb klikabilen */
  pointer-events: auto;
}

.info-btn:hover {
  background-color: var(--delo-blue);
  border-color: var(--delo-blue);
  transform: scale(1.1);
}

.info-tooltip {
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 220px;
  background-color: #ffffff;
  color: #333;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 100;
}

.info-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
}

.info-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.info-title {
  display: block;
  font-weight: bold;
  color: var(--delo-blue);
  margin-bottom: 4px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

/* Barvne sheme kartic */
.card-krizanka .game-info {
  background: linear-gradient(135deg, #005a9c 0%, #003d6b 100%);
}
.card-sudoku .game-info {
  background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
}
.card-sladoled .game-info {
  background: linear-gradient(135deg, #e67e22 0%, #cf6d17 100%);
}
.card-osmerosmerka .game-info {
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}
.card-stevilcna .game-info {
  background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
}

/* --- MODALI (Splošno) --- */
.game-modal,
.leaderboard-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.game-modal.active,
.leaderboard-modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* --- MODAL ZA IGRO (Desktop) --- */
.modal-content {
  width: auto;
  height: 85%;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 90, 156, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 720/1350;
}

.modal-header {
  height: 40px;
  background: #1a1d24;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid #333;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}

.close-btn {
  color: #fff;
  background: #e74c3c;
  border: none;
  padding: 5px 15px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.close-btn:hover {
  background: #c0392b;
}

iframe {
  width: 100%;
  height: auto;
  flex-grow: 1;
  border: none;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

/* --- LESTVICA MODAL --- */
.leaderboard-content.light-theme {
  width: 90%;
  max-width: 800px;
  height: 80%;
  background: linear-gradient(
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.92)
    ),
    url("img/igre_bg.webp");
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.leaderboard-header {
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.leaderboard-header h3 {
  margin: 0;
  color: var(--delo-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 1px 0 #fff;
}

.lb-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.2);
  overflow-x: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0 10px;
}

.lb-tab-btn {
  background: none;
  border: none;
  padding: 15px 25px;
  color: #666;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.lb-tab-btn:hover {
  color: var(--delo-blue);
  background: rgba(255, 255, 255, 0.5);
}

.lb-tab-btn.active {
  color: var(--delo-orange);
  border-bottom-color: var(--delo-orange);
  background: rgba(255, 255, 255, 0.6);
}

.lb-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
  background-color: transparent;
}

table.lb-table {
  width: 100%;
  border-collapse: collapse;
  color: #333;
}

table.lb-table th {
  text-align: left;
  padding: 12px;
  background: rgba(0, 90, 156, 0.05);
  color: #555;
  font-size: 0.8rem;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

table.lb-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

table.lb-table tr:hover td {
  background: rgba(255, 255, 255, 0.6);
}

.rank-num {
  font-weight: bold;
  color: #999;
  width: 50px;
  text-align: center;
}

tr:nth-child(1) .rank-num {
  color: #d4af37;
  font-size: 1.2rem;
}
tr:nth-child(2) .rank-num {
  color: #a9a9a9;
  font-size: 1.1rem;
}
tr:nth-child(3) .rank-num {
  color: #cd7f32;
  font-size: 1.1rem;
}

.score-val {
  font-weight: bold;
  color: var(--delo-blue);
  text-align: right;
}

/* --- MEDIA QUERIES (ODZIVNOST) --- */

@media (max-width: 1200px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- MOBILNI PRIKAZ (style.css) --- */

/* --- MOBILNI PRIKAZ (style.css - Posodobljeno) --- */

@media screen and (max-width: 768px) {
  /* --- 1. SEZNAM KARTIC (vodoravno, majhne) --- */
  .game-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .top-nav {
    display: none;
  }

  .game-card {
    flex-direction: row !important;
    height: 100px; /* Višina cca 30% originala */
    min-height: auto;
    align-items: stretch;
    position: relative;
  }

  .game-thumb {
    width: 35%;
    height: 100%;
    border-radius: 12px 0 0 12px !important;
  }

  .game-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    pointer-events: none;
  }

  .game-thumb::after {
    display: none;
  }

  .game-info {
    width: 65%;
    border-radius: 0 12px 12px 0 !important;
    padding: 10px 10px 10px 15px;
    text-align: left;
    align-items: flex-start;
    justify-content: center;
    padding-bottom: 25px;
  }

  .game-title {
    font-size: 1rem;
    padding-bottom: 3px;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .game-genre {
    margin-top: 2px;
    font-size: 0.75rem;
  }

  .info-wrapper {
    position: absolute;
    top: auto !important;
    bottom: 5px !important;
    right: 5px !important;
    left: auto !important;
  }

  .info-btn {
    width: 24px;
    height: 24px;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
  }

  /* --- 2. MODALNO OKNO (Tanka vrstica zgoraj) --- */

  .game-modal {
    padding: 0 !important;
    background: #000;
  }

  .modal-content {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    aspect-ratio: auto !important;

    /* FLEX: Vrstica zgoraj, igra spodaj */
    display: flex;
    flex-direction: column;
  }

  /* Glava modala - Tanka vrstica */
  .modal-header {
    position: relative; /* Ni več absolute */
    height: 36px !important; /* Zelo tanka vrstica */
    background: #111 !important; /* Temno ozadje */
    border-bottom: 1px solid #333 !important;
    display: flex !important;
    justify-content: flex-end; /* Gumb desno */
    align-items: center;
    padding: 0 10px !important;
    flex-shrink: 0; /* Ne sme se skrčiti */
    width: 100% !important;
  }

  /* Gumb Zapri - Majhen, diskreten krog */
  .close-btn {
    width: 28px !important; /* Majhen gumb */
    height: 28px !important;
    border-radius: 50% !important;

    /* Minimalističen stil */
    background-color: transparent !important;
    border: 1px solid #666 !important;
    color: #ccc !important;

    /* Skrijemo tekst, pokažemo samo X */
    font-size: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Ikona X */
  .close-btn::after {
    content: "✕";
    font-size: 14px !important;
    font-weight: normal;
    display: block;
    line-height: 1;
  }

  /* Iframe zapolni preostanek prostora */
  #gameFrame {
    flex-grow: 1; /* Raztegne se do dna */
    width: 100% !important;
    height: auto !important;
    border: none;
    background: #fff;
  }
}

@media (max-width: 480px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}

/* --- POPRAVLJEN DIZAJN LESTVICE (Sticky Header + Mobile Fix) --- */

/* 1. Modalno okno - kontejner */
.leaderboard-content {
  display: flex;
  flex-direction: column; /* Elementi eden pod drugim */
  max-height: 90vh; /* Maksimalna višina okna */
  height: 600px; /* Fiksna višina za lepši izgled */
  overflow: hidden; /* Skrijemo zunanji scrollbar */
  padding: 0; /* Odstranimo padding na glavnem kontejnerju */
}

/* 2. Glava (Naslov + Gumb zapri) - FIKSNO */
.leaderboard-header {
  flex-shrink: 0; /* Se ne krči */
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 3. Zavihki (Tabs) - FIKSNO */
.lb-tabs {
  flex-shrink: 0; /* Se ne krči */
  background: #fff; /* Bela podlaga da ne proseva */
  padding: 10px 15px;
  border-bottom: 2px solid #fc0; /* Rumena črta spodaj */

  /* Skrolanje zavihkov levo-desno na mobitelu */
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* Skrij scrollbar na zavihkih */
.lb-tabs::-webkit-scrollbar {
  height: 0;
  width: 0;
}

/* 4. Telo s tabelo - SKROLA SAMO TO */
.lb-body {
  flex-grow: 1; /* Zavzame ves preostali prostor */
  overflow-y: auto; /* Skrolanje samo tukaj! */
  padding: 0;
  background: #fff;
}

/* 5. Tabela - Popravljene širine */
.lb-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Fiksne širine stolpcev */
}

/* Glava tabele naj bo "sticky" znotraj telesa (opcijsko, ampak lepo) */
.lb-table thead {
  position: sticky;
  top: 0;
  background: #f9f9f9;
  z-index: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lb-table th {
  padding: 12px 8px;
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
}

.lb-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  white-space: nowrap; /* Brez preloma vrstic */
  overflow: hidden; /* Skrij presežek */
  text-overflow: ellipsis; /* Dodaj ... če je predolgo */
}

/* --- ŠIRINE STOLPCEV (Popravljeno za kratek datum/čas) --- */

/* 1. RANK (#) - Zelo ozko */
.lb-table th:nth-child(1),
.lb-table td:nth-child(1) {
  width: 32px; /* Zmanjšano iz 35px */
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
}

/* 2. IGRALEC - Fleksibilno (dobi ves preostali prostor) */
.lb-table th:nth-child(2),
.lb-table td:nth-child(2) {
  width: auto;
  text-align: left;
  /* Ime se bo odrezalo s ..., če je predolgo */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3. DATUM - Ravno prav za "28. 1." */
.lb-table th:nth-child(3),
.lb-table td:nth-child(3) {
  width: 80px; /* Zmanjšano iz 50px */
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
  font-size: 0.85rem;
  letter-spacing: -0.5px; /* Malo stisnemo, da gre lepo not */
}

/* 4. ČAS/TOČKE - Ravno prav za "06:45" */
.lb-table th:nth-child(4),
.lb-table td:nth-child(4) {
  width: 120px; /* Zmanjšano iz 75px */
  text-align: right;
  padding-left: 2px;
  padding-right: 20px; /* Malo odmika od desnega roba */
  font-weight: bold;
}

/* Dodatna prilagoditev za zelo majhne telefone (iPhone SE ipd.) */
@media (max-width: 380px) {
  .lb-table th,
  .lb-table td {
    font-size: 0.8rem; /* Še malo manjša pisava */
  }

  .lb-table th:nth-child(1),
  .lb-table td:nth-child(1) {
    width: 25px; /* Ekstremno ozko za rang */
  }
  /* 3. DATUM - Ravno prav za "28. 1." */
  .lb-table th:nth-child(3),
  .lb-table td:nth-child(3) {
    width: 50px; /* Zmanjšano iz 50px */
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 0.85rem;
    letter-spacing: -0.5px; /* Malo stisnemo, da gre lepo not */
  }

  /* 4. ČAS/TOČKE - Ravno prav za "06:45" */
  .lb-table th:nth-child(4),
  .lb-table td:nth-child(4) {
    width: 90px; /* Zmanjšano iz 75px */
    text-align: right;
    padding-left: 2px;
    padding-right: 5px; /* Malo odmika od desnega roba */
    font-weight: bold;
  }
}
/* --- NOVO: STILI ZA LOGOTIP IN BETA OZNAKO --- */
/* Ovitek, da sta logo in tekst v isti vrstici */
.logo-wrapper {
  display: flex;
  align-items: center; /* Poravna navpično na sredino */
}
/* Če ima originalni .logo class kakšen margin-bottom, ga tukaj resetiramo, da ne moti poravnave */
.logo-wrapper .logo {
  margin-bottom: 0;
  /* Po potrebi prilagodite višino logotipa, če je prevelik */
  /* height: 40px; width: auto; */
}
/* Stil za napis Beta v1.00 */
.version-tag {
  font-family: sans-serif;
  font-size: 0.85rem; /* Malo manjša pisava */
  color: #666; /* Sivo obarvano, da ni preveč vpadljivo */
  margin-left: 10px; /* Odmik od logotipa */
  font-weight: normal;
  letter-spacing: 0.5px;
  /* Opcijsko: ozadje za oznako */
  /* background: #f0f0f0; padding: 2px 6px; border-radius: 4px; */
}

/* --- NOVO: STILI ZA FOOTER --- */
.site-footer {
  background-color: #f8f9fa; /* Svetlo sivo ozadje */
  color: #6c757d; /* Temno siva pisava */
  text-align: center;
  padding: 20px 0;
  margin-top: 40px; /* Odmik od vsebine zgoraj */
  border-top: 1px solid #dee2e6; /* Črta zgoraj */
  font-size: 0.9rem;
}

/* --- NOVO: Poskrbimo, da je footer vedno na dnu (Sticky Footer) --- */
/* To zagotovi, da footer ne 'lebdi' na sredini ekrana, če je malo iger */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Minimalna višina celotnega ekrana */
}
.container {
  flex: 1; /* Vsebina se raztegne in potisne footer dol */
}
/* Če vaša obstoječa style.css datoteka že definira 'header' in '.container' drugače,
         boste morda morali zgornji del za 'body' in '.container' prilagoditi ali odstraniti. */

/* --- OBSTOJEČI CSS ZA MOBILNI GUMB --- */
/* Privzeto je gumb skrit (za desktop) */
.mobile-lb-trigger {
  display: none;
}

/* Samo za mobilne naprave (ekrani manjši od 768px) */
@media (max-width: 768px) {
  .logo-wrapper {
    /* Na zelo majhnih ekranih morda želimo, da gre beta napis pod logo */
    /* flex-direction: column; align-items: flex-start; */
  }

  .mobile-lb-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fc0; /* Delo rumena */
    color: #262824;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: auto; /* Potisne gumb na desno */
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  /* Če želiš ikono pokala */
  .mobile-lb-trigger::before {
    content: "🏆";
    margin-right: 5px;
  }
}

/* === Bottom mobile menu — kopija delo.si ====================================== */
.bottomMenu_bottom_menu__2saxR {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, .12);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
  font-family: var(--sans, "Open Sans", Roboto, "Helvetica Neue", Arial, sans-serif);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 480px) { .bottomMenu_bottom_menu__2saxR { display: block; } }
@media only screen and (min-width: 481px) and (max-width: 600px) { .bottomMenu_bottom_menu__2saxR { display: block; } }
@media only screen and (min-width: 601px) and (max-width: 768px) { .bottomMenu_bottom_menu__2saxR { display: block; } }
.bottomMenu_bottom_menu__list__cezZ5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.bottomMenu_bottom_menu__item__BNgcD { min-width: 0; }
.bottomMenu_bottom_menu__link__0NAl7 {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #215ba2;
  text-decoration: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.bottomMenu_bottom_menu__link__0NAl7:focus-visible,
.bottomMenu_bottom_menu__link__0NAl7:hover {
  text-decoration: none !important;
  color: #4586c0;
}
.bottomMenu_bottom_menu__link__0NAl7:focus-visible {
  outline: 2px solid #4586c0;
  outline-offset: -4px;
}
.bottomMenu_bottom_menu__icon__LcYQg { font-size: 20px; line-height: 1; }
.bottomMenu_bottom_menu__live_dot__d5yet {
  width: 24px;
  height: 24px;
  line-height: 1;
  animation: bottomMenu_bottomMenuBlink__1pj8k 2s ease infinite;
}
.bottomMenu_bottom_menu__label__s_rtX {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  color: #202020;
}
@keyframes bottomMenu_bottomMenuBlink__1pj8k {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
