/* ToxCraft-style structural CSS */

/* Hide scrollbar */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #05050a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.expand {
  transform: scale(1.5);
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  height: 160px;
  width: 160px;
  object-fit: contain;
  animation: loaderPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(250, 204, 21, 0.3));
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.6;
    filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.2));
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 50px rgba(250, 204, 21, 0.6));
  }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 0.3s;
}

.stagger-children>*:nth-child(7) {
  transition-delay: 0.35s;
}

.stagger-children>*:nth-child(8) {
  transition-delay: 0.4s;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.d-row {
  flex-direction: row;
}

.gap-2 {
  gap: 0.5rem;
}

.text-muted {
  color: var(--theme-muted);
}

/* HEADER BANNER */
.header-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: transparent;
}

/* TOP BAR: auth top-right */
.header-topbar {
  position: fixed;
  top: 25px;
  right: 30px;
  z-index: 9999;
}

.header-auth-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* LOGO ROW: centered */
.header-logo-row {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.header-logo-row .header-logo {
  height: 80px;
}

.header-logo-row .logo-container {
  display: inline-block;
  position: relative;
}

.header-overlay {
  display: none;
}

.grid-overlay {
  display: none;
}

.oy-header {
  position: relative;
  z-index: 1060;
  padding: 1.25rem 0 1.5rem;
}

.bubbles-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -50px;
  border-radius: 50%;
  opacity: 0.1;
  background: radial-gradient(circle, rgba(var(--theme-primary-rgb), 0.25), rgba(var(--theme-primary-rgb), 0.15));
  animation: rise linear infinite;
}

/* GLASS */
.glass-mini {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.glass-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--theme-primary-rgb), 0.4);
}

/* HEADER NAV */
.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.nav-link-mini {
  color: var(--theme-muted);
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-link-mini:hover,
.nav-link-mini.active {
  color: #fff;
  border-color: var(--theme-border);
  background: rgba(var(--theme-primary-rgb), 0.15);
}

/* HEADER CENTER (legacy compat) */
.logo-container {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.header-logo {
  height: 65px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s;
  object-fit: contain;
}

.header-logo:hover {
  transform: scale(1.03);
}

.logo-shine {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 30px;
  background: radial-gradient(ellipse, rgba(var(--theme-primary-rgb), 0.6), transparent);
  filter: blur(25px);
}

/* INFO STACK */
.info-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
}

.info-stack.d-row {
  flex-direction: row;
}

.info-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.info-icon {
  width: 20px;
  height: 20px;
  color: var(--theme-primary);
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.info-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.info-sub {
  font-size: 0.7rem;
  color: var(--theme-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* AUTH BUTTONS */
.auth-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.auth-btn svg {
  width: 18px;
  height: 18px;
}

.auth-btn.register:hover {
  border-color: rgba(var(--theme-primary-rgb), 0.4);
}

/* MOBILE MENU */
.d-mobile-only {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  border: none;
  outline: none;
  position: relative;
  z-index: 10000;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle.active {
  position: fixed;
  top: 25px;
  right: 25px;
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 20px rgba(var(--theme-primary-rgb), 0.4);
  z-index: 10001;
}

.header-nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 10, 0.98);
  backdrop-filter: blur(30px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.1);
  overflow-y: auto;
}

.header-nav-container.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mobile-nav-content {
  width: 100%;
  max-width: 400px;
  padding: 5rem 2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-auth-stack {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* HERO */
.section.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 150px !important;
  padding-bottom: 0 !important;
  position: relative;
  z-index: 2;
  background: url("assets/08effcada999d99296809c4a3189d92d.jpg") center/cover fixed;
  border-bottom: none !important;
  margin-top: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  background-image:
    linear-gradient(180deg, rgba(5, 5, 10, 0.9) 0%, rgba(5, 5, 10, 0.2) 30%, rgba(5, 5, 10, 0.2) 70%, var(--theme-bg) 100%);
}

.hero-content {
  z-index: 5;
  max-width: 1000px;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -2px;
  background: linear-gradient(to bottom, #fff 30%, var(--theme-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-text {
  font-size: 3.5rem !important;
}

.hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: var(--theme-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--theme-primary);
  display: block;
}

.stat-box small {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--theme-muted);
  font-size: 0.8rem;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  align-self: stretch;
}

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

/* BTN-ULTRA */
.btn-ultra {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #1a1000;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(var(--theme-primary-rgb), 0.3);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.btn-ultra:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--theme-primary-rgb), 0.4);
  color: #1a1000;
}

.btn-ultra-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: #fff;
}

.btn-ultra-ghost:hover {
  color: #fff;
}

.btn-news {
  width: 100%;
  padding: 10px;
  justify-content: center;
  font-size: 0.85rem;
}

.btn-outline {
  border: 2px solid var(--theme-primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: var(--theme-primary);
  color: #1a1000;
}

/* SECTION */
.section {
  max-width: none !important;
  width: 100%;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* NEWS GRID */
.news-grid,
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.row {
  width: 100%;
}

.col-3 {
  min-width: 0;
}

.news-glow-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.9), rgba(5, 5, 8, 0.95));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-glow-card:hover {
  transform: translateY(-12px);
  border-color: var(--theme-primary);
  box-shadow: 0 20px 50px -10px rgba(var(--theme-primary-rgb), 0.3);
}

.news-glow-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
  opacity: 0;
  transition: 0.5s;
}

.news-glow-card:hover::after {
  opacity: 1;
}

.news-img-container {
  height: 160px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: start;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-img-container::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.04);
  transform: rotate(-15deg);
  transition: 0.5s;
}

.news-glow-card:hover .news-img-container::after {
  transform: rotate(0deg) scale(1.1);
  color: rgba(255, 255, 255, 0.08);
}

.news-purple {
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.15), transparent);
}

.news-purple::after {
  content: "\f1ea";
}

/* newspaper */
.news-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), transparent);
}

.news-gold::after {
  content: "\f0a1";
}

/* bullhorn */
.news-blue {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), transparent);
}

.news-blue::after {
  content: "\f290";
}

/* shopping-bag */
.news-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 3;
  background: var(--theme-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "Comic Relief", cursive;
}

.news-content-premium {
  padding: 25px;
  flex-grow: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--theme-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff;
  line-height: 1.3;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--theme-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* STATS */
.stats-container {
  padding: 60px 0;
}

.stat-glow-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.9), rgba(5, 5, 8, 0.95));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
  border-radius: 30px;
  padding: 30px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  height: 100%;
}

.stat-glow-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(var(--theme-primary-rgb), 0.4), transparent 70%);
  opacity: 0.2;
  z-index: 0;
}

.stat-glow-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--theme-primary);
  box-shadow: 0 20px 50px -10px rgba(var(--theme-primary-rgb), 0.3);
}

.stat-glow-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
  opacity: 0;
  transition: 0.5s;
}

.stat-glow-card:hover::after {
  opacity: 1;
}

.widget-header-premium {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.widget-header-premium i {
  width: 45px;
  height: 45px;
  background: rgba(var(--theme-primary-rgb), 0.1);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-primary);
  font-size: 1.2rem;
}

.widget-header-premium h4 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: #fff;
}

.player-entry {
  display: flex;
  align-items: center;
  padding: 15px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  transition: 0.3s;
  position: relative;
  z-index: 2;
}

.player-entry:hover {
  background: rgba(var(--theme-primary-rgb), 0.08);
  border-color: rgba(var(--theme-primary-rgb), 0.2);
  transform: translateX(5px);
}

.player-rank {
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--theme-primary);
  width: 25px;
}

.player-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin: 0 15px;
  border: 2px solid rgba(var(--theme-primary-rgb), 0.2);
  object-fit: contain;
}

.player-info {
  flex-grow: 1;
}

.player-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #eee;
}

.player-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--theme-muted);
}

.player-value {
  background: rgba(var(--theme-primary-rgb), 0.1);
  color: var(--theme-primary);
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
  white-space: nowrap;
}

.player-value.small-val {
  font-size: 0.7rem;
}

/* FAQ */
.faq-section {
  background: rgba(var(--theme-primary-rgb), 0.02);
  padding-bottom: 120px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 52px;
  align-items: center;
}

.faq-left p {
  max-width: 420px;
  margin: 18px 0 24px;
  line-height: 1.7;
}

.faq-premium-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.8), rgba(5, 5, 8, 0.9));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.1);
  border-radius: 20px;
  margin-bottom: 15px;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.faq-premium-card:hover,
.faq-premium-card.active {
  border-color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.05);
}

.faq-premium-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
  opacity: 0;
  transition: 0.5s;
}

.faq-premium-card.active::after {
  opacity: 1;
}

.faq-premium-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-premium-header h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #eee;
}

.faq-num {
  color: var(--theme-primary);
  margin-right: 0.5rem;
}

.faq-icon {
  color: var(--theme-primary);
}

.faq-premium-body {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 25px;
  color: var(--theme-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-premium-card.active .faq-premium-body {
  padding-bottom: 25px;
  max-height: 500px;
}

/* CTA BAR */
.cta-bar {
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 12, 0.98);
  border-top: 1px solid rgba(var(--theme-primary-rgb), 0.2);
  padding: 1.5rem 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-text h3 {
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1.4rem;
}

.cta-text p {
  margin: 0;
}

.cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cta-btn:hover {
  transform: translateY(-2px);
  background: rgba(var(--theme-primary-rgb), 0.15);
}

.cta-btn-register {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #1a1000;
  border: none;
}

/* FOOTER */
.gaming-footer {
  position: relative;
  z-index: 2;
  background: #06060c;
  border-top: 1px solid rgba(var(--theme-primary-rgb), 0.18);
  padding-top: 3rem;
}

.f-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--theme-primary-rgb), 0.3), transparent);
}

.f-container {
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

.f-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 1rem;
}

.f-logo-wrapper img {
  border-radius: 8px;
  height: 40px;
  object-fit: contain;
}

.f-logo-text {
  font-family: "TASA Explorer", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.f-desc {
  color: var(--theme-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.f-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.f-link {
  color: var(--theme-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.f-link:hover {
  color: var(--theme-primary);
}

.f-bottom-bar {
  text-align: center;
  padding: 1.2rem;
  color: var(--theme-muted);
  font-size: 0.8rem;
  border-top: 1px solid rgba(var(--theme-primary-rgb), 0.1);
  margin-top: 1rem;
}

/* SNOW */
.snowflake {
  position: absolute;
  top: -10px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  animation: snowfall linear infinite;
}

@keyframes snowfall {
  0% {
    transform: translateY(-10vh) translateX(0);
  }

  25% {
    transform: translateY(25vh) translateX(15px);
  }

  50% {
    transform: translateY(50vh) translateX(-15px);
  }

  75% {
    transform: translateY(75vh) translateX(15px);
  }

  100% {
    transform: translateY(110vh) translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   SUB-PAGE STYLES
   =========================== */

/* PAGE HERO (sub-pages) */
.page-hero-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 220px 20px 60px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(var(--theme-primary-rgb), 0.08) 0%, transparent 60%);
}

.page-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--theme-primary-rgb), 0.12), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(var(--theme-primary-rgb), 0.1);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--theme-primary);
}

.page-hero-inner .eyebrow {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(var(--theme-primary-rgb), 0.1);
  color: var(--theme-primary);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
  margin-bottom: 1rem;
}

.page-hero-inner h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin: 1rem 0;
  background: linear-gradient(to bottom, #fff 30%, var(--theme-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-inner p {
  font-size: 1.15rem;
  color: var(--theme-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* CONTENT SECTION (sub-pages) */
.content-section {
  position: relative;
  z-index: 2;
  padding: 60px 0 80px;
}

/* GLASS CARD (universal) */
.glass-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.9), rgba(5, 5, 8, 0.95));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(var(--theme-primary-rgb), 0.35);
  box-shadow: 0 10px 40px -10px rgba(var(--theme-primary-rgb), 0.15);
}

.glass-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
  opacity: 0;
  transition: 0.5s;
}

.glass-card:hover::after {
  opacity: 1;
}

/* ===== AUTH PAGES (Login / Register) ===== */
body[data-page="login"],
body[data-page="register"] {
  overflow: hidden;
  height: 100vh;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.92), rgba(5, 5, 8, 0.96));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
  border-radius: 24px;
  padding: 32px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.6);
  animation: authCardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authCardIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-card .auth-logo {
  animation: authLogoIn 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.auth-card h1 {
  animation: authFadeIn 0.5s 0.4s ease both;
}

.auth-card .auth-subtitle {
  animation: authFadeIn 0.5s 0.5s ease both;
}

.auth-card .form-group:nth-child(1) {
  animation: authSlideIn 0.4s 0.5s ease both;
}

.auth-card .form-group:nth-child(2) {
  animation: authSlideIn 0.4s 0.6s ease both;
}

.auth-card .form-group:nth-child(3) {
  animation: authSlideIn 0.4s 0.7s ease both;
}

.auth-card .form-group:nth-child(4) {
  animation: authSlideIn 0.4s 0.8s ease both;
}

.auth-card .auth-remember {
  animation: authFadeIn 0.4s 0.7s ease both;
}

.auth-card .btn-ultra {
  animation: authBtnIn 0.5s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-card .auth-divider {
  animation: authFadeIn 0.4s 0.9s ease both;
}

.auth-card .auth-footer {
  animation: authFadeIn 0.4s 1s ease both;
}

@keyframes authFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes authSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes authBtnIn {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--theme-primary-rgb), 0.15), transparent 70%);
  z-index: 0;
}

.auth-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
}

.auth-card>* {
  position: relative;
  z-index: 1;
}

.auth-logo {
  display: block;
  margin: 0 auto 1rem;
  height: 48px;
  object-fit: contain;
}

.auth-card h1 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
  background: linear-gradient(to bottom, #fff 30%, var(--theme-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-subtitle {
  text-align: center;
  color: var(--theme-muted);
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-size: 0.92rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.05);
  box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.1);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.auth-form .btn-ultra {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 12px;
}

.auth-footer {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--theme-muted);
}

.auth-footer a {
  color: var(--theme-primary);
  text-decoration: none;
  font-weight: 700;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.6rem 0;
  color: var(--theme-muted);
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.auth-remember label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--theme-muted);
}

.auth-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--theme-primary);
  cursor: pointer;
}

.auth-remember a {
  color: var(--theme-primary);
  text-decoration: none;
  font-size: 0.85rem;
}

/* ===== STORE PAGE ===== */
.store-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.store-filter-btn {
  padding: 10px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--theme-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.store-filter-btn:hover,
.store-filter-btn.active {
  background: rgba(var(--theme-primary-rgb), 0.15);
  border-color: var(--theme-primary);
  color: #fff;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.9), rgba(5, 5, 8, 0.95));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--theme-primary);
  box-shadow: 0 20px 50px -10px rgba(var(--theme-primary-rgb), 0.25);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-primary), transparent);
  opacity: 0;
  transition: 0.5s;
}

.product-card:hover::after {
  opacity: 1;
}

.product-icon-area {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.08), transparent);
  position: relative;
  overflow: hidden;
}

.product-icon-area::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -10px;
  bottom: -25px;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.03);
  transform: rotate(-15deg);
  transition: 0.5s;
}

.product-card:hover .product-icon-area::after {
  transform: rotate(0deg) scale(1.1);
  color: rgba(255, 255, 255, 0.06);
}

.product-icon-area .product-emoji {
  font-size: 3.5rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(var(--theme-primary-rgb), 0.3));
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--theme-primary);
  color: #1a1000;
}

.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.product-body p {
  font-size: 0.88rem;
  color: var(--theme-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--theme-primary);
}

.product-price small {
  font-size: 0.7rem;
  color: var(--theme-muted);
  font-weight: 600;
}

/* ===== FORUM PAGE ===== */
.forum-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

.forum-category {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.9), rgba(5, 5, 8, 0.95));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.12);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: 0.4s;
}

.forum-category:hover {
  border-color: rgba(var(--theme-primary-rgb), 0.3);
}

.forum-cat-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.forum-cat-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.forum-cat-header h3 i {
  color: var(--theme-primary);
}

.forum-cat-badge {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(var(--theme-primary-rgb), 0.1);
  color: var(--theme-primary);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
}

.forum-topic {
  display: flex;
  align-items: center;
  padding: 16px 28px;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: 0.3s;
}

.forum-topic:last-child {
  border-bottom: none;
}

.forum-topic:hover {
  background: rgba(var(--theme-primary-rgb), 0.04);
}

.forum-topic-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(var(--theme-primary-rgb), 0.1);
  color: var(--theme-primary);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
}

.forum-topic-info {
  flex: 1;
  min-width: 0;
}

.forum-topic-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.forum-topic-info span {
  font-size: 0.78rem;
  color: var(--theme-muted);
}

.forum-topic-meta {
  text-align: right;
  flex-shrink: 0;
}

.forum-topic-meta strong {
  display: block;
  font-size: 0.85rem;
  color: var(--theme-primary);
}

.forum-topic-meta span {
  font-size: 0.72rem;
  color: var(--theme-muted);
}

.forum-pinned {
  border-left: 3px solid var(--theme-primary);
}

.forum-sidebar-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.9), rgba(5, 5, 8, 0.95));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.12);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 1.5rem;
}

.forum-sidebar-card h4 {
  margin: 0 0 1rem;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.forum-online-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--theme-muted);
}

.forum-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.forum-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

.forum-stat-row:last-child {
  border-bottom: none;
}

.forum-stat-row span {
  color: var(--theme-muted);
}

.forum-stat-row strong {
  color: var(--theme-primary);
}

/* ===== ADMIN PAGE ===== */
.admin-login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
  z-index: 2;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.admin-metric-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.9), rgba(5, 5, 8, 0.95));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.12);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: 0.4s;
}

.admin-metric-card:hover {
  border-color: rgba(var(--theme-primary-rgb), 0.35);
  transform: translateY(-4px);
}

.admin-metric-card i {
  font-size: 1.5rem;
  color: var(--theme-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.admin-metric-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

.admin-metric-card span {
  font-size: 0.8rem;
  color: var(--theme-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.admin-card-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-card-form input,
.admin-card-form select,
.admin-card-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
  font-family: inherit;
}

.admin-card-form input:focus,
.admin-card-form select:focus,
.admin-card-form textarea:focus {
  border-color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.05);
}

.admin-card-form textarea {
  resize: vertical;
  min-height: 80px;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  transition: 0.3s;
}

.admin-list-item:hover {
  background: rgba(var(--theme-primary-rgb), 0.06);
  border-color: rgba(var(--theme-primary-rgb), 0.15);
}

.admin-list-item h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #eee;
}

.admin-list-item span {
  font-size: 0.8rem;
  color: var(--theme-muted);
}

.admin-list-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-btn-sm {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--theme-muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}

.admin-btn-sm:hover {
  background: rgba(var(--theme-primary-rgb), 0.15);
  color: #fff;
  border-color: var(--theme-primary);
}

.admin-btn-sm.danger:hover {
  background: rgba(255, 93, 120, 0.15);
  color: #ff5d78;
  border-color: #ff5d78;
}

/* ===== CART & CHECKOUT ===== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  margin-bottom: 12px;
  transition: 0.3s;
}

.cart-item:hover {
  border-color: rgba(var(--theme-primary-rgb), 0.2);
  background: rgba(var(--theme-primary-rgb), 0.03);
}

.cart-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(var(--theme-primary-rgb), 0.1);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #eee;
}

.cart-item-info span {
  font-size: 0.8rem;
  color: var(--theme-muted);
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--theme-primary);
  white-space: nowrap;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: none;
  color: var(--theme-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 0.8rem;
}

.cart-item-remove:hover {
  background: rgba(255, 60, 60, 0.15);
  border-color: #ff3c3c;
  color: #ff3c3c;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--theme-muted);
}

.cart-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.3;
}

.checkout-summary {
  position: sticky;
  top: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row span {
  color: var(--theme-muted);
}

.summary-row strong {
  color: #fff;
}

.summary-row.total {
  border-bottom: none;
  padding-top: 14px;
  font-size: 1.1rem;
}

.summary-row.total strong {
  color: var(--theme-primary);
  font-size: 1.3rem;
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin: 1rem 0;
}

.coupon-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: 0.3s;
}

.coupon-row input:focus {
  border-color: var(--theme-primary);
}

.coupon-row button {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.15);
  color: var(--theme-primary);
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
  white-space: nowrap;
}

.coupon-row button:hover {
  background: var(--theme-primary);
  color: #1a1000;
}

.coupon-msg {
  font-size: 0.8rem;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}

/* Card input */
.card-input-group {
  position: relative;
}

.card-input-group input {
  padding-right: 50px;
}

.card-brand-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  opacity: 0.8;
  pointer-events: none;
  transition: 0.3s;
}

/* Steps */
.checkout-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 2rem;
}

.checkout-step {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.4s;
}

.checkout-step.active {
  background: var(--theme-primary);
}

.checkout-step.done {
  background: rgba(var(--theme-primary-rgb), 0.4);
}

/* SMS modal */
.sms-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.sms-card {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.96), rgba(5, 5, 8, 0.98));
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
  border-radius: 24px;
  padding: 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: authCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sms-card h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.sms-card p {
  color: var(--theme-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.sms-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sms-inputs input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.sms-inputs input:focus {
  border-color: var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.05);
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* Success */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.success-card {
  text-align: center;
  animation: authCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-card i {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
  animation: successPop 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0
  }

  100% {
    transform: scale(1);
    opacity: 1
  }
}

.success-card h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.success-card p {
  color: var(--theme-muted);
  margin-bottom: 1.5rem;
}

/* ===== TICKET SYSTEM ===== */
.ticket-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ticket-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.ticket-item:hover {
  border-color: rgba(var(--theme-primary-rgb), 0.2);
  background: rgba(var(--theme-primary-rgb), 0.03);
}

.ticket-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticket-status.open {
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}

.ticket-status.resolved {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.ticket-status.closed {
  background: #6b7280;
}

.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-info h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #eee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-info span {
  font-size: 0.78rem;
  color: var(--theme-muted);
}

.ticket-id {
  font-size: 0.75rem;
  color: var(--theme-muted);
  font-family: monospace;
  flex-shrink: 0;
}

.ticket-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 1rem;
}

.ticket-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: authFadeIn 0.3s ease both;
}

.ticket-msg.user {
  align-self: flex-end;
  background: rgba(var(--theme-primary-rgb), 0.15);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ticket-msg.staff {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: var(--theme-muted);
  border-bottom-left-radius: 4px;
}

.ticket-msg small {
  display: block;
  font-size: 0.72rem;
  margin-top: 4px;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .d-mobile-only {
    display: flex;
  }

  .header-auth-row .auth-btn {
    display: none;
  }
}

@media (max-width: 1040px) {

  .news-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .forum-layout {
    grid-template-columns: 1fr;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .ticket-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .d-mobile-only {
    display: flex;
  }

  .header-auth-row .auth-btn {
    display: none;
  }

  .section.hero {
    min-height: 100vh;
  }

  .hero-title {
    font-size: 2.8rem !important;
  }

  .section-title-text {
    font-size: 2.5rem !important;
  }

  .cta-flex {
    flex-direction: column;
    text-align: center;
  }

  .cta-btns {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-logo-row .header-logo {
    height: 60px;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 36px 24px;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
    align-self: center;
  }
}

/* ===== PAGE TRANSITIONS ===== */
body {
  animation: pageEnter 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.page-leave {
  animation: pageLeave 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageLeave {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-15px);
  }
}

/* ===== VISUAL CREDIT CARD ===== */
.visual-card-container {
  perspective: 1000px;
  margin-bottom: 2rem;
}

.visual-card {
  width: 100%;
  max-width: 400px;
  height: 220px;
  margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateX(5deg) rotateY(-5deg);
  transition: transform 0.3s ease;
}

.visual-card:hover {
  transform: rotateX(0) rotateY(0);
}

.vc-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(var(--theme-primary-rgb), 0.3) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.vc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.vc-chip {
  width: 45px;
  height: 32px;
  background: linear-gradient(135deg, #ffd700, #b8860b);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.vc-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.5;
}

.vc-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 20px;
}

.vc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 2;
}

.vc-info small {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.vc-info div {
  font-family: 'TASA Explorer', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.text-right {
  text-align: right;
}


/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #050508;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}


/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #050508;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.page-loader.expand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.5);
}

.loader-logo {
  width: 120px;
  height: auto;
  animation: pulseLogo 0.7s 3 ease-in-out;
}

@keyframes pulseLogo {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  }

  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.9));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  }
}