/*
Theme Name: GigaGro
Theme URI: https://gigagro.gg
Author: GigaGro Team
Description: Modern dark gaming community theme for GigaGro — Dota 2, CS2, Minecraft
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: gigagro
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --bg:        #0A0A0E;
  --bg2:       #111118;
  --bg3:       #18181F;
  --surface:   #1E1E28;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);

  --purple:    #7C5CFA;
  --purple2:   #9B80FF;
  --orange:    #F5A623;
  --orange2:   #FFB84D;
  --teal:      #2DD4BF;
  --red:       #FF4D6A;

  --text:      #E8E8F0;
  --text2:     #9494A8;
  --text3:     #55555F;

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-purple: 0 0 40px rgba(124,92,250,0.25);
  --glow-orange: 0 0 40px rgba(245,166,35,0.3);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(124,92,250,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
p { margin-bottom: 1rem; }
ul { list-style: none; }

/* ============================================================
   UTILITY
============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-sm { padding: 50px 0; position: relative; z-index: 1; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(124,92,250,0.15);
  color: var(--purple2);
  border: 1px solid rgba(124,92,250,0.3);
}
.tag.orange { background: rgba(245,166,35,0.12); color: var(--orange); border-color: rgba(245,166,35,0.3); }
.tag.teal   { background: rgba(45,212,191,0.1);  color: var(--teal);   border-color: rgba(45,212,191,0.3); }
.tag.red    { background: rgba(255,77,106,0.1);  color: var(--red);    border-color: rgba(255,77,106,0.3); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple2);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-title span { color: var(--purple2); }

.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  border-radius: 2px;
  margin-bottom: 40px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,92,250,0.4);
}
.btn-primary:hover {
  background: var(--purple2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,92,250,0.5);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
}
.btn-discord:hover {
  background: #6B78F5;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88,101,242,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple2);
  transform: translateY(-1px);
}

.btn-orange {
  background: var(--orange);
  color: #0A0A0E;
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-orange:hover {
  background: var(--orange2);
  color: #0A0A0E;
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   HEADER / NAV
============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,14,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.site-logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text) !important;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.site-logo span { color: var(--purple2); }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 4px; }

.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--text);
  background: var(--surface);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.lang-switcher a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text3);
}
.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--text);
  background: var(--surface);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 8px;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,250,0.15) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: float1 8s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  bottom: -100px; right: 0;
  animation: float2 10s ease-in-out infinite;
}

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,30px)} }

/* Grid lines background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple2);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--purple2);
}

.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-title .highlight {
  color: transparent;
  background: linear-gradient(135deg, var(--purple2), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero-stat {}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stat span {
  font-size: 13px;
  color: var(--text2);
}

/* Game tags in hero */
.hero-games {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

/* ============================================================
   GAMES GRID
============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.game-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
  color: inherit;
}

.game-card-img {
  width: 100%;
  height: 180px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.game-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--bg3));
}

.game-card-body { padding: 20px; }

.game-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-card-desc {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 16px;
}

.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text3);
}

.game-card-arrow {
  width: 32px; height: 32px;
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text2);
  font-size: 16px;
}
.game-card:hover .game-card-arrow {
  background: var(--purple);
  color: #fff;
}

/* ============================================================
   NEWS / ARTICLES
============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: block;
  color: inherit;
  text-decoration: none;
}
.news-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  color: inherit;
}

.news-card-thumb {
  width: 100%;
  height: 200px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body { padding: 20px; }

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text3);
}

.news-card-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.news-card:hover .news-card-title { color: var(--purple2); }

.news-card-excerpt {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News featured (large first card) */
.news-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.news-featured .news-card-thumb { height: 100%; min-height: 220px; }
.news-featured .news-card-title { font-size: 22px; }

/* ============================================================
   DISCORD BANNER
============================================================ */
.discord-banner {
  background: linear-gradient(135deg, #23244a 0%, #1a1d3a 50%, #0f1028 100%);
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.discord-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(88,101,242,0.2) 0%, transparent 70%);
  top: -150px; left: 50%;
  transform: translateX(-50%);
}

.discord-banner-icon {
  width: 72px; height: 72px;
  background: #5865F2;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(88,101,242,0.5);
}

.discord-banner h2 {
  font-size: clamp(24px, 4vw, 38px);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.discord-banner p {
  color: var(--text2);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.discord-banner-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.discord-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
}

.discord-banner-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ============================================================
   EVENTS
============================================================ */
.events-list { display: flex; flex-direction: column; gap: 16px; }

.event-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.event-item:hover {
  border-color: var(--orange);
  transform: translateX(4px);
  color: inherit;
}

.event-date {
  flex-shrink: 0;
  width: 60px; height: 60px;
  background: var(--surface);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.event-date strong {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}
.event-date span { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; }

.event-info { flex: 1; min-width: 0; }
.event-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-meta { font-size: 13px; color: var(--text2); }
.event-badge { flex-shrink: 0; }

/* ============================================================
   ARTICLE / SINGLE POST
============================================================ */
.post-header { padding: 60px 0 40px; }
.post-title { font-size: clamp(28px, 5vw, 52px); margin-bottom: 20px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--text2); }

.post-content {
  max-width: 760px;
}
.post-content h2 { font-size: 26px; margin: 40px 0 16px; color: var(--text); }
.post-content h3 { font-size: 20px; margin: 32px 0 12px; color: var(--text); }
.post-content p { color: var(--text2); margin-bottom: 1.4rem; }
.post-content ul, .post-content ol {
  padding-left: 24px;
  margin-bottom: 1.4rem;
  color: var(--text2);
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; }

.post-content blockquote {
  border-left: 3px solid var(--purple);
  padding: 16px 24px;
  background: var(--bg3);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  color: var(--text2);
  font-style: italic;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.sidebar { position: sticky; top: 80px; }

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

.sidebar-widget-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Discord widget in sidebar */
.discord-sidebar {
  background: linear-gradient(135deg, #23244a, #1a1a38);
  border-color: rgba(88,101,242,0.3);
}
.discord-sidebar h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.discord-sidebar p {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 16px;
}

/* Inline Discord CTA (inside articles) */
.inline-discord-cta {
  background: linear-gradient(135deg, #1e2048, #16183a);
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.inline-discord-cta .cta-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.inline-discord-cta h4 { font-size: 17px; margin-bottom: 4px; }
.inline-discord-cta p { font-size: 14px; color: var(--text2); margin: 0; }

/* ============================================================
   BREADCRUMBS
============================================================ */
.breadcrumbs {
  font-size: 13px;
  color: var(--text3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.breadcrumbs a { color: var(--text3); }
.breadcrumbs a:hover { color: var(--purple2); }
.breadcrumbs .sep { color: var(--border2); }
.breadcrumbs .current { color: var(--text2); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  display: block;
  color: var(--text) !important;
}
.footer-logo span { color: var(--purple2); }

.footer-desc { font-size: 14px; color: var(--text2); margin-bottom: 20px; }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text2);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text3);
}

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(124,92,250,0.08), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title { font-size: clamp(28px, 5vw, 48px); margin-bottom: 12px; }
.page-hero-desc { font-size: 16px; color: var(--text2); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .news-featured { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .primary-nav { display: none; }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg);
    padding: 24px;
    z-index: 999;
    gap: 4px;
    overflow-y: auto;
  }
  .primary-nav.open a { padding: 12px 16px; font-size: 16px; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .discord-banner { padding: 36px 24px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .inline-discord-cta { flex-direction: column; text-align: center; }
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Scroll reveal (JS controlled) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   WORDPRESS CORE ALIGNMENT
============================================================ */
.wp-block-image { margin: 2rem 0; }
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 0 auto 1rem; display: block; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text2);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--purple); color: var(--purple2); }
.pagination .current { background: var(--purple); border-color: var(--purple); color: #fff; }
