/* ========================================
   ポーカーエクスプロイト戦略ガイド - メインCSS
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0d1a0d;
  --bg-secondary: #111f11;
  --bg-card: #162416;
  --bg-card-hover: #1c2e1c;
  --bg-nav: #0a140a;
  --border: #2a3d2a;
  --border-light: #3a4f3a;

  --green-dark: #1b4332;
  --green-mid: #2d6a4f;
  --green-light: #40916c;
  --green-bright: #52b788;
  --green-accent: #74c69d;
  --green-glow: rgba(74, 198, 157, 0.15);

  --red: #ef5350;
  --red-dark: #b71c1c;
  --orange: #ff9800;
  --yellow: #ffc107;
  --blue: #42a5f5;

  --text-primary: #e8f5e9;
  --text-secondary: #a5d6a7;
  --text-muted: #6a8f6a;
  --text-white: #ffffff;

  --font-main: 'Inter', 'Noto Sans JP', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(74,198,157,0.2);

  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--green-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-white); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-white);
}

p { color: var(--text-secondary); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5em; color: var(--text-secondary); }
li { margin-bottom: 0.4em; }

strong { color: var(--text-white); font-weight: 600; }

code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-family: monospace;
  font-size: 0.9em;
  color: var(--green-accent);
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide { max-width: 1400px; }
.container--narrow { max-width: 800px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-white);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__logo-icon {
  font-size: 1.4rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.nav__links a {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-white);
  background: var(--bg-card);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  font-size: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--green-dark) 50%, var(--bg-primary) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(52,183,120,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52,183,120,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--green-glow);
  border: 1px solid var(--green-light);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--green-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero__cards {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.playing-card {
  width: 52px;
  height: 72px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transform: rotate(-2deg);
  transition: transform 0.2s;
}

.playing-card:nth-child(2) { transform: rotate(1deg); }
.playing-card:nth-child(3) { transform: rotate(-1deg); }
.playing-card:nth-child(4) { transform: rotate(2deg); }

.playing-card:hover { transform: translateY(-8px) rotate(0deg); }

.playing-card--red { color: #e53935; }
.playing-card--black { color: #1a1a1a; }

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.filter-bar__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--green-light);
  color: var(--text-white);
}

.filter-btn.active {
  background: var(--green-mid);
  border-color: var(--green-light);
  color: var(--text-white);
  box-shadow: 0 0 12px rgba(45,106,79,0.5);
}

/* ---------- Section ---------- */
.section {
  padding: 60px 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__header {
  margin-bottom: 40px;
}

.section__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.section__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.section__divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-bright), transparent);
  border-radius: 2px;
  margin-top: 12px;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cards-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-mid), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card:hover::before { opacity: 1; }

.card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-white);
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tag--red { background: rgba(239,83,80,0.15); color: var(--red); border: 1px solid rgba(239,83,80,0.3); }
.tag--green { background: rgba(82,183,136,0.15); color: var(--green-accent); border: 1px solid rgba(82,183,136,0.3); }
.tag--orange { background: rgba(255,152,0,0.15); color: var(--orange); border: 1px solid rgba(255,152,0,0.3); }
.tag--blue { background: rgba(66,165,245,0.15); color: var(--blue); border: 1px solid rgba(66,165,245,0.3); }
.tag--gray { background: rgba(160,160,160,0.1); color: #90a4ae; border: 1px solid rgba(160,160,160,0.2); }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-accent);
}

.card__link:hover { color: var(--text-white); }
.card__link::after { content: '→'; transition: transform var(--transition); }
.card__link:hover::after { transform: translateX(4px); }

/* ---------- Player Type Cards ---------- */
.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.player-card:hover {
  border-color: var(--green-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.player-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.player-card__emoji {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.player-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2px;
}

.player-card__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.player-card__stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-badge {
  padding: 3px 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: monospace;
  color: var(--green-accent);
}

.player-card__exploit {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ---------- Page Header ---------- */
.page-header {
  padding: 48px 0 36px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-header__breadcrumb a { color: var(--text-muted); }
.page-header__breadcrumb a:hover { color: var(--green-accent); }
.page-header__breadcrumb span { color: var(--border-light); }

.page-header__type {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.page-header__type--player { background: rgba(66,165,245,0.15); color: var(--blue); border: 1px solid rgba(66,165,245,0.3); }
.page-header__type--situation { background: rgba(255,152,0,0.15); color: var(--orange); border: 1px solid rgba(255,152,0,0.3); }

.page-header__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
}

.page-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ---------- HUD Stats ---------- */
.hud-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.hud-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  min-width: 100px;
}

.hud-stat__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.hud-stat__value {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--green-accent);
}

.hud-stat__range {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---------- Content Sections ---------- */
.content-block {
  margin-bottom: 40px;
}

.content-block__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-block__title .icon {
  font-size: 1.2rem;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}

.info-box--red { border-left-color: var(--red); }
.info-box--orange { border-left-color: var(--orange); }
.info-box--blue { border-left-color: var(--blue); }

.info-box__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.info-box--red .info-box__title { color: var(--red); }
.info-box--orange .info-box__title { color: var(--orange); }
.info-box--blue .info-box__title { color: var(--blue); }

/* ---------- Strategy Grid ---------- */
.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.strategy-col__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.strategy-col__title--do {
  background: rgba(82,183,136,0.15);
  color: var(--green-accent);
}

.strategy-col__title--dont {
  background: rgba(239,83,80,0.15);
  color: var(--red);
}

.strategy-col ul {
  list-style: none;
  padding: 0;
}

.strategy-col ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.strategy-col ul li:last-child { border-bottom: none; }

.strategy-col ul li::before {
  content: '✓';
  color: var(--green-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.strategy-col--dont ul li::before {
  content: '✗';
  color: var(--red);
}

/* ---------- Game Type Toggle ---------- */
.game-toggle {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  width: fit-content;
  margin: 24px 0;
}

.game-toggle__btn {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.game-toggle__btn.active {
  background: var(--green-mid);
  color: var(--text-white);
}

.game-content { display: none; }
.game-content.active { display: block; }

/* ---------- Tabs ---------- */
.tabs {
  margin: 32px 0;
}

.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs__nav::-webkit-scrollbar { display: none; }

.tabs__tab {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  margin-bottom: -1px;
}

.tabs__tab:hover { color: var(--text-secondary); }

.tabs__tab.active {
  color: var(--green-accent);
  border-bottom-color: var(--green-accent);
}

.tabs__panel { display: none; padding: 24px 0; }
.tabs__panel.active { display: block; }

/* ---------- Stakes Notes ---------- */
.stakes-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
}

.stakes-section__header {
  background: var(--bg-secondary);
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.stakes-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

.stakes-item:last-child { border-bottom: none; }

.stakes-label {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-align: center;
  white-space: nowrap;
}

.stakes-label--micro { background: rgba(82,183,136,0.15); color: var(--green-accent); }
.stakes-label--low { background: rgba(255,193,7,0.15); color: var(--yellow); }
.stakes-label--mid { background: rgba(239,83,80,0.15); color: var(--red); }

.stakes-content { font-size: 0.9rem; color: var(--text-secondary); }

/* ---------- Table ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 16px 0;
}

thead th {
  background: var(--bg-secondary);
  padding: 10px 14px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-card-hover); }

td {
  padding: 12px 14px;
  color: var(--text-secondary);
  vertical-align: top;
}

td:first-child { color: var(--text-white); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--green-mid);
  color: var(--text-white);
  border: 1px solid var(--green-light);
}

.btn--primary:hover {
  background: var(--green-light);
  color: var(--text-white);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: transparent;
  color: var(--green-accent);
  border: 1px solid var(--green-light);
}

.btn--outline:hover {
  background: var(--green-glow);
  color: var(--text-white);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__links a:hover { color: var(--green-accent); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  opacity: 0.7;
  max-width: 600px;
}

/* ---------- Sidebar Layout ---------- */
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-widget__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav a {
  display: block;
  padding: 7px 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.sidebar-nav a:hover {
  background: var(--bg-secondary);
  color: var(--text-white);
}

.sidebar-nav a.active {
  background: var(--green-glow);
  color: var(--green-accent);
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green-accent); }
.text-red { color: var(--red); }
.text-orange { color: var(--orange); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .layout-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    z-index: 99;
  }
  .nav__toggle { display: block; }
  .nav__inner { position: relative; }

  .hero { padding: 48px 0 40px; }

  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hud-stats { gap: 8px; }
  .hud-stat { min-width: 80px; padding: 12px 14px; }

  .stakes-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .cards-grid { grid-template-columns: 1fr; }
}
