/*
 * EB Games theme overrides — gaming vibe skin on top of theme-encanv2
 * Loaded by default.htm after main.css
 */

/* ===== ROOT TOKENS ===== */
:root {
  --ebg-red:        #DA2124;
  --ebg-red-dark:   #A81015;
  --ebg-red-light:  #E84B4D;
  --ebg-black:      #0a0a0a;
  --ebg-black-2:    #141414;
  --ebg-gray:       #6b6b6b;
  --ebg-white:      #ffffff;
  --ebg-off-white:  #f5f5f5;
  --ebg-glow:       0 0 40px rgba(218,33,36,0.55);
  --ebg-font-head:  "Inter", "Segoe UI", system-ui, sans-serif;
}

/* Kill inherited premium gold vibe */
.text-primary, .bg-primary { color: var(--ebg-red) !important; }
.bg-primary { background: var(--ebg-red) !important; }

/* ===== HEADER LOGO (text-based EB games badge) ===== */
.header--ebg .header__container {
  border-bottom: 3px solid var(--ebg-red);
  background: rgba(10,10,10,0.98);
}
.header--ebg .header__nav-link {
  color: var(--ebg-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.header--ebg .header__nav-link:hover,
.header--ebg .header__nav-link.active { color: var(--ebg-red-light); }

.ebg-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ebg-white);
  font-family: var(--ebg-font-head);
  line-height: 1;
}
.ebg-logo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ebg-red);
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(218,33,36,0.35);
  font-style: italic;
}
.ebg-logo__word {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ebg-white);
  text-transform: lowercase;
  letter-spacing: -0.02em;
}
.ebg-logo__pipe {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.3);
  margin: 0 0.35rem;
}
.ebg-logo__tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== BUTTONS (EB style) ===== */
.ebg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--ebg-font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1;
}
.ebg-btn--sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.ebg-btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.ebg-btn--red {
  background: var(--ebg-red);
  color: var(--ebg-white);
  border-color: var(--ebg-red);
  box-shadow: 0 4px 14px rgba(218,33,36,0.35);
}
.ebg-btn--red:hover {
  background: var(--ebg-red-dark);
  border-color: var(--ebg-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(218,33,36,0.5);
  color: #fff;
}
.ebg-btn--outline {
  background: transparent;
  color: var(--ebg-white);
  border-color: var(--ebg-white);
}
.ebg-btn--outline:hover {
  background: var(--ebg-white);
  color: var(--ebg-black);
}
.ebg-btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--ebg-white);
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.ebg-btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ===== HERO — EB Games gaming vibe ===== */
.ebg-hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0b 55%, #0a0a0a 100%);
  color: var(--ebg-white);
  padding: 8rem 0 4rem;
}
.ebg-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.ebg-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(218,33,36,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218,33,36,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: ebg-grid-shift 40s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
@keyframes ebg-grid-shift {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}
.ebg-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.ebg-hero__glow--1 {
  width: 500px; height: 500px;
  background: var(--ebg-red);
  top: -100px; right: -100px;
}
.ebg-hero__glow--2 {
  width: 380px; height: 380px;
  background: #7a0d10;
  bottom: -120px; left: -80px;
}

.ebg-hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.ebg-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(218,33,36,0.15);
  border: 1px solid rgba(218,33,36,0.45);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.ebg-hero__pulse {
  width: 8px; height: 8px;
  background: var(--ebg-red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--ebg-red);
  animation: ebg-pulse 1.4s ease-in-out infinite;
}
@keyframes ebg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.35); }
}

.ebg-hero__title {
  font-family: var(--ebg-font-head);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #f0f0f0 60%, #cccccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ebg-hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 0 2rem;
  line-height: 1.55;
}

.ebg-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.ebg-hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  margin-bottom: 2.5rem;
}
.ebg-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ebg-hero__stat-value {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 900;
  color: var(--ebg-red-light);
  letter-spacing: -0.02em;
}
.ebg-hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.ebg-hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.ebg-hero__chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.ebg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s;
}
.ebg-chip:hover {
  background: var(--ebg-red);
  border-color: var(--ebg-red);
  color: #fff;
}
.ebg-chip i { color: var(--ebg-red-light); }
.ebg-chip:hover i { color: #fff; }

.ebg-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: ebg-bob 2.5s ease-in-out infinite;
}
@keyframes ebg-bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50%      { transform: translate(-50%, 8px); opacity: 0.9; }
}

/* ===== SECTIONS ===== */
.ebg-section {
  padding: 5rem 0;
}
.ebg-section--dark {
  background: var(--ebg-black);
  color: #fff;
}
.ebg-section--light {
  background: var(--ebg-off-white);
  color: var(--ebg-black);
}
.ebg-section--stripes {
  background:
    repeating-linear-gradient(
      45deg,
      #f5f5f5 0 20px,
      #ffffff 20px 40px
    );
}
.ebg-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.ebg-section__eyebrow {
  display: inline-block;
  color: var(--ebg-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.ebg-section__title {
  font-family: var(--ebg-font-head);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  line-height: 1.1;
}
.ebg-section--dark .ebg-section__title { color: #fff; }
.ebg-section__lead {
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(0,0,0,0.6);
  margin: 0;
}
.ebg-section--dark .ebg-section__lead { color: rgba(255,255,255,0.65); }

/* ===== STEPS ===== */
.ebg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ebg-step {
  position: relative;
  padding: 2.5rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  transition: all 0.2s;
}
.ebg-step:hover {
  border-color: var(--ebg-red);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(218,33,36,0.2);
}
.ebg-step__number {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(218,33,36,0.15);
  line-height: 1;
  font-family: var(--ebg-font-head);
}
.ebg-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--ebg-red);
  border-radius: 6px;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(218,33,36,0.35);
}
.ebg-step__title {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
  color: #fff;
}
.ebg-step__text {
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin: 0;
}

/* ===== TRUST GRID ===== */
.ebg-trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.ebg-trust__card {
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 6px;
  border: 2px solid transparent;
  border-top: 3px solid var(--ebg-red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.2s;
}
.ebg-trust__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-color: var(--ebg-red);
}
.ebg-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(218,33,36,0.1);
  border-radius: 6px;
  color: var(--ebg-red);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.ebg-trust__title {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--ebg-black);
}
.ebg-trust__text {
  color: rgba(0,0,0,0.6);
  line-height: 1.5;
  margin: 0;
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.ebg-faq {
  max-width: 800px;
  margin: 0 auto;
}
.ebg-faq__item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1.25rem 0;
}
.ebg-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ebg-black);
}
.ebg-faq__item summary::-webkit-details-marker { display: none; }
.ebg-faq__item summary i {
  color: var(--ebg-red);
  transition: transform 0.2s;
}
.ebg-faq__item[open] summary i { transform: rotate(45deg); }
.ebg-faq__a {
  padding: 1rem 0 0.25rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.6;
}

/* ===== CTA ===== */
.ebg-cta {
  padding: 4rem 0;
  background: var(--ebg-black);
}
.ebg-cta__box {
  position: relative;
  overflow: hidden;
  padding: 4rem 3rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(218,33,36,0.2) 0%, rgba(10,10,10,0.9) 60%),
    var(--ebg-black-2);
  border: 1px solid rgba(218,33,36,0.35);
  text-align: center;
  color: #fff;
}
.ebg-cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(218,33,36,0.35), transparent 60%);
  pointer-events: none;
}
.ebg-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(218,33,36,0.2);
  border: 1px solid var(--ebg-red);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.ebg-cta__title {
  font-family: var(--ebg-font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
}
.ebg-cta__text {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.ebg-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== KILL OLD ENCAN PAQUETTE VIBE ELSEWHERE ===== */
.btn-gold, .btn-outline-gold {
  background: var(--ebg-red);
  color: #fff !important;
  border-color: var(--ebg-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.btn-gold:hover, .btn-outline-gold:hover {
  background: var(--ebg-red-dark);
  border-color: var(--ebg-red-dark);
  color: #fff !important;
}
.btn-outline-gold {
  background: transparent;
  color: var(--ebg-red) !important;
  border-color: var(--ebg-red);
}
.btn-outline-gold:hover {
  background: var(--ebg-red);
  color: #fff !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ebg-hero { min-height: auto; padding: 6rem 0 3rem; }
  .ebg-hero__stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ebg-hero__stat-divider { display: none; }
  .ebg-hero__actions { flex-direction: column; }
  .ebg-hero__actions .ebg-btn { width: 100%; }
  .ebg-cta__box { padding: 2.5rem 1.5rem; }
  .ebg-logo__pipe, .ebg-logo__tagline { display: none; }
}
