/* ══════════════════════════════════════════════
   MR MAKE A DECKZ — style.css  (v2)
   ══════════════════════════════════════════════ */

:root {
  --blue:          #2196f3;
  --blue-bright:   #40c4ff;
  --blue-dark:     #0d47a1;
  --purple:        #7c3aed;
  --purple-bright: #a855f7;
  --purple-dark:   #3b0764;
  --bg-void:       #03020a;
  --bg-dark:       #080613;
  --bg-card:       #0e0b1f;
  --bg-card2:      #110e22;
  --border-dim:    rgba(33,150,243,0.15);
  --border-glow:   rgba(33,150,243,0.45);
  --text-primary:  #f0f0ff;
  --text-muted:    #8890a8;
  --accent:        #40c4ff;
  --font-display:  'Orbitron', sans-serif;
  --font-body:     'Rajdhani', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: hidden;
}
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); letter-spacing: 0.04em; }
.text-accent { color: var(--accent); }
.text-muted-light { color: var(--text-muted); font-size: 0.95rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* ── NAVBAR ─────────────────────────────── */
.mmad-nav {
  background: rgba(3,2,10,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dim);
  padding: 0.6rem 0;
  z-index: 1000;
}
.nav-logo { height: 44px; width: auto; filter: drop-shadow(0 0 8px rgba(33,150,243,0.5)); }
.mmad-nav .nav-link {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  transition: color 0.2s;
}
.mmad-nav .nav-link:hover, .mmad-nav .nav-link.active { color: var(--accent); }
.btn-glow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  padding: 0.45rem 1.2rem;
  background: rgba(33,150,243,0.08);
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-glow:hover {
  background: rgba(33,150,243,0.2);
  color: #fff;
  box-shadow: 0 0 18px rgba(33,150,243,0.4);
}

/* ── HERO ────────────────────────────────── */
.hero-section {
  position: relative;
  background: var(--bg-void);
  overflow: hidden;
  min-height: 100vh;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(33,150,243,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,150,243,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 60%, rgba(33,150,243,0.12) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; }
.hero-logo {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 0 30px rgba(33,150,243,0.45)) drop-shadow(0 0 60px rgba(124,58,237,0.25));
  animation: logo-breathe 4s ease-in-out infinite;
}
@keyframes logo-breathe {
  0%,100% { filter: drop-shadow(0 0 30px rgba(33,150,243,0.45)) drop-shadow(0 0 60px rgba(124,58,237,0.25)); }
  50%      { filter: drop-shadow(0 0 50px rgba(33,150,243,0.7)) drop-shadow(0 0 90px rgba(124,58,237,0.45)); }
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
}
.hero-notice {
  background: rgba(33,150,243,0.08);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
}
.hero-notice strong { color: var(--text-primary); }

/* Hero right art */
.hero-right-art {
  position: relative;
  width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.hero-logo-glow-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(33,150,243,0.2);
}
.ring-a { width: 380px; height: 380px; animation: spin-ring 25s linear infinite; }
.ring-b { width: 300px; height: 300px; animation: spin-ring 18s linear infinite reverse; border-color: rgba(124,58,237,0.25); }
.hero-art-logo {
  width: 280px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 40px rgba(33,150,243,0.5));
  animation: float-logo 6s ease-in-out infinite;
}
@keyframes float-logo {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes spin-ring {
  from { transform: rotate(0); } to { transform: rotate(360deg); }
}

/* Mana pips */
.hero-mana-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.mana-pip {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.mana-pip.sm { width: 30px; height: 30px; font-size: 0.75rem; }
.mana-pip:hover { transform: scale(1.2); }
.mana-w { background: rgba(249,231,159,0.12); box-shadow: 0 0 10px rgba(249,231,159,0.25); }
.mana-u { background: rgba(33,150,243,0.18); box-shadow: 0 0 10px rgba(33,150,243,0.35); }
.mana-b { background: rgba(80,0,80,0.25); box-shadow: 0 0 10px rgba(150,0,150,0.25); }
.mana-r { background: rgba(211,47,47,0.18); box-shadow: 0 0 10px rgba(211,47,47,0.3); }
.mana-g { background: rgba(46,125,50,0.18); box-shadow: 0 0 10px rgba(46,125,50,0.3); }

/* Buttons */
.btn-primary-glow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.8rem;
  box-shadow: 0 0 28px rgba(33,150,243,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-glow:hover {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  box-shadow: 0 0 50px rgba(33,150,243,0.65);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-glow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  padding: 0.8rem 1.8rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-glow:hover {
  background: rgba(33,150,243,0.12);
  color: #fff;
  border-color: var(--blue-bright);
  box-shadow: 0 0 24px rgba(33,150,243,0.3);
  transform: translateY(-2px);
}

.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(transparent, var(--bg-void));
  z-index: 3;
}

/* ── MARQUEE ─────────────────────────────── */
.marquee-strip {
  background: linear-gradient(90deg, var(--blue-dark), var(--purple-dark), var(--blue-dark));
  padding: 0.85rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: flex; gap: 2rem;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-track span { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.9); flex-shrink: 0; }
.marquee-track .sep { color: var(--accent); opacity: 0.7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION SHARED ─────────────────────── */
.section-dark { background: var(--bg-dark); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; line-height: 1.15; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ── SHOP CARDS ─────────────────────────── */
.shop-card {
  display: flex; flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  position: relative; overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}
.shop-card:hover { border-color: var(--border-glow); transform: translateY(-6px); color: #fff; }
.shop-card:hover .shop-card-glow { opacity: 1; }
.shop-card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(33,150,243,0.14), transparent);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.shop-direct .shop-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(64,196,255,0.18), transparent); }
.shop-tcg   .shop-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(33,150,243,0.18), transparent); }
.shop-ebay  .shop-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,193,7,0.14), transparent); }
.shop-mana  .shop-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.18), transparent); }
.shop-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.shop-name { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 0.4rem; }
.shop-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; flex-grow: 1; margin-bottom: 1rem; }
.shop-cta { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--accent); margin-top: auto; }

/* ── GAME CARDS ─────────────────────────── */
.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  height: 100%;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--border-glow); }
.game-card:hover .game-card-glow { opacity: 1; }
.game-card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(33,150,243,0.12), transparent);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.game-mtg  .game-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(33,150,243,0.18), transparent); }
.game-poke .game-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,193,7,0.14), transparent); }
.game-ws   .game-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(233,30,99,0.14), transparent); }
.game-digi .game-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(33,150,243,0.14), transparent); }
.game-sw   .game-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,235,59,0.1), transparent); }
.game-other.game-card-glow { background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,0.18), transparent); }
.game-icon { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.game-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.game-desc { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; margin-bottom: 1rem; }
.game-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.65rem; font-family: var(--font-display); letter-spacing: 0.08em;
  background: rgba(33,150,243,0.1); border: 1px solid rgba(33,150,243,0.25);
  color: var(--accent); padding: 0.2rem 0.6rem; border-radius: 4px;
}
.tag-link { text-decoration: none; transition: all 0.2s; cursor: pointer; }
.tag-link:hover { background: rgba(33,150,243,0.25); color: #fff; }

/* ── BUYLIST ─────────────────────────────── */
.buylist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
  height: 100%;
}
.buylist-card:hover { border-color: var(--border-glow); }
.buylist-header {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  background: rgba(33,150,243,0.1);
  border-bottom: 1px solid var(--border-dim);
}
.buylist-mtg  { background: rgba(33,150,243,0.12); }
.buylist-poke { background: rgba(255,193,7,0.1); }
.buylist-jpoke{ background: rgba(255,82,82,0.1); }
.buylist-digi { background: rgba(33,150,243,0.1); }
.buylist-ws   { background: rgba(233,30,99,0.1); }
.buylist-sw   { background: rgba(255,235,59,0.08); }
.buylist-icon { font-size: 1.2rem; }
.buylist-body { padding: 0.5rem 0; }
.bl-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.bl-row:last-child { border-bottom: none; }
.bl-row:hover { background: rgba(33,150,243,0.05); color: var(--text-primary); }
.bl-price {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  white-space: nowrap;
  margin-left: 1rem;
  flex-shrink: 0;
}

/* ── ABOUT ───────────────────────────────── */
.about-section { background: var(--bg-dark); position: relative; overflow: hidden; }
.about-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 15% 50%, rgba(33,150,243,0.07), transparent);
}
.about-logo-wrap {
  position: relative;
  width: 280px; height: 280px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.about-logo-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(33,150,243,0.2);
}
.ring-outer { width: 270px; height: 270px; animation: spin-ring 22s linear infinite; }
.ring-inner { width: 210px; height: 210px; animation: spin-ring 15s linear infinite reverse; border-color: rgba(124,58,237,0.25); }
.about-logo-img {
  width: 190px; position: relative; z-index: 2;
  filter: drop-shadow(0 0 30px rgba(33,150,243,0.45));
}
.about-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1rem; }
.about-text strong { color: var(--accent); }
.empire-quote {
  font-family: var(--font-display); font-size: 0.88rem; letter-spacing: 0.08em;
  color: var(--accent); border-left: 3px solid var(--blue);
  padding-left: 1.25rem; margin-top: 1.5rem; font-style: italic; opacity: 0.85;
}

/* ── CONTACT ─────────────────────────────── */
.contact-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; padding: 2rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 14px;
  text-decoration: none; color: var(--text-primary);
  transition: all 0.3s; text-align: center; height: 100%;
}
.contact-card:hover { border-color: var(--border-glow); color: #fff; transform: translateY(-5px); box-shadow: 0 0 28px rgba(33,150,243,0.2); }
.contact-icon { font-size: 2rem; }
.contact-label { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.08em; color: #fff; }
.contact-sub { font-size: 0.9rem; color: var(--text-muted); }

/* ── FOOTER ──────────────────────────────── */
.mmad-footer { background: var(--bg-void); border-top: 1px solid var(--border-dim); position: relative; }
.footer-glow-line {
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  opacity: 0.55;
}
.footer-logo { height: 70px; width: auto; filter: drop-shadow(0 0 12px rgba(33,150,243,0.4)); }
.footer-tagline { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.25em; color: var(--accent); }
.footer-copy { color: var(--text-muted); font-size: 0.88rem; }
.footer-heading { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.85rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.93rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-mana { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding: 1.2rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-muted);
  font-family: var(--font-display); letter-spacing: 0.05em;
}

/* ── SCROLL ANIMATIONS ───────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .hero-logo { max-width: 300px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
