/* ===== PetCaux - Style Principal ===== */

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

/* --- Variables CSS --- */
:root {
  --bg: #0e0e0e;
  --bg-secondary: #141414;
  --card: #1a1a1a;
  --card-hover: #222222;
  --card-border: #2a2a2a;
  --text: #f0f0f0;
  --text-muted: #999999;
  --text-dim: #666666;

  --gold: #FFD700;
  --orange: #FF6B35;
  --cyan: #22D3EE;
  --red: #E53935;
  --purple: #8B5CF6;
  --green: #22C55E;
  --blue: #3B82F6;
  --pink: #EC4899;

  --accent: #FFD700;
  --accent-hover: #ffdf33;

  --rarity-common: #9CA3AF;
  --rarity-rare: #3B82F6;
  --rarity-epic: #8B5CF6;
  --rarity-legendary: #FFD700;
  --rarity-mythic: #E53935;

  --nav-height: 70px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  transition: background var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 215, 0, 0.08);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.04) 0%, transparent 40%);
  animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, -2%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-emoji {
  font-size: 4rem;
  margin-bottom: 24px;
  display: block;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.4);
  color: #000;
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: var(--card-hover);
  border-color: var(--gold);
  color: var(--text);
  transform: translateY(-2px);
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Feature Cards Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.2);
  box-shadow: var(--shadow);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.feature-card .feature-link:hover {
  gap: 10px;
}

/* --- Steps / How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--purple), var(--cyan));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #000;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .page-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 16px;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Sections (inner pages) --- */
.content-section {
  padding: 80px 0;
}

.content-section:nth-child(even) {
  background: var(--bg-secondary);
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.content-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--gold);
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.content-block ul, .content-block ol {
  margin-bottom: 20px;
  padding-left: 0;
}

.content-block li {
  color: var(--text-muted);
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 1.02rem;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.content-block ol {
  counter-reset: step;
}

.content-block ol li {
  counter-increment: step;
}

.content-block ol li::before {
  content: counter(step) '.';
  position: absolute;
  left: 4px;
  font-weight: 700;
  color: var(--gold);
}

/* --- Info Cards --- */
.info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.info-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Info Grid --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.info-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* --- Badge Rarity Cards --- */
.rarity-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.rarity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.rarity-common { border-color: var(--rarity-common); }
.rarity-rare { border-color: var(--rarity-rare); }
.rarity-epic { border-color: var(--rarity-epic); }
.rarity-legendary { border-color: var(--rarity-legendary); }
.rarity-mythic { border-color: var(--rarity-mythic); }

.rarity-card .rarity-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.rarity-common .rarity-dot { background: var(--rarity-common); box-shadow: 0 0 12px var(--rarity-common); }
.rarity-rare .rarity-dot { background: var(--rarity-rare); box-shadow: 0 0 12px var(--rarity-rare); }
.rarity-epic .rarity-dot { background: var(--rarity-epic); box-shadow: 0 0 12px var(--rarity-epic); }
.rarity-legendary .rarity-dot { background: var(--rarity-legendary); box-shadow: 0 0 12px var(--rarity-legendary); }
.rarity-mythic .rarity-dot { background: var(--rarity-mythic); box-shadow: 0 0 12px var(--rarity-mythic); }

.rarity-card h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.rarity-common h4 { color: var(--rarity-common); }
.rarity-rare h4 { color: var(--rarity-rare); }
.rarity-epic h4 { color: var(--rarity-epic); }
.rarity-legendary h4 { color: var(--rarity-legendary); }
.rarity-mythic h4 { color: var(--rarity-mythic); }

.rarity-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Highlight Box --- */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 107, 53, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.highlight-box h4 {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-box p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  margin: 32px 0;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--orange), var(--purple));
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
}

.timeline-item h4 {
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Probability Table --- */
.prob-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.prob-table th,
.prob-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.prob-table th {
  background: rgba(255, 215, 0, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
}

.prob-table td {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prob-table tr:last-child td {
  border-bottom: none;
}

.prob-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* --- XP Source Cards --- */
.xp-source {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  transition: all var(--transition);
}

.xp-source:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.xp-source .xp-emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

.xp-source .xp-info {
  flex: 1;
}

.xp-source .xp-info h4 {
  font-weight: 700;
  margin-bottom: 2px;
}

.xp-source .xp-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.xp-source .xp-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  background: rgba(255, 215, 0, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
}

/* --- Discord Section Styles --- */
.discord-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  transition: all var(--transition);
}

.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.3);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.1);
}

.discord-card h4 {
  font-weight: 700;
  margin-bottom: 8px;
  color: #5865F2;
}

.discord-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.command-preview {
  background: #2b2d31;
  border: 1px solid #3f4147;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 8px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
}

.command-preview .cmd {
  color: #5865F2;
  font-weight: 600;
}

.command-preview .desc {
  color: #b5bac1;
  margin-left: 12px;
}

/* --- Potion Cards --- */
.potion-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.potion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.potion-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.potion-card h4 {
  font-weight: 700;
  margin-bottom: 6px;
}

.potion-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Tag/Badge --- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-soon {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
}

.tag-live {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-brand h3 span {
  color: var(--gold);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-dim);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* --- Wheel Animation --- */
.wheel-visual {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    var(--text-dim) 0deg 126deg,
    var(--gold) 126deg 216deg,
    var(--orange) 216deg 280.8deg,
    var(--cyan) 280.8deg 316.8deg,
    var(--purple) 316.8deg 342deg,
    var(--green) 342deg 360deg
  );
  margin: 24px auto;
  position: relative;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
  animation: wheelSpin 20s linear infinite;
}

.wheel-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 50%;
  border: 3px solid var(--gold);
}

@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 12px 24px;
  }

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

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

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .info-grid,
  .info-grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .prob-table th,
  .prob-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .xp-source {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

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