/* =========================================================
   Tips & Tricks Hub — Neon Casino Sandbox Stylesheet
   ========================================================= */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0B0C10;                /* Deep, premium midnight-casino black */
  --card-bg: #1A1D24;           /* Sleek dark slate card containers */
  --text: #F4F4F6;              /* Crisp off-white readability text */
  --text-muted: #94A3B8;        /* Soft gray muted text for details */
  --border: #2C3E50;            /* Minimal deep borders */
  
  /* High-Energy Neon Accent Matrices */
  --accent: #FF007A;            /* Hot Neon Pink primary branding */
  --accent-glow: #00F0FF;       /* Electric Cyan secondary tracking highlights */
  --accent-race: #FFB800;       /* Hot Gold selection medals */
}

html { scroll-behavior: smooth; }

/* Base Body Framework Overhaul */
body {
  background-color: var(--bg) !important;
  color: var(--text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: -0.01em;
}

/* Interactive Utility Links */
a {
  color: var(--accent-glow) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(255, 0, 122, 0.3);
}

/* ---------- Navigation ---------- */
.navbar {
  background: rgba(11, 12, 16, 0.95) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo span {
  color: var(--accent) !important;
  text-shadow: 0 0 10px rgba(255, 0, 122, 0.4);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted) !important;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text) !important; }

/* ---------- Hero ---------- */
.hero {
  padding: 7rem 1.5rem 5rem 1.5rem !important;
  text-align: center;
  background: radial-gradient(circle at 50% -20%, rgba(255, 0, 122, 0.15) 0%, rgba(0, 240, 255, 0.03) 50%, transparent 80%), var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
}

.hero-content { max-width: 680px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.day-badge {
  background: rgba(0, 240, 255, 0.12) !important;
  color: var(--accent-glow) !important;
  border: 1px solid rgba(0, 240, 255, 0.25) !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 1.5rem; }
.section-alt { background: #12141C !important; }
.section-container { max-width: 1100px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.section-icon { font-size: 2.4rem; flex-shrink: 0; }

.section-header h2 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: #FFFFFF !important;
}

/* ---------- Tips Grid Layout Overhaul ---------- */
.section-container {
  display: flex;
  flex-direction: column;
}

/* Force elements following headers to render as responsive grids */
.section-header + div, .section-header + .tips-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
}

/* Premium Dark Card Adjustments */
.tip-card, .card, article {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 1.75rem !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
  border-radius: 14px !important;
  transition: all 0.25s ease-in-out !important;
  width: 100% !important;
  margin-bottom: 0 !important; /* Managed by grid gap now */
}

.tip-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 0 18px rgba(255, 0, 122, 0.3) !important;
  transform: translateY(-3px) !important;
}

.tip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  width: 100%;
}

/* =====================================================================
   💦 CHEEKY BASHLESS INJECTION BRIDGE (Translates Text via CSS Rules)
   ===================================================================== */
.tip-tag {
  font-size: 0px !important; /* Invisibly shrinks incoming "Mikes Tip" text to nothing */
  color: transparent !important;
  background: rgba(255, 0, 122, 0.15) !important;
  border: 1px solid rgba(255, 0, 122, 0.35) !important;
  box-shadow: 0 0 8px rgba(255, 0, 122, 0.15);
  padding: 0.25rem 0.6rem !important;
  border-radius: 4px;
  display: inline-block;
}

.tip-tag::before {
  content: "💦 The MONEYSHOT Tips" !important; /* Injects the edgy theme natively */
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  color: var(--accent) !important;
}
/* ===================================================================== */

.tip-date { color: var(--text-muted); font-size: 0.78rem; }
.tip-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.65rem; color: #FFFFFF !important; }
.tip-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.65; }

/* ---------- Footer ---------- */
.footer { background: var(--bg) !important; border-top: 1px solid var(--border); padding: 3rem 1.5rem; text-align: center; }
.footer p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.footer a { color: var(--accent) !important; text-decoration: underline; }
