/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Layout */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Page Title */
.page-title {
  position: relative;
  display: block;
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
  z-index: 2;
}

.title-hover-img {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  max-width: 80%;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.title-text {
  cursor: pointer;
  transition: color 0.3s ease;
}



.title-text:hover + .title-hover-img {
  opacity: 1;
}

/* Divider */
.section-divider {
  width: 80%;
  max-width: 600px;
  height: 4px;
  margin: 10px auto 25px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff7b00, rgb(0, 0, 0));
}

/* === Collections Section === */
.collections {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.collections-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 15px;
  padding: 10px 0;
  scrollbar-width: none;
}

.collections-container::-webkit-scrollbar {
  display: none;
}

/* Arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
  user-select: none;
}

.scroll-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  color: #000000;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.collections:hover .scroll-arrow {
  opacity: 1;
}

/* Collection Tabs */
.collection-tab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  border-radius: 10px;
  padding: 100px 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  flex: 0 0 auto;
  min-width: 180px;
  max-width: 220px;
  overflow: hidden;
  border: 1px solid ;
}

.collection-tab:hover {
  transform: translateY(-5px);
  background: #2a2a2a;
}

/* Hover Images */
.collection-tab .hover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 10px;
  z-index: 0;
}

.collection-tab:hover .hover-img {
  opacity: 1;
}

.ad-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222;
  border: 1px dashed #444;
  color: #ffffff;
  margin: 40px auto;        /* ↓ FIXED spacing */
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  width: 100%;
  max-width: 1000px;
}


.ad-box {
  width: 100%;
  max-width: 728px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-family: sans-serif;
}


/* Footer */
.footer {
  text-align: center;
  margin: 40px 0 10px;
  font-size: 0.9rem;
  color: #aaa;
}

/* === Gate Modal === */
.gate-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.gate-modal.active {
  display: flex;
}

.gate-modal-content {
  background: #1f1f1f;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.4s ease;
}

.gate-modal h2,
.gate-modal p {
  color: #fff;
  margin-bottom: 1rem;
}

.ad-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ad-btn {
  background: #f80000;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: white;
  font-weight: bold;
  transition: background 0.3s;
}

.ad-btn.viewed {
  background: #09ff00;
}

#ad-video {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

#proceed-btn {
  background: #ff7b00;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: not-allowed;
  opacity: 0.6;
  transition: opacity 0.3s, cursor 0.3s;
}

#proceed-btn.active {
  opacity: 1;
  cursor: pointer;
}

/* === Adult Content Warning Modal === */
.adult-warning-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.adult-warning-modal.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.adult-warning-content {
  background: rgba(40, 40, 40, 0.9);
  color: #fff;
  text-align: center;
  max-width: 400px;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  animation: slideUp 0.4s ease;
}

.adult-warning-content h2 {
  color: #ff0000;
  margin-bottom: 15px;
}

.adult-warning-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.adult-warning-content button {
  background: #333;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.adult-warning-content button:hover {
  background: #ff7b00;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .collection-tab {
    min-width: 150px;
    padding: 60px 5px;
  }

  .scroll-arrow {
    font-size: 1.5rem;
  }

  .ad-box {
    padding: 20px;
  }
}

