/* ============================================================
   AeroFics — Frutiger Aero / Web 2.0 Design System
   Inspired by Windows Vista/7, Crystal Project, Aqua UI
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  /* Aurora palette */
  --aurora-1: #003566;
  --aurora-2: #0077b6;
  --aurora-3: #00b4d8;
  --aurora-4: #48cae4;
  --aurora-5: #90e0ef;
  --aurora-6: #caf0f8;
  --aurora-7: #e0fbfc;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-bg-strong: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: rgba(0, 60, 120, 0.25);
  --glass-blur: 18px;

  /* Gloss overlay */
  --gloss: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,0.08) 100%);

  /* Board accent colors */
  --ranma-accent: #0099cc;
  --ranma-glow: #00ccff;
  --su-accent: #e84393;
  --su-glow: #fd79a8;
  --ut-accent: #6c5ce7;
  --ut-glow: #a29bfe;
  --other-accent: #00b894;
  --other-glow: #55efc4;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-dark: #1a1a2e;

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Typography */
  --font-main: 'Outfit', 'Segoe UI', 'Frutiger', 'Helvetica Neue', Arial, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Aurora Background --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 20%, #0077b6 0%, transparent 50%),
    radial-gradient(ellipse at 80% 10%, #00b4d8 0%, transparent 45%),
    radial-gradient(ellipse at 50% 60%, #48cae4 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, #003566 0%, transparent 50%),
    radial-gradient(ellipse at 90% 90%, #0096c7 0%, transparent 50%),
    linear-gradient(180deg, #001d3d 0%, #003566 30%, #0077b6 60%, #00b4d8 100%);
  animation: auroraPulse 12s ease-in-out infinite alternate;
}

@keyframes auroraPulse {
  0% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.08) saturate(1.15);
  }
  100% {
    filter: brightness(0.95) saturate(1.05);
  }
}

/* --- Floating Bubbles --- */
.bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.02) 80%,
    transparent);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 -4px 8px rgba(255, 255, 255, 0.06),
    0 2px 12px rgba(0, 180, 216, 0.15);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0.3) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-15vh) scale(1) rotate(360deg);
    opacity: 0;
  }
}

/* --- Bokeh Layer --- */
.bokeh-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: bokehFloat 8s ease-in-out infinite alternate;
}

@keyframes bokehFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20px, -30px) scale(1.2); opacity: 0.5; }
  100% { transform: translate(-10px, 15px) scale(0.9); opacity: 0.25; }
}

/* --- Glass Panels --- */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--gloss);
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.glass-panel-strong {
  background: var(--glass-bg-strong);
}

/* --- Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background: rgba(0, 30, 60, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.4rem;
  text-shadow: 0 2px 8px rgba(0, 180, 216, 0.5);
  position: relative;
  z-index: 1;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.nav-logo .logo-text {
  background: linear-gradient(135deg, #ffffff, #90e0ef);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  position: relative;
  z-index: 1;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  pointer-events: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  border-color: var(--glass-border);
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.2);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: rgba(0, 180, 216, 0.25);
  color: var(--text-primary);
  border-color: rgba(0, 180, 216, 0.4);
}

.nav-links a img {
  width: 18px;
  height: 18px;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 80px 30px 50px;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #90e0ef 40%, #48cae4 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 12px rgba(0, 180, 216, 0.4));
  animation: titleShimmer 4s ease-in-out infinite alternate;
}

@keyframes titleShimmer {
  0% { filter: drop-shadow(0 4px 12px rgba(0, 180, 216, 0.3)) brightness(1); }
  100% { filter: drop-shadow(0 4px 20px rgba(0, 180, 216, 0.6)) brightness(1.05); }
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* --- Board Cards Grid --- */
.boards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px 60px;
}

.board-card {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;

  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,0.25);
}

.board-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: var(--gloss);
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.board-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--aurora-3));
  opacity: 0.7;
  transition: opacity 0.3s, height 0.3s;
}

.board-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 16px 48px var(--glass-shadow),
    0 0 30px var(--card-glow, rgba(0, 180, 216, 0.3)),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
}

.board-card:hover::after {
  opacity: 1;
  height: 5px;
}

.board-card[data-board="ranma"] { --card-accent: var(--ranma-accent); --card-glow: rgba(0, 153, 204, 0.35); }
.board-card[data-board="su"]    { --card-accent: var(--su-accent);    --card-glow: rgba(232, 67, 147, 0.35); }
.board-card[data-board="ut"]    { --card-accent: var(--ut-accent);    --card-glow: rgba(108, 92, 231, 0.35); }
.board-card[data-board="other"] { --card-accent: var(--other-accent); --card-glow: rgba(0, 184, 148, 0.35); }

.board-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  position: relative;
  z-index: 1;
}

.board-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.board-card-slug {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.board-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.board-card-stats {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* --- Board Header --- */
.board-header {
  padding: 40px 30px 24px;
  text-align: center;
}

.board-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff, var(--board-accent, #48cae4));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.board-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
}

/* --- New Thread / Reply Form --- */
.post-form-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 20px;
  padding: 10px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(0,180,216,0.35) 0%, rgba(0,119,182,0.3) 100%);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.post-form-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
  pointer-events: none;
}

.post-form-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,180,216,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  background: linear-gradient(180deg, rgba(0,180,216,0.5) 0%, rgba(0,119,182,0.4) 100%);
}

.post-form-container {
  max-width: 700px;
  margin: 0 auto 30px;
  padding: 0 30px;
}

.post-form {
  padding: 24px;
  display: none;
}

.post-form.open {
  display: block;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 20, 50, 0.5);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--aurora-3);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2), 0 0 20px rgba(0, 180, 216, 0.1);
  background: rgba(0, 20, 50, 0.7);
}

.form-group textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.6;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2390e0ef' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #00b4d8 0%, #0077b6 100%);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.4), inset 0 1px 0 rgba(255,255,255,0.35);
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
  pointer-events: none;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 180, 216, 0.5), inset 0 1px 0 rgba(255,255,255,0.45);
  background: linear-gradient(180deg, #48cae4 0%, #0096c7 100%);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.3), inset 0 2px 4px rgba(0,0,0,0.2);
}

/* --- Thread Listing --- */
.threads-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 30px 60px;
}

.thread-card {
  display: block;
  padding: 20px 24px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  cursor: pointer;

  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.thread-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.thread-card:hover {
  transform: translateX(4px);
  background: var(--glass-bg-strong);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2), 0 0 20px var(--card-glow, rgba(0,180,216,0.15));
}

.thread-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.thread-title {
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.thread-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.thread-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.thread-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.tag {
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(0, 180, 216, 0.2);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--aurora-5);
}

/* --- Thread View / Post Cards --- */
.thread-view {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 30px 60px;
}

.post-card {
  padding: 20px 24px;
  margin-bottom: 16px;
  position: relative;
}

.post-card.op {
  border-left: 3px solid var(--board-accent, var(--aurora-3));
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

.post-author {
  font-weight: 600;
  color: var(--aurora-5);
}

.post-number {
  color: var(--text-muted);
  font-family: monospace;
  cursor: pointer;
  transition: color 0.2s;
}

.post-number:hover {
  color: var(--aurora-4);
}

.post-date {
  color: var(--text-muted);
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.post-content {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-wrap: break-word;
}

.post-content.collapsed {
  max-height: 400px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.read-more-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.15);
  color: var(--aurora-4);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
}

.read-more-btn:hover {
  background: rgba(0, 180, 216, 0.25);
  border-color: rgba(0, 180, 216, 0.5);
}

.post-quote {
  color: #55efc4;
  cursor: pointer;
}

.post-quote:hover {
  text-decoration: underline;
}

/* --- Replies Section --- */
.replies-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-form-container {
  margin-bottom: 30px;
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1rem;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 30px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 10, 30, 0.4);
}

.site-footer a {
  color: var(--aurora-4);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--aurora-5);
  text-decoration: underline;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.pagination button {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination button:hover,
.pagination button.active {
  background: rgba(0, 180, 216, 0.25);
  border-color: rgba(0, 180, 216, 0.4);
  color: var(--text-primary);
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

/* --- Water / Grass decorative stripe (Frutiger Eco touch) --- */
.eco-stripe {
  height: 6px;
  background: linear-gradient(90deg, #00b894, #55efc4, #81ecec, #48cae4, #0984e3, #6c5ce7);
  background-size: 300% 100%;
  animation: ecoSlide 6s ease-in-out infinite;
}

@keyframes ecoSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .boards-grid {
    grid-template-columns: 1fr;
    padding: 0 16px 40px;
  }

  .navbar {
    padding: 10px 16px;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .threads-container,
  .thread-view,
  .post-form-container {
    padding: 0 16px 40px;
  }

  .thread-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .board-icon {
    width: 48px;
    height: 48px;
  }
}
