/* PHASE 3: QUESTION FLOW SECTION==========================================================================*/

.ff-welcome-img {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 24px;
}

.ff-welcome-img img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.ff-action-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.progress-bar-container {
  margin-bottom: 40px;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.question-box-wrapper {
  perspective: 1000px;
  margin-top: 10px;
}

.question-box {
  padding: 48px;
  width: 100%;
  transition: opacity var(--trans-norm), transform var(--trans-norm);
}

.question-header {
  margin-bottom: 32px;
}

.question-step {
  font-family: var(--font-logo);
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 3px;
  display: inline-block;
  margin-bottom: 10px;
}

.question-title {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.option-card {
  background: var(--gold-primary);
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--trans-norm);
  position: relative;
  color: var(--text-dark);
}

.option-card:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.option-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--trans-norm);
  flex-shrink: 0;
}

.option-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
  opacity: 0;
  transform: scale(0);
  transition: var(--trans-norm);
}

.option-card.selected {
  background: rgba(0, 191, 255, 0.08);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.option-card.selected .option-indicator {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.option-card.selected .option-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.option-card.correct {
  background: rgba(0, 255, 0, 0.08) !important;
  border-color: #00ff00 !important;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.4) !important;
}

.option-card.correct .option-indicator {
  border-color: #00ff00 !important;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.4) !important;
}

.option-card.correct .option-indicator::after {
  background: #00ff00 !important;
  box-shadow: 0 0 8px #00ff00 !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.option-card.incorrect {
  background: rgba(255, 0, 0, 0.08) !important;
  border-color: #ff0000 !important;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4) !important;
}

.option-card.incorrect .option-indicator {
  border-color: #ff0000 !important;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4) !important;
}

.option-card.incorrect .option-indicator::after {
  background: #ff0000 !important;
  box-shadow: 0 0 8px #ff0000 !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.option-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--trans-norm);
}

.option-card.selected .option-label {
  color: var(--text-dark);
}

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

/* ==========================================================================
   PHASE 4: PORTAL BOOT LOADING SCREEN
   ========================================================================== */
#screen-loading {
  background-color: var(--bg-primary);
  background-image: url('../assets/blue_fluid_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 50;
  padding: 24px;
}

.loading-hud-circle {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.hud-outer {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px dashed var(--neon-blue);
  border-radius: 50%;
  box-shadow: var(--glow-blue);
  animation: rotateCW 12s linear infinite;
}

.hud-inner {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 1px dashed var(--neon-purple);
  border-radius: 50%;
  box-shadow: var(--glow-purple);
  animation: rotateCCW 8s linear infinite;
}

.hud-core {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 15px rgba(0, 191, 255, 0.2);
}

.loading-hud-icon {
  width: 32px;
  height: 32px;
  color: var(--neon-blue);
  animation: pulseScale 2s infinite ease-in-out;
}

.loading-text-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.loading-main-status {
  font-family: var(--font-logo);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.loading-sub-status {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 300;
}

.loading-log-box {
  width: 100%;
  max-width: 580px;
  height: 200px;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.log-box-header {
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

.log-title {
  color: var(--neon-purple);
  display: flex;
  align-items: center;
  gap: 6px;
}

.log-title i {
  width: 12px;
  height: 12px;
}

.log-latency {
  color: var(--neon-blue);
}

.log-rows {
  padding: 18px;
  flex-grow: 1;
  overflow-y: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-line {
  display: flex;
  gap: 12px;
}

.log-line.success {
  color: var(--neon-green);
}

.log-line.info {
  color: var(--neon-blue);
}

.log-line.working {
  color: var(--neon-purple);
}

.log-time {
  opacity: 0.5;
  flex-shrink: 0;
}

/* ==========================================================================
   PHASE 5: TAILORED HOMEPAGE DASHBOARD
   ========================================================================== */
#screen-dashboard {
  background-color: var(--bg-primary);
  background-image: url('../assets/blue_fluid_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  overflow-y: auto;
}

/* Sidebar Styling */
.sidebar-container {
  width: 260px;
  height: 100vh;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
  transition: transform var(--trans-norm);
}

.sidebar-logo {
  padding: 30px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo-subtext {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--neon-green);
  text-shadow: var(--glow-green);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.logo-title-sm {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--text-white);
}

.sidebar-menu {
  padding: 24px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  position: relative;
  transition: var(--trans-fast);
}

.menu-item i {
  width: 18px;
  height: 18px;
  transition: var(--trans-fast);
}

.menu-item:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.02);
}

.menu-item.active {
  color: var(--neon-blue);
  background: rgba(0, 191, 255, 0.06);
  font-weight: 600;
}

.menu-item.active i {
  color: var(--neon-blue);
  filter: drop-shadow(0 0 5px var(--neon-blue));
}

.active-indicator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: var(--trans-fast);
}

.menu-item.active .active-indicator {
  opacity: 1;
}

.sidebar-footer {
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--neon-red);
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--trans-fast);
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--neon-red);
  box-shadow: var(--glow-red);
}

/* Main Dashboard Viewport */
.dashboard-viewport {
  flex-grow: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

/* Top Navbar */
.topnav-container {
  height: 76px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 90;
  flex-shrink: 0;
}

.topnav-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

.search-bar-wrapper {
  position: relative;
  width: 280px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-gray);
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 10px 16px 10px 42px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-white);
  transition: var(--trans-fast);
}

.search-input:focus {
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
  background: rgba(0, 191, 255, 0.02);
}

.topnav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.points-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-logo);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.05);
}

.points-icon {
  width: 16px;
  height: 16px;
  color: var(--neon-purple);
  filter: drop-shadow(0 0 3px var(--neon-purple));
}

.points-text {
  color: var(--text-white);
  font-size: 13px;
}

.pts-lbl {
  font-size: 9px;
  color: var(--neon-purple);
  margin-left: 2px;
}

.topnav-icon-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--text-gray);
  position: relative;
  transition: var(--trans-fast);
}

.topnav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.15);
}

.notify-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
  border-radius: 50%;
}

.user-avatar-wrapper {
  position: relative;
  cursor: pointer;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  box-shadow: var(--glow-blue);
  transition: var(--trans-fast);
}

.user-avatar-wrapper:hover {
  box-shadow: 0 0 15px var(--neon-purple), 0 0 25px rgba(139, 92, 246, 0.3);
  transform: scale(1.05);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.user-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
}

.user-status-dot.active {
  background-color: var(--neon-green);
  box-shadow: var(--glow-green);
}

/* Dashboard Scroll Content */
.dashboard-scroll-content {
  flex-grow: 1;
  padding: 32px;
  overflow-y: auto;
}

/* Welcome Segment */
.dashboard-welcome {
  padding: 40px;
  margin-bottom: 32px;
  border-left: 4px solid var(--neon-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.welcome-text {
  max-width: 600px;
  position: relative;
  z-index: 5;
}

.welcome-tagline {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--neon-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  text-shadow: var(--glow-text-blue);
}

.welcome-tagline i {
  width: 12px;
  height: 12px;
}

.welcome-heading {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(22px, 3.5vw, 32px);
  margin-bottom: 10px;
}

.welcome-desc {
  color: var(--text-gray);
  line-height: 1.6;
}

.welcome-glow-patch {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: var(--neon-blue);
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

/* 3-Column Core Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.grid-left-col {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.grid-mid-col {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.grid-right-col {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Dashboard Cards Base */
.dashboard-card {
  width: 100%;
}

.transparent-card {
  background: transparent;
  box-shadow: none;
  border: none;
}

.section-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.block-title {
  font-family: var(--font-logo);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.block-title i {
  width: 16px;
  height: 16px;
  color: var(--neon-blue);
}

.view-all-link {
  font-size: 11px;
  color: var(--neon-purple);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 1px;
}

.view-all-link:hover {
  text-decoration: underline;
  color: var(--text-white);
}

/* Live Simulator Card widget */
.live-match-card {
  padding: 24px;
}

.card-header-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.live-pill {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--neon-red);
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-pill .pulse-dot {
  background-color: var(--neon-red);
  box-shadow: var(--glow-red);
  animation: pulseDotGlow 1.2s infinite alternate;
}

.live-league {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-gray);
}

.live-teams-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.team-block {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 16px;
  transition: var(--trans-norm);
}

.team-name {
  font-size: 11px;
  color: var(--text-white);
  font-weight: 500;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.live-versus {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.live-score-details {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 20px;
}

.score-main {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: var(--glow-text-blue);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.score-subtext {
  font-size: 11px;
  color: var(--text-gray);
}

.live-tick-simulation {
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.tick-header {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--neon-purple);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.tick-header i {
  width: 12px;
  height: 12px;
}

.tick-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  height: 80px;
  overflow-y: hidden;
}

.tick-row {
  opacity: 0.45;
  transition: var(--trans-norm);
}

.tick-row span {
  color: var(--neon-blue);
  font-weight: 600;
  margin-right: 8px;
}

.tick-row.active {
  opacity: 1;
  color: var(--text-white);
  animation: slideInText 0.3s forwards ease-out;
}

/* Quiz Mini-Widget Card */
.mini-quiz-card {
  padding: 24px;
}

.quiz-header-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--neon-purple);
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-purple i {
  width: 12px;
  height: 12px;
}

.points-reward {
  font-size: 11px;
  font-weight: 600;
  color: var(--neon-green);
}

.quiz-question-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option-btn {
  background: var(--gold-primary);
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: var(--trans-fast);
  font-size: 12px;
}

.quiz-option-btn:hover {
  background: var(--gold-light);
  transform: translateX(2px);
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--neon-green);
  box-shadow: var(--glow-green);
  color: var(--text-white);
  font-weight: 500;
}

.quiz-option-btn.wrong {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--neon-red);
  box-shadow: var(--glow-red);
  color: var(--text-white);
}

.quiz-feedback-banner {
  margin-top: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  transition: var(--trans-fast);
}

.quiz-feedback-banner span {
  color: var(--neon-green);
  font-size: 12px;
  font-weight: 500;
}

.hidden {
  display: none !important;
}

/* FIFA World Cup live dashboard */
.wc-dashboard {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 40px;
  color: var(--text-white);
}

.wc-loading-card,
.wc-hero,
.wc-panel,
.wc-source-card,
.wc-stat {
  background: rgba(3, 18, 34, 0.94) !important;
  border: 1px solid rgba(0, 191, 255, 0.18) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28) !important;
  border-radius: 18px;
}

.wc-loading-card {
  padding: 36px;
  margin: auto;
  width: min(680px, 100%);
}

.wc-loading-card h1,
.wc-hero h1,
.wc-panel h2,
.wc-source-card h2 {
  letter-spacing: 0;
  color: #ffffff;
}

.wc-loading-card h1 {
  font-size: clamp(24px, 4vw, 40px);
  margin: 10px 0;
}

.wc-loading-card p {
  color: rgba(255, 255, 255, 0.72);
}

.wc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.wc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 191, 255, 0.16), transparent 45%),
    radial-gradient(circle at 88% 16%, rgba(255, 215, 0, 0.18), transparent 30%);
  pointer-events: none;
}

.wc-hero-copy,
.wc-next-card {
  position: relative;
  z-index: 1;
}

.wc-hero h1 {
  font-family: var(--font-logo);
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.02;
  margin: 10px 0 16px;
}

.wc-hero p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 760px;
  line-height: 1.7;
}

.wc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.wc-api-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.wc-api-pill.is-live {
  color: var(--neon-green);
  border-color: rgba(16, 185, 129, 0.42);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.12);
}

.wc-api-pill.is-fallback {
  color: var(--gold-light);
  border-color: rgba(255, 215, 0, 0.35);
}

.wc-next-card {
  background: rgba(2, 6, 23, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.wc-next-card span,
.wc-next-card small,
.wc-next-card em {
  color: var(--text-gray);
  font-style: normal;
}

.wc-next-card span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--neon-blue);
}

.wc-next-card strong {
  color: #ffffff;
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.16;
  margin: 14px 0 12px;
}

.wc-next-card em {
  margin-top: 12px;
  font-size: 12px;
}

.wc-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.wc-stat {
  padding: 22px;
}

.wc-stat span,
.wc-stat small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
}

.wc-stat span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.wc-stat strong {
  display: block;
  font-family: var(--font-logo);
  font-size: 34px;
  color: #ffffff;
  margin: 8px 0 4px;
}

.wc-stat small {
  font-size: 11px;
}

.wc-panel,
.wc-source-card {
  padding: 26px;
}

.wc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.wc-section-head h2 {
  font-family: var(--font-logo);
  font-size: clamp(20px, 3vw, 30px);
  margin: 6px 0 0;
}

.wc-section-head.compact {
  align-items: flex-start;
}

.wc-section-head.compact span,
.wc-muted {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.wc-fixture-list {
  display: grid;
  gap: 12px;
}

.wc-fixture-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wc-fixture-date {
  border-radius: 12px;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.24);
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.wc-fixture-date strong {
  color: #ffffff;
  font-size: 15px;
}

.wc-fixture-date span {
  color: var(--neon-blue);
  font-size: 11px;
  font-weight: 800;
  margin-top: 4px;
}

.wc-fixture-main {
  min-width: 0;
}

.wc-fixture-main span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.wc-fixture-main h3 {
  color: #ffffff;
  margin: 6px 0;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.25;
}

.wc-fixture-main h3 em {
  color: var(--text-gray);
  font-style: normal;
  font-size: 0.78em;
}

.wc-fixture-main small {
  color: rgba(255, 255, 255, 0.65);
}

.wc-fixture-status {
  justify-self: end;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.wc-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

.wc-stage-grid,
.wc-team-grid {
  display: grid;
  gap: 10px;
}

.wc-stage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wc-stage-grid div,
.wc-team-grid div {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px;
  color: #ffffff;
  font-weight: 700;
}

.wc-stage-grid span {
  color: var(--neon-blue);
  font-family: var(--font-logo);
  margin-right: 10px;
}

.wc-team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wc-source-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.wc-source-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 780px;
}

.wc-source-card small {
  display: block;
  color: var(--gold-light);
  margin-top: 10px;
}

/* Mid Column Video Highlights Thumbnail */
.video-highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-thumbnail-card {
  padding: 14px;
  border-radius: 16px;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  transition: var(--trans-norm);
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.35);
  transition: var(--trans-norm);
}

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: var(--trans-norm);
}

.play-btn-circle i {
  width: 22px;
  height: 22px;
  color: var(--bg-primary);
  fill: var(--bg-primary);
  transform: translateX(2px);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.highlight-thumbnail-card:hover .video-thumbnail::before {
  background: rgba(2, 6, 23, 0.55);
}

.highlight-thumbnail-card:hover .play-btn-circle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-info {
  padding: 0 4px;
}

.video-tag {
  font-family: var(--font-logo);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--neon-blue);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
  text-shadow: var(--glow-text-blue);
}

.video-title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--text-white);
  transition: var(--trans-fast);
}

.highlight-thumbnail-card:hover .video-title {
  color: var(--neon-blue);
}

.video-meta {
  font-size: 11px;
  color: var(--text-gray);
}

/* Trending news list styling */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-row-card {
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: var(--trans-norm);
}

.news-row-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateX(4px);
  background: rgba(139, 92, 246, 0.04);
}

.news-img {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.news-details {
  flex-grow: 1;
}

.news-date-tag {
  font-size: 9px;
  color: var(--neon-purple);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.news-card-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-white);
  margin-bottom: 4px;
}

.news-row-card:hover .news-card-title {
  color: var(--neon-purple);
}

.news-source {
  font-size: 10px;
  color: var(--text-gray);
}

/* Right Column Holographic User Profile widget */
.profile-summary-card {
  overflow: hidden;
}

.profile-header-banner {
  height: 70px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(0, 191, 255, 0.3) 100%);
  position: relative;
}

.profile-card-content {
  padding: 0 20px 24px 20px;
  text-align: center;
  margin-top: -34px;
}

.profile-avatar-large-container {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  margin: 0 auto 12px auto;
  padding: 2px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.profile-avatar-large {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-family: var(--font-logo);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.profile-category-tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 24px;
  text-shadow: var(--glow-text-blue);
}

.profile-stat-bar-group {
  text-align: left;
  margin-bottom: 14px;
}

.stat-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 6px;
}

.stat-lbl {
  color: var(--text-gray);
}

.stat-val {
  color: var(--text-white);
  font-weight: 600;
}

.stat-progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.stat-progress-fill {
  height: 100%;
  background: var(--neon-purple);
  border-radius: 10px;
  box-shadow: var(--glow-purple);
}

.stat-progress-fill.glow-blue-fill {
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.profile-badges-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.cyber-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--neon-purple);
  cursor: pointer;
  transition: var(--trans-fast);
}

.cyber-badge-icon:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--neon-purple);
  color: var(--text-white);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.cyber-badge-icon:nth-child(2) {
  color: var(--neon-red);
}

.cyber-badge-icon:nth-child(2):hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--neon-red);
  box-shadow: var(--glow-red);
}

.cyber-badge-icon:nth-child(3) {
  color: var(--neon-blue);
}

.cyber-badge-icon:nth-child(3):hover {
  background: rgba(0, 191, 255, 0.1);
  border-color: var(--neon-blue);
  box-shadow: var(--glow-blue);
}

.cyber-badge-icon i {
  width: 14px;
  height: 14px;
}

/* Upcoming Schedules list */
.event-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.schedule-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.schedule-date-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
  flex-shrink: 0;
}

.date-num {
  font-family: var(--font-logo);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.date-month {
  font-size: 8px;
  color: var(--neon-blue);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.schedule-details {
  flex-grow: 1;
}

.schedule-title {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 2px;
}

.schedule-time {
  font-size: 9.5px;
  color: var(--text-gray);
}

.schedule-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: var(--glow-blue);
  flex-shrink: 0;
}

.schedule-row:nth-child(even) .date-month {
  color: var(--neon-purple);
}

.schedule-row:nth-child(even) .schedule-indicator-dot {
  background: var(--neon-purple);
  box-shadow: var(--glow-purple);
}

/* Video Player Modal Overlay */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-norm);
}

.video-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-container {
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16/9;
  position: relative;
  padding: 4px;
  border-color: rgba(0, 191, 255, 0.2);
  transform: scale(0.9);
  transition: transform var(--trans-norm);
}

.video-modal-overlay.active .video-modal-container {
  transform: scale(1);
}

.video-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--trans-fast);
}

.video-close-btn:hover {
  background: var(--neon-red);
  border-color: var(--neon-red);
  box-shadow: var(--glow-red);
}

.video-modal-body {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal-play-placeholder {
  text-align: center;
  padding: 24px;
  z-index: 5;
}

.modal-play-icon {
  width: 48px;
  height: 48px;
  color: var(--neon-blue);
  margin-bottom: 16px;
  animation: pulseScale 1.5s infinite;
}

.modal-play-placeholder h4 {
  font-family: var(--font-logo);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.modal-play-placeholder p {
  font-size: 11px;
  color: var(--text-gray);
  max-width: 380px;
  margin: 0 auto;
}

/* Tab change overlay */
.tab-change-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-fast);
}

.tab-change-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.loader-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-ripple div {
  position: absolute;
  border: 4px solid var(--neon-blue);
  opacity: 1;
  border-radius: 50%;
  animation: rippleAnimation 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader-ripple div:nth-child(2) {
  animation-delay: -0.5s;
  border-color: var(--neon-purple);
}

.tab-loader-text {
  font-family: var(--font-logo);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-white);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes bgPulseZoom {
  0% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1.15);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@keyframes scrollWheelBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.1;
  }

  30% {
    opacity: 1;
  }

  70% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
}

@keyframes rotateCW {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateCCW {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes pulseScale {

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

  50% {
    transform: scale(1.1);
  }
}

@keyframes rippleAnimation {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

@keyframes pulseDotGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

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

@keyframes glitchLines {

  0%,
  100% {
    border-color: var(--neon-blue);
  }

  50% {
    border-color: var(--neon-purple);
  }
}

@keyframes slideInText {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

/* ==========================================================================
   RESPONSIVE SCALING & MOBILE FIRST RULES
   ========================================================================== */

/* 1. Mobile & Fullscreen 9:16 Feel (Up to 768px) */
@media screen and (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .grid-left-col {
    grid-column: span 6;
  }

  .grid-mid-col {
    grid-column: span 6;
  }

  .grid-right-col {
    grid-column: span 12;
  }

  .wc-hero,
  .wc-grid-two {
    grid-template-columns: 1fr;
  }

  .wc-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 13px;
  }

  /* Mobile Sidebar Toggler implementation */
  .sidebar-container {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
  }

  .sidebar-container.mobile-active {
    transform: translateX(0);
  }

  .mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
  }

  .topnav-container {
    padding: 0 16px;
  }

  .search-bar-wrapper {
    width: 160px;
  }

  .search-input {
    padding: 8px 12px 8px 32px;
    font-size: 11px;
  }

  .search-icon {
    left: 10px;
  }

  .points-badge {
    padding: 6px 12px;
  }

  .points-text {
    font-size: 11px;
  }

  .dashboard-scroll-content {
    padding: 16px;
  }

  .dashboard-welcome {
    padding: 24px;
    margin-bottom: 20px;
  }

  .dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .grid-left-col,
  .grid-mid-col,
  .grid-right-col {
    width: 100%;
  }

  /* Adjustments to Category card sizes on Mobile */
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-card {
    height: 220px;
  }

  .question-box {
    padding: 24px;
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .option-card {
    padding: 16px;
  }

  .wc-dashboard {
    width: min(100% - 20px, 1180px);
    padding: 18px 0 28px;
  }

  .wc-hero,
  .wc-panel,
  .wc-source-card,
  .wc-loading-card {
    padding: 20px;
  }

  .wc-stat-grid,
  .wc-stage-grid,
  .wc-team-grid {
    grid-template-columns: 1fr;
  }

  .wc-section-head,
  .wc-source-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .wc-fixture-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .wc-fixture-date {
    min-height: auto;
    padding: 12px;
    align-items: flex-start;
  }

  .wc-fixture-status {
    justify-self: start;
  }
}

/* For screens fitting typical 9:16 layout perfectly (e.g. mobile display testing) */
@media screen and (max-aspect-ratio: 9/16) and (max-width: 480px) {
  #screen-hero .logo-title {
    font-size: 40px;
  }

  .hero-content {
    width: 100%;
    padding: 20px;
  }
}

/* ==========================================================================
   AD MODAL STYLING
   ========================================================================== */
.ad-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ad-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ad-modal-content {
  background: #101828;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  width: 90%;
  max-width: 320px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  font-family: var(--font-body, 'Montserrat', sans-serif);
}

.ad-modal-overlay.active .ad-modal-content {
  transform: scale(1);
}

.ad-modal-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.ad-modal-title {
  color: #fbbf24;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ad-modal-subtitle {
  color: #fbbf24;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ad-modal-text {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.4;
}

.ad-modal-highlight {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.3;
}

.highlight-yellow {
  color: #fbbf24;
}

.ad-modal-claim-btn {
  background: linear-gradient(180deg, #a855f7 0%, #7e22ce 100%);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  width: 100%;
  padding: 16px;
  cursor: pointer;
  position: relative;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-modal-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

.ad-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
}

.ad-modal-close-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ad-modal-close-btn:hover {
  color: #fff;
}

/* ==========================================================================
   INLINE QUIZ LIGHT THEME STYLES
   ========================================================================== */
#inline-questions-container {

  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

#inline-questions-container .progress-bar-label {
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#inline-questions-container .progress-bar-track {

  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

#inline-questions-container .progress-bar-fill {
  background: linear-gradient(to right, #f59e0b, #ea580c);
  height: 100%;
}

#inline-questions-container .question-box.glass-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 24px;
}

#inline-questions-container .question-step {
  color: #ea580c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

#inline-questions-container .question-title {
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 24px;
  line-height: 1.4;
}

#inline-questions-container .options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#inline-questions-container .option-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

#inline-questions-container .option-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

#inline-questions-container .option-card.selected {
  background: #fff7ed;
  border-color: #ea580c;
  color: #ea580c;
}

#inline-questions-container .option-card .option-indicator {
  display: none;
}

/* ==========================================================================
   FF LIVE GAME STYLE LANDING SCREEN
   ========================================================================== */
.fflive-style-landing {
  background-color: #f0f2f5;
  overflow-y: auto;
  position: relative;
  z-index: 1000;
}

.ff-bg-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 1;
}

.ff-bg-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65vh;
  background: #f0f2f5;
  z-index: 1;
}

.ff-main-container {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin: 0 auto;
  padding: 5px;
  min-height: 100vh;
}

.ff-header {
  text-align: center;
  padding: 8px 0;
}

.ff-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.ff-icon-btn {
  flex: 1;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s;
}

.ff-icon-btn i {
  color: #764ba2;
  width: 24px;
  height: 24px;
}

.ff-icon-btn:hover {
  transform: translateY(-2px);
}

.ff-start-btn {
  width: 100%;
  background: linear-gradient(to right, #f59e0b, #ea580c);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
  cursor: pointer;
  margin-bottom: 24px;
  transition: all 0.2s;
  text-transform: uppercase;
}

.ff-start-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
}

.ff-start-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
}

.ff-content-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  color: #374151;
}

.ff-content-section h1 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-top: 0;
  margin-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

.ff-content-section ul {
  padding-left: 24px;
  margin-bottom: 24px;
}

.ff-content-section li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.ff-content-section p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}