* {
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
body {
  background:#fff;
  color:#111;
}

/* Header */
.header {
  height: 85px;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3rem;
  border-bottom: 4px solid #eee;
  background: #fff;
  z-index: 1100;
  background-image: url("izgled1.png"); /* putanja do slike */
    background-size: cover;              /* da slika popuni ceo div */
    background-position: center;         /* centriranje slike */
    background-repeat: no-repeat;         /* bez ponavljanja */
            
}

.logo {
  flex: 1;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hamburger {
  position: absolute;
  left: 1rem;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  width:22px;
  height:17px;
  cursor:pointer;
  z-index:1110;
}

.hamburger div {
  height:3px;
  background:#111;
  border-radius:2px;
  transition: all 0.3s;
}

.hamburger.open div:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.hamburger.open div:nth-child(2) { opacity:0; }

.hamburger.open div:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}
.logo img{
  width:90px; height:71px;
}
/* Search dugme desno */
.search-btn {
  position: absolute;
  right: 1rem;
  width: 50px;
  height: 50px;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 50%;
  padding: 0;
}

.search-btn video {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-btn span.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* Nav meni */
nav {
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  background:#fff;
  border-right:2px solid #eee;
  transform:translateX(-100%) scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index:1110;
  border-radius:15px;
  overflow:hidden;
}

nav.active {
  transform: translateX(0) scale(1);
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

nav ul {
  list-style:none;
  padding:1rem;
}

nav ul li {
  margin:1rem 0;
}

nav ul li a {
  display:block;
  text-align:center;
  text-decoration:none;
  color:#111;
  font-weight:500;
  padding:0.75rem 1rem;
  transition: color 0.3s, transform 0.2s, background 0.2s;
  border-radius:8px;
}

nav ul li a:hover {
  color:#000;
  transform: scale(1.5);
  background: rgba(0,0,0,0.0);
}

/* Overlay */
.overlay {
  position: fixed;
  top:0; left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.5);
  opacity:0;
  visibility:hidden;
  transition:opacity 0.3s;
  z-index:1050;
}
.overlay.active { opacity:1; visibility:visible; }

/* ===== ANGLED SLIDER - RESPONSIVE & IMPROVED ===== */
/* Full-bleed slider container */
.game-gallery-slider {
  background-repeat: repeat;
  background-position: top left;
  background-size: 1536px 1024px; /* po potrebi promeni */
  background-color: #ffffff;
}

.angled-slider-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: visible;
  background: transparent;
  position: relative;
}

/* Slider container */
.angled-slider {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  padding: 22px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
  overflow-y: visible;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
  touch-action: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: grab;
}

/* hide scrollbar for WebKit */
.angled-slider::-webkit-scrollbar { display: none; }

.angled-slider.dragging {
  scroll-snap-type: none !important;
}


/* Card: responsive sizing and clipped angled shape */
.angled-card {
  flex: 0 0 44%;
  min-width: 44%;
  height: clamp(220px, 38vw, 360px);
  position: relative;
  scroll-snap-align: center;
  border-radius: 17px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: transparent;
  -webkit-clip-path: polygon(6% 0, 100% 0, 92% 100%, 0% 100%);
  clip-path: polygon(6% 0, 100% 0, 92% 100%, 0% 100%);
  transition: transform 320ms cubic-bezier(.2,.9,.2,1), box-shadow 320ms;
  will-change: transform;
  transform-origin: center center;
}

/* Center card emphasis */
.angled-card.is-center {
  transform: scale(1.08) translateY(-8px);
  z-index: 50;
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}

/* inner wrapper */
.angled-card .card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Images & videos */
.angled-card img,
.angled-card .card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* overlay */
.angled-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.14), rgba(0,0,0,0.02));
  z-index: 2;
  pointer-events: none;
}

/* title */
.angled-card .card-title {
  position: absolute;
  left: 14px;
  bottom: 10px;
  z-index: 3;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
  white-space: nowrap;
}

/* Drag cursor state */
.angled-slider.dragging { cursor: grabbing; scroll-behavior: auto; }

/* Responsive breakpoints for slider/cards */

/* Very small screens - mostly one card visible */
@media (max-width: 480px) {
  .angled-slider { gap: 10px; padding: 18px 10px; }
  .angled-card {
    flex: 0 0 86%;
    min-width: 86%;
    height: clamp(200px, 56vw, 320px);
    -webkit-clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
  }
  .angled-card.is-center { transform: scale(1.04) translateY(-6px); }
}

/* Small tablets / large phones - show ~2 cards */
@media (min-width:481px) and (max-width: 800px) {
  .angled-card { flex: 0 0 60%; min-width: 60%; height: clamp(220px, 44vw, 360px); }
  .angled-slider { gap: 12px; padding: 22px 14px; }
}

/* Tablet / small desktop - 3 cards */
@media (min-width:801px) and (max-width: 1200px) {
  .angled-card { flex: 0 0 32%; min-width: 32%; height: clamp(260px, 34vw, 420px); }
  .angled-slider { gap: 14px; padding: 26px 20px; }
}

/* Large desktop - 4-5 cards */
@media (min-width:1201px) {
  .angled-card { flex: 0 0 22%; min-width: 22%; height: clamp(300px, 28vw, 460px); }
  .angled-slider { gap: 16px; padding: 30px 28px; }
}

/* video on hover (desktop) */
.angled-card .card-video { display: none; position: absolute; top:0; left:0; z-index:1; }
.angled-card:hover .card-video { display: block; }

/* Gallery (existing) */
.game-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 1rem; /* malo unutrašnjeg margina */
}
.game-gallery-all { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; justify-content:center; margin:40px auto; width:90%; max-width:1200px;height: 400px;}

.game-card { background:#f9f9f9; border-radius:12px; text-align:center; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,0.1); transition:transform 0.3s, box-shadow 0.3s; }
.game-card:hover { transform:translateY(-15px); box-shadow:0 4px 20px rgba(0,0,0,0.15); }
.game-card img { width:100%; height:140px; object-fit:cover; }
.game-card h3 { padding:0.7rem 0; font-size:1rem; }
.play-btn { display:inline-block; margin-bottom:1rem; padding:0.5rem 1rem; background:#333; color:#fff; border-radius:10px; text-decoration:none; transition:background 0.3s; }
.play-btn:hover { background:#000; }

.quick-play-title { text-align:center; font-size:22px; font-weight:550; color:#111; margin:20px 0 5px 0; }

/* Footer */
footer { text-align:center; padding:2rem; border-top:1px solid #eee; color:#666; font-size:0.9rem; }

/* Banner */
.banner-container { width:100%; max-height:520px; overflow:hidden;}
.banner-img { width:100%; height:100%; object-fit:cover; display:block; }
.banner-wrapper {
  width: 900px;   /* fiksna širina */
 height: 350px;  /* fiksna visina */
 margin: 0 auto;
 background-image: url('slika.jpg');
 background-size: cover;   /* slika se ne menja */
 background-position: center;
 background-repeat: no-repeat;
}
.banner-container-game{
  width: 100%;
  height: 500px;
  max-height: 600px;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
.banner-container-game img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.banner-container-game2{
  width: 100%;
  height: 500px;
  max-height: 600px;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}
.banner-container-game2 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.banner-container-game3{
  width: 100%;
  height: auto;
  max-height: 580px;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin-top: 35px;

}
.banner-container-game3 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.banner-container-game video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


.banner-container {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* SEARCH PANEL */
.search-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px;
  background: #fff;
  border-left: 2px solid #eee;
  border-radius: 15px 0 15px 15px;
  transform: translateX(0) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s, visibility 0.3s;
  z-index: 1110;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 1rem;
}

.search-panel.active {
  transform: translateX(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.search-input-wrap {
  background: white;
  border-radius: 12px;
  box-shadow: inset 3px 3px 6px #d9d9d9, inset -3px -3px 6px #ffffff;
  padding: 0.6rem;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1rem;
  outline: none;
  color: #999;
}

.categories-title {
  font-weight: 450;
  color: #888;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.categories-list {
  list-style: none;
  padding: 0;
}

categories-list li {
  margin: 0.7rem 0;
}

.categories-list li a {
  display: block;
  text-decoration: none;
  color: #111;
  text-align: center;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: transform 0.2s, background 0.2s;
}

.categories-list li a:hover {
  transform: scale(1.5)
}
.game-card a:not(.play-btn) {
color: inherit;
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}

/* Responsive */
@media (max-width:1200px) { .game-gallery { grid-template-columns:repeat(4,1fr); } }
@media (max-width:992px) { .game-gallery, .game-gallery-all { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px) { .game-gallery, .game-gallery-all { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px) {
  .game-gallery, .game-gallery-all { grid-template-columns:1fr; }
  .header { flex-direction:row; justify-content:space-between; }
  nav ul { flex-direction:column; gap:1rem; }
}
@media (max-width:600px) {
  .search-btn { width:50px; height:50px; }
  .logo { font-size:20px; }
}
/* Footer */
footer {
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9rem;
  padding: 1.5rem 2rem;
  background: #fff;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.privacy-link {
  align-self: flex-start;
  text-decoration: none;
  color: #555;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #000;
  text-decoration: underline;
}

@media (max-width:600px) {
  .footer-container {
    align-items: center;
    text-align: center;
  }
  .privacy-link {
    align-self: center;
  }
}
.all-games-link-wrap {
  text-align: center;
  margin: 20px 0;
}

.all-games-link {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.all-games-link:hover {
  background: #000;
  transform: scale(1.5);
}
.avion {
    width: 20px;
    position: absolute;
    pointer-events: none;
    transform-origin: center;
}
/* Sakrij sve što je ispod slike */
.game-card h3,
.game-card .play-btn {
  display: none !important;
}

/* Očisti card da bude samo slika */
.game-card {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Slika da popuni card bez okvira */
.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px !important;
}
.game-card .game-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: none;
  border-radius: 20px !important;
}

.game-card:hover .game-video {
  display: block;
}

/* --- DODATO ZA EXPLORE SEKCIJU --- */

/* Prve dve igre dvostruke visine na desktopu */


/* Responsive: vraća normalnu visinu na tabletima i mobilnim */


@media (max-width: 768px) {
  .game-gallery-all {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 480px) {
  .game-gallery-all {
    grid-template-columns: 1fr;
  }
  .
}
.game-gallery-all .game-card {
  height: 100%; /* kartica zauzima punu visinu koju grid određuje */
}

.game-gallery-all .game-card img {
  height: 100%; /* slika zauzima punu visinu kartice */
  object-fit: cover;
}
.game-card .game-videobig {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 20px !important;
}

.game-card:hover .game-videobig {
  display: block;
}
/* ===== MOBILE FIXES ===== */

/* 1. Banner visine */
@media (max-width:768px) {
  .banner-container-game,
  .banner-container-game2,
  .banner-container-game3 {
    height: auto !important;
    max-height: none !important;
    clip-path: none !important;
  }

  .banner-container-game img,
  .banner-container-game2 img,
  .banner-container-game3 img {
    height: auto !important;
  }
}

/* 2. Grid visina */
.game-gallery-all {
  height: auto !important;
}

/* 3. Slike u gridu na mobilnom */
@media (max-width:768px) {
  .game-gallery-all .game-card img {
    height: auto !important;
  }
}
.game-gallery-all .game-card img {
  width: 100%;
    height: 150px;
    object-fit: cover;
}
.game-gallery-all {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.category-panel {
    position: fixed;
    top: 0;
    left: -350px;
    width: 300px;
    height: 100vh;
    background: #111;
    color: #fff;
    padding: 20px;
    transition: 0.3s ease;
    overflow-y: auto;
    z-index: 3000;
}

.category-panel.active {
    left: 0;
}

.category-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 2000;
}

.category-overlay.active {
    display: block;
}

.cat-games-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-game-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #222;
    padding: 8px;
    border-radius: 8px;
}

.cat-game-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.close-category {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    float: right;
}
.search-results {
  position: fixed;
  top: 70px;
  left: 0;
  width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-right: 2px solid #ddd;
  padding: 10px;
  display: none;
  z-index: 9999;
}

.search-results .result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}

.search-results img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.search-results .result-item span {
  font-size: 15px;
  font-weight: 600;
}
/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #111;
  padding: 12px 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: row;   /* horizontalno */
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 320px;      /* uzak baner */
  font-size: 13px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 2000;
}

.cookie-banner p {
  flex: 1;                /* zauzima sav preostali prostor */
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;         /* ne dozvoli da dugmad budu gurnuta */
}

.cookie-banner button {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-banner button#acceptCookies {
  background: #111;
  color: #fff;
}
.cookie-banner button#acceptCookies:hover {
  background: #333;
}

.cookie-banner button#rejectCookies {
  background: #eee;
  color: #111;
}
.cookie-banner button#rejectCookies:hover {
  background: #ccc;
}

/* MOBILE */
@media (max-width: 480px) {
  .cookie-banner {
    width: 220px;
    flex-direction: column; /* tekst iznad dugmadi */
    align-items: stretch;
    gap: 8px;
    padding: 12px 10px;
    bottom: 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 6px;
  }

  .cookie-banner button {
    width: 100%;
    text-align: center;
  }
}


.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
}

.cookie-banner a {
  color: #111;
  text-decoration: underline;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner .cookie-buttons button {
  background: #f8c100;
  border: none;
  padding: 6px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.cookie-banner .cookie-buttons button:hover {
  background: #d9a700;
}
/* --- About Section ShortcutGames Modern Style --- */
.about-section {
  background: #f5f7fa; /* svetla neutralna pozadina */
  padding: 80px 0; /* vertikalni spacing */
}

.about-section .container {
  max-width: 900px; /* ograničena širina za “boxed look” */
  margin: 0 auto;
  padding: 0 30px; /* uvlačenje sa leve i desne strane */
  background: #fff; /* bela kartica */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  padding: 40px 30px; /* unutrašnji padding */
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #111;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.about-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #111;
}

.about-section ul {
  list-style: disc inside;
  margin-left: 0;
  margin-bottom: 20px;
  padding-left: 20px;
}

about-section ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

about-section ul li strong {
  color: #111;
}

about-section .tagline {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-top: 40px;
  color: #000;
}

/* Responsive */
@media (max-width: 992px) {
  .about-section h2 {
    font-size: 1.8rem;
  }
  .about-section h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-section .container {
    padding: 30px 20px;
  }
  .about-section h2 {
    font-size: 1.6rem;
  }
  .about-section h3 {
    font-size: 1.1rem;
  }
  .about-section p, 
  .about-section ul li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .about-section .container {
    padding: 25px 15px;
  }
  .about-section h2 {
    font-size: 1.4rem;
  }
  .about-section h3 {
    font-size: 1rem;
  }
  .about-section p, 
  .about-section ul li {
    font-size: 0.9rem;
  }
}
/* Slider arrows (positioned over full-bleed area) */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.slider-btn svg { display:block; color: #fff; }
.slider-btn:hover { background: rgba(0,0,0,0.65); transform: translateY(-50%) scale(1.03); }
.slider-btn:active { transform: translateY(-50%) scale(0.98); }

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

/* hide arrows on very small screens (use touch) */
@media (max-width: 800px) {
  .slider-btn { display: none; }
}

/* ensure arrows don't block clicks on cards — pointer-events handled by button itself */
.angled-slider-wrap { position: relative; }

/* small polish: make arrows slightly transparent over images */
.slider-btn { background: rgba(0,0,0,0.36); }
/* Reset linkove samo unutar #about-shortcutgames */
#about-shortcutgames a {
    all: unset; /* Uklanja skoro sve nasleđene stilove */
    color: inherit; /* Nasleđuje boju iz parent elementa */
    text-decoration: none; /* Uklanja underline */
    cursor: pointer; /* Ako želiš da i dalje bude klikabilno */
}

/* Opcionalno: da linkovi i dalje reaguju na hover */
#about-shortcutgames a:hover {
    text-decoration: none;
    color: inherit;
}
@media (min-width: 1201px) {
  .angled-card {
    flex: 0 0 25%;        /* bilo 22% */
    min-width: 18%;
    height: clamp(240px, 20vw, 360px); /* niže kartice */
  }

  .angled-card.is-center {
    transform: scale(1.04) translateY(-6px); /* blaži zoom */
  }
}
@media (min-width:801px) and (max-width: 1200px) {
  .angled-slider { gap: 3px; }
}

@media (min-width:1201px) {
  .angled-slider { gap: 3px; }
}
@media (max-width: 480px) {
  .angled-card {
    flex: 0 0 78%;
    min-width: 78%;
    height: clamp(180px, 48vw, 280px);
  }

  .angled-card.is-center {
    transform: scale(1.02) translateY(-4px);
  }
}
.angled-card img{
  
  height: 100%;
  object-fit: fill;
}
/* ===== CATEGORIES SECTION ===== */

.categories-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 1rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.category-card {
    height: 140px;
    background: #f2f3f7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.category-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #111;
}

.icon {
    font-size: 26px;
}
/* ===== FIX: GAME GALLERY ALL SHADOW & HOVER ===== */

.game-gallery-all .game-card {
  background: #fff !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover */
.game-gallery-all .game-card:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
}

/* Mobile */
@media (max-width: 480px) {
  .game-gallery-all .game-card:hover {
    transform: scale(1.03);
  }
}

.search-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ili cover ako treba da ispuni */
  pointer-events: none;
}
.nav-categories {
  margin-top: 20px;
}

.nav-categories h3 {
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
  opacity: 0.8;
}

.nav-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.nav-categories-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.nav-categories-grid img {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
}

.nav-categories-grid span {
  margin-top: 6px;
  font-size: 10px;
}

/* Mobile – 2 u redu */
@media (max-width: 480px) {
  .nav-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   FEATURED GAMES SECTION - SLIDER VERZIJA
   ============================================ */
.featured-games-section {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 0px auto;
    padding: 0 100px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

/* SLIDER CONTAINER - BEZ OVERFLOW */
.featured-slider-container {
    display: flex;
    flex: 1;
    border-radius: 20px;
    position: relative;
    width: 100%;
}

/* SLIDE */
.featured-slide {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 0 0 100%;
    width: 100%;
    transition: none;
    min-width: 100%;
    padding-right: 20px;
    box-sizing: border-box;
}

/* FEATURED LARGE - LIJEVO */
.featured-large-left {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    min-width: 35%;
}

/* FEATURED SMALL CENTER - 4 MALE IGRICE */
.featured-small-center {
    display: grid;
    grid-template-columns: repeat(2, 170px);
    gap: 8px;
    flex: 0 0 auto;
}

/* FEATURED LARGE - DESNO */
.featured-large-right {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    min-width: 35%;
}

.featured-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.featured-card.large-card {
    aspect-ratio: 16 / 9;
    height: 360px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card.large-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.featured-card.small-card {
    aspect-ratio: 1 / 1;
    height: 170px;
    width: 170px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.featured-card.small-card:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* FEATURED CARD INNER */
.featured-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.featured-card:hover .featured-video {
    display: block;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

/* SLIDER BUTTONS */
.featured-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.featured-slider-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.featured-slider-prev {
    left: -70px;
}

.featured-slider-next {
    right: -70px;
}

/* ============================================
   RESPONSIVE - TABLET (1200px - 768px)
   ============================================ */
@media (max-width: 1200px) {
    .featured-games-section {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }

    .featured-slider-container {
        width: 100%;
    }

    .featured-slide {
        flex-direction: column;
        gap: 15px;
        padding-right: 0;
    }

    .featured-large-left,
    .featured-large-right {
        width: 100%;
        flex: unset;
        min-width: auto;
    }

    .featured-card.large-card {
        height: 300px;
    }

    .featured-small-center {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        width: 100%;
    }

    .featured-card.small-card {
        height: auto;
        width: 100%;
    }

    .featured-slider-btn {
        position: static;
        transform: none;
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }

    .featured-slider-prev,
    .featured-slider-next {
        left: auto;
        right: auto;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    .featured-games-section {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .featured-slider-container {
        width: 100%;
        overflow: visible;
    }

    .featured-slide {
        flex-direction: column;
        gap: 15px;
        flex: 1;
        padding-right: 0;
    }

    .featured-large-left {
        width: 100%;
        flex: unset;
        min-width: auto;
    }

    .featured-card.large-card {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .featured-small-center {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
    }

    .featured-card.small-card {
        aspect-ratio: 1 / 1;
        height: auto;
        width: 100%;
    }

    .featured-large-right {
        width: 100%;
        flex: unset;
        min-width: auto;
    }

    .featured-slider-btn {
        display: none;
    }
}

/* ============================================
   RESPONSIVE - MALI MOBILNI (max 480px)
   ============================================ */
@media (max-width: 480px) {
    .featured-games-section {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }

    .featured-card.large-card {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .featured-small-center {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .featured-card.small-card {
        aspect-ratio: 1 / 1;
        height: auto;
        width: 100%;
    }

    .featured-card.large-card:hover,
    .featured-card.small-card:hover {
        transform: scale(1.02);
    }
}
.featured-slider-container {
    overflow: hidden;
}

.featured-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}
/* ===== MOBILE NAV FIX ===== */
@media (max-width: 768px) {

  nav {
    position: fixed;
    top: 85px; /* visina headera */
    left: 0;
    width: 100%;
    height: calc(100vh - 85px);
    max-height: calc(100vh - 85px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav ul {
    padding-bottom: 100px; /* da zadnje kartice ne budu zalepljene */
  }

}

nav .categories-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

nav .category-card {
  height: 65px;
}

nav .category-content {
  font-size: 13px;
}

nav .icon {
  font-size: 16px;
}
.bannerai{
max-width:900px;
margin:30px auto;
text-align:center;
}

.bannerai img{
width:100%;
height:auto;
display:block;
border-radius:16px;
}
/* ulazak */
.game-card.enter {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInGame .5s ease forwards;
}

/* izlazak */
.game-card.exit {
  opacity: 1;
  transform: scale(1);
  animation: fadeOutGame .5s ease forwards;
}

@keyframes fadeInGame {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOutGame {
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}


/* ============================================
  HERO SEKCIJA
   ============================================ */

.sg-hero-wrap {
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.sg-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 290px;
  padding: 42px 46px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 48%, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.00) 24%),
    linear-gradient(180deg, #f8e7a1 0%, #ffd968 72%, #f7c644 100%);
  box-shadow:
    0 8px 28px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.55);
}

.sg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.sg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 100%, rgba(255,255,255,0.14), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.22), transparent 26%);
  pointer-events: none;
}

.sg-hero-content {
  position: relative;
  z-index: 2;
  flex: 1 1 52%;
  max-width: 720px;
}

.sg-hero-kicker {
  margin: 0 0 12px;
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #49351f;
}

.sg-hero-title {
  margin: 0;
  line-height: 0.95;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.sg-hero-2048 {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 78px;
  font-weight: 900;
  color: #fff4cf;
  letter-spacing: -2px;
  -webkit-text-stroke: 7px #7f3b0d;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 #7f3b0d,
    0 6px 12px rgba(92, 45, 9, 0.18);
}

.sg-hero-challenge {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: #5a2d0a;
  letter-spacing: -1px;
}

.sg-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  min-width: 315px;
  height: 76px;
  padding: 0 34px;
  border-radius: 999px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(180deg, #378fff 0%, #2c74ea 54%, #1c56c8 100%);
  box-shadow:
    inset 0 -6px 0 rgba(0,0,0,0.14),
    0 8px 18px rgba(36, 91, 200, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sg-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 -6px 0 rgba(0,0,0,0.14),
    0 14px 22px rgba(36, 91, 200, 0.34);
}

.sg-hero-art {
  position: relative;
  z-index: 2;
  flex: 0 0 38%;
  min-width: 360px;
  height: 240px;
}

.sg-glow {
  position: absolute;
  right: 90px;
  top: 28px;
  width: 250px;
  height: 180px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.32) 30%, rgba(255,255,255,0.00) 70%);
  filter: blur(4px);
}

.sg-board {
  position: absolute;
  right: 62px;
  top: 10px;
  width: 300px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-radius: 20px;
  background: #d7b466;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.35),
    0 8px 14px rgba(120, 83, 25, 0.16);
}

.sg-cell {
  height: 78px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #5e4129;
  background: linear-gradient(180deg, #f7edd2 0%, #efe0b7 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.4);
}

.sg-cell.sg-highlight {
  color: #fffaf0;
  background: linear-gradient(180deg, #ffbb3a 0%, #f59f18 100%);
}

.sg-cell.sg-empty {
  background: linear-gradient(180deg, #eddcb0 0%, #e4cf9b 100%);
  color: transparent;
}

.sg-mascot {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 130px;
  height: 130px;
  border-radius: 24px;
  transform: rotate(8deg);
  background: linear-gradient(180deg, #fff04b 0%, #ffd61f 70%, #f4b400 100%);
  box-shadow:
    inset -10px -10px 0 rgba(255,140,0,0.22),
    inset 8px 8px 0 rgba(255,255,255,0.24),
    0 14px 18px rgba(126, 74, 0, 0.22);
}

.sg-mascot-face {
  position: relative;
  width: 100%;
  height: 100%;
}

.sg-eye {
  position: absolute;
  top: 42px;
  width: 16px;
  height: 24px;
  background: #3a250d;
  border-radius: 50%;
}

.sg-eye-left {
  left: 34px;
}

.sg-eye-right {
  right: 34px;
}

.sg-mouth {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 46px;
  height: 28px;
  background: #5b250f;
  border-radius: 0 0 28px 28px;
}

.sg-mouth::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 12px;
  border-radius: 10px 10px 14px 14px;
  background: #ff7d7d;
}

.sg-cheek {
  position: absolute;
  bottom: 42px;
  width: 16px;
  height: 16px;
  background: rgba(255, 124, 124, 0.45);
  border-radius: 50%;
}

.sg-cheek-left {
  left: 22px;
}

.sg-cheek-right {
  right: 22px;
}

.sg-trophy {
  position: absolute;
  right: -2px;
  bottom: 4px;
  width: 90px;
  height: 105px;
  transform: rotate(15deg);
}

.sg-trophy-cup {
  position: absolute;
  left: 18px;
  top: 8px;
  width: 42px;
  height: 42px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #ffd94a 0%, #ffba00 100%);
  border: 5px solid #c67d00;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.sg-trophy-stem {
  position: absolute;
  left: 33px;
  top: 50px;
  width: 12px;
  height: 18px;
  background: #d18a00;
  border-radius: 4px;
}

.sg-trophy-base {
  position: absolute;
  left: 24px;
  top: 66px;
  width: 30px;
  height: 12px;
  border-radius: 6px;
  background: #c98000;
}

.sg-trophy-handle {
  position: absolute;
  top: 16px;
  width: 24px;
  height: 26px;
  border: 5px solid #c67d00;
  border-radius: 50%;
}

.sg-trophy-handle-left {
  left: 2px;
  border-right: none;
}

.sg-trophy-handle-right {
  right: 8px;
  border-left: none;
}

.sg-star {
  position: absolute;
  display: block;
  background: #fff7d6;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.8));
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.sg-star-1 {
  right: 112px;
  top: 14px;
  width: 18px;
  height: 18px;
}

.sg-star-2 {
  right: 42px;
  top: 28px;
  width: 30px;
  height: 30px;
  background: #ffd842;
}

.sg-star-3 {
  right: 78px;
  top: 56px;
  width: 16px;
  height: 16px;
}

.sg-star-4 {
  right: 172px;
  top: 76px;
  width: 18px;
  height: 18px;
  background: #ffd842;
}

.sg-star-5 {
  right: 138px;
  top: 122px;
  width: 12px;
  height: 12px;
}

.sg-categories {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 8px 6px;
  flex-wrap: wrap;
}

.sg-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  padding: 0 30px;
  border-radius: 999px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #404067;
  background: #ececf2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
  transition: transform 0.18s ease, background 0.18s ease;
}

.sg-chip:hover {
  transform: translateY(-2px);
}

.sg-chip-active {
  color: #ffffff;
  background: linear-gradient(180deg, #ff9a2c 0%, #f0770f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 8px 16px rgba(240, 119, 15, 0.18);
}

@media (max-width: 1100px) {
  .sg-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 28px;
  }

  .sg-hero-content {
    max-width: 100%;
  }

  .sg-hero-art {
    width: 100%;
    min-width: 0;
    height: 260px;
  }

  .sg-board {
    right: 48px;
  }

  .sg-hero-2048 {
    font-size: 62px;
    -webkit-text-stroke: 5px #7f3b0d;
  }

  .sg-hero-challenge {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .sg-hero-wrap {
    padding: 0 14px;
  }

  .sg-hero {
    min-height: auto;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .sg-hero-kicker {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .sg-hero-title {
    gap: 6px 10px;
  }

  .sg-hero-2048 {
    font-size: 42px;
    -webkit-text-stroke: 3px #7f3b0d;
  }

  .sg-hero-challenge {
    font-size: 34px;
  }

  .sg-hero-btn {
    min-width: 190px;
    height: 52px;
    margin-top: 18px;
    font-size: 22px;
  }

  .sg-hero-art {
    height: 150px;
    margin-top: 8px;
  }

  .sg-board {
    right: 34px;
    top: 8px;
    width: 176px;
    padding: 6px;
    gap: 5px;
    border-radius: 12px;
  }

  .sg-cell {
    height: 42px;
    font-size: 22px;
    border-radius: 7px;
  }

  .sg-mascot {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    right: 2px;
    bottom: 2px;
  }

  .sg-eye {
    top: 24px;
    width: 8px;
    height: 12px;
  }

  .sg-eye-left {
    left: 20px;
  }

  .sg-eye-right {
    right: 20px;
  }

  .sg-mouth {
    width: 26px;
    height: 16px;
    bottom: 16px;
  }

  .sg-mouth::after {
    width: 16px;
    height: 7px;
  }

  .sg-cheek {
    width: 10px;
    height: 10px;
    bottom: 24px;
  }

  .sg-cheek-left {
    left: 12px;
  }

  .sg-cheek-right {
    right: 12px;
  }

  .sg-trophy {
    width: 54px;
    height: 64px;
    right: -2px;
    bottom: 0;
  }

  .sg-trophy-cup {
    left: 12px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-width: 3px;
  }

  .sg-trophy-stem {
    left: 21px;
    top: 29px;
    width: 7px;
    height: 10px;
  }

  .sg-trophy-base {
    left: 15px;
    top: 38px;
    width: 19px;
    height: 8px;
  }

  .sg-trophy-handle {
    top: 10px;
    width: 14px;
    height: 16px;
    border-width: 3px;
  }

  .sg-trophy-handle-left {
    left: 1px;
  }

  .sg-trophy-handle-right {
    right: 6px;
  }

  .sg-star-1,
  .sg-star-3,
  .sg-star-4,
  .sg-star-5 {
    display: none;
  }

  .sg-star-2 {
    width: 18px;
    height: 18px;
    right: 20px;
    top: 12px;
  }

  .sg-categories {
    gap: 10px;
    padding-top: 16px;
  }

  .sg-chip {
    height: 46px;
    padding: 0 18px;
    font-size: 18px;
  }
  /* HERO TABS + GAMES */
.hero-tabs-wrap{
  max-width:1200px;
  margin:18px auto 10px;
  padding:0 10px;
}

.hero-categories{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.hero-cat{
  border:none;
  background:#ececf2;
  color:#404067;
  padding:12px 20px;
  border-radius:999px;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.hero-cat:hover{
  transform:translateY(-2px);
}

.hero-cat.active{
  color:#fff;
  background:linear-gradient(180deg,#ff9a2c 0%, #f0770f 100%);
  box-shadow:0 8px 16px rgba(240,119,15,0.20);
}

.hero-games-row{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:14px;
}

.hero-game-card{
  display:block;
  text-decoration:none;
  color:#111;
  
}

.hero-game-thumb{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
  transition:transform .2s ease, box-shadow .2s ease;
  background:#f4f4f4;
}

.hero-game-card:hover .hero-game-thumb{
  transform:translateY(-4px);
  box-shadow:0 12px 24px rgba(0,0,0,0.18);
}

.hero-game-thumb img{
  width:100%;
  aspect-ratio:1 / 1;
  display:block;
  object-fit:cover;
}

.hero-game-badge{
  position:absolute;
  top:8px;
  left:8px;
  z-index:2;
  padding:5px 9px;
  border-radius:8px;
  font-size:12px;
  font-weight:800;
  line-height:1;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.3px;
}

.hero-game-badge.popular{ background:#ff4aa2; }
.hero-game-badge.new{ background:#18a957; }
.hero-game-badge.trending{ background:#ff8a1f; }

.hero-game-title{
  margin-top:10px;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
}

.hero-game-stars{
  margin-top:6px;
  font-size:15px;
  color:#f5b91d;
  letter-spacing:1px;
}

.hero-game-stars .off{
  color:#ddd;
}

@media (max-width: 1100px){
  .hero-games-row{
    grid-template-columns:repeat(4, 1fr);
  }
}

@media (max-width: 768px){
  .hero-games-row{
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
  }

  .hero-cat{
    font-size:16px;
    padding:10px 16px;
  }

  .hero-game-title{
    font-size:14px;
  }
}

@media (max-width: 480px){
  .hero-games-row{
    grid-template-columns:repeat(2, 1fr);
  }
}
}

/* kraj media query */

.hero-tabs-wrap{
  max-width:1200px;
  margin:18px auto 10px;
  padding:0 10px;
}

.hero-categories{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.hero-cat{
  border:none;
  background:#ececf2;
  color:#404067;
  padding:12px 20px;
  border-radius:999px;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
}

.hero-cat.active{
  color:#fff;
  background:linear-gradient(180deg,#ff9a2c,#f0770f);
}

.hero-games-row{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
/* ===============================
   HERO TABS + GAME CARDS
================================= */

.hero-tabs-wrap{
  max-width:1400px;
  margin:20px auto 10px;
  padding:0 10px;
}

/* CATEGORY BUTTONS */

.hero-categories{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:22px 0 20px 0;
}

.hero-cat{
  border:none;
  background:#ececf2;
  color:#404067;
  padding:12px 24px;
  border-radius:999px;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.hero-cat:hover{
  transform:translateY(-2px);
}

.hero-cat.active{
  color:#fff;
  background:linear-gradient(180deg,#ff9a2c 0%, #f0770f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 8px 16px rgba(240,119,15,0.18);
}

/* GRID */

.hero-games-row{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}

/* CARD */

.hero-game-card{
  display:block;
  text-decoration:none;
  color:#111;
  font-family:Arial, sans-serif;
}

/* IMAGE BOX */

.hero-game-thumb{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:#f3f3f3;
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
  transition:transform .2s ease, box-shadow .2s ease;
}

.hero-game-card:hover .hero-game-thumb{
  transform:translateY(-6px);
  box-shadow:0 14px 28px rgba(0,0,0,0.22);
}

.hero-game-thumb img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
}

/* BADGE */

.hero-game-badge{
  position:absolute;
  top:8px;
  left:8px;
  padding:5px 9px;
  border-radius:8px;
  font-size:11px;
  font-weight:800;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.3px;
}

.hero-game-badge.popular{
  background:#ff4aa2;
}

.hero-game-badge.new{
  background:#18a957;
}

.hero-game-badge.trending{
  background:#ff8a1f;
}

/* TITLE */

.hero-game-title{
  margin-top:10px;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
}

/* STARS */

.hero-game-stars{
  margin-top:4px;
  font-size:14px;
  color:#f5b91d;
  letter-spacing:1px;
}

.hero-game-stars .off{
  color:#ddd;
}

/* ===============================
   RESPONSIVE
================================= */

@media (max-width:1200px){

.hero-games-row{
grid-template-columns:repeat(4,1fr);
}

}

@media (max-width:900px){

.hero-games-row{
grid-template-columns:repeat(3,1fr);
}

}

@media (max-width:600px){

.hero-games-row{
grid-template-columns:repeat(2,1fr);
}

.hero-cat{
font-size:16px;
padding:10px 16px;
}

.hero-game-thumb img{
height:140px;
}

}

@media (max-width:420px){

.hero-games-row{
grid-template-columns:repeat(2,1fr);
gap:12px;
}

.hero-game-thumb img{
height:120px;
}

}
.sg-hero a,
.sg-hero a:visited,
.sg-hero a:hover{
text-decoration:none;
color:inherit;
}
.sg-hero a{
  text-decoration:none;
}

.sg-hero-btn{
  color:#fff !important;
}


@media (max-width:768px){

.sg-hero{
flex-direction:column;
align-items:flex-start;
}

.sg-hero-art{
width:100%;
height:170px;
margin-top:10px;
position:relative;
}

/* centriramo tablu */

.sg-board{
right:auto;
left:50%;
transform:translateX(-50%);
top:0;
}

/* maskota */

.sg-mascot{
right:10px;
bottom:-6px;
}

/* trophy */

.sg-trophy{
right:10px;
bottom:-4px;
}

/* glow centar */

.sg-glow{
left:50%;
transform:translateX(-50%);
right:auto;
}

}
.sg-hero-art{
flex:0 0 38%;
min-width:300px;
height:240px;
}




.hero-tabs-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.hero-categories{
  display:flex;
  gap:10px;
  padding:10px 15px;
  min-width:max-content;
}

.hero-cat{
  border:none;
  padding:10px 16px;
  border-radius:20px;
  background:#f1f1f1;
  font-weight:600;
  cursor:pointer;
  white-space:nowrap;
  transition:0.2s;
}

.hero-cat:hover{
  transform:scale(1.05);
}
.hero-cat.active{
  background:#ff7a00;
  color:white;
}
.hero-tabs-wrap::-webkit-scrollbar{
  display:none;
}

.hero-tabs-wrap{
  scrollbar-width:none;
}
.hero-tabs-wrap{
  position:relative;
}

.hero-tabs-wrap::after{
  content:"";
  position:absolute;
  right:0;
  top:0;
  width:40px;
  height:100%;
  background:linear-gradient(to right, transparent, white);
  pointer-events:none;
}
.hero-games-row{
  contain: layout paint;
}
.hero-games-row{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}

.hero-games-row::-webkit-scrollbar{
  display:none;
}
.hero-game-card{
  flex:0 0 auto;
  width:160px;
  scroll-snap-align:start;
}
.hero-categories{
  display:flex;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}
.hero-tabs-wrap{
  width:100%;
  overflow:hidden;
}
.hero-categories{
  display:flex;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  -webkit-overflow-scrolling:touch;
}
.hero-cat{
  flex:0 0 auto;
}
.hero-categories::-webkit-scrollbar{
  display:none;
}
body{
  overflow-x:hidden;
}

.home-category{
margin:40px 0;
}

.category-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}

.category-header h2{
font-size:22px;
font-weight:700;
}

.view-all-btn{
font-size:14px;
text-decoration:none;
color:#ff7a00;
font-weight:600;
}

.view-all-btn:hover{
text-decoration:underline;
}
/* SECTION */

.explore-section{
margin:60px auto;
max-width:1400px;
padding:30px;
border-radius:28px;

background:
linear-gradient(180deg,#fff7d8,#f6c95f);

box-shadow:
0 20px 60px rgba(0,0,0,0.08);

position:relative;
overflow:visible;
}

/* HEADER */

.explore-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.explore-title{
font-size:28px;
font-weight:700;
}

.explore-title span{
color:#ff7a00;
}

.explore-viewall{
background:#111;
color:white;
padding:8px 16px;
border-radius:10px;
text-decoration:none;
font-size:14px;
transition:.2s;
}

.explore-viewall:hover{
transform:translateY(-2px);
}

/* ROW */

.explore-row{
display:flex;
gap:16px;
overflow-x:auto;
scroll-snap-type:x mandatory;
padding-bottom:10px;
}

.explore-row::-webkit-scrollbar{
display:none;
}

/* CARD */

.explore-row .hero-game-card{
flex:0 0 auto;
width:150px;
scroll-snap-align:start;
transition:.25s;
}

.explore-row .hero-game-card:hover{
transform:translateY(-6px) scale(1.05);
}

/* FADE EDGES */

.explore-row-wrap{
position:relative;
overflow:visible;
}

.explore-fade-left,
.explore-fade-right{
position:absolute;
top:0;
width:60px;
height:100%;
pointer-events:none;
z-index:5;
}

.browse-categories-section{
  width:100%;
  max-width:1400px;
  margin:40px auto 50px;
  padding:0 16px;
}

.browse-categories-inner{
  background:linear-gradient(180deg,#fffaf0 0%, #fff3d7 100%);
  border-radius:28px;
  padding:28px 20px;
  box-shadow:0 16px 40px rgba(0,0,0,0.08);
  position:relative;
  overflow:hidden;
}

.browse-categories-inner::before{
  content:"";
  position:absolute;
  top:-60px;
  right:-60px;
  width:180px;
  height:180px;
  background:radial-gradient(circle, rgba(255,122,0,0.18) 0%, rgba(255,122,0,0) 70%);
  pointer-events:none;
}

.browse-categories-head{
  text-align:center;
  margin-bottom:22px;
  position:relative;
  z-index:1;
}

.browse-categories-head h2{
  font-size:30px;
  line-height:1.1;
  margin:0 0 8px;
  color:#171717;
}

.browse-categories-head p{
  margin:0;
  font-size:15px;
  color:#5f5f5f;
}

.browse-categories-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
  position:relative;
  z-index:1;
}

.browse-category-card{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  border-radius:22px;
  padding:18px 16px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.05);
  box-shadow:0 10px 24px rgba(0,0,0,0.07);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  min-height:92px;
}

.browse-category-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 34px rgba(0,0,0,0.12);
  border-color:rgba(255,122,0,0.22);
}

.browse-category-icon{
  width:54px;
  height:54px;
  min-width:54px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  background:linear-gradient(180deg,#fff7e8,#ffe0a8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.9);
}

.browse-category-text{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.browse-category-title{
  font-size:18px;
  font-weight:700;
  color:#181818;
  line-height:1.1;
}

.browse-category-sub{
  margin-top:4px;
  font-size:13px;
  color:#666;
  line-height:1.3;
}

/* subtle category accents */
.browse-category-card.puzzle .browse-category-icon{
  background:linear-gradient(180deg,#fff4d8,#ffd978);
}

.browse-category-card.car .browse-category-icon{
  background:linear-gradient(180deg,#ffe8d8,#ffb36b);
}

.browse-category-card.action .browse-category-icon{
  background:linear-gradient(180deg,#ffe3e3,#ff9f9f);
}

.browse-category-card.sports .browse-category-icon{
  background:linear-gradient(180deg,#e7f7e8,#9ee3a3);
}

.browse-category-card.card .browse-category-icon{
  background:linear-gradient(180deg,#efe8ff,#c5afff);
}

.browse-category-card.io .browse-category-icon{
  background:linear-gradient(180deg,#e6f7ff,#96dfff);
}

@media (max-width: 900px){
  .browse-categories-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .browse-categories-head h2{
    font-size:26px;
  }
}

@media (max-width: 560px){
  .browse-categories-section{
    padding:0 12px;
    margin:28px auto 36px;
  }

  .browse-categories-inner{
    padding:22px 14px;
    border-radius:22px;
  }

  .browse-categories-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .browse-category-card{
    padding:16px 14px;
    min-height:84px;
    border-radius:18px;
  }

  .browse-category-icon{
    width:48px;
    height:48px;
    min-width:48px;
    font-size:23px;
    border-radius:14px;
  }

  .browse-category-title{
    font-size:17px;
  }

  .browse-category-sub{
    font-size:12px;
  }
}
/* ===================================
   GAMES GRID (ALL GAMES / CATEGORY)
=================================== */

.games-grid-wrap{
max-width:1400px;
margin:40px auto;
padding:0 20px;
}

/* GRID */

.hero-games-row{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:22px;
}

/* CARD */

.hero-game-card{
display:block;
text-decoration:none;
color:#111;
font-family:Arial, sans-serif;
}

/* IMAGE */

.hero-game-thumb{
position:relative;
border-radius:18px;
overflow:hidden;
background:#f3f3f3;
box-shadow:0 6px 16px rgba(0,0,0,0.12);
transition:transform .2s ease, box-shadow .2s ease;
}

.hero-game-card:hover .hero-game-thumb{
transform:translateY(-6px);
box-shadow:0 16px 28px rgba(0,0,0,0.22);
}

.hero-game-thumb img{
width:100%;
aspect-ratio:1/1;
object-fit:cover;
display:block;
}

/* BADGE */

.hero-game-badge{
position:absolute;
top:8px;
left:8px;
padding:5px 9px;
border-radius:8px;
font-size:11px;
font-weight:800;
color:#fff;
text-transform:uppercase;
letter-spacing:.3px;
}

.hero-game-badge.popular{
background:#ff4aa2;
}

.hero-game-badge.new{
background:#18a957;
}

.hero-game-badge.trending{
background:#ff8a1f;
}

/* TITLE */

.hero-game-title{
margin-top:10px;
font-size:15px;
font-weight:700;
line-height:1.2;
}

/* STARS */

.hero-game-stars{
margin-top:4px;
font-size:14px;
color:#f5b91d;
letter-spacing:1px;
}

.hero-game-stars .off{
color:#ddd;
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width:1200px){

.hero-games-row{
grid-template-columns:repeat(5,1fr);
}

}

@media (max-width:900px){

.hero-games-row{
grid-template-columns:repeat(4,1fr);
}

}

@media (max-width:700px){

.hero-games-row{
grid-template-columns:repeat(3,1fr);
gap:18px;
}

}

@media (max-width:500px){

.hero-games-row{
grid-template-columns:repeat(2,1fr);
gap:14px;
}

.hero-game-title{
font-size:14px;
}

}
/* ===================================
   CATEGORY SECTION WRAPPER
=================================== */

.games-section{
margin:60px auto;
max-width:1400px;
padding:30px;
border-radius:28px;

box-shadow:0 20px 60px rgba(0,0,0,0.08);

position:relative;
overflow:visible;
}

/* INNER */

.games-section-inner{
position:relative;
z-index:2;
}

/* ===================================
   COLOR THEMES
=================================== */

/* ALL GAMES */

.games-green{
background:linear-gradient(180deg,#eafff1,#9ef5c4);
}

/* CARD GAMES */

.games-purple{
background:linear-gradient(180deg,#f3eaff,#cbb6ff);
}

/* PUZZLE */

.games-yellow{
background:linear-gradient(180deg,#fff7d8,#f6c95f);
}

/* ACTION */

.games-red{
background:linear-gradient(180deg,#ffe5e5,#ff8e8e);
}

/* RACING */

.games-orange{
background:linear-gradient(180deg,#fff0e0,#ffb066);
}

/* SPORTS */

.games-blue{
background:linear-gradient(180deg,#e6f6ff,#8fd6ff);
}
.games-pink {
background: linear-gradient(135deg,#ff6ec7,#ff3d9a);
}


.games-purple{
background: linear-gradient(135deg,#7f5af0,#5f2cff 50%,#3a0ca3);

}


.games-hardred{
background: linear-gradient(135deg,#ff6a6a,#ff3d3d 50%,#ff1f1f);

}



#nav{


background:rgba(255,255,255,0.6); /* providna bela */

backdrop-filter:blur(20px);
-webkit-backdrop-filter:blur(14px);

}





/* FIX GAME GRID ON MOBILE */

@media (max-width:600px){

.hero-games-row{
display:grid !important;
grid-template-columns:repeat(2,1fr) !important;
gap:12px;
overflow-x:hidden !important;
}

.hero-game-card{
width:100% !important;
}

}

