/* ==========================================================================
   zCore Store — Tebex Shared Theme CSS
   Navbar, Hero, Package Cards, Details, FAQ, Footer & Responsive
   ========================================================================== */

/* --- Floating Capsule Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  pointer-events: none;
  animation: headerEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.header .container {
  pointer-events: auto;
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.navbar-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 3rem);
  max-width: 1220px;
  margin: 1.15rem auto 0.5rem auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.65rem 1.85rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(130, 24, 51, 0.14) 100%), rgba(10, 4, 7, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.4s ease;
}

.header.scrolled .navbar-pill {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0px;
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  padding: 0.85rem 3rem;
  background: rgba(10, 4, 7, 0.92);
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 34px;
  width: auto;
  max-height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-cart-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-cart-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ef4444, #821833);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #070406;
}

/* --- Hero Section & Smooth Rotating Word --- */
.hero {
  padding: 5.5rem 0 4rem;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.rotating-word-container {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  min-height: 1.25em;
  padding: 0 4px;
}

.rotating-word {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #ef4444 50%, #fca5a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(239, 68, 68, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, filter 0.4s ease;
  will-change: transform, opacity, filter;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.rotating-word.slide-out {
  transform: translateY(-30px);
  opacity: 0;
  filter: blur(5px);
}

.rotating-word.slide-in-prep {
  transform: translateY(30px);
  opacity: 0;
  filter: blur(5px);
  transition: none !important;
}

.rotating-word.slide-in {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-gray);
  max-width: 620px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Sections --- */
.scripts-section, .features, .faq {
  padding: 4.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 2.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-gray);
  max-width: 600px;
}

/* --- Products Grid & 3D Glass Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(130, 24, 51, 0.14) 100%), rgba(18, 8, 13, 0.72);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glass-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.product-card:hover {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #000000;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dark-gray);
  font-weight: 700;
}

.card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 1rem;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.product-desc {
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  gap: 0.5rem;
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.6875rem;
  color: var(--text-dark-gray);
  text-transform: uppercase;
  font-weight: 700;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-card-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-preview:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-card-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #ef4444, #821833);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-buy:hover {
  background: linear-gradient(135deg, #dc2626, #9f183c);
  transform: translateY(-1px);
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 45%, rgba(130, 24, 51, 0.12) 100%), rgba(18, 8, 13, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(130, 24, 51, 0.4));
  border: 1px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* --- FAQ Section --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%), rgba(18, 8, 13, 0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(239, 68, 68, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
}

.faq-icon {
  color: var(--accent-red);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  font-size: 0.8125rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- Product Detail View --- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-image-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
}

.detail-main-img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.detail-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.detail-price-box {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%), rgba(20, 9, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.detail-price-label {
  font-size: 0.75rem;
  color: var(--text-dark-gray);
  text-transform: uppercase;
  font-weight: 700;
}

.detail-price-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
}

.detail-desc-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, transparent 0%, #030102 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 1rem 0 1.25rem;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.btn-discord-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #5865F2;
  color: #ffffff !important;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.btn-discord-footer:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-dark-gray);
}

.disclaimer {
  font-size: 0.6875rem;
  color: var(--text-dark-gray);
  max-width: 500px;
}
