/* =========================
   Variables
========================= */
:root {
  --background: #0f1117;
  --background-dark: #0b0d12;
  --card-bg: #11151f;
  --primary: #39ff14;
  --text: #ffffff;
  --secondary: #bdbdbd;
  --muted: #777777;
  --border-green: rgba(57, 255, 20, 0.25);
}

/* =========================
   Base Reset
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: Arial, sans-serif;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

p {
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =========================
   Loader
========================= */
#loader {
  position: fixed;
  inset: 0;
  background: var(--background);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.loader-already-shown #loader {
  display: none !important;
}

.loader-logo {
  width: 260px;
  max-width: 80%;
  opacity: 0;
  z-index: 2;
  animation: logoZoomFade 3.8s ease forwards;
}

.code-symbols {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.code-symbols span {
  position: absolute;
  color: rgba(57, 255, 20, 0.15);
  font-size: 1.5rem;
  font-family: Consolas, monospace;
  animation: floatCode 10s linear infinite;
}

.code-symbols span:nth-child(1) {
  top: 10%;
  left: 15%;
}

.code-symbols span:nth-child(2) {
  top: 25%;
  right: 15%;
}

.code-symbols span:nth-child(3) {
  bottom: 20%;
  left: 20%;
}

.code-symbols span:nth-child(4) {
  top: 65%;
  right: 25%;
}

.code-symbols span:nth-child(5) {
  top: 45%;
  left: 75%;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  box-shadow:
    0 0 10px var(--primary),
    0 0 20px var(--primary);
  animation: scan 3s ease infinite;
}

.particles::before,
.particles::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.15;
  animation: drift 12s linear infinite;
}

/* =========================
   Header / Menu
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: var(--background-dark);
  border-bottom: 1px solid rgba(57, 255, 20, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 25px;
}

.logo,
.logo a,
.logo img,
.logo-text {
  margin: 0;
  padding: 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 10px rgba(57, 255, 20, 0.3))
    drop-shadow(0 0 20px rgba(57, 255, 20, 0.2));
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}

.logo-tagline {
  color: var(--primary);
  font-size: 0.75rem;
  line-height: 1;
  margin-top: 4px;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

nav a {
  color: var(--text);
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--primary);
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(57, 255, 20, 0.4);
  color: var(--primary);
  font-size: 1.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* =========================
   Main Layout
========================= */
main {
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 20px 60px;
}

.container {
  width: 100%;
  max-width: 700px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container > img {
  width: 180px;
  max-width: 80%;
  margin-bottom: 30px;
  filter:
    drop-shadow(0 0 10px rgba(57, 255, 20, 0.2))
    drop-shadow(0 0 20px rgba(57, 255, 20, 0.1));
}

.coming-soon {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 650px;
  margin: 0 auto 25px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 25px 0;
}

/* =========================
   Buttons
========================= */
.instagram,
.hero-button {
  display: inline-block;
  background: var(--primary);
  color: #000;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
}

.instagram:hover,
.hero-button:hover {
  opacity: 0.9;
}

.secondary-button {
  display: inline-block;
  border: 1px solid rgba(57, 255, 20, 0.5);
  color: var(--primary);
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
}

.secondary-button:hover {
  background: rgba(57, 255, 20, 0.08);
}

/* =========================
   General Page Sections
========================= */
.page-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.page-title {
  max-width: 700px;
  margin: 0 auto 50px;
}

.page-title h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* =========================
   Homepage
========================= */
.home-main {
  display: block;
  padding: 60px 20px;
}

.hero-section {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0 60px;
}

.hero-logo {
  width: 190px;
  max-width: 80%;
  margin-bottom: 30px;
  filter:
    drop-shadow(0 0 10px rgba(57, 255, 20, 0.25))
    drop-shadow(0 0 35px rgba(57, 255, 20, 0.18));
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.home-info-section {
  max-width: 850px;
  margin: 0 auto 45px;
  text-align: center;
  background: rgba(17, 21, 31, 0.65);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 18px;
  padding: 35px 30px;
}

.home-info-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 15px;
}

.home-info-section p {
  margin-bottom: 0;
}

.home-services-preview {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mini-card {
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: 0.3s ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.14);
}

.mini-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.mini-card p {
  margin-bottom: 0;
}

/* =========================
   Services
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  padding: 30px 20px;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.15);
}

.service-card h2 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  margin-bottom: 0;
}

.service-card ul {
  list-style: none;
  margin-top: 20px;
  text-align: left;
}

.service-card li {
  color: var(--secondary);
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.service-card li::before {
  content: "✓";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* =========================
   Portfolio
========================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: 0.3s ease;

  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.15);
}

.portfolio-badge {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portfolio-card h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.portfolio-card p:not(.portfolio-badge) {
  margin-bottom: 25px;
}

.portfolio-card a {
  display: inline-block;
  margin-top: auto;
  align-self: center;

  color: #000;
  background: var(--primary);

  padding: 13px 22px;
  border-radius: 8px;

  text-decoration: none;
  font-weight: bold;
}

.portfolio-card a:hover {
  opacity: 0.9;
}

/* =========================
   About
========================= */
.about-card {
  max-width: 850px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
}

.about-card p {
  margin-bottom: 20px;
}

.about-tagline {
  color: var(--primary) !important;
  font-weight: bold;
  letter-spacing: 4px;
  margin-top: 30px;
}

/* =========================
   Shop Page
========================= */
.shop-section-title {
  margin-top: 80px;
  margin-bottom: 35px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.shop-card {
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 35px 25px;
  text-align: center;
  transition: 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.15);
}

.featured-shop-card {
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.12);
}

.shop-badge {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.shop-card h2 {
  margin-bottom: 15px;
}

.shop-card ul {
  list-style: none;
  margin: 25px 0;
  text-align: left;
}

.shop-card li {
  color: var(--secondary);
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.shop-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.shop-price {
  color: var(--primary);
  font-size: 2rem;
  font-weight: bold;
  margin: 25px 0;
}

.shop-button {
  display: inline-block;
  background: var(--primary);
  color: #000;
  text-decoration: none;
  padding: 14px 28px;
  border: 0;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.shop-button:hover {
  opacity: 0.9;
}

.custom-loader-box {
  max-width: 800px;
  margin: 50px auto 0;
  background: rgba(17, 21, 31, 0.65);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 18px;
  padding: 35px 25px;
  text-align: center;
}

.custom-loader-box h2 {
  color: var(--primary);
  margin-bottom: 15px;
}

.pricing-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 15px;
}

/* =========================
   Contact Page
========================= */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
}

.contact-card h2 {
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-small {
  margin-top: 25px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.contact-option {
  display: block;
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid var(--border-green);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-option:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.12);
}

.contact-option span {
  display: block;
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.contact-option strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  text-align: left;
  margin-top: 20px;
}

.contact-list li {
  color: var(--secondary);
  margin-bottom: 13px;
  padding-left: 24px;
  position: relative;
}

.contact-list li::before {
  content: "✓";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.contact-note-box {
  max-width: 850px;
  margin: 45px auto 0;
  background: rgba(17, 21, 31, 0.65);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 18px;
  padding: 35px 25px;
  text-align: center;
}

.contact-note-box h2 {
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-form-toggle {
  display: inline-block;
  background: var(--primary);
  color: #000;
  border: none;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
}

.contact-form-toggle:hover {
  opacity: 0.9;
}

.contact-form-box {
  display: none;
  max-width: 850px;
  margin: 45px auto 0;
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 35px 25px;
  text-align: center;
}

.contact-form-box.open {
  display: block;
}

.contact-form-box h2 {
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-form {
  margin-top: 25px;
  text-align: left;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #0b0d12;
  color: var(--text);
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: 10px;
  padding: 14px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.12);
}

.form-success {
  color: var(--primary);
  font-weight: bold;
}

.form-error {
  color: #ff6b6b;
  font-weight: bold;
}

/* =========================
   Startup Lab
========================= */
.lab-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.lab-buttons a {
  display: inline-block;
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  color: var(--primary);
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: bold;
  transition: 0.3s ease;
}

.lab-buttons a:hover {
  background: rgba(57, 255, 20, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
}

/* =========================
   Startup Variations
========================= */
.startup-garvis {
  background:
    radial-gradient(circle at center, rgba(57, 255, 20, 0.12), transparent 35%),
    var(--background);
}

.garvis-hud {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
}

.hud-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 50%;
  animation: hudSpin 4s linear infinite;
}

.ring-two {
  inset: 35px;
  animation-duration: 3s;
  animation-direction: reverse;
}

.ring-three {
  inset: 70px;
  animation-duration: 5s;
}

.garvis-terminal {
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: Consolas, monospace;
  color: var(--primary);
  font-size: 0.9rem;
}

.garvis-terminal span {
  opacity: 0;
  animation: terminalLine 0.4s forwards;
}

.garvis-terminal span:nth-child(1) { animation-delay: 0.2s; }
.garvis-terminal span:nth-child(2) { animation-delay: 0.7s; }
.garvis-terminal span:nth-child(3) { animation-delay: 1.2s; }
.garvis-terminal span:nth-child(4) { animation-delay: 1.7s; }
.garvis-terminal span:nth-child(5) { animation-delay: 2.2s; }
.garvis-terminal span:nth-child(6) { animation-delay: 2.7s; }

.garvis-logo,
.matrix-logo,
.gaming-logo,
.neon-logo,
.cyber-logo,
.blueprint-logo {
  animation: logoZoomFade 3.8s ease forwards;
}

.startup-matrix {
  background: #020402;
}

.matrix-rain span {
  position: absolute;
  color: rgba(57, 255, 20, 0.35);
  font-family: Consolas, monospace;
  animation: matrixFall 3.8s linear infinite;
}

.matrix-rain span:nth-child(1) { left: 10%; animation-delay: 0s; }
.matrix-rain span:nth-child(2) { left: 22%; animation-delay: 0.4s; }
.matrix-rain span:nth-child(3) { left: 35%; animation-delay: 0.8s; }
.matrix-rain span:nth-child(4) { left: 50%; animation-delay: 0.2s; }
.matrix-rain span:nth-child(5) { left: 65%; animation-delay: 0.6s; }
.matrix-rain span:nth-child(6) { left: 78%; animation-delay: 1s; }
.matrix-rain span:nth-child(7) { left: 90%; animation-delay: 0.3s; }

.matrix-center {
  text-align: center;
  z-index: 2;
}

.matrix-center p {
  color: var(--primary);
  font-family: Consolas, monospace;
  letter-spacing: 3px;
}

.startup-gaming {
  background:
    linear-gradient(rgba(57, 255, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.05) 1px, transparent 1px),
    var(--background);
  background-size: 40px 40px;
}

.gaming-text {
  position: absolute;
  top: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Consolas, monospace;
  color: var(--primary);
}

.gaming-text span {
  opacity: 0;
  animation: terminalLine 0.4s forwards;
}

.gaming-text span:nth-child(1) { animation-delay: 0.3s; }
.gaming-text span:nth-child(2) { animation-delay: 0.9s; }
.gaming-text span:nth-child(3) { animation-delay: 1.5s; }
.gaming-text span:nth-child(4) { animation-delay: 2.1s; }

/* Neon Pulse */
.startup-neon {
  background:
    radial-gradient(circle at center, rgba(57, 255, 20, 0.18), transparent 35%),
    var(--background);
}

.neon-rings span {
  position: absolute;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 50%;
  animation: neonPulse 2.8s ease forwards;
}

.neon-rings span:nth-child(1) {
  width: 220px;
  height: 220px;
}

.neon-rings span:nth-child(2) {
  width: 320px;
  height: 320px;
  animation-delay: 0.4s;
}

.neon-rings span:nth-child(3) {
  width: 420px;
  height: 420px;
  animation-delay: 0.8s;
}

.neon-text {
  position: absolute;
  bottom: 80px;
  text-align: center;
  opacity: 0;
  animation: fadeUpSimple 0.8s ease forwards;
  animation-delay: 1.6s;
}

.neon-text h2 {
  color: var(--text);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.neon-text p {
  color: var(--primary);
  margin-bottom: 0;
}

/* Terminal Boot */
.startup-terminal {
  background: #050805;
}

.terminal-window {
  width: min(520px, 85%);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.12);
}

.terminal-bar {
  background: #11151f;
  padding: 10px;
  display: flex;
  gap: 8px;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.terminal-lines {
  padding: 22px;
  font-family: Consolas, monospace;
}

.terminal-lines p {
  color: var(--primary);
  margin-bottom: 10px;
  opacity: 0;
  animation: terminalLine 0.35s forwards;
}

.terminal-lines p:nth-child(1) { animation-delay: 0.2s; }
.terminal-lines p:nth-child(2) { animation-delay: 0.7s; }
.terminal-lines p:nth-child(3) { animation-delay: 1.2s; }
.terminal-lines p:nth-child(4) { animation-delay: 1.7s; }
.terminal-lines p:nth-child(5) { animation-delay: 2.2s; }
.terminal-lines p:nth-child(6) { animation-delay: 2.7s; }

.terminal-logo {
  position: absolute;
  width: 150px;
  bottom: 60px;
  opacity: 0;
  animation: terminalLogoIn 1s ease forwards;
  animation-delay: 2.7s;
}

/* Cyber Scan */
.startup-cyber {
  background:
    linear-gradient(90deg, rgba(57, 255, 20, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(57, 255, 20, 0.04) 1px, transparent 1px),
    #040807;
  background-size: 45px 45px;
}

.cyber-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(57, 255, 20, 0.18),
    transparent
  );
  height: 120px;
  animation: cyberScan 3.5s ease forwards;
}

.cyber-panel {
  position: absolute;
  left: 40px;
  top: 40px;
  font-family: Consolas, monospace;
}

.cyber-panel p {
  color: var(--primary);
  margin-bottom: 10px;
  opacity: 0;
  animation: terminalLine 0.35s forwards;
}

.cyber-panel p:nth-child(1) { animation-delay: 0.2s; }
.cyber-panel p:nth-child(2) { animation-delay: 0.7s; }
.cyber-panel p:nth-child(3) { animation-delay: 1.2s; }
.cyber-panel p:nth-child(4) { animation-delay: 1.9s; }
.cyber-panel p:nth-child(5) { animation-delay: 2.5s; }

/* Blueprint */
.startup-blueprint {
  background: #06111a;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: blueprintMove 8s linear infinite;
}

.blueprint-box {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blueprint-logo {
  width: 210px;
  opacity: 0;
}

.corner {
  position: absolute;
  width: 45px;
  height: 45px;
  border-color: var(--primary);
  opacity: 0;
  animation: fadeUpSimple 0.5s forwards;
}

.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid;
  border-right: 2px solid;
}

.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.blueprint-text {
  position: absolute;
  bottom: 55px;
  text-align: center;
  font-family: Consolas, monospace;
}

.blueprint-text p {
  color: var(--primary);
  margin-bottom: 8px;
  opacity: 0;
  animation: terminalLine 0.35s forwards;
}

.blueprint-text p:nth-child(1) { animation-delay: 0.5s; }
.blueprint-text p:nth-child(2) { animation-delay: 1.2s; }
.blueprint-text p:nth-child(3) { animation-delay: 1.9s; }

/* Glitch Reveal */
.startup-glitch {
  background: #060606;
  flex-direction: column;
  gap: 12px;
}

.glitch-text {
  color: var(--text);
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 5px;
  position: relative;
  animation: glitchFade 0.6s ease forwards;
}

.glitch-text:nth-child(1) { animation-delay: 0.1s; }
.glitch-text:nth-child(2) { animation-delay: 0.8s; }
.glitch-text:nth-child(3) { animation-delay: 1.5s; }

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  opacity: 0.7;
}

.glitch-text::before {
  transform: translateX(-3px);
  clip-path: inset(0 0 55% 0);
}

.glitch-text::after {
  transform: translateX(3px);
  clip-path: inset(55% 0 0 0);
}

.glitch-logo {
  width: 180px;
  opacity: 0;
  animation: terminalLogoIn 0.8s ease forwards;
  animation-delay: 2.4s;
}

/* Minecraft Boot */
.startup-minecraft {
  background:
    linear-gradient(45deg, rgba(57, 255, 20, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(57, 255, 20, 0.06) 25%, transparent 25%),
    #071007;
  background-size: 40px 40px;
}

.mc-terminal {
  width: min(700px, 90%);
  font-family: Consolas, monospace;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.12);
}

.mc-terminal p {
  color: var(--primary);
  margin-bottom: 10px;
  opacity: 0;
  animation: terminalLine 0.35s forwards;
}

.mc-terminal p:nth-child(1) { animation-delay: 0.2s; }
.mc-terminal p:nth-child(2) { animation-delay: 0.8s; }
.mc-terminal p:nth-child(3) { animation-delay: 1.4s; }
.mc-terminal p:nth-child(4) { animation-delay: 2s; }
.mc-terminal p:nth-child(5) { animation-delay: 2.6s; }

.minecraft-logo {
  position: absolute;
  width: 160px;
  bottom: 50px;
  opacity: 0;
  animation: terminalLogoIn 1s ease forwards;
  animation-delay: 2.8s;
}

/* =========================
   Footer
========================= */
.site-footer {
  background: var(--background-dark);
  border-top: 1px solid rgba(57, 255, 20, 0.2);
  padding: 40px 20px;
  text-align: center;
}

.footer-inner h2 {
  color: var(--primary);
  margin-bottom: 10px;
}

.footer-tagline {
  color: var(--primary);
  letter-spacing: 3px;
  font-size: 0.85rem;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =========================
   Animations
========================= */
@keyframes logoZoomFade {
  0% {
    transform: scale(0.4);
    opacity: 0;
    filter: drop-shadow(0 0 0 var(--primary));
  }

  25% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 20px var(--primary));
  }

  65% {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 35px var(--primary));
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
    filter: drop-shadow(0 0 70px var(--primary));
  }
}

@keyframes floatCode {
  0% {
    transform: translateY(20px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(20px);
  }
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-40px);
  }
}

@keyframes hudSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes terminalLine {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes matrixFall {
  from {
    top: -10%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  to {
    top: 110%;
    opacity: 0;
  }
}

@keyframes neonPulse {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }

  45% {
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes fadeUpSimple {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes terminalLogoIn {
  from {
    opacity: 0;
    transform: scale(0.75);
    filter: drop-shadow(0 0 0 var(--primary));
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 25px var(--primary));
  }
}

@keyframes cyberScan {
  from {
    transform: translateY(-150px);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}

@keyframes blueprintMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 80px 80px;
  }
}

@keyframes glitchFade {
  0% {
    opacity: 0;
    transform: skewX(-10deg);
  }

  30% {
    opacity: 1;
    transform: skewX(10deg);
  }

  60% {
    transform: skewX(-4deg);
  }

  100% {
    opacity: 1;
    transform: skewX(0);
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services-preview,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .hero-section h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  header {
    padding: 8px 18px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    z-index: 1000;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav a {
    display: block;
    padding: 16px 20px;
  }

  .logo img {
    height: 38px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-tagline {
    font-size: 0.65rem;
  }

  h1,
  .page-title h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 550px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding-top: 25px;
  }

  .page-section {
    padding: 50px 15px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .instagram,
  .secondary-button,
  .hero-button {
    width: 100%;
    max-width: 300px;
  }
}

/* =========================
   Homepage Polish
========================= */
.home-hero {
  padding-top: 20px;
}

.home-eyebrow {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 4px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.home-services-preview {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 50px;
}

.home-split-section {
  max-width: 1100px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.home-split-card {
  background: rgba(17, 21, 31, 0.75);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 18px;
  padding: 35px 30px;
  text-align: left;
}

.home-split-card h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
}

.home-split-card p:last-child {
  margin-bottom: 0;
}

.home-check-list {
  list-style: none;
  margin-top: 20px;
}

.home-check-list li {
  color: var(--secondary);
  margin-bottom: 13px;
  padding-left: 26px;
  position: relative;
}

.home-check-list li::before {
  content: "✓";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.home-portfolio-highlight {
  max-width: 1100px;
  margin: 70px auto 0;
  text-align: center;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-center-button {
  margin-top: 35px;
}

.home-cta-box {
  max-width: 850px;
  margin: 70px auto 0;
  background:
    radial-gradient(circle at top, rgba(57, 255, 20, 0.12), transparent 45%),
    var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 20px;
  padding: 45px 30px;
  text-align: center;
}

.home-cta-box h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

@media (max-width: 900px) {
  .home-split-section,
  .home-project-grid {
    grid-template-columns: 1fr;
  }

  .home-services-preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .home-services-preview {
    grid-template-columns: 1fr;
  }

  .home-split-card {
    text-align: center;
  }

  .home-check-list {
    text-align: left;
  }

  .home-cta-box h2 {
    font-size: 1.8rem;
  }
}

/* =========================
   Services Page Polish
========================= */
.services-large-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-large-card {
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 35px 28px;
  text-align: left;
  transition: 0.3s ease;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-large-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.15);
}

.service-badge {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-large-card h2 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-large-card ul {
  list-style: none;
  margin: 20px 0 28px;
}

.service-large-card li {
  color: var(--secondary);
  margin-bottom: 11px;
  padding-left: 26px;
  position: relative;
}

.service-large-card li::before {
  content: "✓";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.service-large-card .shop-button {
  margin-top: auto;
  align-self: flex-start;
}

.services-process-section {
  max-width: 1100px;
  margin: 80px auto 0;
}

.services-process-title {
  margin-bottom: 35px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-card {
  background: rgba(17, 21, 31, 0.75);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;
  margin-bottom: 18px;

  background: var(--primary);
  color: #000;
  border-radius: 50%;

  font-weight: bold;
  font-size: 1.2rem;
}

.process-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.process-card p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .services-large-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-large-card {
    text-align: center;
  }

  .service-large-card ul {
    text-align: left;
  }

  .service-large-card .shop-button {
    align-self: center;
  }
}

/* =========================
   Mobile Homepage Fix
========================= */
@media (max-width: 700px) {
  .home-main {
    padding-top: 25px;
  }

  .hero-section {
    padding-top: 20px;
  }

  .hero-logo {
    width: 165px;
    margin-bottom: 35px;
  }

  .home-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 4px;
  }

  .hero-section h1 {
    font-size: 2.45rem;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.65;
  }
}

/* =========================
   Tiny Window / Small Chrome Fix
========================= */
@media (max-width: 520px) {
  body {
    overflow-x: hidden;
  }

  header {
    padding: 8px 12px;
  }

  .logo a {
    gap: 6px;
  }

  .logo img {
    height: 34px;
  }

  .logo-title {
    font-size: 0.95rem;
  }

  .logo-tagline {
    font-size: 0.6rem;
  }

  .menu-toggle {
    font-size: 1.5rem;
    padding: 5px 10px;
  }

  .home-main {
    padding: 20px 14px 50px;
  }

  .hero-section {
    padding: 15px 0 45px;
  }

  .hero-logo {
    width: 145px;
    margin-bottom: 30px;
  }

  .home-eyebrow,
  .coming-soon {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }

  .hero-section h1,
  .page-title h1 {
    font-size: 2.15rem;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-buttons {
    width: 100%;
    gap: 14px;
  }

  .hero-buttons .instagram,
  .hero-buttons .secondary-button,
  .hero-buttons .hero-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .page-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mini-card,
  .service-large-card,
  .portfolio-card,
  .shop-card,
  .contact-card,
  .home-split-card,
  .home-cta-box {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =========================
   Tiny Window Button Fix
========================= */
@media (max-width: 520px) {
  .hero-buttons {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 300px;
    display: block;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .hero-buttons {
    max-width: 280px;
  }

  .hero-buttons a {
    max-width: 280px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* =========================
   Hero Button Alignment Fix
========================= */
.hero-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-buttons a {
  text-align: center;
}

@media (max-width: 700px) {
  .hero-buttons {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 380px) {
  .hero-buttons {
    max-width: 280px;
  }

  .hero-buttons a {
    max-width: 280px;
  }
}

/* =========================
   About Page Polish
========================= */
.about-intro-card {
  max-width: 900px;
  margin: 0 auto 45px;
  background:
    radial-gradient(circle at top, rgba(57, 255, 20, 0.10), transparent 45%),
    var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}

.about-intro-card h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
}

.about-intro-card p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-info-card {
  background: rgba(17, 21, 31, 0.75);
  border: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: left;
  transition: 0.3s ease;
}

.about-info-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.14);
}

.about-badge {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-info-card h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.about-info-card p:last-child {
  margin-bottom: 0;
}

.about-skills-section {
  max-width: 1100px;
  margin: 80px auto 0;
}

.about-skills-title {
  margin-bottom: 35px;
}

.skills-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.skill-pill {
  background: rgba(57, 255, 20, 0.06);
  border: 1px solid var(--border-green);
  color: var(--primary);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.3s ease;
}

.skill-pill:hover {
  background: rgba(57, 255, 20, 0.12);
  border-color: var(--primary);
  transform: translateY(-3px);
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-info-card {
    text-align: center;
  }

  .about-intro-card {
    padding: 35px 24px;
  }
}

/* =========================
   Terms Page
========================= */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.terms-card {
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: left;
  transition: 0.3s ease;
}

.terms-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.14);
}

.terms-badge {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.terms-card h2 {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 15px;
}

.terms-card p:last-child {
  margin-bottom: 0;
}

.terms-note-box {
  max-width: 850px;
  margin: 55px auto 0;
  background:
    radial-gradient(circle at top, rgba(57, 255, 20, 0.10), transparent 45%),
    var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
}

.terms-note-box h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 15px;
}

@media (max-width: 900px) {
  .terms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .terms-card {
    text-align: center;
  }
}

/* =========================
   Loader Generator
========================= */
.generator-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.generator-controls,
.generator-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: left;
}

.generator-controls h2,
.generator-preview-card h2 {
  color: var(--primary);
  margin-bottom: 22px;
  text-align: center;
}

.generator-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
  margin-bottom: 0;
  text-align: center;
}

.loader-preview {
  width: 100%;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f1117;
  border: 1px solid rgba(57, 255, 20, 0.25);
  position: relative;
}

.preview-loader-inner {
  position: relative;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  --preview-colour: #39ff14;
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--preview-colour) 16%, transparent), transparent 42%),
    #0f1117;
}

.preview-main-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 20px;
}

.preview-main-content h3 {
  color: #ffffff;
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--preview-colour);
}

.preview-main-content p {
  color: var(--preview-colour);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.preview-main-content span {
  display: inline-block;
  color: #000;
  background: var(--preview-colour);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.85rem;
}

.preview-watermark {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 5;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* Preview rings */
.preview-rings span {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--preview-colour) 55%, transparent);
  border-radius: 50%;
  opacity: 0;
}

.preview-rings span:nth-child(1) {
  width: 180px;
  height: 180px;
}

.preview-rings span:nth-child(2) {
  width: 270px;
  height: 270px;
}

.preview-rings span:nth-child(3) {
  width: 360px;
  height: 360px;
}

/* Preview terminal */
.preview-terminal-lines {
  display: none;
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: Consolas, monospace;
}

.preview-terminal-lines p {
  color: var(--preview-colour);
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Preview scan */
.preview-scan-line {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--preview-colour) 25%, transparent),
    transparent
  );
  animation: previewScan 2.6s ease infinite;
}

/* Preview glitch */
.preview-glitch-text {
  display: none;
  position: absolute;
  top: 42px;
  z-index: 2;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 5px;
}

.preview-glitch-text::before,
.preview-glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--preview-colour);
  opacity: 0.7;
}

.preview-glitch-text::before {
  transform: translateX(-3px);
  clip-path: inset(0 0 55% 0);
}

.preview-glitch-text::after {
  transform: translateX(3px);
  clip-path: inset(55% 0 0 0);
}

/* Style modes */
.loader-preview.style-pulse .preview-rings span {
  animation: previewPulse 2.8s ease infinite;
}

.loader-preview.style-pulse .preview-rings span:nth-child(2) {
  animation-delay: 0.35s;
}

.loader-preview.style-pulse .preview-rings span:nth-child(3) {
  animation-delay: 0.7s;
}

.loader-preview.style-terminal .preview-terminal-lines {
  display: block;
}

.loader-preview.style-terminal .preview-loader-inner {
  background:
    linear-gradient(rgba(57,255,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.04) 1px, transparent 1px),
    #050805;
  background-size: 38px 38px;
}

.loader-preview.style-scan .preview-scan-line {
  display: block;
}

.loader-preview.style-glitch .preview-glitch-text {
  display: block;
  animation: previewGlitch 0.7s ease infinite;
}

.loader-preview.style-minimal .preview-loader-inner {
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--preview-colour) 10%, transparent), transparent 38%),
    #11151f;
}

.loader-preview.style-minimal .preview-main-content {
  animation: fadeUpSimple 1.2s ease infinite alternate;
}

/* Generator animations */
@keyframes previewPulse {
  0% {
    transform: scale(0.45);
    opacity: 0;
  }

  45% {
    opacity: 1;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes previewScan {
  from {
    transform: translateY(-120px);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  to {
    transform: translateY(520px);
    opacity: 0;
  }
}

@keyframes previewGlitch {
  0% {
    transform: skewX(-4deg);
  }

  50% {
    transform: skewX(4deg);
  }

  100% {
    transform: skewX(0);
  }
}

@media (max-width: 900px) {
  .generator-layout {
    grid-template-columns: 1fr;
  }

  .generator-controls,
  .generator-preview-card {
    text-align: center;
  }
}

@media (max-width: 550px) {
  .loader-preview,
  .preview-loader-inner {
    min-height: 340px;
  }

  .preview-terminal-lines {
    left: 14px;
    top: 14px;
  }

  .preview-terminal-lines p {
    font-size: 0.75rem;
  }
}

/* =========================
   Loader Generator Promo
========================= */
.loader-generator-promo {
  max-width: 1100px;
  margin: 35px auto 0;
  background:
    radial-gradient(circle at left, rgba(57, 255, 20, 0.12), transparent 35%),
    var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 30px 28px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;

  text-align: left;
}

.loader-generator-promo h2 {
  color: var(--primary);
  margin-bottom: 12px;
}

.loader-generator-promo p:last-child {
  margin-bottom: 0;
}

.loader-generator-promo .shop-button {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .loader-generator-promo {
    flex-direction: column;
    text-align: center;
  }

  .loader-generator-promo .shop-button {
    width: 100%;
    max-width: 300px;
  }
}

/* =========================
   Loader Generator Promo
========================= */
.loader-generator-promo {
  max-width: 1100px;
  margin: 35px auto 0;
  background:
    radial-gradient(circle at left, rgba(57, 255, 20, 0.12), transparent 35%),
    var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 18px;
  padding: 30px 28px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;

  text-align: left;
}

.loader-generator-promo h2 {
  color: var(--primary);
  margin-bottom: 12px;
}

.loader-generator-promo p:last-child {
  margin-bottom: 0;
}

.loader-generator-promo .shop-button {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .loader-generator-promo {
    flex-direction: column;
    text-align: center;
  }

  .loader-generator-promo .shop-button {
    width: 100%;
    max-width: 300px;
  }
}

/* =========================
   Thank You Page
========================= */
.thank-you-box {
  max-width: 850px;
  margin: 0 auto;
  background:
    radial-gradient(circle at top, rgba(57, 255, 20, 0.12), transparent 45%),
    var(--card-bg);
  border: 1px solid var(--border-green);
  border-radius: 22px;
  padding: 50px 35px;
  text-align: center;
}

.thank-you-box h1 {
  color: var(--primary);
  font-size: 3rem;
  margin-bottom: 20px;
}

.thank-you-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

@media (max-width: 550px) {
  .thank-you-box {
    padding: 40px 22px;
  }

  .thank-you-box h1 {
    font-size: 2.4rem;
  }

  .thank-you-buttons {
    flex-direction: column;
    align-items: center;
  }

  .thank-you-buttons a {
    width: 100%;
    max-width: 300px;
  }
}

.contact-privacy-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 16px;
  margin-bottom: 0;
  text-align: center;
}