:root {
  --bg-primary: #0a0b10;
  --bg-secondary: #10131d;
  --bg-card: rgba(22, 27, 42, 0.7);
  --bg-card-hover: rgba(30, 37, 58, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 51, 102, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-pink: #ff3366;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  
  --gradient-berry: linear-gradient(135deg, #ff3366 0%, #ec4899 50%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(180deg, rgba(16, 19, 29, 0) 0%, #0a0b10 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(255, 51, 102, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 80%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Atmosphere */
.bg-glow-layer {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 51, 102, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.bg-grid-layer {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 11, 16, 0.8);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-berry);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

.brand-badge svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.brand-name {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name span {
  color: var(--accent-pink);
  -webkit-text-fill-color: var(--accent-pink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-berry);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-berry {
  background: rgba(255, 51, 102, 0.12);
  color: #ff6b8b;
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.badge-eos {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-godot {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Sections General */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: 2.5rem;
  margin: 1rem 0 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Studio Hero Section */
.hero-studio {
  padding: 7rem 0 5rem 0;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 1.5rem 0 1.25rem;
  letter-spacing: -0.03em;
}

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

.hero-description {
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Flagship Showcase Card */
.showcase-card {
  margin-top: 4rem;
  background: linear-gradient(145deg, rgba(26, 31, 48, 0.8) 0%, rgba(16, 20, 32, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 51, 102, 0.1);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-info h3 {
  font-size: 2.2rem;
  margin: 1rem 0;
}

.showcase-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.feature-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  background: radial-gradient(circle at center, rgba(30, 37, 60, 0.6) 0%, rgba(10, 11, 16, 0.4) 80%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 2rem;
}

.floating-berries-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.preview-berry {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
  animation: float 4s ease-in-out infinite alternate;
}

.preview-berry:nth-child(2) {
  animation-delay: -1.3s;
  width: 110px;
  height: 110px;
}

.preview-berry:nth-child(3) {
  animation-delay: -2.6s;
  width: 95px;
  height: 95px;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
  100% { transform: translateY(6px) rotate(-3deg); }
}

/* Feature Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.icon-red {
  background: rgba(255, 51, 102, 0.15);
  color: var(--accent-pink);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Tech Stack Banner */
.tech-banner {
  background: linear-gradient(90deg, rgba(22, 27, 42, 0.5) 0%, rgba(30, 37, 58, 0.5) 50%, rgba(22, 27, 42, 0.5) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.tech-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1.1rem;
}

.tech-item svg, .tech-item img {
  width: 28px;
  height: 28px;
}

/* Contact / Studio Info */
.contact-card {
  background: linear-gradient(135deg, rgba(26, 31, 48, 0.9) 0%, rgba(16, 19, 29, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition);
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

/* =========================================
   BERRIES GAME SUBPAGE SPECIFIC STYLES
   ========================================= */

.hero-berries {
  padding: 6rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.berries-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.berries-hero-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 1.2rem 0;
}

.berries-hero-title span {
  background: var(--gradient-berry);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.berries-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.art-glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.25) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
  filter: blur(20px);
  animation: pulse-ring 6s ease-in-out infinite alternate;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 1; }
}

.hero-main-berry {
  width: 260px;
  height: 260px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
  animation: float 5s ease-in-out infinite;
}

.hero-sub-berry {
  position: absolute;
  width: 130px;
  height: 130px;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

.sub-berry-left {
  left: 20px;
  bottom: 20px;
  animation: float 4s ease-in-out infinite -1.5s;
}

.sub-berry-right {
  right: 20px;
  top: 30px;
  animation: float 4.5s ease-in-out infinite -3s;
}

/* Roster Grid */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.roster-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.roster-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-pink);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 51, 102, 0.15);
}

.roster-sprite-box {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.roster-sprite {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
}

.roster-card:hover .roster-sprite {
  transform: scale(1.1) rotate(4deg);
}

.roster-name {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.roster-class {
  color: var(--accent-pink);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.roster-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Weapon Arsenal Grid */
.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.weapon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.weapon-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.weapon-img-box {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.weapon-img {
  max-width: 55px;
  max-height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.weapon-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.weapon-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* =========================================
   LEGAL / PRIVACY POLICY / TERMS STYLES
   ========================================= */

.legal-page {
  padding: 5rem 0 6rem 0;
}

.legal-box {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-meta strong {
  color: var(--text-secondary);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem 0;
  color: #ffffff;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem 0;
  color: #e2e8f0;
}

.legal-content p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-content ul, .legal-content ol {
  color: #cbd5e1;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.legal-highlight-box {
  background: rgba(255, 51, 102, 0.08);
  border-left: 4px solid var(--accent-pink);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.legal-highlight-box p {
  margin-bottom: 0;
  color: #f1f5f9;
  font-size: 0.95rem;
}

.legal-callout-eos {
  background: rgba(6, 182, 212, 0.08);
  border-left: 4px solid var(--accent-cyan);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.legal-callout-eos p {
  margin-bottom: 0;
  color: #e0f2fe;
  font-size: 0.95rem;
}

.legal-contact-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: rgba(8, 9, 14, 0.95);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-pink);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal-note {
  max-width: 600px;
  line-height: 1.5;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .showcase-card, .berries-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .feature-list {
    text-align: left;
  }
  .hero-headline {
    font-size: 2.75rem;
  }
  .berries-hero-title {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(10, 11, 16, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .nav-links.active {
    display: flex;
  }
  .btn-mobile-toggle {
    display: block;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .berries-hero-title {
    font-size: 2.5rem;
  }
  .legal-box {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
