* {
  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;
}

/* Category card */
.category-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1; /* SAVRŠEN KVADRAT */
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card img {
  width: 80%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

/* Hover */
.category-card:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Mobile polish */
@media (max-width: 480px) {
  .categories-grid {
    gap: 12px;
  }

  .category-card:hover {
    transform: scale(1.03);
  }
}
/* ===== 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);
  }
}






