/* ============================================================
   ZEFIORA — Components Stylesheet
   ze-components.css
   ============================================================ */

/* ── Badge / Tag Components ── */
.ze-badge-purple {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(108,61,232,0.15);
  border: 1px solid rgba(108,61,232,0.3);
  color: var(--ze-purple-bright);
  font-family: var(--ze-font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.ze-badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.25);
  color: var(--ze-cyan);
  font-family: var(--ze-font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.ze-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--ze-accent-gold);
  font-family: var(--ze-font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

/* ── Divider Line ── */
.ze-divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ze-purple), var(--ze-cyan), transparent);
  margin: 3rem 0;
  opacity: 0.4;
}

/* ── Icon Box ── */
.ze-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ze-icon-box-purple {
  background: rgba(108,61,232,0.15);
  border: 1px solid rgba(108,61,232,0.25);
  color: var(--ze-purple-bright);
}

.ze-icon-box-cyan {
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.2);
  color: var(--ze-cyan);
}

.ze-icon-box-gradient {
  background: linear-gradient(135deg, var(--ze-purple), var(--ze-cyan));
  color: white;
}

/* ── Feature Block ── */
.ze-feature-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(108,61,232,0.1);
  border-radius: var(--ze-radius);
  transition: all 0.3s ease;
}

.ze-feature-block:hover {
  background: rgba(108,61,232,0.06);
  border-color: rgba(108,61,232,0.25);
}

.ze-feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ze-white);
  margin-bottom: 0.4rem;
}

.ze-feature-desc {
  font-size: 0.87rem;
  color: var(--ze-text-muted);
  line-height: 1.65;
}

/* ── Breadcrumb ── */
.ze-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ze-breadcrumb a {
  font-size: 0.82rem;
  color: var(--ze-text-muted);
}

.ze-breadcrumb a:hover {
  color: var(--ze-cyan);
}

.ze-breadcrumb span {
  font-size: 0.82rem;
  color: var(--ze-purple-bright);
}

.ze-breadcrumb i {
  font-size: 0.65rem;
  color: rgba(148,163,184,0.4);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ze-navy);
}

::-webkit-scrollbar-thumb {
  background: rgba(108,61,232,0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ze-purple);
}

/* ── Text Selection ── */
::selection {
  background: rgba(108,61,232,0.4);
  color: white;
}

/* ── Alert/Notice Box ── */
.ze-notice-box {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--ze-radius);
  padding: 1rem 1.25rem;
  font-size: 0.87rem;
  color: rgba(245,158,11,0.9);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* ── Table ── */
.ze-styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ze-styled-table th {
  background: rgba(108,61,232,0.15);
  color: var(--ze-white);
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--ze-font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ze-styled-table td {
  padding: 0.85rem 1rem;
  color: var(--ze-text-muted);
  border-bottom: 1px solid rgba(108,61,232,0.08);
}

.ze-styled-table tr:hover td {
  background: rgba(108,61,232,0.04);
}

/* ── Loading State ── */
.ze-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(108,61,232,0.2);
  border-top-color: var(--ze-purple);
  border-radius: 50%;
  animation: ze-spin 0.8s linear infinite;
}

@keyframes ze-spin {
  to { transform: rotate(360deg); }
}

/* ── Experience Selector Panels ── */
.ze-game-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ze-game-card-item {
  background: var(--ze-navy-light);
  border: 1px solid rgba(108,61,232,0.15);
  border-radius: var(--ze-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}

.ze-game-card-item:hover {
  border-color: rgba(108,61,232,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(108,61,232,0.2);
}

.ze-game-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ze-game-card-body {
  padding: 1.25rem;
}

.ze-game-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ze-white);
  margin-bottom: 0.4rem;
}

.ze-game-card-sub {
  font-size: 0.82rem;
  color: var(--ze-text-muted);
  line-height: 1.6;
}

.ze-game-card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(108,61,232,0.1);
}

.ze-game-tag {
  font-family: var(--ze-font-display);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  background: rgba(108,61,232,0.15);
  color: var(--ze-purple-bright);
}

/* ── About Page ── */
.ze-about-value-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.ze-about-value-num {
  font-family: var(--ze-font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(108,61,232,0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}

.ze-about-value-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ze-white);
  margin-bottom: 0.4rem;
}

.ze-about-value-text {
  font-size: 0.88rem;
  color: var(--ze-text-muted);
  line-height: 1.7;
}

/* ── Sitemap Quick Nav ── */
.ze-sitemap-link {
  display: block;
  padding: 0.35rem 0;
  color: var(--ze-text-muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(108,61,232,0.06);
  transition: all 0.25s ease;
}

.ze-sitemap-link:hover {
  color: var(--ze-cyan);
  padding-left: 6px;
}

/* ── Back to Top ── */
.ze-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--ze-purple), var(--ze-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 500;
  border: none;
}

.ze-back-to-top.ze-btt-visible {
  opacity: 1;
  transform: translateY(0);
}

.ze-back-to-top:hover {
  box-shadow: var(--ze-shadow-glow);
  transform: translateY(-3px);
}
