/**
 * Gameosophy - Unified Category & Store Landing Page System
 * Premium Modern Design System
 */

/* Container & Global Variables */
:root {
  --cat-primary: #3b82f6;
  --cat-primary-dark: #1d4ed8;
  --cat-secondary: #6366f1;
  --cat-accent: #f59e0b;
  --cat-dark-bg: #0b0f19;
  --cat-card-bg: #ffffff;
  --cat-border: #e2e8f0;
  --cat-text-main: #0f172a;
  --cat-text-muted: #64748b;
  --cat-radius-sm: 8px;
  --cat-radius-md: 12px;
  --cat-radius-lg: 18px;
  --cat-radius-xl: 24px;
  --cat-shadow-subtle: 0 2px 8px rgba(15, 23, 42, 0.04);
  --cat-shadow-hover: 0 16px 32px rgba(15, 23, 42, 0.1);
  --cat-glow: 0 0 25px rgba(59, 130, 246, 0.35);
}

.cat-landing-wrapper {
  background-color: #f8fafc;
  color: var(--cat-text-main);
  overflow-x: hidden;
}

/* ==========================================================================
   1. HERO BANNER SECTION (400–450px)
   ========================================================================== */
.cat-hero-section {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 85px 0 70px 0;
  box-sizing: border-box;
  background-color: #0b0f19;
}

@media (min-width: 992px) {
  .cat-hero-section {
    min-height: 440px;
    padding: 95px 0 80px 0;
  }
}

@media (max-width: 991px) {
  .cat-hero-section {
    min-height: 360px;
    padding: 65px 0 50px 0;
  }
}

@media (max-width: 767px) {
  .cat-hero-section {
    min-height: 300px;
    padding: 50px 0 35px 0;
  }
}

.cat-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.94) 0%, rgba(15, 23, 42, 0.86) 50%, rgba(30, 41, 59, 0.80) 100%);
  z-index: 1;
}

/* Subtle decorative glow */
.cat-hero-overlay::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

.cat-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 15px;
}

.cat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #a5b4fc;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
}

.cat-hero-badge i {
  color: #818cf8;
  font-size: 13px;
}

.cat-hero-heading {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
  .cat-hero-heading {
    font-size: 2.15rem;
  }
}

@media (max-width: 767px) {
  .cat-hero-heading {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }
}

.cat-hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .cat-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.5;
  }
}

.cat-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.btn-cat-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cat-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff !important;
}

.btn-cat-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cat-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* ==========================================================================
   4. SECTION HEADERS & LAYOUT
   ========================================================================== */
.cat-section {
  padding: 45px 0;
}

.cat-section.bg-white {
  background: #ffffff;
}

.cat-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.cat-section-title-wrap {
  max-width: 680px;
}

.cat-section-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .cat-section-title {
    font-size: 30px;
  }
}

.cat-section-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.cat-section-link {
  font-size: 14px;
  font-weight: 700;
  color: #3b82f6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.cat-section-link:hover {
  color: #1d4ed8;
  gap: 9px;
}

/* ==========================================================================
   5. REUSABLE PREMIUM PRODUCT CARD
   ========================================================================== */
.cat-product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
}

@media (max-width: 1199px) {
  .cat-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }
}

@media (max-width: 767px) {
  .cat-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 480px) {
  .cat-product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   6. RESKIN STORE SPECIAL SECTION & BADGES
   ========================================================================== */
.reskin-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 4px;
  margin-bottom: 4px;
}

.reskin-feature-pill i {
  color: #3b82f6;
}

.reskin-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.reskin-matrix-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease;
}

.reskin-matrix-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.reskin-matrix-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.reskin-matrix-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.reskin-matrix-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   7. HOW IT WORKS (5-STEP PROCESS)
   ========================================================================== */
.cat-steps-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
  position: relative;
}

@media (min-width: 576px) {
  .cat-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cat-steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.cat-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
}

.cat-step-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
}

.cat-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.cat-step-card:hover .cat-step-num {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cat-step-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.cat-step-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   8. CATEGORY INFORMATIONAL & SEO SECTION
   ========================================================================== */
.cat-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.cat-info-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cat-info-body {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.cat-info-body p {
  margin-bottom: 14px;
}

/* ==========================================================================
   9. CATEGORY-SPECIFIC FAQ ACCORDION
   ========================================================================== */
.cat-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.cat-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.cat-faq-item:hover {
  border-color: #cbd5e1;
}

.cat-faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cat-faq-question:hover {
  color: #2563eb;
}

.cat-faq-icon {
  font-size: 14px;
  color: #94a3b8;
  transition: transform 0.25s ease;
  margin-left: 12px;
  flex-shrink: 0;
}

.cat-faq-item.active .cat-faq-icon {
  transform: rotate(180deg);
  color: #2563eb;
}

.cat-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 22px;
}

.cat-faq-item.active .cat-faq-answer {
  max-height: 400px;
  padding: 0 22px 20px 22px;
}

.cat-faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* ==========================================================================
   10. FINAL CALL TO ACTION BANNER
   ========================================================================== */
.cat-final-cta-section {
  padding: 60px 0 80px 0;
}

.cat-final-cta-box {
  background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 15, 25, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-final-cta-title {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cat-final-cta-title {
    font-size: 38px;
  }
}

.cat-final-cta-subtitle {
  font-size: 16px;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 28px auto;
  line-height: 1.55;
}

/* Responsive Utilities */
@media (max-width: 767px) {
  .cat-hero-section {
    padding: 60px 0 80px 0;
  }
  .cat-info-card {
    padding: 24px 20px;
  }
  .cat-final-cta-box {
    padding: 36px 20px;
  }
}
