/* ============================================================
   MOVEXARO - Main Stylesheet
   Gaming Knowledge & Quiz Platform
   ============================================================ */

:root {
  --cex-bg-primary: #0a0b0f;
  --cex-bg-secondary: #10121a;
  --cex-bg-card: #13151f;
  --cex-bg-elevated: #1a1d2e;
  --cex-neon-cyan: #00e5ff;
  --cex-neon-green: #39ff14;
  --cex-neon-purple: #b347ff;
  --cex-neon-orange: #ff6b00;
  --cex-accent-primary: #00e5ff;
  --cex-accent-secondary: #b347ff;
  --cex-text-primary: #e8eaf0;
  --cex-text-secondary: #8892b0;
  --cex-text-muted: #4a5568;
  --cex-border-subtle: rgba(0, 229, 255, 0.12);
  --cex-border-glow: rgba(0, 229, 255, 0.4);
  --cex-gradient-hero: linear-gradient(135deg, #0a0b0f 0%, #0d1020 50%, #0a0b0f 100%);
  --cex-gradient-card: linear-gradient(145deg, #13151f, #1a1d2e);
  --cex-gradient-accent: linear-gradient(90deg, #00e5ff, #b347ff);
  --cex-shadow-glow: 0 0 30px rgba(0, 229, 255, 0.15);
  --cex-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --cex-radius-sm: 6px;
  --cex-radius-md: 12px;
  --cex-radius-lg: 20px;
  --cex-radius-xl: 32px;
  --cex-font-display: 'Orbitron', sans-serif;
  --cex-font-heading: 'Rajdhani', sans-serif;
  --cex-font-body: 'Space Grotesk', sans-serif;
  --cex-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--cex-font-body);
  background-color: var(--cex-bg-primary);
  color: var(--cex-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: rgba(0, 229, 255, 0.25); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cex-accent-primary); text-decoration: none; transition: var(--cex-transition); }
a:hover { color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cex-font-heading);
  line-height: 1.2;
  color: var(--cex-text-primary);
  letter-spacing: 0.02em;
}

p { color: var(--cex-text-secondary); margin-bottom: 1rem; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cex-bg-primary); }
::-webkit-scrollbar-thumb { background: var(--cex-accent-primary); border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.cex-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--cex-transition);
  background: transparent;
}

.cex-navbar.cex-nav-scrolled {
  background: rgba(10, 11, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cex-border-subtle);
  padding: 0.6rem 0;
}

.cex-nav-brand {
  font-family: var(--cex-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--cex-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
}

.cex-nav-link {
  font-family: var(--cex-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cex-text-secondary) !important;
  padding: 0.5rem 0.8rem !important;
  position: relative;
  transition: var(--cex-transition);
}

.cex-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--cex-accent-primary);
  transition: var(--cex-transition);
}

.cex-nav-link:hover { color: var(--cex-accent-primary) !important; }
.cex-nav-link:hover::after { left: 0.8rem; right: 0.8rem; }

.cex-nav-cta {
  background: transparent;
  border: 1px solid var(--cex-accent-primary);
  color: var(--cex-accent-primary) !important;
  border-radius: var(--cex-radius-sm);
  padding: 0.4rem 1rem !important;
  font-family: var(--cex-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cex-nav-cta:hover {
  background: var(--cex-accent-primary);
  color: var(--cex-bg-primary) !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.navbar-toggler { border-color: var(--cex-border-subtle) !important; }
.navbar-toggler-icon { filter: invert(1); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.cex-hero-arena {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cex-bg-primary);
}

.cex-hero-bg-layer {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(179, 71, 255, 0.05) 0%, transparent 50%),
    var(--cex-bg-primary);
}

.cex-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.cex-hero-content {
  position: relative;
  z-index: 2;
}

.cex-hero-eyebrow {
  font-family: var(--cex-font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cex-accent-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cex-hero-eyebrow::before,
.cex-hero-eyebrow::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--cex-accent-primary);
  opacity: 0.5;
}

.cex-hero-heading {
  font-family: var(--cex-font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.cex-text-gradient {
  background: var(--cex-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cex-hero-sub {
  font-size: 1.1rem;
  color: var(--cex-text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cex-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cex-stat-item { text-align: left; }

.cex-stat-number {
  font-family: var(--cex-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cex-accent-primary);
  line-height: 1;
  display: block;
}

.cex-stat-label {
  font-size: 0.75rem;
  color: var(--cex-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cex-hero-image-panel {
  position: relative;
  z-index: 2;
}

.cex-hero-img-main {
  border-radius: var(--cex-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cex-border-subtle);
  box-shadow: var(--cex-shadow-glow), var(--cex-shadow-card);
}

.cex-hero-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.cex-hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--cex-bg-elevated);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-md);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(10px);
}

.cex-hero-badge-icon {
  font-size: 2rem;
  color: var(--cex-neon-green);
  margin-bottom: 0.25rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cex-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--cex-gradient-accent);
  color: #000 !important;
  font-family: var(--cex-font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--cex-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--cex-transition);
  position: relative;
  overflow: hidden;
}

.cex-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: var(--cex-transition);
}

.cex-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4); }
.cex-btn-primary:hover::before { opacity: 1; }

.cex-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--cex-text-primary) !important;
  font-family: var(--cex-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--cex-radius-sm);
  border: 1px solid var(--cex-border-subtle);
  cursor: pointer;
  transition: var(--cex-transition);
}

.cex-btn-outline:hover {
  border-color: var(--cex-accent-primary);
  color: var(--cex-accent-primary) !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.cex-section { padding: 5rem 0; }
.cex-section-lg { padding: 7rem 0; }
.cex-section-sm { padding: 3rem 0; }

.cex-section-header { margin-bottom: 3.5rem; }

.cex-section-eyebrow {
  font-family: var(--cex-font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cex-accent-primary);
  margin-bottom: 0.75rem;
}

.cex-section-title {
  font-family: var(--cex-font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cex-section-desc {
  font-size: 1rem;
  color: var(--cex-text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* ============================================================
   SVG SEPARATOR
   ============================================================ */
.cex-separator {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.cex-separator svg { display: block; width: 100%; }

/* ============================================================
   QUIZ ZONE
   ============================================================ */
.cex-quiz-arena {
  background: var(--cex-bg-secondary);
  position: relative;
  overflow: hidden;
}

.cex-quiz-arena::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 71, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cex-quiz-panel {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--cex-transition);
}

.cex-quiz-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cex-gradient-accent);
}

.cex-quiz-panel:hover { border-color: var(--cex-border-glow); box-shadow: var(--cex-shadow-glow); }

.cex-quiz-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cex-quiz-tab {
  font-family: var(--cex-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--cex-radius-sm);
  border: 1px solid var(--cex-border-subtle);
  background: transparent;
  color: var(--cex-text-secondary);
  cursor: pointer;
  transition: var(--cex-transition);
}

.cex-quiz-tab.active,
.cex-quiz-tab:hover {
  background: var(--cex-accent-primary);
  color: #000;
  border-color: var(--cex-accent-primary);
}

.cex-quiz-question-text {
  font-family: var(--cex-font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cex-text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.cex-quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-sm);
  padding: 0.85rem 1.25rem;
  color: var(--cex-text-secondary);
  font-family: var(--cex-font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--cex-transition);
  margin-bottom: 0.6rem;
  position: relative;
  overflow: hidden;
}

.cex-quiz-option:hover {
  border-color: var(--cex-accent-primary);
  color: var(--cex-text-primary);
  background: rgba(0, 229, 255, 0.05);
}

.cex-quiz-option.correct {
  border-color: var(--cex-neon-green);
  background: rgba(57, 255, 20, 0.08);
  color: var(--cex-neon-green);
}

.cex-quiz-option.incorrect {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.08);
  color: #ff4757;
}

.cex-quiz-option:disabled { cursor: not-allowed; opacity: 0.7; }

.cex-quiz-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.cex-quiz-progress-fill {
  height: 100%;
  background: var(--cex-gradient-accent);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.cex-quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cex-quiz-counter {
  font-family: var(--cex-font-display);
  font-size: 0.75rem;
  color: var(--cex-text-muted);
  letter-spacing: 0.1em;
}

.cex-quiz-score-badge {
  font-family: var(--cex-font-display);
  font-size: 0.75rem;
  color: var(--cex-accent-primary);
  letter-spacing: 0.1em;
}

.cex-quiz-result {
  text-align: center;
  padding: 2rem 0;
}

.cex-quiz-result-score {
  font-family: var(--cex-font-display);
  font-size: 4rem;
  font-weight: 900;
  background: var(--cex-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cex-quiz-result-msg {
  font-family: var(--cex-font-heading);
  font-size: 1.2rem;
  color: var(--cex-text-secondary);
  margin-bottom: 1.5rem;
}

/* ============================================================
   KNOWLEDGE METER
   ============================================================ */
.cex-knowledge-meter { background: var(--cex-bg-primary); }

.cex-meter-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-md);
  padding: 1.75rem;
  cursor: pointer;
  transition: var(--cex-transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.cex-meter-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cex-gradient-accent);
  opacity: 0;
  transition: var(--cex-transition);
}

.cex-meter-card:hover {
  border-color: var(--cex-border-glow);
  transform: translateY(-4px);
  box-shadow: var(--cex-shadow-glow);
}

.cex-meter-card:hover .cex-meter-icon { color: var(--cex-neon-green); }

.cex-meter-icon {
  font-size: 2.5rem;
  color: var(--cex-accent-primary);
  margin-bottom: 1rem;
  transition: var(--cex-transition);
  position: relative;
  z-index: 1;
}

.cex-meter-title {
  font-family: var(--cex-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.cex-meter-desc {
  font-size: 0.85rem;
  color: var(--cex-text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.cex-meter-bar-wrap {
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.cex-meter-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.cex-meter-bar-fill {
  height: 100%;
  background: var(--cex-gradient-accent);
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.cex-meter-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--cex-text-muted);
  margin-top: 0.4rem;
}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.cex-articles-zone { background: var(--cex-bg-secondary); }

.cex-article-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  overflow: hidden;
  transition: var(--cex-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cex-article-card:hover {
  border-color: var(--cex-border-glow);
  transform: translateY(-6px);
  box-shadow: var(--cex-shadow-glow), var(--cex-shadow-card);
}

.cex-article-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.cex-article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cex-article-card:hover .cex-article-img-wrap img { transform: scale(1.06); }

.cex-article-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cex-accent-primary);
  color: #000;
  font-family: var(--cex-font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
}

.cex-article-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.cex-article-title {
  font-family: var(--cex-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  flex: 1;
}

.cex-article-excerpt {
  font-size: 0.88rem;
  color: var(--cex-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cex-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--cex-text-muted);
  border-top: 1px solid var(--cex-border-subtle);
  padding-top: 1rem;
  margin-top: auto;
}

.cex-article-meta i { color: var(--cex-accent-primary); }

.cex-read-link {
  font-family: var(--cex-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cex-accent-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.cex-read-link i { transition: transform 0.3s; }
.cex-article-card:hover .cex-read-link i { transform: translateX(4px); }

/* ============================================================
   TIMELINE
   ============================================================ */
.cex-timeline-zone { background: var(--cex-bg-primary); overflow: hidden; position: relative; }

.cex-timeline-zone::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--cex-accent-primary), transparent);
  transform: translateX(-50%);
  opacity: 0.3;
}

.cex-timeline-entry {
  position: relative;
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cex-timeline-entry.cex-visible {
  opacity: 1;
  transform: translateY(0);
}

.cex-timeline-dot {
  position: absolute;
  left: 50%;
  top: 2.5rem;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cex-accent-primary);
  border: 3px solid var(--cex-bg-primary);
  box-shadow: 0 0 12px var(--cex-accent-primary);
  z-index: 2;
}

.cex-timeline-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-md);
  padding: 1.5rem;
  max-width: 420px;
  transition: var(--cex-transition);
}

.cex-timeline-card:hover { border-color: var(--cex-border-glow); box-shadow: var(--cex-shadow-glow); }

.cex-timeline-year {
  font-family: var(--cex-font-display);
  font-size: 0.75rem;
  color: var(--cex-accent-primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.cex-timeline-title {
  font-family: var(--cex-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin-bottom: 0.4rem;
}

.cex-timeline-desc {
  font-size: 0.85rem;
  color: var(--cex-text-secondary);
  margin-bottom: 0;
  line-height: 1.65;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.cex-reviews-zone { background: var(--cex-bg-secondary); }

.cex-review-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  padding: 2rem;
  transition: var(--cex-transition);
  height: 100%;
}

.cex-review-card:hover {
  border-color: var(--cex-border-glow);
  transform: translateY(-4px);
  box-shadow: var(--cex-shadow-glow);
}

.cex-review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cex-review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cex-border-subtle);
}

.cex-review-name {
  font-family: var(--cex-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cex-text-primary);
}

.cex-review-game {
  font-size: 0.78rem;
  color: var(--cex-accent-primary);
}

.cex-review-stars { color: #ffd700; font-size: 0.8rem; margin-bottom: 1rem; }

.cex-review-quote {
  font-size: 0.9rem;
  color: var(--cex-text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 0;
}

/* ============================================================
   TEAM
   ============================================================ */
.cex-team-zone { background: var(--cex-bg-primary); }

.cex-team-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  overflow: hidden;
  transition: var(--cex-transition);
  text-align: center;
}

.cex-team-card:hover {
  border-color: var(--cex-border-glow);
  transform: translateY(-6px);
  box-shadow: var(--cex-shadow-glow);
}

.cex-team-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.cex-team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cex-team-card:hover .cex-team-img-wrap img { transform: scale(1.05); }

.cex-team-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(10,11,15,0.9));
}

.cex-team-body { padding: 1.5rem; }

.cex-team-name {
  font-family: var(--cex-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin-bottom: 0.25rem;
}

.cex-team-role {
  font-size: 0.78rem;
  color: var(--cex-accent-primary);
  font-family: var(--cex-font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cex-team-bio {
  font-size: 0.85rem;
  color: var(--cex-text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================================
   TRIVIA CAROUSEL
   ============================================================ */
.cex-trivia-zone { background: var(--cex-bg-secondary); position: relative; overflow: hidden; }

.cex-trivia-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
}

.cex-trivia-slide {
  display: none;
  text-align: center;
  padding: 1rem;
}

.cex-trivia-slide.active { display: block; }

.cex-trivia-icon {
  font-size: 3rem;
  color: var(--cex-accent-primary);
  margin-bottom: 1.5rem;
}

.cex-trivia-text {
  font-family: var(--cex-font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--cex-text-primary);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.cex-trivia-source {
  font-size: 0.8rem;
  color: var(--cex-text-muted);
  letter-spacing: 0.1em;
}

.cex-trivia-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.cex-trivia-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cex-border-subtle);
  border: none;
  cursor: pointer;
  transition: var(--cex-transition);
  padding: 0;
}

.cex-trivia-dot.active {
  background: var(--cex-accent-primary);
  box-shadow: 0 0 8px var(--cex-accent-primary);
}

/* ============================================================
   FEATURED TESTS
   ============================================================ */
.cex-tests-zone { background: var(--cex-bg-primary); }

.cex-test-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  overflow: hidden;
  transition: var(--cex-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cex-test-card:hover {
  border-color: var(--cex-border-glow);
  transform: translateY(-5px);
  box-shadow: var(--cex-shadow-glow);
}

.cex-test-img {
  height: 180px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease;
}

.cex-test-card:hover .cex-test-img { transform: scale(1.05); }

.cex-test-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.cex-test-tags { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }

.cex-tag {
  font-family: var(--cex-font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

.cex-tag-difficulty { background: rgba(255, 107, 0, 0.15); color: var(--cex-neon-orange); border: 1px solid rgba(255, 107, 0, 0.3); }
.cex-tag-category { background: rgba(0, 229, 255, 0.1); color: var(--cex-accent-primary); border: 1px solid var(--cex-border-subtle); }
.cex-tag-easy { background: rgba(57, 255, 20, 0.1); color: var(--cex-neon-green); border: 1px solid rgba(57, 255, 20, 0.25); }
.cex-tag-hard { background: rgba(255, 71, 87, 0.1); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.25); }

.cex-test-title {
  font-family: var(--cex-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin-bottom: 0.5rem;
}

.cex-test-desc { font-size: 0.85rem; color: var(--cex-text-secondary); margin-bottom: 1rem; }

.cex-test-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.cex-test-questions { font-size: 0.78rem; color: var(--cex-text-muted); }
.cex-test-questions i { color: var(--cex-accent-primary); margin-right: 0.3rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.cex-gallery-zone { background: var(--cex-bg-secondary); }

.cex-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}

.cex-gallery-item {
  border-radius: var(--cex-radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--cex-border-subtle);
}

.cex-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cex-gallery-item:nth-child(5) { grid-column: span 2; }

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

.cex-gallery-item:hover img { transform: scale(1.08); }

.cex-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--cex-transition);
}

.cex-gallery-item:hover .cex-gallery-overlay { opacity: 1; }

.cex-gallery-overlay i {
  font-size: 2rem;
  color: var(--cex-accent-primary);
  text-shadow: 0 0 20px var(--cex-accent-primary);
}

/* Lightbox */
.cex-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cex-lightbox.active { opacity: 1; pointer-events: all; }

.cex-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--cex-radius-md);
  border: 1px solid var(--cex-border-subtle);
}

.cex-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cex-text-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--cex-transition);
}

.cex-lightbox-close:hover { color: var(--cex-accent-primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.cex-footer {
  background: var(--cex-bg-secondary);
  border-top: 1px solid var(--cex-border-subtle);
  padding: 4rem 0 2rem;
}

.cex-footer-brand {
  font-family: var(--cex-font-display);
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--cex-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.cex-footer-tagline {
  font-size: 0.85rem;
  color: var(--cex-text-muted);
  margin-bottom: 1.5rem;
}

.cex-footer-heading {
  font-family: var(--cex-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cex-accent-primary);
  margin-bottom: 1.25rem;
}

.cex-footer-links { list-style: none; padding: 0; margin: 0; }

.cex-footer-links li { margin-bottom: 0.6rem; }

.cex-footer-links a {
  font-size: 0.88rem;
  color: var(--cex-text-secondary);
  transition: var(--cex-transition);
}

.cex-footer-links a:hover { color: var(--cex-accent-primary); padding-left: 4px; }

.cex-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: var(--cex-text-secondary);
}

.cex-footer-contact-item i { color: var(--cex-accent-primary); margin-top: 0.15rem; width: 14px; flex-shrink: 0; }

.cex-footer-bottom {
  border-top: 1px solid var(--cex-border-subtle);
  padding-top: 1.5rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cex-footer-copyright {
  font-size: 0.8rem;
  color: var(--cex-text-muted);
}

.cex-footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cex-footer-legal a {
  font-size: 0.78rem;
  color: var(--cex-text-muted);
}

.cex-footer-legal a:hover { color: var(--cex-accent-primary); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.cex-inner-hero {
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: var(--cex-bg-primary);
}

.cex-inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(179, 71, 255, 0.04) 0%, transparent 50%);
}

.cex-inner-hero-title {
  font-family: var(--cex-font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cex-breadcrumb-cex { font-size: 0.8rem; color: var(--cex-text-muted); position: relative; z-index: 1; }
.cex-breadcrumb-cex a { color: var(--cex-accent-primary); }
.cex-breadcrumb-cex span { color: var(--cex-text-muted); }

/* ============================================================
   ARTICLE DETAIL
   ============================================================ */
.cex-article-detail { background: var(--cex-bg-primary); }

.cex-article-detail-header { padding: 8rem 0 3rem; background: var(--cex-bg-secondary); }

.cex-article-content {
  max-width: 780px;
  margin: 0 auto;
}

.cex-article-content h2 {
  font-family: var(--cex-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin: 2.5rem 0 1rem;
}

.cex-article-content h3 {
  font-family: var(--cex-font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cex-text-primary);
  margin: 2rem 0 0.75rem;
}

.cex-article-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--cex-text-secondary);
  margin-bottom: 1.25rem;
}

.cex-article-content img {
  border-radius: var(--cex-radius-md);
  border: 1px solid var(--cex-border-subtle);
  width: 100%;
  object-fit: cover;
  margin: 2rem 0;
}

.cex-article-content blockquote {
  border-left: 3px solid var(--cex-accent-primary);
  padding: 1rem 1.5rem;
  background: var(--cex-bg-elevated);
  border-radius: 0 var(--cex-radius-sm) var(--cex-radius-sm) 0;
  margin: 2rem 0;
}

.cex-article-content blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cex-text-primary);
  margin: 0;
}

.cex-article-author-box {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 3rem 0;
}

.cex-author-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cex-border-subtle);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.cex-contact-zone { background: var(--cex-bg-primary); }

.cex-contact-form-wrap {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  padding: 2.5rem;
}

.cex-form-group { margin-bottom: 1.5rem; }

.cex-form-label {
  display: block;
  font-family: var(--cex-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cex-text-secondary);
  margin-bottom: 0.5rem;
}

.cex-form-control {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-sm);
  padding: 0.85rem 1rem;
  color: var(--cex-text-primary);
  font-family: var(--cex-font-body);
  font-size: 0.95rem;
  transition: var(--cex-transition);
  outline: none;
}

.cex-form-control:focus {
  border-color: var(--cex-accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.cex-form-control::placeholder { color: var(--cex-text-muted); }

textarea.cex-form-control { resize: vertical; min-height: 140px; }

.cex-form-error {
  font-size: 0.78rem;
  color: #ff4757;
  margin-top: 0.4rem;
  display: none;
}

.cex-form-error.visible { display: block; }

.cex-contact-info-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.cex-contact-info-title {
  font-family: var(--cex-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin-bottom: 1.25rem;
}

.cex-contact-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--cex-text-secondary);
}

.cex-contact-detail i { color: var(--cex-accent-primary); width: 16px; flex-shrink: 0; margin-top: 0.15rem; }

.cex-map-wrap {
  border-radius: var(--cex-radius-md);
  overflow: hidden;
  border: 1px solid var(--cex-border-subtle);
  height: 280px;
}

.cex-map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   THANK YOU
   ============================================================ */
.cex-thankyou-zone {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--cex-bg-primary);
  position: relative;
}

.cex-thankyou-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
}

.cex-thankyou-icon {
  width: 90px;
  height: 90px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--cex-border-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--cex-accent-primary);
  margin: 0 auto 2rem;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.cex-legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--cex-bg-primary);
  padding: 3rem 0 5rem;
}

.cex-legal-content h2 {
  font-family: var(--cex-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--cex-border-subtle);
}

.cex-legal-content h2:first-child { border-top: none; margin-top: 0; }

.cex-legal-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--cex-text-secondary);
}

.cex-legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.cex-legal-content ul li {
  font-size: 0.95rem;
  color: var(--cex-text-secondary);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.cex-legal-date {
  font-size: 0.8rem;
  color: var(--cex-text-muted);
  margin-bottom: 2rem;
  padding: 0.6rem 1rem;
  background: var(--cex-bg-elevated);
  border-radius: var(--cex-radius-sm);
  border-left: 2px solid var(--cex-accent-primary);
  display: inline-block;
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cex-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: var(--cex-bg-elevated);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-md);
  padding: 1.25rem 1.5rem;
  z-index: 9000;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cex-cookie-banner.cex-cookie-show { transform: translateY(0); }

.cex-cookie-text {
  font-size: 0.85rem;
  color: var(--cex-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.cex-cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cex-cookie-accept {
  background: var(--cex-accent-primary);
  color: #000;
  border: none;
  border-radius: var(--cex-radius-sm);
  padding: 0.5rem 1.25rem;
  font-family: var(--cex-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--cex-transition);
}

.cex-cookie-accept:hover { box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }

.cex-cookie-decline {
  background: transparent;
  color: var(--cex-text-muted);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-sm);
  padding: 0.5rem 1.25rem;
  font-family: var(--cex-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--cex-transition);
}

.cex-cookie-decline:hover { color: var(--cex-text-primary); border-color: var(--cex-text-muted); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.cex-about-value-card {
  background: var(--cex-gradient-card);
  border: 1px solid var(--cex-border-subtle);
  border-radius: var(--cex-radius-md);
  padding: 1.75rem;
  height: 100%;
  transition: var(--cex-transition);
}

.cex-about-value-card:hover {
  border-color: var(--cex-border-glow);
  transform: translateY(-4px);
  box-shadow: var(--cex-shadow-glow);
}

.cex-about-value-icon {
  font-size: 2rem;
  color: var(--cex-accent-primary);
  margin-bottom: 1rem;
}

.cex-about-value-title {
  font-family: var(--cex-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cex-text-primary);
  margin-bottom: 0.5rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.cex-text-accent { color: var(--cex-accent-primary); }
.cex-text-muted-cex { color: var(--cex-text-muted); }
.cex-divider { height: 1px; background: var(--cex-border-subtle); margin: 2rem 0; }
.cex-hidden { display: none; }
.cex-visible { display: block; }
.cex-fade-in { animation: cexFadeIn 0.6s ease forwards; }

/* Floating shapes */
.cex-float-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.03;
}

.cex-float-shape-1 {
  width: 400px; height: 400px;
  background: var(--cex-accent-primary);
  top: -100px; right: -100px;
}

.cex-float-shape-2 {
  width: 300px; height: 300px;
  background: var(--cex-accent-secondary);
  bottom: -50px; left: -80px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .cex-timeline-zone::before { left: 20px; }
  .cex-timeline-dot { left: 20px; }
  .cex-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .cex-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .cex-gallery-item:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 767px) {
  .cex-hero-arena { min-height: auto; padding: 8rem 0 4rem; }
  .cex-hero-stats { gap: 1.5rem; }
  .cex-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cex-gallery-item:nth-child(1) { grid-column: span 2; }
  .cex-footer-bottom { flex-direction: column; text-align: center; }
  .cex-article-author-box { flex-direction: column; }
}


.logo{
  max-width: 200px;
  object-fit: contain;
}

html{
  overflow-x: hidden;
}

.cex-article-author-box{
  height: auto;
}

.cex-cookie-banner{
  display: none!important;
}