@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@200;400;700&display=swap");

html,
body {
  max-width: 100vw; /* Use viewport width */
  overflow-x: hidden;
  position: relative;
  width: 100%; /* Explicitly set width */
}

:root {
  --electric-blue: #00f2ff;
  --crimson: #dc143c;
  --deep-obsidian: #0a0a0c;
  --glass: rgba(255, 255, 255, 0.03);

  --primary: #00f2ff;
  --secondary: #dc143c;
  --primary-rgb: 0, 242, 255;
  --secondary-rgb: 220, 20, 60;

  /* NEW: Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-muted: rgba(255, 255, 255, 0.6);
}

/* Fluid Typography Engine */
.fluid-h1 {
  font-size: clamp(2.5rem, 7vw + 1rem, 6rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.fluid-h2 {
  font-size: clamp(2rem, 4vw + 1rem, 4rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fluid-p {
  font-size: clamp(1rem, 1.2vw + 0.2rem, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
}

h1,
h2,
h3,
.font-heading {
  font-family: "Space Grotesk", sans-serif;
}

.card-hover:hover {
  box-shadow:
    -10px -10px 30px -10px rgba(var(--primary-rgb), 0.25),
    10px 10px 30px -10px rgba(var(--secondary-rgb), 0.25);
}

/* 1. Cyber-Sunset (Deep violet to fiery orange) */
[data-theme="cyber-sunset"] {
  --primary: #ff5f6d;
  --primary-rgb: 255, 95, 109;
  --secondary: #6a11cb;
  --secondary-rgb: 106, 17, 203;
}

/* 2. Acid-Neon (Sharp, energetic, and highly readable) */
[data-theme="acid-neon"] {
  --primary: #ccff00;
  --primary-rgb: 204, 255, 0;
  --secondary: #00f2ff;
  --secondary-rgb: 0, 242, 255;
}

/* 3. Midnight-Aurora (Cool, ethereal, and premium) */
[data-theme="midnight-aurora"] {
  --primary: #00d2ff;
  --primary-rgb: 0, 210, 255;
  --secondary: #9d50bb;
  --secondary-rgb: 157, 80, 187;
}

/* 4. Molten-Gold (Sophisticated, rich, and high contrast) */
[data-theme="molten-gold"] {
  --primary: #ffcc33;
  --primary-rgb: 255, 204, 51;
  --secondary: #ff6600;
  --secondary-rgb: 255, 102, 0;
}

/* 5. Deep-Ocean (Sophisticated, cool, and extremely easy on the eyes) */
[data-theme="deep-ocean"] {
  --primary: #008080;
  --primary-rgb: 0, 128, 128;
  --secondary: #40e0d0;
  --secondary-rgb: 64, 224, 208;
}

/* 6. Matrix-Vibe (Sharp, digital, high contrast, and very 'code-y') */
[data-theme="matrix-vibe"] {
  --primary: #00ff41;
  --primary-rgb: 0, 255, 65;
  --secondary: #333333;
  --secondary-rgb: 51, 51, 51;
}

[data-theme="electric-grape"] {
  --primary: #bf00ff;
  --primary-rgb: 191, 0, 255;
  --secondary: #00ff9f;
  --secondary-rgb: 0, 255, 159;
}

[data-theme="blood-moon"] {
  --primary: #ff0000;
  --primary-rgb: 255, 0, 0;
  --secondary: #ff8c00;
  --secondary-rgb: 255, 140, 0;
}

[data-theme="frozen-voltage"] {
  --primary: #ffffff;
  --primary-rgb: 255, 255, 255;
  --secondary: #0077ff;
  --secondary-rgb: 0, 119, 255;
}

[data-theme="toxic-haze"] {
  --primary: #adff2f;
  --primary-rgb: 173, 255, 47;
  --secondary: #ff00ff;
  --secondary-rgb: 255, 0, 255;
}

[data-theme="rose-quartz"] {
  --primary: #ff007f;
  --primary-rgb: 255, 0, 127;
  --secondary: #70ffd0;
  --secondary-rgb: 112, 255, 208;
}

[data-theme="brutalist-silver"] {
  --primary: #e5e5e5;
  --primary-rgb: 229, 229, 229;
  --secondary: #666666;
  --secondary-rgb: 102, 102, 102;
}

body {
  background-color: var(--deep-obsidian);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.modal-open {
  overflow: hidden;
}

h1,
h2,
h3,
.font-heading {
  font-family: "Space Grotesk", sans-serif;
}

.blue-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(var(--primary-rgb), 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(var(--secondary-rgb), 0.08) 0%, transparent 40%);
  filter: blur(80px);
  animation: mesh-breathe 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes mesh-breathe {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(2%, 2%);
  }
}

/* --- Desktop Nav Styles --- */
.nav-blur {
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 12, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(255, 255, 255, 0.6);
}

.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 16px;
  bottom: 2px;
}

/* --- Mobile Nav Overlay --- */
#mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(15, 15, 20, 0.98) 0%, rgba(5, 5, 5, 1) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Unified Content Reveal (Replaces the staggered pulse) */
.nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Trigger animation when JS turns on display: flex */
#mobile-nav[style*="display: flex"] .nav-content {
  opacity: 1;
  transform: translateY(0);
}

/* --- Close Button (Your Clean & Sharp Styling) --- */
.close-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 100;
}

.close-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(90deg);
}

/* --- Links Layout --- */
/* --- Mobile Nav Links (Desktop Style) --- */
.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* Increased gap for a cleaner, spaced-out look */
  width: 100%;
}

.mobile-links a:not(.btn-dynamic) {
  position: relative;
  color: rgba(255, 255, 255, 0.6); /* Matching your .nav-link desktop color */
  font-size: 2.5rem; /* Large enough for mobile, but clean */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state mimics your desktop .nav-link:hover */
.mobile-links a:not(.btn-dynamic):hover {
  color: #fff;
  transform: translateY(-2px); /* Subtle lift instead of skew */
}

/* The Expanding Underline (Desktop Logic) */
.mobile-links a:not(.btn-dynamic)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px; /* Slightly thicker for mobile visibility */
  background: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.mobile-links a:not(.btn-dynamic):hover::after {
  width: 40px; /* Scaled up from desktop's 16px to fit the larger text */
  bottom: -5px;
}

/* --- Dynamic Pill Buttons (Your Theme & Contact Logic) --- */
.btn-dynamic {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-trigger.btn-dynamic {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: rgba(var(--primary-rgb), 0.1);
}

.btn-dynamic:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: black !important;
  box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-3px);
}

/* --- Social Icons (Keep these for later use) --- */
.social-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  color: black;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

/* ==========================================================================
   THE "GLITCH-REFRACTION" HERO STYLES (FINAL)
   ========================================================================== */

.hero-ghost-text {
  /* Our established Goldilocks size */
  font-size: clamp(8rem, 28vw, 90vh);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);

  /* THE FINAL NUDGE:
     1. rotate(-4deg): Steeper uphill climb.
     2. translate(-50%, -45%): Nudged down slightly more (from -46% to -45%) 
        to compensate for the 'a' swinging higher.
     3. scale(1.03): Keeps the slight edge bleed.
  */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-53%, -45%) rotate(-6deg) scale(1.13);

  transition: all 0.5s ease;
  z-index: 0;
  white-space: nowrap;
  line-height: 0.7;
  letter-spacing: -0.05em;
  pointer-events: none;
}

/* THEME SPECIFIC STROKE */
[data-theme] .hero-ghost-text {
  -webkit-text-stroke: 1.5px var(--primary);
  opacity: 0.15;
}

/* 3. Main Hero Text & "Beygla" Pop */
.blue-gradient {
  filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.4));
}

/* 4. Tilgangur / Typing Text (Fixed Readability) */
.stroke-text {
  color: white; /* Solid for readability */
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3); /* Subtle edge */
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
  letter-spacing: -0.01em;
}

/* --- Hero Buttons :) --- */

/* --- THE STABLE CYBER SHELL --- */

.cyber-shell {
  position: relative;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  background: transparent;
  display: inline-block;
  /* Wrapper stays visible so the button can scale/glow without clipping */
  overflow: visible !important;
}

.shell-container {
  position: relative;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
  transition: all 0.3s ease;
  z-index: 2;
  /* CRITICAL: This keeps the scan line INSIDE the box */
  overflow: hidden !important;
}

/* THE SYNTAX BRACKETS */
.shell-syntax {
  font-family: monospace;
  font-weight: 900;
  font-size: 18px;
  transition: all 0.3s ease;
  opacity: 0.5;
}

/* THE LABEL (The Glitch Target) */
.shell-label {
  font-weight: 950;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: white !important;
  position: relative;
  z-index: 10;
}

/* THE SCAN LINE (The Laser) */
.shell-scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px; /* Thinner, sharper laser */
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateY(-100%);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
}

/* --- THEME COLORS --- */

.shell-primary .shell-syntax {
  color: var(--primary);
}
.shell-secondary .shell-syntax {
  color: var(--secondary);
}

/* --- HOVER EFFECTS --- */

.cyber-shell:hover {
  transform: translateY(-4px);
}

.cyber-shell:hover .shell-container {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* THE TEXT GLITCH */
.cyber-shell:hover .shell-label {
  text-shadow:
    2px 0px 0px #ff00ff,
    -2px 0px 0px #00f2ff;
  animation: shell-glitch 0.15s infinite;
}

/* THE SCAN LINE ACTION */
.cyber-shell:hover .shell-scan {
  opacity: 1;
  animation: laser-travel 1.5s infinite linear;
}

/* ANIMATIONS */
@keyframes shell-glitch {
  0% {
    transform: translate(0);
  }
  25% {
    transform: translate(-1.5px, 0.5px);
  }
  50% {
    transform: translate(1.5px, -0.5px);
  }
  75% {
    transform: translate(-0.5px, -1.5px);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes laser-travel {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(400%);
  } /* Travels the full height of the box */
}

/* --- MC DAGINN ARCHIVE LINK (Logo Vibe) --- */
.mcd-archive-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  opacity: 0.5;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.mcd-label {
  color: white;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5em;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mcd-bracket {
  color: var(--primary);
  font-family: monospace;
  font-size: 16px;
  font-weight: 900;
  transition: all 0.3s ease;
}

/* THE LOGO GLITCH EFFECT */
.mcd-archive-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.mcd-archive-link:hover .mcd-label {
  color: #ffffff;
  /* Chromatic Aberration Shadow */
  text-shadow:
    2px 0px 0px #ff00ff,
    -2px 0px 0px #00f2ff;
  animation: mcd-flicker 0.2s infinite;
}

.mcd-archive-link:hover .mcd-bracket {
  color: #ffffff;
  text-shadow: 0 0 10px var(--primary);
}

/* Match the logo's subtle jitter */
@keyframes mcd-flicker {
  0% {
    opacity: 0.9;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(0.5px);
  }
  100% {
    opacity: 0.9;
    transform: translateX(-0.5px);
  }
}

/* Global safeguard for clipping */
#home {
  position: relative;
  height: 100dvh; /* Dynamic height for mobile */
  width: 100%;
  overflow: hidden !important; /* Forces the 'Beygla' text to stay inside */
  display: flex;
  flex-direction: column;
}
.reveal {
  overflow: visible !important;
}

.hero-shape {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary);
  filter: blur(150px);
  opacity: 0.12;
  border-radius: 50%;
  z-index: -1;
  animation: float 10s infinite alternate;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 100px);
  }
}

::selection {
  background: var(--primary);
  color: var(--deep-obsidian);
}

/* Card Styling with Dual Glow */
/* This is the old project card style */

.card-hover {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  z-index: 1;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* The Spotlight Layer: Sits behind your content but inside the card */
.card-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  /* This uses variables that JS will update in real-time */
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--primary-rgb), 0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1; /* Stays behind your text */
}

/* Updated Hover State */
.card-hover:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  border-color: transparent;
  box-shadow:
    -10px -10px 30px -10px rgba(var(--primary-rgb), 0.35),
    10px 10px 30px -10px rgba(var(--secondary-rgb), 0.35);
  background: rgba(255, 255, 255, 0.04);
}

/* Show the spotlight on hover */
.card-hover:hover::after {
  opacity: 1;
}

/* Your 50/50 Border - Leave this exactly as you had it */
.card-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary) 48%, var(--secondary) 52%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card-hover:hover::before {
  opacity: 1;
}

.typing-container::after {
  content: "|";
  animation: blink 1s infinite;
  color: var(--secondary);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* --- The Final "Jitter Glitch" Logo --- */
.logo-container {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 5px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-logo {
  max-width: 100%;
  height: 32px;
  width: auto;
  overflow: visible;
  display: block;
}

@media (min-width: 768px) {
  .nav-logo {
    height: 42px;
  }
}

.b-word,
.b-bracket-l,
.b-bracket-r {
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: center;
}

/* --- HOVER EFFECTS (Desktop Only) --- */
@media (hover: hover) {
  .logo-container:hover .b-bracket-l {
    transform: translateX(3px); /* Reduced movement so it doesn't touch the B */
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.6));
  }

  .logo-container:hover .b-bracket-r {
    transform: translateX(-3px); /* Reduced movement so it doesn't touch the A */
    filter: drop-shadow(0 0 5px rgba(255, 0, 255, 0.6));
  }

  .logo-container:hover .b-word {
    fill: var(--primary);
    text-shadow:
      1.5px 0 0 rgba(255, 0, 255, 0.6),
      -1.5px 0 0 rgba(0, 242, 255, 0.6),
      0 0 10px rgba(var(--primary-rgb), 0.3);
    animation: jitter-buzz 0.2s infinite;
  }
}

/* Subtle Active State for Mobile */
.logo-container:active .b-word {
  opacity: 0.8;
  fill: var(--primary);
}

@keyframes jitter-buzz {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0.5px, -0.5px);
  }
  50% {
    transform: translate(-0.5px, 0.5px);
  }
  75% {
    transform: translate(0.5px, 0.5px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Custom Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12x);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  /* 1. Change background to be semi-transparent */
  background: rgba(13, 13, 15, 0.6);

  /* 2. Add the blur effect to the container itself */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* For Safari support */

  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* 3. Slightly boost the border visibility for the 'glass' edge */
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 40%, transparent 60%, var(--secondary) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 32px;
  max-height: 60vh;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.close-modal {
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: var(--secondary);
  color: white;
  transform: rotate(90deg);
}

@keyframes rainbow {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Add this to your CSS if you want that extra 1% of polish */
#contact-form {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Effect on project buttons */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none !important;
  color: var(--primary);
  margin-top: auto; /* The magic fix for alignment */
  padding-top: 20px;
}

/* 2. Premium Hover: Subtle glow instead of white shift */
.project-link:hover {
  color: var(--primary);
  text-shadow: 0 0 12px rgba(0, 242, 255, 0.4); /* Glow effect */
}

/* 3. The Arrow remains the focus for the color-shift */
.project-link i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--primary);
}

.project-link:hover i {
  transform: translateX(8px);
  color: var(--secondary); /* Arrow still punches with Crimson */
}

/* Ensure the element is hidden initially */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

/* This is what the Javascript triggers */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .modal-container {
    width: 95%;
    max-height: 80vh;
  }

  /* 1. Shrink the shapes ONLY on mobile so they don't leak off-screen */
  .hero-shape {
    width: 200px;
    height: 200px;
    filter: blur(80px);
  }

  /* 2. Disable the 3D tilt ONLY on mobile to stop the horizontal slide */
  .card-hover:hover {
    transform: translateY(-5px);
    rotate: none;
    perspective: none;
  }

  /* 3. This is where you put the section overflow fix */
  section {
    overflow: hidden;
  }
}

/* Disco Mode */
@keyframes disco {
  0% {
    background-color: #ff00ff;
  }
  25% {
    background-color: #00ffff;
  }
  50% {
    background-color: #ffff00;
  }
  75% {
    background-color: #ff0000;
  }
  100% {
    background-color: #ff00ff;
  }
}
.disco-active {
  animation: disco 0.5s infinite;
}

@keyframes slow-pulse {
  0% {
    background-color: #1a1a2e;
  }
  50% {
    background-color: #16213e;
  }
  100% {
    background-color: #1a1a2e;
  }
}
.pulse-active {
  animation: slow-pulse 2s infinite ease-in-out;
}

/* Invert Filter for Forbidden Console */
.inverted-mode {
  filter: invert(1);
}

/* Base Item Style */
.cmd-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin: 4px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  color: var(--secondary); /* Changed from #94a3b8 */
}

.cmd-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--primary); /* Changed from electric blue */
  color: var(--primary);
}

.cmd-item.selected {
  background: var(--secondary) !important; /* Changed from #334155 */
  border: 1px solid var(--primary) !important;
  color: #000; /* Use black text for high contrast on the primary color */
}

.cmd-item::before {
  content: ">";
  margin-right: 12px;
  font-weight: bold;
  color: var(--primary); /* Now follows the theme */
}

/* Overlay for the full-screen visual effects */
.effect-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
}

.epic-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* The goat image itself */
.epic-goat {
  width: 90vw;
  height: 90vh;
  object-fit: contain;
  animation: zoomIn 3s ease-out forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
    filter: blur(20px);
  }
  20% {
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Full screen overlay for cinematic effects */
.cinematic-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
}

/* The expanding explosion circle */
.big-explosion {
  width: 100vw;
  height: 100vw;
  background: radial-gradient(circle, #ff4400 0%, #ffaa00 20%, transparent 60%);
  border-radius: 50%;
  transform: scale(0);
  animation: blast 1.5s ease-out forwards;
}

@keyframes blast {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  50% {
    transform: scale(2);
    opacity: 0.8;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes explode {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(5);
    opacity: 0;
  }
}

@keyframes pop-grow-spin {
  0% {
    transform: scale(0.1) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.5) rotate(720deg);
    opacity: 1;
  } /* Spins twice while growing */
  100% {
    transform: scale(1) rotate(1080deg);
    opacity: 1;
  } /* Continues spinning */
}

.epic-emoji {
  font-size: 20vw;
  display: inline-block;
  animation: pop-grow-spin 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.epic-emoji-container {
  position: fixed !important; /* Force position */
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999999 !important; /* Super high index */
  background: rgba(0, 0, 0, 0.9) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Ensure modal buttons look correct */
/* Highlights the currently selected theme button ( upgraded ) */
.modal-container .theme-btn.active {
  color: var(--primary) !important;
  background: rgba(var(--primary-rgb), 0.15) !important;
  border: 1px solid transparent !important; /* Important for the border animation below */

  /* Soft inner glow */
  box-shadow:
    inset 0 0 15px -3px rgba(var(--primary-rgb), 0.2),
    0 0 10px rgba(var(--primary-rgb), 0.1);

  position: relative;
  overflow: hidden;
}

/* The Animated Border Layer - This sits over the default border */
/* The "Luxe" Active State */
.modal-container .theme-btn.active {
  color: var(--primary) !important;
  background: rgba(var(--primary-rgb), 0.1) !important;
  border: 1px solid var(--primary) !important;

  /* Create a soft outer glow that matches the theme */
  box-shadow:
    0 0 20px rgba(var(--primary-rgb), 0.15),
    inset 0 0 10px rgba(var(--primary-rgb), 0.05) !important;

  /* Subtle "Scanning" light effect */
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* The Animated "Signal" line on the left */
.modal-container .theme-btn.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  border-radius: 0 2px 2px 0;
}

/* Subtle pulse animation to make it feel alive */
.modal-container .theme-btn.active {
  animation: theme-pulse 3s ease-in-out infinite;
}

@keyframes theme-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    box-shadow:
      0 0 25px rgba(var(--primary-rgb), 0.25),
      inset 0 0 10px rgba(var(--primary-rgb), 0.1) !important;
  }
}

.modal-container .theme-btn:hover {
  background: var(--primary);
  color: black;
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* ADD THIS - DO NOT REPLACE YOUR ACTIVE STATE CODE */
.theme-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%; /* Ensure they fill the grid column */
  justify-content: flex-start;
  text-align: left;
  padding: 12px 15px !important;
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#themeMenu .font-heading {
  transition: color 0.5s ease;
}

.konami-spin {
  transition: transform 0.5s ease-in-out;
  transform: rotate(360deg);
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--electric-blue);
}

/* Mobile adjustments for the 'Master Plan' About Section */
@media (max-width: 1024px) {
  #about .sticky {
    position: static; /* Stops the sidebar from floating over content on mobile */
  }

  #about .border-l {
    border-left: none; /* Removes the vertical line on mobile */
    padding-left: 0;
    display: flex;
    gap: 2rem; /* Spaced out horizontally instead */
    margin-top: 2rem;
  }

  #about .absolute.-left-\[21px\] {
    display: none; /* Hides the timeline dots on mobile to keep it clean */
  }
}

/* PRIMARY ELECTRIC (Cyan) */
.btn-electric {
  background: var(--primary, #00f2ff) !important;
  color: #000 !important;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

/* PRIMARY ELECTRIC (Follows Theme Switcher) */
.btn-electric {
  /* This pulls directly from your switcher's --primary variable */
  background-color: var(--primary) !important;
  color: var(--deep-obsidian, #000) !important;

  font-weight: 800;
  padding: 14px 32px;
  border-radius: 50px !important; /* Pill shape */

  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  position: relative;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-electric {
  position: relative;
  background-color: var(--primary) !important;
  color: var(--deep-obsidian, #000) !important;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 50px !important;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.3s ease;
  z-index: 1; /* Keep text above the glow */
}

/* THE SOFT GLOW LAYER */
.btn-electric::after {
  content: "";
  position: absolute;
  inset: 0; /* Match button size */
  border-radius: 50px;
  background-color: var(--primary);
  /* The Secret: Control the glow intensity here */
  opacity: 0;
  filter: blur(20px);
  z-index: -1; /* Place behind the button */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* HOVER STATES */
.btn-electric:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.btn-electric:hover::after {
  opacity: 0.4; /* Soft, 40% opacity theme glow */
  transform: scale(1.1); /* Glow spreads slightly wider than button */
}

/* SECONDARY VERSION */
.btn-electric-secondary {
  position: relative;
  background-color: var(--secondary) !important;
  color: var(--deep-obsidian, #000) !important;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 50px !important;
  border: none;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn-electric-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background-color: var(--secondary);
  opacity: 0;
  filter: blur(20px);
  z-index: -1;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.btn-electric-secondary:hover {
  transform: translateY(-3px);
}

.btn-electric-secondary:hover::after {
  opacity: 0.4;
}

/* Custom Focus State for Inputs */
.input-theme-focus {
  /* Ensure it doesn't fight Tailwind's layout */
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
}

.input-theme-focus:focus {
  /* Uses your secondary theme variable */
  border-color: var(--secondary) !important;

  /* Use an inset shadow so it doesn't push neighboring elements */
  box-shadow:
    0 0 0 1px var(--secondary),
    0 0 12px rgba(var(--secondary-rgb), 0.2) !important;

  /* If you don't have secondary-rgb set up, use this simpler one: */
  /* box-shadow: 0 0 12px var(--secondary) !important; */

  background-color: rgba(255, 255, 255, 0.05) !important;
  outline: none !important;
}

/* ============= Projects Styles ============== */

/* --- BEYGLA PROJECT GRID --- */

.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.project-card:hover {
  /* We use TranslateY for lift, but keep the 3D rotation out to prevent glitches */
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.03);
  border-color: transparent; /* Hides base border to let gradient border shine */

  /* THE BI-DIRECTIONAL GLOW: From your old styles */
  box-shadow:
    -15px -15px 40px -15px rgba(var(--primary-rgb), 0.3),
    15px 15px 40px -15px rgba(var(--secondary-rgb), 0.3),
    0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

/* 1. THE 50/50 GRADIENT BORDER (Top Layer) */
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary) 48%, var(--secondary) 52%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.project-card:hover::after {
  opacity: 1;
}

/* 2. THE SPOTLIGHT (Middle Layer) */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--primary-rgb), 0.1),
    transparent 40%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

/* 3. CONTENT WRAPPER */
.card-content {
  position: relative;
  z-index: 2; /* Sits between spotlight and border */
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Featured Project Horizontal Split */
@media (min-width: 1024px) {
  .project-card.featured .card-content {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .project-card.featured .media-frame {
    width: 45%;
    margin-bottom: 0;
  }
  .project-card.featured .project-info {
    width: 55%;
  }
}

/* 4. MEDIA FRAME (Logo/Screenshot Nest) */
.project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  /* CHANGE: This ensures the whole image is visible */
  object-fit: contain;

  /* Padding: Adds some breathing room so the logo doesn't touch the edges */
  padding: 2rem;

  z-index: 5;
  opacity: 0.8;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;
}

.project-card:hover .project-img {
  opacity: 1;
  /* Subtle scale up, but not enough to clip the edges */
  transform: scale(1.05);
}

/* Optional: If the image has a transparent background, 
   the media-glow will now shine through the 'empty' space */
.media-glow {
  position: absolute;
  inset: 15%; /* Concentrates the glow behind the logo */
  background: var(--primary);
  opacity: 0.1;
  filter: blur(40px);
  transition: all 0.6s ease;
}

.project-card:hover .media-glow {
  opacity: 0.25;
  transform: scale(1.4);
}

/* 5. TYPOGRAPHY */
.project-card h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.project-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* --- STATUS BADGES --- */
.status-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* The Glowing Dot */
.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

/* Status Variants */
.status-badge.published::before {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
}
.status-badge.development::before {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.status-badge.incoming::before {
  background: #ffaa00;
  box-shadow: 0 0 10px #ffaa00;
}

/* --- UPDATED BUTTON WITH FA ICON --- */
.project-btn {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 1rem; /* Space for the FA icon */
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: auto;
}

.btn-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.2em;
}

.project-card:hover .btn-icon {
  transform: translateX(10px) scale(1.1);
}
/* 1. The Container (The Frame) */
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 1.5rem;
  display: flex; /* CRITICAL: Centers the image */
  align-items: center; /* CRITICAL: Centers vertically */
  justify-content: center; /* CRITICAL: Centers horizontally */
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* 2. The Image (The Logo) */
.project-img {
  /* Remove 'inset: 0' and 'width/height: 100%' if they are causing stretching */
  max-width: 85%; /* Ensures it never touches the edges */
  max-height: 75%; /* Gives it some vertical breathing room */
  width: auto; /* Keeps original proportions */
  height: auto; /* Keeps original proportions */

  object-fit: contain;
  z-index: 5;
  opacity: 0.8;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;

  /* Remove position: absolute if you want Flexbox to handle the centering */
  position: relative;
}

.project-card:hover .project-img {
  opacity: 1;
  transform: scale(1.1); /* Now it scales from the center perfectly */
}

/* Logic for the Icon (Font Awesome) */
.media-frame i {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .media-frame i {
  transform: scale(1.2) rotate(-5deg); /* Subtle 'pop' for icons */
}
.object-contain {
  object-fit: contain !important;
}
.object-cover {
  object-fit: cover !important;
  padding: 0 !important;
}
/* Unique Contact Ghost Text */
.contact-ghost-text {
  /* Positioning it lower in the section */
  position: absolute;
  top: 15vh; /* Pushes it 15% down from the top of the #contact section */
  right: 5%; /* Pulls it slightly away from the right edge to prevent clipping */

  font-size: 12vw;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
  opacity: 0.15;
  line-height: 0.8;
  user-select: none;
  white-space: nowrap;

  pointer-events: all;
  cursor: default;

  /* Upward tilt from the ? (Right side) */
  transform: rotate(10deg);
  transform-origin: right center;

  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Updated Keyframes for the new 10deg base */
@keyframes textGlitch {
  0% {
    transform: rotate(10deg) translate(-1px, 1px);
  }
  25% {
    transform: rotate(10.5deg) translate(1px, -1px);
  }
  50% {
    transform: rotate(9.5deg) translate(-1.5px, -0.5px);
  }
  75% {
    transform: rotate(10.2deg) translate(0.5px, 1.5px);
  }
  100% {
    transform: rotate(10deg) translate(-1px, 1px);
  }
}

.contact-ghost-text:hover {
  opacity: 0.6;
  -webkit-text-stroke: 1.5px var(--secondary);
  animation: textGlitch 0.15s infinite;
  filter: drop-shadow(0 0 8px rgba(var(--secondary-rgb), 0.3));
}
@media (max-width: 768px) {
  /* Scale down the Ghost Text so it doesn't drown the screen */
  .contact-ghost-text {
    font-size: 25vw; /* Larger relative to screen, but smaller total area */
    top: 5vh;
    right: 2%;
    opacity: 0.1; /* Fade it more so it stays in the background */
    transform: rotate(8deg); /* Slightly flatter tilt for narrow screens */
  }

  /* Adjust the main headline for mobile */
  #contact h2.text-7xl {
    font-size: 4.5rem !important; /* "Hafðu" */
    line-height: 1;
  }

  #contact .blue-gradient {
    font-size: 5.5rem !important; /* "samband." - Make this the hero */
    display: block;
    margin-top: -10px;
  }

  /* Scale the Cyber-Shell for mobile */
  #contact .cyber-shell {
    scale: 1.4 !important; /* Bring it down from 2.2 so it fits the width */
    margin-top: 4rem;
  }

  /* Adjust the subtext size */
  #contact p.text-2xl {
    font-size: 1.25rem !important;
    line-height: 1.2;
    margin-top: 2rem;
  }
}
@media (max-width: 768px) {
  /* Ensure the shell-container doesn't feel too cramped when not scaled */
  #contact .shell-container {
    padding: 1.5rem 2rem !important; /* Slightly smaller padding for mobile */
    gap: 1rem !important;
  }

  #contact .shell-label {
    font-size: 1.25rem !important; /* Smaller text so it doesn't wrap */
  }

  /* Make the glow less intense on mobile so it doesn't wash out the screen */
  #contact .bg-secondary\/10 {
    inset: -40px !important;
  }

  /* Adjust the corner accents so they stay tight to the smaller button */
  #contact .absolute.-top-4 {
    top: -0.5rem !important;
    left: -0.5rem !important;
  }
  #contact .absolute.-bottom-4 {
    bottom: -0.5rem !important;
    right: -0.5rem !important;
  }
}
