:root {
  --primary-color: #e63946;
  --secondary-color: #1d3557;
  --dark-bg: #050505;
  --card-bg: #121212;
  --text-color: #f1faee;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Age Gate Container */
#age-gate-enter {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, rgba(20, 20, 20, 0.98) 0%, rgba(0, 0, 0, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  text-align: center;
  backdrop-filter: blur(10px);
  /* Bluruje pozadinu sajta dok se ne klikne */
}

#age-gate-enter.hidden {
  display: none !important;
}

.age-gate-box {
  background: #111;
  padding: 50px 40px;
  border: 2px solid #272626;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 59, 59, 0.1);
}

.age-gate-icon {
  width: 70px;
  height: 70px;
  border: 3px solid #f53b3b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: bold;
  font-size: 1.5rem;
  color: #f53b3b;
}

.age-gate-box h1 {
  font-size: 2.6rem;
  margin-bottom: 15px;
  color: #f53b3b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.age-gate-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #ccc;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.age-gate-btn {
  text-decoration: none;
  display: inline-block;
  color: white;
  border: none;
  padding: 16px 35px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  /* Moderniji zaobljeni krajevi */
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
}

.age-gate-btn.yes {
  background: #f53b3b;
  box-shadow: 0 4px 15px rgba(245, 59, 59, 0.3);
}

.age-gate-btn.yes:hover {
  background: #ff5252;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 59, 59, 0.5);
}

.age-gate-btn.no {
  background: transparent;
  border: 2px solid #434242;
  color: #aaa;
}

.age-gate-btn.no:hover {
  background: #434242;
  color: #fff;
}

/* Optimized Hero Video Container */
.hero-video-container {
  width: 100%;
  max-width: 1100px;
  margin: 10px auto 30px;
  border-radius: 13px;
  overflow: hidden;
  /* This hides the 10% side crops */
  position: relative;
  background: #000;

  /* Forces the container to follow the video's shape (16:9 is standard) */
  aspect-ratio: 16 / 9;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  /* Now takes 100% of the aspect-ratio height */
  object-fit: cover;
  display: block;

  /* This creates your 10% crop on Left, Right, and Bottom */
  transform: scale(1.2);
  transform-origin: top center;
}

/* Stil za tekst i dugme preko videa */
.hero-content-overlay {
  position: absolute;
  inset: 0;
  /* Pokriva ceo kontejner */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Centriranje po vertikali */
  align-items: center;
  /* Centriranje po horizontali */
  text-align: center;
  z-index: 10;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  /* Gradijent od dna ka vrhu */
}

.hero-content-overlay h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-content-overlay p {
  font-size: 1.4rem;
  color: #f1f1f1;
  max-width: 700px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* Glavni CTA Button */
.cta-btn {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, #f53b3b 0%, #a70000 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  /* Zaobljeno za moderan look */
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(245, 59, 59, 0.4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 15;
}

/* Hover efekat - Dugme se širi i jače sija */
.cta-btn:hover {
  transform: scale(1.08) translateY(-3px);
  background: linear-gradient(135deg, #ff4d4d 0%, #d40000 100%);
  box-shadow: 0 15px 35px rgba(245, 59, 59, 0.6);
  color: #fff;
}

/* Aktivno stanje (kad se klikne) */
.cta-btn:active {
  transform: scale(0.95);
}

/* Suptilna animacija sjaja koja prolazi preko dugmeta (SEO-friendly eye-catcher) */
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: all 0.6s;
}

.cta-btn:hover::before {
  left: 100%;
}

/* Osnovni stilovi za kartice */

.gallery h2 {
  text-align: center;
  /* Centriranje teksta */
  margin: 40px auto 30px;
  /* Gornja margina 40px, donja 30px, auto za centriranje bloka */
  font-size: 2.5rem;
  /* Veličina slova */
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  position: relative;
  display: block;
  /* Osigurava da se tretira kao blok element */
  width: 100%;
  /* Širi se celom širinom kontejnera */
}

/* Opciono: Crvena linija ispod naslova za bolji fetish/BDSM izgled */
.gallery h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #f53b3b;
  margin: 15px auto 0;
  /* Centriranje linije ispod teksta */
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 20px;
  padding: 20px 0;
}

.card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.card-link:hover {
  transform: translateY(-5px);
}

.card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333;
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.card-info {
  padding: 15px;
}

.card-info h3 {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: #fff;
}

.card-info span {
  color: #ff4d4d;
  font-weight: bold;
  font-size: 0.9rem;
}

/* --- Banner centriranje unutar GRID-a --- */

.banner-wrapper {
  /* Govori gridu da ovaj element zauzme sve kolone (od prve do poslednje) */
  grid-column: 1 / -1;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  margin-top: 20px;
  width: 100%;
}

.banner-wrapper a {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.main-banner {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 13px;
  /* Usklađeno sa hero videom */
  border: 1px solid #272626;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.main-banner:hover {
  transform: scale(1.02);
  border-color: #f53b3b;
}

.text-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #b8b6b6;
  text-align: center;
  /* Centriranje dugmeta i info-boxa */
}

/* Vraćamo poravnanje teksta na levo radi lakšeg čitanja */
.text-wrapper h2,
.text-wrapper p {
  text-align: left;
}

.text-wrapper h2 {
  color: #f33c3c;
  margin: 28px 0 15px;
  font-size: 1.9rem;
}

.text-wrapper p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.info-box {
  background: #111;
  padding: 30px;
  border-left: 4px solid #f33c3c;
  margin: 40px 0;
  border-radius: 5px;
}

.italic-text {
  font-style: italic;
  color: #757373;
}

/* SEO Text */
.seo-text {
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 50px;
}

.seo-text h2 {
  color: #fff;
}

/* Trust Section Styling */
.trust {
  padding: 60px 20px;
  background: #080808;
  /* Blago svetlije od čistog crnog za kontrast */
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.badge {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.badge .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(245, 59, 59, 0.3));
}

.badge h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.badge p {
  color: #666;
  font-size: 1rem;
  line-height: 1.4;
}

/* CTA Box unutar Trust sekcije */
.trust-cta-box {
  background: linear-gradient(180deg, #111 0%, #000 100%);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid #272626;
  max-width: 900px;
  margin: 0 auto;
}

.trust-cta-box h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
}

.trust-cta-box p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #aaa;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 50px 0;
  background: #000;
  text-align: center;
  border-top: 1px solid #222;
}

.footer-links a {
  margin: 0 10px;
  color: #666;
  text-decoration: none;
}

.warning-text {
  color: #ff4d4d;
  font-size: 0.8rem;
  margin: 20px 0;
}

/* --- UNIFIED MOBILE OPTIMIZATION (Up to 768px) --- */
@media (max-width: 768px) {

  /* Age Gate */
  .age-gate-box {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .age-gate-box h1 {
    font-size: 2rem;
  }

  .age-gate-btn {
    width: 100%;
    margin: 10px 0;
  }

  /* Hero Video & Content */
  .hero-video-container {
    margin: 10px 10px 30px;
    width: calc(100% - 20px);
    height: 500px;
    /* FIKSNA VISINA da bi CTA stao */
    position: relative;
    overflow: hidden;
  }

  .hero-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Video se rasteže da popuni 500px visine */
    object-fit: cover;
    /* Održava proporcije videa unutar 500px */
    transform: scale(1.3);
    /* Jači zum na mobu */
    transform-origin: center center;
  }

  .hero-content-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Zatamnjenje da se tekst bolje vidi */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centriranje teksta i dugmeta po vertikali */
    align-items: center;
    padding: 20px;
  }

  .hero-content-overlay h1 {
    font-size: 1.5rem !important;
  }

  .hero-content-overlay p {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }

  .cta-btn {
    width: auto;
    min-width: 200px;
    padding: 14px 25px;
  }

  /* Gallery Grid & Headers */
  .grid {
    grid-template-columns: 1fr;
    /* 1 kolona na malim ekranima */
    gap: 15px;
  }

  .gallery h2 {
    font-size: 1.8rem;
    margin: 30px auto 20px;
    padding: 0 15px;
  }

  /* Trust Section */
  .trust {
    padding: 40px 15px;
  }

  .trust-badges {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  trust-cta-box {
    width: 100%;
    /* Malo širi boks da bi bilo više mesta unutra */
    margin: 0 auto;
    display: flex;
    /* Menjamo u flexbox za savršeno centriranje */
    flex-direction: column;
    align-items: center;
    /* Centrira sve elemente (H2, P, Button) po sredini */
    text-align: center;
    box-sizing: border-box;
  }

  .trust-cta-box h2 {
    font-size: 1.6rem;
  }

  .trust-cta-box p {
    font-size: 1.1rem;
  }

  .trust-cta-box .cta-btn {
    display: inline-block;
    /* Bolje za flex-center nego block */
    width: 95%;
    /* Na mobilnom je najbolje da dugme ide od ivice do ivice */
    max-width: 300px;
    /* Ali mu ograničavamo širinu da ne bude preveliko */
    margin: 20px 0 0 0;
    /* Skidamo auto marginu jer ih 'align-items: center' već centrira */
    box-sizing: border-box;
    font-size: 1.2rem;
  }
}

/* Disclaimer Section */
.disclaimer-box {
  border: 1px solid #f33c3c;
  padding: 30px;
  margin-bottom: 30px;
  font-style: italic;
  font-size: 0.9em;
  color: #ccc;
  /* Opciono: malo svetlija boja teksta da ne odskače previše */
  border-radius: 8px;
  /* Opciono: blago zaobljene ivice za moderniji izgled */
}

.disclaimer-box strong {
  color: #f33c3c;
  /* Da reč Disclaimer bude uočljivija */
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .text-wrapper {
    padding: 0 15px;
  }

  .text-wrapper h2 {
    font-size: 1.5rem;
    text-align: center;
    /* This overrides the left alignment on mobile */
  }

  header h1 {
    font-size: 2rem;
    /* Optional: shrink main title slightly for mobile */
  }
}

/* --- PRECISE LANDSCAPE FIX (Za visine ekrana od 300px do 500px) --- */
@media (max-width: 950px) and (orientation: landscape) {

  .hero-video-container {
    /* Ključna izmena: ne dozvoljavamo da kontejner bude viši od 90% ekrana */
    height: 90vh !important;
    max-height: 380px;
    /* Limitiramo visinu da CTA uvek ostane u vidnom polju */
    width: calc(100% - 20px);
    margin: 5px auto 20px;
    display: flex;
  }

  .hero-video-container video {
    height: 100%;
    /* Smanjujemo zoom na 1.1 da bi video bio "ceo" po visini u landscape-u */
    transform: scale(1.2);
    transform-origin: center center;
    object-fit: cover;
  }

  .hero-content-overlay {
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    /* Drži sve elemente u centru visine */
  }

  /* Smanjujemo fontove jer je u landscape-u visina kritična */
  .hero-content-overlay h1 {
    font-size: 1.2rem !important;
    margin-bottom: 5px;
    line-height: 1.1;
  }

  .hero-content-overlay p {
    font-size: 0.9rem !important;
    margin-bottom: 10px;
    max-width: 70%;
    /* Sužavamo tekst da ne ide preko celog ekrana */
  }

  .cta-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    min-width: 180px;
  }
}

/* Fix za mobilni da banner ne bude zalepljen za ivice */
@media (max-width: 768px) {
  .banner-wrapper {
    width: 100%;
    display: flex;
    /* Koristimo flex za sigurno centriranje */
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    /* Smanjen padding za mobilni */
    box-sizing: border-box;
  }

  .banner-wrapper a {
    display: block;
    width: 100%;
    /* Link zauzima širinu wrappera */
    text-align: center;
    /* Centrira sliku unutar linka */
  }

  .main-banner {
    max-width: 100%;
    /* Sprečava sliku da "pukne" van ekrana */
    height: auto;
    /* Čuva proporcije slike */
    display: inline-block;
    /* Omogućava text-align centriranje */
    margin: 0 auto;
  }
}

/* --- AGE GATE LANDSCAPE FIX (Visina ispod 450px) --- */
@media (max-height: 450px) and (orientation: landscape) {

  #age-gate-enter {
    align-items: flex-start;
    /* Pomera boks na vrh da bi skrol krenuo prirodno */
    padding: 20px 0;
    overflow-y: auto;
    /* OMOGUĆAVA SKROL ako sadržaj izađe van ekrana */
  }

  .age-gate-box {
    margin: 20px auto;
    /* Razmak od ivica ekrana */
    padding: 20px;
    /* Manji padding da uštedimo prostor */
    width: 90%;
    max-width: 400px;
    height: auto;
    /* Dozvoljava boksu da se skupi/proširi */
  }

  .age-gate-box h1 {
    font-size: 1.5rem;
    /* Manji naslov u landscape-u */
    margin-bottom: 10px;
  }

  .age-gate-box p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .age-gate-icon {
    width: 40px;
    /* Manja ikona 18+ */
    height: 40px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .age-gate-actions {
    flex-direction: row;
    /* Dugmići stoje jedan pored drugog */
    gap: 10px;
  }

  .age-gate-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 140px;
    margin: 0;
  }
}

/* --- TABLET & DESKTOP (Over 768px) --- */
@media (min-width: 769px) {

  /* Dodajemo tražene margine: 10px gore, 10px levo/desno, 30px dole */
  .hero-video-container {
    margin: 10px auto 30px;
    width: calc(100% - 20px);
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    /* Video je uvek pun po visini */
    height: auto;
    position: relative;
  }

  .hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    /* 10% crop sa strana i dole */
    transform-origin: top center;
  }

  .hero-content-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1300px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}