/* ================================================================
   MMTCG COLLECTABLES — MAIN STYLESHEET
   Built by Mark & Michael
   ================================================================

   HOW THIS FILE IS ORGANISED:
   1.  CSS Variables  (change colours / fonts here globally)
   2.  Base & Reset
   3.  Navbar
   4.  Hero Section
   5.  Section Shared Styles
   6.  Cards (category, product, blog)
   7.  Buttons
   8.  Forms & Contact
   9.  Social Section
   10. Footer
   11. Animations & Scroll Reveal
   12. Utility Classes
   13. Responsive / Mobile

   ================================================================ */


/* ================================================================
   1. CSS VARIABLES — YOUR GLOBAL COLOUR & FONT CONTROLS
   ================================================================
   Want to change the whole website's colour scheme?
   Just edit the values below — they apply EVERYWHERE automatically!

   Example: change --red to #ff6600 to make the accent orange instead.
   ================================================================ */

:root {

  /* ── MAIN COLOURS ── */
  --black:      #080808;   /* Main background — very dark, nearly black          */
  --dark:       #111111;   /* Slightly lighter background for alternate sections  */
  --card-bg:    #181818;   /* Background colour for cards / panels                */
  --border:     #2a2a2a;   /* Subtle border colour used on cards                  */

  /* ── BRAND COLOURS (match the logo!) ── */
  --red:        #cc1a1a;   /* Accent red — change this to tweak the main accent   */
  --red-glow:   rgba(204, 26, 26, 0.45);   /* Red with transparency, used for glows */
  --gold:       #f5a800;   /* Gold / amber — used on "TCG" text and highlights    */
  --gold-glow:  rgba(245, 168, 0, 0.35);   /* Gold with transparency, for glows     */
  --silver:     #c8d0d8;   /* Silver — used on "MM" text and secondary text       */

  /* ── TEXT COLOURS ── */
  --white:      #ffffff;   /* Pure white — main body text                         */
  --text-muted: #888888;   /* Grey — used for dates, sub-labels, secondary info   */
  --text-dim:   #555555;   /* Dimmer grey — footer text, minor details            */

  /* ── FONTS ──
     To change fonts, update the Google Fonts import in each HTML file
     then change the font-family values below.
     Current fonts:
       - Bebas Neue   = big bold headings
       - Orbitron     = logo / techy labels
       - Rajdhani     = body text / navigation
  ── */
  --font-heading: 'Bebas Neue', sans-serif;
  --font-brand:   'Orbitron', sans-serif;
  --font-body:    'Rajdhani', sans-serif;

  /* ── SPACING & SIZING ── */
  --navbar-height: 70px;   /* Height of the fixed top navigation bar              */
  --border-radius: 8px;    /* How rounded card corners are — increase for rounder */
  --section-pad:   90px;   /* Top & bottom padding on each section                */
}


/* ================================================================
   2. BASE & RESET
   ================================================================
   These are the foundational styles applied to the whole page.
   ================================================================ */

/* Remove default spacing and make sizing consistent */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth scrolling when clicking nav links */
html {
  scroll-behavior: smooth;
}

/* Main body setup */
body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;      /* Prevent horizontal scrollbars from animation elements */
  padding-top: var(--navbar-height);  /* Stop content hiding behind fixed navbar */
}

/* Subtle film-grain / noise overlay for depth and texture
   This is what gives it that premium, non-flat look.
   To remove it: delete this whole ::before block */
body::before {
  content: '';
  position: fixed;
  inset: 0;                /* Shorthand for top:0; right:0; bottom:0; left:0 */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;   /* Clicks pass through this layer — it's just visual */
  z-index: 9999;
  opacity: 0.35;
}

/* All images are responsive by default */
img {
  max-width: 100%;
  height: auto;
}

/* Remove underline from all links — we style them ourselves */
a {
  text-decoration: none;
  color: inherit;
}


/* ================================================================
   3. NAVBAR
   ================================================================
   Fixed at the top of the page so it's always visible.
   Uses Bootstrap's .navbar as a base, with our custom styles on top.
   ================================================================ */

.mmtcg-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;                        /* Always on top of everything */
  height: var(--navbar-height);
  background: rgba(8, 8, 8, 0.95);     /* Semi-transparent dark background */
  backdrop-filter: blur(16px);          /* Frosted glass blur behind navbar */
  border-bottom: 2px solid var(--red);  /* Red line under navbar — change --red to change this */
  box-shadow: 0 2px 30px var(--red-glow); /* Subtle red glow under the bar */
  display: flex;
  align-items: center;
}

/* The brand / logo text in the navbar */
.mmtcg-brand {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  letter-spacing: 2px;
  white-space: nowrap;
}
/* Silver "MM" part of the logo */
.mmtcg-brand .mm   { color: var(--silver); }
/* Gold "TCG" part of the logo */
.mmtcg-brand .tcg  { color: var(--gold); }
/* Smaller "Collectables" text */
.mmtcg-brand .rest { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; }

/* Individual nav links */
.mmtcg-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver) !important;      /* !important overrides Bootstrap's default */
  padding: 6px 14px !important;
  position: relative;
  transition: color 0.2s;
}

/* Animated underline that slides in on hover */
.mmtcg-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);              /* Gold underline — change --gold to change this */
  transform: scaleX(0);                 /* Hidden by default (scaled to zero width) */
  transition: transform 0.2s ease;
}
.mmtcg-nav .nav-link:hover { color: var(--gold) !important; }
.mmtcg-nav .nav-link:hover::after,
.mmtcg-nav .nav-link.active::after { transform: scaleX(1); } /* Slides in on hover */

/* Active page link styling */
.mmtcg-nav .nav-link.active { color: var(--gold) !important; }

/* Social icon buttons in the navbar */
.nav-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  margin-left: 8px;
}
.nav-social-btn:hover {
  background: var(--red);
  border-color: var(--gold);
  transform: scale(1.1);
  color: var(--white);
}

/* Bootstrap hamburger menu — tint it red on mobile */
.navbar-toggler {
  border-color: var(--red) !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28204, 26, 26, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}


/* ================================================================
   4. HERO SECTION
   ================================================================
   The big full-screen section at the top of the homepage.
   ================================================================ */

.hero {
  min-height: calc(100vh - var(--navbar-height));  /* Full screen minus navbar */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* Layered gradient background for the hero — creates that energy burst feel */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* Centre red glow */
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(204,26,26,0.20) 0%, transparent 70%),
    /* Bottom gold glow */
    radial-gradient(ellipse 40% 35% at 50% 85%, rgba(245,168,0,0.10) 0%, transparent 60%),
    /* Side gold accents */
    radial-gradient(ellipse 25% 60% at 5%  50%, rgba(245,168,0,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 25% 60% at 95% 50%, rgba(245,168,0,0.05) 0%, transparent 70%),
    var(--black);
}

/* Eyebrow text above the main title */
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  animation: fadeUp 0.7s ease both;
}

/* The giant hero title */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 9rem); /* clamp(min, preferred, max) — scales with screen */
  line-height: 0.88;
  letter-spacing: 2px;
  position: relative;
  animation: fadeUp 0.85s 0.1s ease both;
}
/* Silver "MM" part */
.hero-title .mm  { color: var(--silver); text-shadow: 0 0 60px rgba(200,208,216,0.35); }
/* Gold "TCG" part */
.hero-title .tcg { color: var(--gold);   text-shadow: 0 0 60px var(--gold-glow); }

/* Subtitle line below main title */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 24px;
  position: relative;
  animation: fadeUp 0.9s 0.2s ease both;
}

/* Small byline under subtitle */
.hero-byline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 10px;
  position: relative;
  animation: fadeUp 1s 0.3s ease both;
}

/* Container for the hero action buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
  position: relative;
  animation: fadeUp 1s 0.4s ease both;
}

/* Scrolling ticker/marquee bar below the hero */
.ticker-wrap {
  position: relative;
  width: 100%;
  background: var(--red);
  padding: 10px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}
/* To change the ticker speed: adjust the 25s value above.
   Smaller number = faster. Larger = slower. */
.ticker span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 40px;
  color: var(--white);
}
.ticker span::after {
  content: ' ⚡ ';
  color: var(--gold);   /* The separator between ticker items */
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Animated spark particles floating upward in the hero */
.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  animation: floatUp 4s ease-in-out infinite;
  opacity: 0;
  pointer-events: none;
}
/* To change spark colour: change background above */
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0)    scale(0.5); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-140px) scale(1.5); }
}


/* ================================================================
   5. SECTION SHARED STYLES
   ================================================================
   These apply to ALL content sections across the site.
   ================================================================ */

/* Every section gets consistent top/bottom padding */
.mmtcg-section {
  padding: var(--section-pad) 0;
}
/* Alternate sections have a slightly lighter background */
.mmtcg-section--alt {
  background: var(--dark);
}

/* Red decorative label above section titles ("What We Sell", "Latest", etc.) */
.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  display: block;
}

/* Big section heading */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 14px;
}
/* Gold highlighted word inside a section title */
.section-title span { color: var(--gold); }

/* Descriptive text under a section title */
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* Full-width coloured divider line between sections
   Changes colour left-to-right: transparent → red → gold → red → transparent */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), var(--red), transparent);
  border: none;
  margin: 0;
}

/* Page hero / banner used on inner pages (shop, about etc.) */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(204,26,26,0.15) 0%, transparent 70%),
    var(--black);
  border-bottom: 2px solid var(--red);
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
}
.page-hero-title span { color: var(--gold); }
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 2px;
}


/* ================================================================
   6. CARDS
   ================================================================
   Three types: Category cards, Product cards, Blog cards.
   ================================================================ */

/* ── CATEGORY CARDS (on homepage and shop page) ── */
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 44px 32px;
  text-align: center;
  height: 100%;                       /* Fill Bootstrap column height */
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
/* Diagonal red shine overlay on hover */
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,26,26,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.cat-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 16px 48px rgba(204,26,26,0.22);
}
.cat-card:hover::before { opacity: 1; }

.cat-icon   { font-size: 3.2rem; display: block; margin-bottom: 18px; }
.cat-name   { font-family: var(--font-heading); font-size: 2rem; color: var(--white); margin-bottom: 10px; }
.cat-sub    { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.cat-badge  {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* Colour variants for the badge — add more as needed */
.badge-hot  { background: rgba(204,26,26,0.18); color: var(--red);    border: 1px solid var(--red); }
.badge-gold { background: rgba(245,168,0,0.14); color: var(--gold);   border: 1px solid var(--gold); }
.badge-rare { background: rgba(130,80,220,0.15); color: #b090f0;       border: 1px solid #9070d0; }
.badge-new  { background: rgba(50,180,120,0.15); color: #60d0a0;       border: 1px solid #40c090; }

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px var(--gold-glow);
}

/* The coloured image placeholder area (replace with <img> tags for real photos) */
.product-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;         /* Card-like portrait ratio */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}
/* To add a real image: replace the emoji inside .product-thumb with:
   <img src="images/your-card.jpg" alt="Card name" style="width:100%;height:100%;object-fit:cover;">
*/

/* Background gradients per category — change colours here per type */
.thumb-poke  { background: linear-gradient(145deg, #1e0606, #3d0e0e); }
.thumb-sport { background: linear-gradient(145deg, #061206, #0e2a0e); }
.thumb-op    { background: linear-gradient(145deg, #06060e, #0e0e2a); }
.thumb-yugi  { background: linear-gradient(145deg, #1a1604, #2e2606); }
.thumb-magic { background: linear-gradient(145deg, #040a18, #081832); }
.thumb-misc  { background: linear-gradient(145deg, #141414, #202020); }

/* Sold out ribbon overlay */
.product-thumb .sold-out {
  position: absolute;
  top: 16px; right: -28px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 36px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.product-info       { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-name       { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.product-type       { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.product-footer     { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price      { font-family: var(--font-brand); font-size: 1rem; color: var(--gold); }

/* ── BLOG / NEWS CARDS ── */
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.25s;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}

.blog-thumb {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  /* To add real images: same method as .product-thumb above */
}
.blog-thumb.bt1 { background: linear-gradient(135deg, #1a0505, #3a0c0c); }
.blog-thumb.bt2 { background: linear-gradient(135deg, #050518, #0c0c38); }
.blog-thumb.bt3 { background: linear-gradient(135deg, #071207, #0d2a0d); }
.blog-thumb.bt4 { background: linear-gradient(135deg, #18180a, #2e2e10); }

.blog-body    { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag     {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
/* Tag colour variants — add more as needed */
.tag-news   { background: rgba(204,26,26,0.18); color: var(--red);  border: 1px solid var(--red); }
.tag-guide  { background: rgba(245,168,0,0.14); color: var(--gold); border: 1px solid var(--gold); }
.tag-review { background: rgba(60,200,120,0.14); color: #60d090;    border: 1px solid #40c080; }
.tag-video  { background: rgba(60,120,220,0.14); color: #70a0f0;    border: 1px solid #5080d0; }

.blog-title   { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; line-height: 1.35; }
.blog-excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.blog-meta    { display: flex; gap: 14px; font-size: 0.8rem; color: var(--text-dim); margin-top: auto; }


/* ================================================================
   7. BUTTONS
   ================================================================
   Two main button styles used throughout the site.
   ================================================================ */

/* Base button — applies to both styles */
.btn-mmtcg {
  display: inline-block;
  padding: 13px 34px;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn-mmtcg:hover { transform: translateY(-3px); }

/* Primary = solid red button */
.btn-primary-mmtcg {
  background: var(--red);
  color: var(--white) !important;
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-primary-mmtcg:hover {
  background: #e01e1e;                /* Slightly brighter red on hover */
  box-shadow: 0 0 40px var(--red-glow);
  color: var(--white) !important;
}

/* Secondary = outlined gold button */
.btn-secondary-mmtcg {
  background: transparent;
  color: var(--gold) !important;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(245,168,0,0.15);
}
.btn-secondary-mmtcg:hover {
  background: rgba(245,168,0,0.1);
  box-shadow: 0 0 30px var(--gold-glow);
  color: var(--gold) !important;
}

/* Small variant — for "View All →" type links */
.btn-mmtcg-sm {
  padding: 8px 20px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
}

/* Product "Enquire" button — used on each product card */
.btn-enquire {
  padding: 7px 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}
.btn-enquire:hover {
  background: #e01e1e;
  transform: scale(1.04);
  color: var(--white);
}


/* ================================================================
   8. FORMS & CONTACT
   ================================================================ */

/* Label above each input */
.form-label-mmtcg {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

/* Text inputs, email, select, textarea */
.form-control-mmtcg {
  width: 100%;
  background: #0e0e0e;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;    /* Removes default browser styling on selects */
}
.form-control-mmtcg:focus {
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(204,26,26,0.2);
}
.form-control-mmtcg::placeholder {
  color: #444;
}
/* Style for <select> dropdown arrow */
select.form-control-mmtcg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f5a800' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
select.form-control-mmtcg option {
  background: #111;
  color: var(--white);
}
textarea.form-control-mmtcg {
  resize: vertical;
  min-height: 130px;
}

/* Success / error messages on the contact form */
.form-feedback {
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  display: none;
}
.form-feedback.success {
  background: rgba(60,200,120,0.1);
  border: 1px solid #40c080;
  color: #60d090;
}
.form-feedback.error {
  background: rgba(204,26,26,0.1);
  border: 1px solid var(--red);
  color: var(--red);
}


/* ================================================================
   9. SOCIAL SECTION
   ================================================================ */

/* The big Instagram / YouTube cards */
.social-card {
  display: block;
  border-radius: 12px;
  padding: 56px 40px;
  text-align: center;
  text-decoration: none !important;
  color: var(--white) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.social-card:hover { transform: translateY(-6px); }
.social-card:hover::before { opacity: 1; }

/* Instagram gradient — Instagram brand colours */
.social-card.insta {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  box-shadow: 0 0 40px rgba(253,29,29,0.25);
}
.social-card.insta:hover { box-shadow: 0 0 60px rgba(253,29,29,0.45); }

/* YouTube gradient — YouTube brand red */
.social-card.yt {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 60%, #880000 100%);
  box-shadow: 0 0 40px rgba(255,0,0,0.25);
}
.social-card.yt:hover { box-shadow: 0 0 60px rgba(255,0,0,0.45); }

.social-icon     { font-size: 4rem; display: block; margin-bottom: 18px; }
.social-platform { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 6px; }
.social-handle   { font-size: 1rem; opacity: 0.88; font-weight: 600; margin-bottom: 24px; display: block; }

/* White pill button inside social card */
.social-cta {
  display: inline-block;
  padding: 10px 30px;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
  color: var(--white) !important;
}
.social-cta:hover { background: rgba(255,255,255,0.35); }

/* Stats row inside social card */
.social-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}
.social-stat-num { font-family: var(--font-brand); font-size: 1.4rem; display: block; }
.social-stat-lbl { font-size: 0.75rem; opacity: 0.75; letter-spacing: 1px; text-transform: uppercase; }


/* ================================================================
   10. FOOTER
   ================================================================ */

.site-footer {
  background: #050505;
  border-top: 2px solid var(--red);
  padding: 60px 0 30px;
}

.footer-logo {
  font-family: var(--font-brand);
  font-size: 1.7rem;
  margin-bottom: 10px;
  display: block;
}
.footer-logo .mm  { color: var(--silver); }
.footer-logo .tcg { color: var(--gold); }

.footer-tagline { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px; }

/* Navigation links in the footer */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* Footer column headings */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--silver);
  margin-bottom: 18px;
  letter-spacing: 1px;
}

/* Horizontal rule inside footer */
.footer-divider {
  border-color: #1e1e1e;
  margin: 36px 0 24px;
}

/* Bottom bar with copyright */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  color: #333;
  font-size: 0.82rem;
}
.footer-copy span { color: var(--red); }

/* Footer social icon links */
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid #2a2a2a;
  color: var(--text-dim);
  font-size: 1.1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}


/* ================================================================
   11. ANIMATIONS & SCROLL REVEAL
   ================================================================
   Elements with class "reveal" start invisible and animate in
   when the user scrolls to them.
   ================================================================ */

/* Starting state — invisible and shifted down */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
/* Final state — visible, in place (added by JavaScript) */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes — stagger cards in a row
   Add class="reveal delay-1" to the second card, delay-2 to the third, etc. */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Fade up animation used on hero text */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pulse glow — used on logo and special elements */
@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 20px var(--gold-glow); }
  50%       { text-shadow: 0 0 50px var(--gold-glow), 0 0 80px rgba(245,168,0,0.2); }
}
.pulse-gold { animation: pulseGlow 3s ease-in-out infinite; }


/* ================================================================
   12. UTILITY CLASSES
   ================================================================
   Handy helpers you can add to any element.
   ================================================================ */

/* Text colour helpers */
.text-gold   { color: var(--gold) !important; }
.text-red    { color: var(--red) !important; }
.text-silver { color: var(--silver) !important; }
.text-muted-mm { color: var(--text-muted) !important; }

/* Background helpers */
.bg-mmtcg-dark { background: var(--dark) !important; }
.bg-mmtcg-card { background: var(--card-bg) !important; }

/* Gold horizontal rule */
.hr-gold {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px auto;
  max-width: 200px;
}

/* Red horizontal rule */
.hr-red {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin: 32px auto;
  max-width: 200px;
}

/* Star / rating display */
.stars { color: var(--gold); letter-spacing: 2px; }

/* "Coming Soon" or "New" pill */
.pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ================================================================
   13. RESPONSIVE / MOBILE
   ================================================================
   These styles kick in on smaller screens.
   Bootstrap handles most of the layout — this handles
   our custom components.
   ================================================================ */

/* Tablet and below */
@media (max-width: 991px) {
  :root {
    --section-pad: 70px;
  }

  /* Show the hamburger menu on mobile */
  .mmtcg-nav .nav-link::after { display: none; } /* No underline animation on mobile */
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-pad: 56px;
  }

  .hero-title { letter-spacing: 0; }
  .social-card { padding: 44px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cat-card { padding: 32px 24px; }

  /* Stack hero buttons vertically on small screens */
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-mmtcg { width: 100%; max-width: 280px; }
}
