/* ============================================
   Stebogvera - Modern Design System
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0984e3;
  --primary-light: #74b9ff;
  --primary-dark: #0652a8;
  --accent: #f48840;
  --accent-light: #fdcb6e;
  --bg-light: #f0f7ff;
  --bg-body: #fafafa;
  --bg-white: #ffffff;
  --text-dark: #2d3436;
  --text-mid: #636e72;
  --text-light: #b2bec3;
  --border: #e0e6ed;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 32px rgba(9,132,227,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

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

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { color: var(--text-mid); font-size: 1rem; margin-bottom: 0; }

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
  background: rgba(255,255,255,0.97);
}

.navbar > .container {
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  overflow: visible;
}

/* ---------- Logo Banner (Navbar Üstü) ---------- */
.navbar-top-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 24px;
  width: 100%;
}

.top-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
  display: block;
}

/* Anasayfa - ortada büyük logo */
.hero-logo-center {
  display: flex;
  justify-content: center;
  margin: 24px auto 16px;
}

.hero-logo-center img {
  max-width: min(560px, 88vw);
  height: auto;
  object-fit: contain;
  display: block;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.navbar-brand img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand span {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-flags {
  display: flex;
  gap: 10px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  align-items: center;
  flex-shrink: 0;
}

.nav-flags img {
  width: 22px;
  height: 36px;
  border-radius: 2px;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
  transform: rotate(-90deg);
}

.nav-flags img:hover {
  opacity: 1;
}

/* Language Switcher */
.lang-btn {
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.lang-btn.lang-active {
  opacity: 1 !important;
  transform: rotate(-90deg) scale(1.15);
  filter: drop-shadow(0 0 4px rgba(9, 132, 227, 0.5));
}

.nav-flags img.lang-btn:not(.lang-active) {
  opacity: 0.5;
}

span.lang-btn {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  user-select: none;
}

span.lang-btn.lang-active {
  color: var(--primary);
  background: rgba(9, 132, 227, 0.08);
  transform: none;
}

span.lang-btn:hover {
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open 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: 160px 24px 80px;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 50%, #fff5ee 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(9,132,227,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244,136,64,0.06) 0%, transparent 70%);
  bottom: -50px;
  left: -100px;
  border-radius: 50%;
}

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

.hero-flags {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.hero-flags img {
  width: 36px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
  transform: rotate(-90deg);
}

.hero-flags img:hover {
  transform: rotate(-90deg) translateY(-4px) scale(1.1);
}

.hero h1 {
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  font-weight: 400;
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(9,132,227,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(9,132,227,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(244,136,64,0.3);
}

.btn-accent:hover {
  background: #e07730;
  color: #fff;
  transform: translateY(-2px);
}

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

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

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

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 8px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.card-body {
  padding: 24px;
}

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ---------- Grid Layouts ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

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

/* ---------- Partner Cards ---------- */
.partner-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-flag {
  width: 28px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-90deg);
}

.partner-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.partner-card .location {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.partner-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Page Header ---------- */
.page-header {
  padding: 130px 24px 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- News Cards ---------- */
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.news-source {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-card h3 a {
  color: var(--text-dark);
}

.news-card h3 a:hover {
  color: var(--primary);
}

.news-card p {
  font-size: 0.9rem;
  flex-grow: 1;
}

/* ---------- Game Cards ---------- */
.game-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-align: center;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.game-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-light);
}

.game-card-body {
  padding: 28px 24px;
}

.game-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.game-card p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------- Game Play Counter ---------- */
.game-counter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 18px;
  font-size: 0.83rem;
  color: var(--text-muted);
  user-select: none;
}

.game-counter-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.game-counter-num {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s;
  display: inline-block;
}

.game-counter-num.bump {
  transform: scale(1.35);
  color: var(--accent);
}

.game-counter-label {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,132,227,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ---------- Gallery Tabs ---------- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(9,132,227,0.25);
}

.gallery-tab-flag {
  width: 14px;
  height: 22px;
  border-radius: 2px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.gallery-tab-count {
  background: rgba(9,132,227,0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  transition: all var(--transition);
}

.gallery-tab:hover .gallery-tab-count,
.gallery-tab.active .gallery-tab-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.gallery-tab-count:empty {
  display: none;
}

.gallery-grid-wrap {
  min-height: 300px;
  position: relative;
}

/* Gallery fade-in animation */
@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gallery-fade-in {
  animation: galleryFadeIn 0.4s ease-out forwards;
  opacity: 0;
}

/* Gallery empty state */
.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--text-light);
  text-align: center;
}

.gallery-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.gallery-empty p {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.gallery-empty small {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Gallery loading state */
.gallery-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--text-light);
}

.gallery-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 14px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Activity Tabs ---------- */
.activity-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.activity-tab {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}

.activity-tab:hover,
.activity-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(9,132,227,0.25);
}

.activity-panel {
  display: none;
}

.activity-panel.active {
  display: block;
}

.activity-country-block {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.activity-country-block:last-child {
  border-bottom: none;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.activity-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-light);
}

.activity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-thumb:hover img {
  transform: scale(1.08);
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  padding: 5px 12px;
  transition: color var(--transition);
  z-index: 10001;
}

.lightbox-close:hover { color: var(--accent); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 50%;
  transition: background var(--transition);
  z-index: 10001;
}

.lightbox-nav:hover { background: rgba(9,132,227,0.5); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--text-dark);
  color: #dfe6e9;
  padding: 48px 0 24px;
}

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

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer p {
  color: #b2bec3;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links a {
  display: block;
  color: #b2bec3;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-flags {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  align-items: center;
}

.footer-flags img {
  width: 22px;
  height: 34px;
  border-radius: 3px;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity var(--transition);
  transform: rotate(-90deg);
}

.footer-flags img:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #636e72;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .nav-links, .nav-flags { display: none; }
  .top-logo-img { height: 38px; }
  .hero-logo-center img { max-width: 92vw; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }
  .nav-flags.open {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    position: absolute;
    top: calc(100% + 200px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 12px;
    border: none;
    margin-left: 0;
    padding-left: 0;
    box-shadow: var(--shadow-sm);
  }
  .nav-flags.open span.lang-btn {
    font-size: 14px;
    padding: 4px 10px;
  }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 120px 24px 60px; }
  .section { padding: 50px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tabs { gap: 6px; }
  .gallery-tab { padding: 8px 14px; font-size: 0.82rem; }
  .gallery-tab-flag { width: 12px; height: 18px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-number { font-size: 2rem; }
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-tab { padding: 7px 12px; font-size: 0.78rem; gap: 5px; }
  .gallery-tab-count { font-size: 0.7rem; padding: 1px 6px; }
}
