/* ============================
   Kukynet-Blast — Landing Page
   Senior Design · Dark Neon
   ============================ */

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

:root {
  --bg: #0a0a1a;
  --bg2: #0d0d24;
  --surface: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --text: #f0f0ff;
  --dim: rgba(240,240,255,0.5);
  --accent: #a855f7;
  --accent-glow: rgba(168,85,247,0.4);
  --gold: #ffbe0b;
  --red: #ff006e;
  --blue: #3a86ff;
  --green: #06d6a0;
  --orange: #fb5607;
  --gradient: linear-gradient(135deg, #a855f7, #ff006e);
  --max-w: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none; color: inherit;
}

/* ----- UTILITY ----- */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--dim);
  max-width: 480px;
  margin: 0 auto;
}

/* ----- BUTTONS ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gradient);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 28px rgba(168,85,247,0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(168,85,247,0.45);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(1px);
}

/* ----- NAVBAR ----- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 24px;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
  background: rgba(10,10,26,0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Black Ops One', cursive;
}

.nav-logo-k {
  font-size: 1.3rem;
  color: #c084fc;
}

.nav-logo-b {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dim);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(168,85,247,0.4);
}

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

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

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

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

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

/* ----- SCROLL ANIMATIONS ----- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: block;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #12082a 0%, #0a0a1a 60%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(168,85,247,0.08);
  top: -150px; left: -100px;
  animation: heroOrb1 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 350px; height: 350px;
  background: rgba(255,0,110,0.06);
  bottom: 10%; right: -80px;
  animation: heroOrb2 15s ease-in-out infinite;
}

.hero-orb-3 {
  width: 250px; height: 250px;
  background: rgba(59,130,246,0.06);
  top: 40%; left: 30%;
  animation: heroOrb3 18s ease-in-out infinite;
}

@keyframes heroOrb1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(60px,40px); }
}

@keyframes heroOrb2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-40px,-60px); }
}

@keyframes heroOrb3 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(30px,-30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(255,190,11,0.1);
  border: 1px solid rgba(255,190,11,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  width: fit-content;
}

.hero-h1 {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: 'Black Ops One', cursive;
}

.hero-title-top {
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, #e8e0ff, #c084fc, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(168,85,247,0.3));
  text-transform: uppercase;
}

.hero-title-bottom {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  background: linear-gradient(135deg, #ffbe0b, #ff006e, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 30px rgba(255,0,110,0.3));
  margin-top: -8px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(240,240,255,0.3);
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--dim);
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero {
  font-size: 0.9rem;
  padding: 15px 28px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

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

.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-mascot-frame {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(255,0,110,0.1));
  border: 2px solid rgba(168,85,247,0.2);
  box-shadow: 0 0 50px rgba(168,85,247,0.15), inset 0 0 30px rgba(168,85,247,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  animation: mascotFloat 4s ease-in-out infinite;
}

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

.hero-mascot {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(168,85,247,0.4)) brightness(1.1) contrast(1.1);
}

.hero-screenshots {
  display: flex;
  gap: 32px;
}

.hero-screenshot {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  width: 160px;
  height: auto;
  transition: transform 0.3s;
}

.hero-screenshot:hover {
  transform: translateY(-4px);
}

.hero-screenshots-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-screenshot-col {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  width: 160px;
  height: auto;
  transition: transform 0.3s;
}

.hero-screenshot-col:hover {
  transform: translateY(-4px);
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  z-index: 1;
}

.hero-wave svg {
  width: 100%; height: 100%;
  display: block;
}

/* ----- FEATURES ----- */
.features {
  padding-top: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, rgba(168,85,247,0.5), rgba(255,0,110,0.3));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(168,85,247,0.5), rgba(255,0,110,0.2));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(168,85,247,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

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

.feature-text {
  font-size: 0.92rem;
  color: var(--dim);
  line-height: 1.6;
}

/* ----- HOW TO PLAY ----- */
.howto {
  position: relative;
}

.howto-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(168,85,247,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  transition: all 0.3s;
}

.step:hover {
  border-color: rgba(168,85,247,0.2);
  transform: translateX(4px);
}

.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 16px rgba(168,85,247,0.3);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.3rem;
  color: var(--accent);
  opacity: 0.5;
  font-weight: 300;
}

/* Power-up showcase */
.powerup-showcase {
  text-align: center;
  margin-top: 32px;
}

.showcase-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dim);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.showcase-items {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 28px;
  min-width: 120px;
  transition: all 0.3s;
}

.showcase-item:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.showcase-icon {
  font-size: 2rem;
}

.showcase-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.showcase-desc {
  font-size: 0.75rem;
  color: var(--dim);
}

/* ----- SCREENSHOTS ----- */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.screenshot-figure {
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.screenshot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
}

.screenshot-card::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  width: 2px;
  background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(255,0,110,0.2));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.screenshot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 56px rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.25);
}

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

.screenshot-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: rgba(0,0,0,0.3);
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screenshot-card:hover img {
  transform: scale(1.06);
}

.screenshot-card figcaption {
  padding: 12px 14px 14px;
  font-size: 0.82rem;
  color: var(--dim);
  font-weight: 500;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ----- CTA ----- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 100%, rgba(168,85,247,0.06) 0%, transparent 60%);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 300px; height: 300px;
  background: rgba(168,85,247,0.08);
  top: -80px; left: -60px;
}

.cta-orb-2 {
  width: 250px; height: 250px;
  background: rgba(255,0,110,0.06);
  bottom: -60px; right: -40px;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-mascot {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(168,85,247,0.2);
  box-shadow: 0 0 40px rgba(168,85,247,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: rgba(168,85,247,0.05);
  animation: mascotFloat 4s ease-in-out infinite;
}

.cta-mascot img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(168,85,247,0.3));
}

.cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--dim);
  max-width: 480px;
}

.btn-cta {
  font-size: 1.1rem;
  padding: 18px 40px;
}

.btn-cta-icon {
  font-size: 1.2rem;
}

.cta-note {
  font-size: 0.8rem;
  color: rgba(240,240,255,0.25);
  letter-spacing: 1px;
  font-weight: 500;
}

/* ----- FOOTER ----- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px 24px 0;
  background: #060612;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--dim);
  max-width: 300px;
  line-height: 1.6;
}

.footer-desc strong {
  color: var(--text);
  font-weight: 700;
}

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

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dim);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(240,240,255,0.4);
  margin-bottom: 8px;
  transition: color 0.2s;
}

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

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

.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(240,240,255,0.2);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-screenshots {
    justify-content: center;
  }

  .hero-screenshot {
    width: 130px;
  }

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

  .footer-desc {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(10,10,26,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 28px;
    gap: 16px;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255,255,255,0.05);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 72px 20px;
  }

  .hero-screenshots-col {
    display: none;
  }

  .hero-mascot-frame {
    width: 120px; height: 120px;
  }
}

@media (max-width: 480px) {
  .hero-title-bottom {
    margin-top: -4px;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 5px;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-screenshot {
    width: 110px;
  }

  .btn-hero {
    font-size: 0.8rem;
    padding: 13px 22px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

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

  .showcase-item {
    width: 100%;
    max-width: 200px;
  }

  .comments-form {
    flex-direction: column;
    align-items: stretch;
  }

  .comment-input,
  .comment-textarea {
    max-width: 100%;
  }
}

.hidden {
  display: none !important;
}

.comments-more {
  display: inline-flex;
  margin: 20px auto 0;
}

/* ----- COMMENTS ----- */
.comments {
  text-align: center;
}

.comments-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 30px auto 0;
}

.comment-input,
.comment-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.comment-input:focus,
.comment-textarea:focus {
  border-color: var(--accent);
}

.comment-textarea {
  resize: vertical;
  min-height: 80px;
}

#comment-btn {
  align-self: flex-end;
}

.comments-list {
  max-width: 500px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: left;
}

.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.comment-head strong {
  color: var(--accent);
  font-size: 0.9rem;
}

.comment-date {
  color: var(--dim);
  font-size: 0.8rem;
}

.comment-text {
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}

.comments-status {
  color: var(--dim);
  font-size: 0.9rem;
}

/* ----- TOAST ----- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
