/* style.css - KinkMesh Pre-landing Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.5;
}

a { color: #f53c3c; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Age Gate */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-align: center;
}
#age-gate.hidden { display: none; }

.age-box {
  background: #111;
  padding: 40px;
  border: 2px solid #333;
  border-radius: 12px;
  max-width: 480px;
}
.age-box h1 { font-size: 2.4rem; margin-bottom: 20px; color: #f53c3c; }
.age-box p { font-size: 1.3rem; margin-bottom: 30px; }
.age-btn {
  background: #f53c3c;
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px;
}
.age-btn.no { background: #444; }

/* Updated Header / Hero Section */
header {
  background: linear-gradient(to bottom, #111, #000);
  text-align: center;
  padding: 60px 20px 20px; /* Reduced bottom padding to connect with video */
}

header h1 { 
  font-size: 2.8rem; 
  margin-bottom: 12px; 
  color: #f04444; 
  text-transform: uppercase; /* Added for impact */
  letter-spacing: 1px;
}

header p { 
  font-size: 1.4rem; 
  max-width: 720px; 
  margin: 0 auto 20px; 
  color: #ccc; 
}

.big-cta {
  display: inline-block;
  background: #f04444;
  color: white;
  padding: 18px 50px;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 8px;
  margin: 10px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 65, 65, 0.4);
}

.big-cta:hover { 
  background: #f04444; 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 64, 64, 0.6);
}

/* Optimized Hero Video Container */
.hero-video-container {
  width: 100%;
  max-width: 1100px; /* Constrained for better desktop viewing */
  margin: 10px auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.9);
  background: #000;
  border: 1px solid #222;
  position: relative;
}

/* Added a subtle dark vignette to focus on the video content */
.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.hero-video-container video {
  width: 100%;
  height: 500px; /* Fixed height for a cinematic feel */
  object-fit: cover; /* ESSENTIAL: No black bars on any screen */
  display: block;

  transform: scale(1.10); /* Povećava video za 10% unutar kontejnera */
  transform-origin: top center; /* Fiksira vrh, a širi ga ka dnu i stranama */
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
  header { padding: 40px 15px 15px; }
  header h1 { font-size: 2rem; }
  header p { font-size: 1.1rem; }
  .big-cta { width: 100%; padding: 16px 20px; font-size: 1.4rem; }
  
  .hero-video-container { 
    margin: 10px 10px 30px; 
    width: calc(100% - 20px); 
  }
  
  .hero-video-container video {
    height: 300px; /* Shorter video height for mobile screens */
  }
}

/* Teaser Gallery */
.gallery { padding: 50px 20px; background: #0a0a0a; }
.gallery h2 { text-align: center; font-size: 2.2rem; margin-bottom: 40px; color: #fa6262; }

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centriranje kartica u redu */
  gap: 25px;               
  padding: 20px 0;
}

/* Fiksne dimenzije kartice */
.card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
  width: 320px;            /* Fiksna širina */
  height: 300px;           /* Fiksna visina */
  display: flex;
  flex-direction: column;  /* Omogućava unutrašnje poravnanje */
}

.card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 15px rgba(252, 65, 65, 0.3);
}

.card img, .card video {
  width: 100%;
  height: 180px;           /* Slika uvek zauzima isti prostor */
  object-fit: cover;
  flex-shrink: 0;          /* Sprečava skupljanje slike */
}

.card-info { 
  padding: 15px; 
  text-align: center; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Razmiče naslov i Watch Full na vrh i dno */
  height: 100%;            /* Popunjava preostalih 160px visine kartice */
}

/* Linkovi i tekstovi */
.card-link {
  text-decoration: none;
  display: block;
}

.card-info h3 {
  font-size: 1.3rem;
  margin: 0 0 8px 0;
  color: #ffffff !important;
}

.card-info span {
  color: #f53c3c;
  font-weight: bold;
  margin-top: auto;        /* Dodatno osiguranje da ide na dno */
}

/* Trust / CTA repeat */
.trust { text-align: center; padding: 50px 20px; background: #000; }
.trust p { font-size: 1.3rem; margin-bottom: 30px; color: #aaa; }

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #111;
  font-size: 0.9rem;
  color: #7c7b7b;
  border-top: 1px solid #222;
}

.check-mark {
  color: #f04444; /* Ili koristi heksadecimalni kod boje, npr. #FF0000 */
  font-weight: bold; /* Ako želiš da budu bold kao tvoj h2 */
  margin-right: 5px; /* Dodaj malo razmaka između štiklice i teksta */
}

/* Promo Banner */
.banner-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  margin-top: 40px; /* Razmak ispod galerije */
}

.main-banner {
  width: 100%;
  max-width: 728px; /* Tvoja desktop dimenzija */
  height: auto;     /* Ključno za mobilnu responzivnost */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
  border: 1px solid #313131; /* Diskretan okvir kao na age-box-u */
}

.main-banner:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(253, 67, 67, 0.2); /* Crveni sjaj kao na karticama */
}

/* Mobile */
@media (max-width: 600px) {
  header h1 { font-size: 2.2rem; }
  header p { font-size: 1.1rem; }
  .big-cta { font-size: 1.3rem; padding: 14px 40px; }
  .banner-wrapper {
    padding: 10px;
    margin-top: 20px;
  }
  .main-banner {
    max-width: 100%; /* Na mobilnom zauzima punu širinu */
  }
}