/* ------------------------------ */
/* Base Styles           */
/* ------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700&display=swap');

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Exo 2", sans-serif;
    }

    body {
      background: linear-gradient(135deg, #ffffff, #e3f2fd);
      color: #222;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      scroll-behavior: smooth;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: 0.3s ease;
    }

    a:hover {
      opacity: 0.9;
    }

/* ===========================
REMOVE BLUE/FOCUS OUTLINE ON CLICK/TAP
=========================== */

    a, button, input, textarea {
      outline: none;                         
      -webkit-tap-highlight-color: transparent;
    }

    a:focus, button:focus, input:focus, textarea:focus {
      outline: none;                         
      box-shadow: none;     
    }


.header {
   background: rgba(0, 0, 0, 0.7) !important;
}

   
/* ------------------------------
   COPYBASE CONTENT SECTION
-------------------------------*/
.copybase-section {
  padding: 140px 20px 60px;
  text-align: center;
  animation: fadeUp 0.8s ease-in-out;
}

.base-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.base-image {
  width: 100%;
  max-width: 660px;
  height: 500px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 25px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 35px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-item.rating {
  color: #f7c948;
}
.stat-item.rating i {
  color: #f7c948;
}

.stat-item.views {
  color: #808080;
}
.stat-item.views i {
  color: #808080;
}

.copy-btn {
  display: inline-block;
  background: linear-gradient(90deg, #f5c542, #f9a602);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ===== SHARE BUTTONS ===== */
.share-box {
  margin: 10px auto 25px;
  text-align: center;
}

.share-box p {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #ffffffd6;
  color: #222;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.share-btn i {
  pointer-events: none;
}

#shareWhatsapp { background:#25d366; color:white; }
#shareTwitter { background:#111; color:white; }
#shareFacebook { background:#1877f2; color:white; }
#shareTelegram { background:#0088cc; color:white; }
#shareCopy: { background:#444; color:white; }
/* ------------------------------ */
/* 🔍 FULL IMAGE BUTTON + POPUP */
/* ------------------------------ */

.image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 660px;
  margin-bottom: 0 auto 25px;
  overflow: hidden;
}

/* Full Image button */
.full-image-btn {
  position: absolute;
  right: 12px;
  bottom: 40px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.full-image-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.03);
}

/* Popup overlay */
.image-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 3000;
}

/* Active state */
.image-popup.active {
  visibility: visible;
  opacity: 1;
}

/* Full image inside popup */
.image-popup img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Close button */
.close-popup-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 3050;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.close-popup-btn:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Hover zoom */
.image-popup img:hover {
  transform: scale(1.02);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .full-image-btn {
    padding: 7px 12px;
    font-size: 0.85rem;
  }

  .close-popup-btn {
    top: 15px;
    right: 20px;
    font-size: 1.6rem;
  }

  .image-popup img {
    max-width: 100%;
    max-height: 85vh;
  }
}


/* ===== RECOMMENDED BASES ===== */

#recommendedSection {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 20px 20px;
  text-align: center;
}

#recommendedSection h2 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #333;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; 
  max-width: 100%;
  margin: 0 auto;
}

.recommended-grid .base-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 15px;
  height: 200px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(3, 169, 244, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow 0.2s ease;
 }

. recomended-grid .base-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(3, 169, 373 244, 0.1);
 }

.recommended-grid .base-card .thumb {
  width: 100%;
  height: 160px;
  display: block;
  overflow: hidden;
}

.recommended-grid .base-card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recommended-grid .base-card:hover .thumb img {
  transform: scale(1.05);
}

.recommended-grid .base-card .card-meta {
  padding: 8px 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.recommended-grid .base-card .card-meta .stars {
  color: #f7c948;
  gap: 2px;
}

.recommended-grid .base-card .card-meta .views {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 0.6rem;
  gap: 4px;
}


@media (max-width: 768px) {
  .recommended-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 0;
  }

  .recommended-grid .base-card:nth-child(n + 11) {
    display: none;
  }
}


/* ------------------------------ */
/* Media Queries          */
/* ------------------------------ */

@media (max-width: 768px) {
   .categories {
      grid-template-columns: 1fr;
      padding: 30px 30px;
   }

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
    }