/* ========================================
   DARKFIRE VTC - Main CSS
   Dark Cherry Red Bento Grid Design
   ======================================== */

/* ---- CSS Variables ---- */
:root {
  --bg: #07000c;
  --bg-surface: #100014;
  --bg-card: #1c001f;
  --border: #45003a;
  --cherry: #8b0000;
  --cherry-400: #c41e3a;
  --cherry-300: #dc143c;
  --cherry-glow: rgba(220, 20, 60, 0.25);
  --cherry-glow-strong: rgba(220, 20, 60, 0.45);
  --text: #f5e8ee;
  --text-muted: #b090a0;
  --text-dim: #7a5a6a;
  --white: #ffffff;
  --success: #1a7a3a;
  --warning: #7a5a00;
  --danger: var(--cherry-300);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --glass-bg: rgba(28, 0, 31, 0.7);
  --glass-border: rgba(69, 0, 58, 0.6);
  --glass-blur: blur(12px);

  --navbar-h: 70px;

  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cherry-400);
}

/* Selection */
::selection {
  background: var(--cherry-400);
  color: var(--white);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-muted); line-height: 1.7; }

a {
  color: var(--cherry-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--text); }

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

ul, ol { list-style: none; }

button { cursor: pointer; font-family: inherit; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---- Utility Classes ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cherry-300);
  border: 1px solid var(--cherry-400);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  color: var(--text);
  margin-bottom: 16px;
}

.section-title span {
  background: linear-gradient(135deg, var(--cherry-300), var(--cherry-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

.text-cherry { color: var(--cherry-300); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cherry-400), var(--cherry));
  color: var(--white);
  border-color: var(--cherry-300);
  box-shadow: 0 4px 20px var(--cherry-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cherry-300), var(--cherry-400));
  color: var(--white);
  box-shadow: 0 6px 30px var(--cherry-glow-strong);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(28, 0, 31, 0.4);
}

.btn-outline:hover {
  border-color: var(--cherry-400);
  color: var(--cherry-300);
  background: rgba(139, 0, 0, 0.1);
}

.btn-ghost {
  color: var(--cherry-300);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(139, 0, 0, 0.1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 0, 12, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--cherry-400), var(--cherry));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  box-shadow: 0 0 20px var(--cherry-glow);
  letter-spacing: -1px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
  text-transform: uppercase;
}

.logo-text span {
  color: var(--cherry-300);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(139, 0, 0, 0.15);
}

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

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 6px;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  transition: all 0.18s;
}
.lang-btn.active {
  background: rgba(196,30,58,0.25);
  color: var(--cherry-300);
}
.lang-btn:hover:not(.active) { color: var(--text); }

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

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

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: rgba(7, 0, 12, 0.98);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 999;
}

.mobile-menu.open { display: block; }

.mobile-menu .nav-link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(69, 0, 58, 0.3);
}

.mobile-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 4px;
  gap: 12px;
}

.mobile-menu-footer .lang-switcher {
  display: flex;
}

.mobile-menu-footer .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.85rem;
  padding: 8px 14px;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  filter: brightness(0.35);
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-1 .slide-bg {
  background: linear-gradient(135deg, #0d0010 0%, #1a0025 30%, #0d0018 60%, #07000c 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="%23100014"/><text x="50" y="50" text-anchor="middle" dominant-baseline="middle" font-size="40" fill="%23200025">🚚</text></svg>');
  background-color: #0d0010;
}

.slide-2 .slide-bg {
  background: linear-gradient(135deg, #100010 0%, #1a0015 50%, #0d0010 100%);
  background-color: #100010;
}

.slide-3 .slide-bg {
  background: linear-gradient(135deg, #07000c 0%, #150020 40%, #0d000f 100%);
  background-color: #07000c;
}

/* Animated grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

/* Gradient overlays */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-inner {
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 0, 0, 0.2);
  border: 1px solid var(--cherry-400);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cherry-300);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cherry-300);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title-accent {
  display: block;
  background: linear-gradient(135deg, var(--cherry-300) 0%, var(--cherry-400) 50%, #ff3a5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px var(--cherry-glow));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-slide-text {
  display: none;
}

.hero-slide-text.active {
  display: block;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(69, 0, 58, 0.4);
  animation: fadeInUp 0.8s ease 0.4s both;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.hero-stat-value span {
  color: var(--cherry-300);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 50px;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 24px;
}

.slider-bullets {
  display: flex;
  gap: 8px;
}

.slider-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 232, 238, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.slider-bullet.active {
  background: var(--cherry-300);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--cherry-glow);
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.slider-btn:hover {
  background: rgba(139, 0, 0, 0.3);
  border-color: var(--cherry-400);
  box-shadow: 0 0 15px var(--cherry-glow);
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

/* Bento card base */
.bento-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  grid-column: span 3;
}

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

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

.bento-card:hover {
  border-color: rgba(196, 30, 58, 0.5);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--cherry-glow);
  transform: translateY(-3px);
}

/* Glow card variant */
.bento-card.glow {
  box-shadow: 0 0 30px var(--cherry-glow), inset 0 0 30px rgba(220, 20, 60, 0.05);
  border-color: var(--cherry-400);
}

/* Bento size variants */
.bento-wide { grid-column: span 6; }
.bento-tall {
  grid-column: span 3;
  grid-row: span 2;
}
.bento-large {
  grid-column: span 6;
  grid-row: span 2;
}
.bento-full { grid-column: span 12; }

/* Grid layout (explicit positions — no gaps):
   Row 1: [members: 1-6] [convoys: 7-9 tall2] [km: 10-12]
   Row 2: [events: 1-3]  [founded: 4-9]  [convoys↓] [server: 10-12]
*/
#bento-members      { grid-column: 1 / span 6;  grid-row: 1; }
#bento-convoys      { grid-column: 7 / span 3;  grid-row: 1 / span 2; }
#bento-km           { grid-column: 10 / span 3; grid-row: 1; }
#bento-events-count { grid-column: 1 / span 3;  grid-row: 2; }
#bento-founded      { grid-column: 4 / span 3;  grid-row: 2; }
#bento-server       { grid-column: 10 / span 3; grid-row: 2; }

.bento-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cherry-300);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-card-label::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--cherry-300);
  border-radius: 50%;
}

.bento-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.bento-value-unit {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 4px;
}

.bento-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Decorative elements inside bento cards */
.bento-icon {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 4rem;
  opacity: 0.07;
  user-select: none;
  pointer-events: none;
}

.bento-progress {
  margin-top: 20px;
  height: 3px;
  background: rgba(69, 0, 58, 0.4);
  border-radius: 2px;
  overflow: hidden;
}

.bento-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cherry), var(--cherry-300));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--cherry-glow);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Founded special card */
#bento-founded {
  background: linear-gradient(135deg, rgba(28, 0, 31, 0.9) 0%, rgba(40, 0, 20, 0.9) 100%);
}

#bento-founded .bento-value {
  background: linear-gradient(135deg, var(--cherry-300), var(--text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(3rem, 6vw, 5rem);
}

/* Members card special */
#bento-members {
  background: linear-gradient(135deg, rgba(28, 0, 31, 0.9), rgba(35, 0, 40, 0.8));
}

/* Convoys tall card */
#bento-convoys {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-top: 20px;
}

.bento-bar {
  flex: 1;
  background: rgba(139, 0, 0, 0.3);
  border-radius: 3px 3px 0 0;
  transition: height 1.5s ease;
}

.bento-bar.active {
  background: linear-gradient(to top, var(--cherry), var(--cherry-300));
  box-shadow: 0 0 8px var(--cherry-glow);
}

/* ---- Events Section ---- */
.events-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, transparent, rgba(16, 0, 20, 0.5), transparent);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.event-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  border-color: rgba(196, 30, 58, 0.5);
  box-shadow: 0 12px 50px rgba(0,0,0,0.5), 0 0 25px var(--cherry-glow);
  transform: translateY(-4px);
}

.event-image-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: var(--bg-card);
}

.event-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.event-card:hover .event-image-wrapper img {
  transform: scale(1.05);
}

.event-placeholder-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c001f, #2a0030);
  font-size: 4rem;
  opacity: 0.5;
}

.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 0, 12, 0.9);
  border: 1px solid var(--cherry-400);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  text-align: center;
  min-width: 60px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.event-date-day {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cherry-300);
  line-height: 1;
}

.event-date-month {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.event-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cherry-400);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.event-body {
  padding: 20px 24px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(69, 0, 58, 0.3);
  border: 1px solid rgba(69, 0, 58, 0.5);
  border-radius: 4px;
  padding: 3px 8px;
}

.event-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(69, 0, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.event-time {
  font-size: 0.8rem;
  color: var(--cherry-300);
  font-weight: 600;
}

.event-cta {
  display: block;
  width: calc(100% - 48px);
  margin: 16px 24px 20px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--cherry), var(--cherry-400));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.2);
}

.event-cta:hover {
  opacity: 0.88;
  box-shadow: 0 4px 28px rgba(220, 20, 60, 0.45);
}

.event-cta-disabled {
  background: rgba(69, 0, 58, 0.4);
  color: var(--text-dim);
  cursor: default;
  box-shadow: none;
}

.event-cta-disabled:hover {
  opacity: 1;
  box-shadow: none;
}

/* Loading skeleton */
.skeleton {
  animation: shimmer 1.5s infinite;
  background: linear-gradient(90deg, rgba(28, 0, 31, 0.5) 0%, rgba(69, 0, 58, 0.3) 50%, rgba(28, 0, 31, 0.5) 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-img { padding-top: 56.25%; }
.skeleton-body { padding: 20px; }
.skeleton-line { height: 14px; margin-bottom: 10px; border-radius: 4px; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }

/* ---- Gallery Section ---- */
.gallery-section {
  padding: 100px 0;
}

/* ---- Gallery Marquee ---- */
.gallery-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.gallery-track-left {
  animation: gallery-left 35s linear infinite;
}

.gallery-track-right {
  animation: gallery-right 35s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

@keyframes gallery-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes gallery-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Gallery marquee item */
.gallery-item {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  height: 169px; /* 16:9 */
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  border-color: rgba(196, 30, 58, 0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px var(--cherry-glow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

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

.gallery-item-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.gallery-item-author {
  font-size: 0.72rem;
  color: var(--cherry-300);
  margin-top: 2px;
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  width: 40px;
  height: 40px;
  background: rgba(139, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c001f, #2a0030);
  font-size: 2rem;
  color: rgba(220, 20, 60, 0.2);
}

.gallery-placeholder span {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 8px;
  font-weight: 500;
}

/* Skeleton rows */
.gallery-track .gallery-skeleton {
  flex-shrink: 0;
  width: 300px;
  height: 169px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(69,0,58,0.3) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite, gallery-left 35s linear infinite;
}

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.open { display: flex; align-items: center; justify-content: center; }

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(28, 0, 31, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--cherry);
  border-color: var(--cherry-300);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(28, 0, 31, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-nav:hover {
  background: rgba(139, 0, 0, 0.5);
  border-color: var(--cherry-300);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-info {
  margin-top: 16px;
  text-align: center;
}

.lightbox-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.lightbox-author {
  font-size: 0.85rem;
  color: var(--cherry-300);
  margin-top: 4px;
}

/* ---- Join / CTA Section ---- */
.join-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.join-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cherry-glow) 0%, transparent 70%);
  pointer-events: none;
}

.join-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 64px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  box-shadow: 0 0 60px rgba(0,0,0,0.4), 0 0 80px var(--cherry-glow);
  border-color: rgba(196, 30, 58, 0.3);
}

.join-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.join-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.join-requirements {
  margin-bottom: 32px;
}

.join-req-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(69, 0, 58, 0.3);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.join-req-icon {
  color: var(--cherry-300);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.join-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.join-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition);
  background: rgba(28, 0, 31, 0.5);
}

.social-btn:hover {
  border-color: var(--cherry-400);
  color: var(--text);
  background: rgba(139, 0, 0, 0.15);
}

/* Join Stats Panel */
.join-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.join-stat-card {
  background: rgba(7, 0, 12, 0.6);
  border: 1px solid rgba(69, 0, 58, 0.4);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.join-stat-card:hover {
  border-color: var(--cherry-400);
  background: rgba(28, 0, 31, 0.7);
}

.join-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
}

.join-stat-num span { color: var(--cherry-300); }

.join-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 80px;
}

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

.footer-brand .logo-text {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  background: rgba(28, 0, 31, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
}

.footer-social-icon:hover {
  border-color: var(--cherry-400);
  color: var(--cherry-300);
  background: rgba(139, 0, 0, 0.15);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(69, 0, 58, 0.3);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-copy span {
  color: var(--cherry-300);
}

.footer-madeby-link {
  color: var(--cherry-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-madeby-link:hover {
  color: var(--cherry-300);
  text-decoration: underline;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.navbar-social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.navbar-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
}
.navbar-social-btn:hover {
  color: var(--cherry-300);
  background: rgba(139,0,0,0.15);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal a:hover { color: var(--cherry-300); }

/* ---- TOS Modal ---- */
.tos-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 0, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.4s ease;
}
.tos-overlay.hidden { display: none; }
.tos-modal {
  background: rgba(20, 0, 28, 0.98);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(160,0,60,0.3), 0 32px 64px rgba(0,0,0,0.6);
  overflow: hidden;
}
.tos-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.tos-header-left { display: flex; align-items: center; gap: 12px; }
.tos-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cherry-700), var(--cherry-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.tos-title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.tos-version { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.tos-lang-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.82rem;
  padding: 6px 10px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.tos-lang-select:hover, .tos-lang-select:focus { border-color: var(--cherry-500); }
.tos-lang-select option { background: #16001f; }
.tos-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--cherry-700) transparent;
}
.tos-body::-webkit-scrollbar { width: 4px; }
.tos-body::-webkit-scrollbar-thumb { background: var(--cherry-700); border-radius: 4px; }
.tos-section-item { margin-bottom: 16px; }
.tos-section-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--cherry-300); margin-bottom: 6px; }
.tos-section-item p, .tos-section-item ul { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.tos-section-item ul { padding-left: 16px; }
.tos-section-item ul li { margin-bottom: 3px; }
.tos-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.tos-footer {
  padding: 16px 28px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  background: rgba(10,0,16,0.6);
}
.tos-footer-note { font-size: 0.75rem; color: var(--text-dim); max-width: 300px; line-height: 1.4; }
.tos-actions { display: flex; gap: 10px; }
.btn-tos-reject {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.btn-tos-reject:hover { border-color: var(--cherry-600); color: var(--cherry-400); }
.btn-tos-accept {
  background: linear-gradient(135deg, var(--cherry-700), var(--cherry-500));
  border: none;
  color: #fff;
  padding: 9px 24px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  box-shadow: 0 0 20px var(--cherry-glow);
}
.btn-tos-accept:hover { transform: translateY(-1px); box-shadow: 0 0 28px var(--cherry-glow-strong); }

/* ---- Bilgi Çubuğu ---- */
.info-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(14, 0, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}
.info-bar.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.info-bar-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.info-bar-content a {
  color: var(--cherry-400);
  text-decoration: underline;
}
.info-bar-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 6px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.info-bar-close:hover { opacity: 1; }

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px var(--cherry-glow); }
  50% { box-shadow: 0 0 40px var(--cherry-glow-strong), 0 0 60px var(--cherry-glow); }
}

/* Scroll animation classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .navbar-nav, .navbar-actions { display: none; }
  .hamburger { display: flex; }

  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Reset explicit positions for 6-col grid */
  #bento-members      { grid-column: 1 / span 6; grid-row: 1; }
  #bento-km           { grid-column: 1 / span 3; grid-row: 2; }
  #bento-convoys      { grid-column: 4 / span 3; grid-row: 2 / span 2; }
  #bento-events-count { grid-column: 1 / span 3; grid-row: 3; }
  #bento-founded      { grid-column: 1 / span 4; grid-row: 4; }
  #bento-server       { grid-column: 5 / span 2; grid-row: 4; }

  .join-card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

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

@media (max-width: 768px) {

  .hero-title { font-size: 3rem; }
  .hero-stats { gap: 24px; }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  #bento-members, #bento-convoys, #bento-km,
  #bento-events-count, #bento-founded, #bento-server {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .bento-card { padding: 24px; }

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

  .gallery-item {
    width: 240px;
    height: 135px;
  }

  .join-card { padding: 28px; }

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

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

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

  .section { padding: 64px 0; }

  .tos-modal { margin: 0; border-radius: 0; max-height: 100vh; }
  .tos-footer { flex-direction: column; align-items: stretch; }
  .tos-actions { justify-content: stretch; }
  .tos-actions .btn { flex: 1; justify-content: center; }
}

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

  .bento-grid { grid-template-columns: 1fr; }
  #bento-members, #bento-convoys, #bento-km,
  #bento-events-count, #bento-founded, #bento-server {
    grid-column: 1 / span 1;
    grid-row: auto;
  }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .gallery-item { width: 200px; height: 113px; }

  .slider-controls { bottom: 30px; }

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

/* ---- About static section ---- */
.about-section {
  padding: 100px 0;
}

/* Divider line */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cherry), var(--cherry-300));
  border-radius: 2px;
  margin: 20px auto;
}
