:root {
  --bg-1: #050505;
  --bg-2: #121212;
  --bg-3: #1b1b1b;
  --text: #f8fafc;
  --muted: #b6bec8;
  --accent: #f5a300;
  --accent-2: #ffbf3f;
  --accent-dark: #c67a00;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(245, 163, 0, 0.22);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  text-align: center;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 163, 0, 0.12), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(255, 191, 63, 0.08), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.04), transparent 30%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  background-attachment: fixed;
  position: relative;
}

/* soft animated overlay */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03), transparent 20%),
    radial-gradient(circle at 70% 60%, rgba(245,163,0,0.05), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(255,191,63,0.04), transparent 18%);
  animation: drift 16s ease-in-out infinite alternate;
  z-index: 0;
}

.logo:hover{
  transform:translateY(-6px) scale(1.03);
  filter:
    drop-shadow(0 0 20px rgba(255,170,40,0.35))
    drop-shadow(0 0 60px rgba(255,170,40,0.15));
}

/* optional subtle grid texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  opacity: 0.25;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}

.site-menu {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 20;
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.66);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.26);
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  position: absolute;
  left: 17px;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform-origin: center;
  transition: top 0.22s ease, opacity 0.16s ease, transform 0.22s ease;
}

.menu-toggle span:not(.sr-only):nth-child(1) {
  top: 18px;
}

.menu-toggle span:not(.sr-only):nth-child(2) {
  top: 28px;
}

.menu-toggle span:not(.sr-only):nth-child(3) {
  top: 38px;
}

.menu-toggle:hover {
  border-color: rgba(245, 163, 0, 0.55);
  box-shadow:
    0 14px 36px rgba(0,0,0,0.26),
    0 0 0 1px rgba(245, 163, 0, 0.18),
    0 0 24px rgba(245, 163, 0, 0.18);
  transform: translateY(-1px);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
  top: 28px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
  opacity: 0;
  transform: translateX(-8px) scaleX(0.4);
}

.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
  top: 28px;
  transform: rotate(-45deg);
}

.menu-panel {
  position: absolute;
  top: 70px;
  left: 0;
  width: min(280px, calc(100vw - 48px));
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 54px rgba(0,0,0,0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-link,
.menu-parent,
.submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  color: #eef2f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  border: 0;
}

.menu-link:hover,
.menu-parent:hover,
.submenu-link:hover {
  background: rgba(255,255,255,0.06);
}

.menu-group {
  margin-top: 4px;
}

.menu-group summary {
  list-style: none;
  cursor: pointer;
}

.menu-group summary::-webkit-details-marker {
  display: none;
}

.menu-parent::after {
  content: "+";
  color: var(--accent-2);
  font-size: 18px;
}

.menu-group[open] .menu-parent::after {
  content: "-";
}

.submenu {
  padding: 4px 0 0 10px;
}

.submenu-link {
  font-size: 14px;
  color: #cfd7df;
  justify-content: flex-start;
  text-align: left;
}

.site-menu .submenu .submenu-link {
  justify-content: flex-start;
  text-align: left;
}

/* if your logo is an image */
.logo {
  width: min(520px, 92%);
  height: auto;
  margin: 0 auto 24px;
  display: block;
  filter:
    drop-shadow(0 0 18px rgba(245, 163, 0, 0.10))
    drop-shadow(0 0 36px rgba(245, 163, 0, 0.06));
  animation: logoFloat 5s ease-in-out infinite;
}

/* fallback if you are still using h1 text instead of image */
h1 {
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  margin: 0 0 14px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 18px rgba(245, 163, 0, 0.08);
}

.tagline {
  max-width: 680px;
  margin: 0 auto 38px;
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.6;
  color: var(--muted);
}

/* nice little glass panel if you want content to feel more designed */
.hero-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.022)),
    linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.008));
  backdrop-filter: blur(10px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  will-change: transform;
  overflow: hidden;
}

/* ===== 3D CARD SETUP ===== */
.container {
  perspective: 1400px;
}

.hero-card::before {
  content: none;
  opacity: 0;
}

.hero-card:hover::before {
  opacity: 0;
}

.hero-card::after {
  content: none;
  opacity: 0;
}

.hero-card:hover::after {
  opacity: 0;
}

.hero-card:hover {
  border-color: rgba(245, 163, 0, 0.16);
  box-shadow:
    0 24px 68px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255,255,255,0.03) inset;
}

/* lift real content above overlay */
.hero-card > * {
  position: relative;
  z-index: 1;
  transform: translateZ(24px);
}

/* ===== LOGO TEXT ===== */
.logo-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  margin: 22px 0 26px;
  line-height: 1;
  user-select: none;
  transform-style: preserve-3d;
}

.logo-num {
  font-size: clamp(58px, 7vw, 82px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 12px rgba(255,255,255,0.05);
  transform: translateZ(38px);
}

.logo-tools {
  font-size: clamp(58px, 7vw, 82px);
  font-weight: 700;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  transform: translateZ(52px);
  background: linear-gradient(
    90deg,
    #f5a300 0%,
    #ffcc5c 20%,
    #f5a300 40%,
    #ffd77e 52%,
    #f09a00 70%,
    #ffcc5c 85%,
    #f5a300 100%
  );
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(245, 163, 0, 0.18));
  animation: toolsGradientShift 6s linear infinite;
}

/* subtle shimmer pass */
.logo-tools::after {
  content: "";
}

/* enhance hover */
.hero-card:hover .logo-tools {
  filter:
    drop-shadow(0 0 18px rgba(245, 163, 0, 0.26))
    drop-shadow(0 0 40px rgba(245, 163, 0, 0.10));
}

.hero-card:hover .logo-num {
  text-shadow:
    0 0 12px rgba(255,255,255,0.08),
    0 0 30px rgba(255,255,255,0.04);
}

/* keep text from being too huge on mobile */
@media (max-width: 640px) {
  .logo-text {
    gap: 10px;
    flex-wrap: nowrap;
  }

  .logo-tools {
    letter-spacing: 0.12em;
    padding-left: 0.12em;
  }
}

/* ===== BUTTON POLISH ===== */
.app-link,
.secondary-link,
.status-pill,
.tagline {
  transform: translateZ(30px);
}

/* ===== ANIMATIONS ===== */
@keyframes toolsGradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

/* buttons area */
.button-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.app-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.app-link {
  color: #111;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow:
    0 10px 28px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.app-link:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 14px 34px rgba(245, 163, 0, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.app-link{
  position:relative;
  overflow:hidden;
}

.app-link::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;
  background:linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,0.4) 45%,
    transparent 60%
  );
  transition:all .6s ease;
}

.app-link:hover::after{
  left:120%;
}

.secondary-link {
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.secondary-link:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(245, 163, 0, 0.35);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.cat-game-link {
  color: var(--accent-2);
  border-color: rgba(245, 163, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(70, 70, 70, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.cat-game-link:hover {
  border-color: rgba(245, 163, 0, 0.52);
  background:
    linear-gradient(180deg, rgba(245, 163, 0, 0.10), rgba(255,255,255,0.025)),
    rgba(78, 78, 78, 0.34);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.22),
    0 0 22px rgba(245, 163, 0, 0.12);
}

/* small badge / status chips */
.status-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.status-pill {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #e7edf3;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 170, 40, 0.28) 0%,
    rgba(255, 170, 40, 0.12) 35%,
    rgba(255, 170, 40, 0.05) 55%,
    transparent 72%
  );
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  filter: blur(40px);
  z-index: 0;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

.particles{
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    radial-gradient(rgba(255,200,100,0.15) 1px, transparent 1px);
  background-size:80px 80px;
  animation:particleMove 40s linear infinite;
  opacity:.4;
}

@keyframes particleMove{
  from{ transform:translateY(0px); }
  to{ transform:translateY(-120px); }
}

/* footer */
footer {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding-bottom: 30px;
  font-size: 14px;
  color: #8d97a3;
}

footer a {
  color: #c8d1db;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent-2);
}

.footer-inline-link {
  color: #8d97a3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-inline-link:hover {
  color: var(--accent-2);
}

.support-strip {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 34px auto 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  text-align: center;
}

.support-strip p {
  margin: 0;
  color: #c5ced8;
  line-height: 1.6;
}

.support-link {
  min-width: 0;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

/* animations */
@keyframes logoFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

/* mobile */
@media (max-width: 640px) {
  .site-menu {
    top: 16px;
    left: 16px;
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
  }

  .menu-toggle span:not(.sr-only) {
    left: 15px;
    width: 22px;
  }

  .menu-toggle span:not(.sr-only):nth-child(1) {
    top: 16px;
  }

  .menu-toggle span:not(.sr-only):nth-child(2),
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1),
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    top: 25px;
  }

  .menu-toggle span:not(.sr-only):nth-child(3) {
    top: 34px;
  }

  .container {
    padding-top: 70px;
  }

  .hero-card {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .tagline {
    margin-bottom: 28px;
  }

  .app-link,
  .secondary-link {
    width: 100%;
    min-width: 0;
  }

  .button-row {
    gap: 12px;
  }
}

/* ===== PRIVACY PAGE ===== */

.privacy-container {
  max-width: 980px;
  padding-top: 70px;
  padding-bottom: 40px;
}

.privacy-card {
  max-width: 860px;
  text-align: left;
  padding: 34px 34px 30px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #d3dae2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  color: var(--accent-2);
  opacity: 1;
  transform: translateX(-2px);
}

.privacy-header {
  margin-bottom: 26px;
}

.privacy-title {
  margin: 14px 0 10px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 18px rgba(245, 163, 0, 0.06);
}

.privacy-updated {
  margin: 0;
  color: #97a2ae;
  font-size: 14px;
}

.privacy-content {
  color: #d7dde4;
  font-size: 17px;
  line-height: 1.8;
}

.privacy-content p {
  margin: 0 0 18px;
  color: #c5ced8;
}

.privacy-content h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.01em;
  position: relative;
}

.privacy-content h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.85;
}

.privacy-content a {
  color: var(--accent-2);
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .privacy-card {
    padding: 24px 18px 22px;
    border-radius: 20px;
  }

  .privacy-content {
    font-size: 16px;
    line-height: 1.75;
  }

  .privacy-content h2 {
    font-size: 20px;
    margin-top: 28px;
  }
}

/* ===== PRIVACY HEADER IMAGE ===== */

.privacy-header {
  text-align: center;
  margin-bottom: 26px;
}

.privacy-banner {
  max-width: 460px;
  width: 90%;
  margin: 10px auto 16px;
  display: block;

  filter:
    drop-shadow(0 0 18px rgba(245,163,0,0.12))
    drop-shadow(0 0 40px rgba(245,163,0,0.06));

  animation: logoFloat 6s ease-in-out infinite;
}
/* ===== BACK BUTTON ===== */

.home-button {
  display: block;
  width: fit-content;
  margin: 34px auto 6px;
  padding: 15px 26px;

  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;

  color: #111;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));

  box-shadow:
    0 10px 28px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.35);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  position: relative;
  overflow: hidden;
}

.home-button::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:120%;
  height:100%;

  background:linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,0.4) 45%,
    transparent 60%
  );

  transition:all .6s ease;
}

.home-button:hover::after{
  left:120%;
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(245,163,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.privacy-banner{
  animation: logoFloat 6s ease-in-out infinite;
}

/* ===== CONTACT PAGE ===== */

.contact-card {
  max-width: 760px;
}

.contact-card.is-sent {
  border-color: rgba(255, 191, 63, 0.86);
  box-shadow:
    0 24px 80px rgba(245, 163, 0, 0.34),
    0 0 0 1px rgba(255,255,255,0.12) inset;
}

.contact-banner {
  max-width: 420px;
}

.contact-content {
  max-width: 620px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #eef2f6;
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.custom-select-button {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)),
    rgba(7, 8, 10, 0.34);
  color: #f8fafc;
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.custom-select-button:focus,
.form-field textarea:focus {
  border-color: rgba(245, 163, 0, 0.48);
  box-shadow: 0 0 0 3px rgba(245, 163, 0, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.032)),
    rgba(7, 8, 10, 0.42);
}

.optional-label {
  color: #97a2ae;
  font-weight: 600;
}

.custom-select {
  position: relative;
}

.custom-select-button {
  position: relative;
  min-height: 54px;
  padding-right: 48px;
  text-align: left;
  cursor: pointer;
}

.custom-select-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select-button::after {
  transform: translateY(-35%) rotate(225deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(245, 163, 0, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(14, 14, 14, 0.96);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-select-option {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #eef2f6;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.custom-select-option:hover,
.custom-select-option:focus,
.custom-select-option.is-selected {
  background: rgba(245, 163, 0, 0.14);
  color: #fff;
  outline: none;
}

.custom-select-option:hover {
  transform: translateX(2px);
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit {
  border: 0;
  cursor: pointer;
  margin: 8px auto 0;
}

.contact-note,
.contact-status {
  margin: 0;
  text-align: center;
  color: #97a2ae;
  font-size: 14px;
  line-height: 1.6;
}

.contact-status {
  min-height: 22px;
  color: var(--accent-2);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-success {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 36px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 216, 126, 0.55), transparent 24%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #ffa600 0%, #f5a300 42%, #e97c00 100%);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.contact-card.is-sent .contact-success {
  opacity: 1;
  transform: scale(1);
}

.contact-success-mark {
  display: block;
  color: #fff;
  font-size: clamp(88px, 18vw, 148px);
  font-weight: 700;
  line-height: 0.8;
}

.contact-success p {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 8px 28px rgba(84, 42, 0, 0.28);
}

/* ===== HOME TOOL GRID ===== */

.tool-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 37px;
  margin-top: 44px;
}

.tools-title-wrap {
  display: grid;
  flex: 0 0 100%;
  place-items: center;
  gap: 28px;
  padding: 28px 0 28px;
  text-align: center;
}

.tools-title-image {
  width: min(420px, 78vw);
  display: block;
  filter:
    drop-shadow(0 0 16px rgba(245, 163, 0, 0.08))
    drop-shadow(0 0 32px rgba(245, 163, 0, 0.04));
}

.tools-intro {
  display: block;
  max-width: min(720px, 92vw);
  margin: 0 auto 14px;
  color: #c5ced8;
  font-size: 17px;
  line-height: 1.6;
  text-wrap: balance;
}

.tool-card {
  flex: 0 1 calc((100% - 74px) / 3);
  min-width: 0;
  margin: 0;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)),
    linear-gradient(135deg, rgba(255,163,0,0.04), rgba(255,255,255,0.02));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.03);
  text-align: left;
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  will-change: transform;
}

.tool-card-top,
.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-card-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.tool-badge,
.tool-format,
.tool-meta span,
.panel-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe3ec;
  font-size: 13px;
}

.tool-badge {
  color: #17120a;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-color: rgba(255, 191, 63, 0.35);
  font-weight: 700;
}

.tool-format {
  color: var(--accent-2);
  justify-content: flex-end;
  margin-left: auto;
  text-align: right;
}

.tool-card h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.tool-card p {
  margin: 0 0 18px;
  color: #c5ced8;
  line-height: 1.7;
  font-size: 16px;
}

.tool-meta {
  margin-bottom: 20px;
}

.tool-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
}

.tool-link:hover {
  text-decoration: underline;
}

.tool-card:hover {
  border-color: rgba(245, 163, 0, 0.16);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.tool-card > * {
  position: relative;
  z-index: 1;
  transform: translateZ(16px);
}

/* ===== TOOL PAGE ===== */

.tool-page-container {
  max-width: 1260px;
  padding-top: 56px;
}

.tool-hero-card {
  max-width: 1160px;
  text-align: left;
  padding: 34px 30px 30px;
}

.tool-shell-main {
  display: grid;
  gap: 28px;
}

.tool-status-row {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.tool-title {
  margin: 0 0 12px;
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: 0.02em;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(245, 163, 0, 0.09);
}

.tool-subtitle {
  max-width: 760px;
  margin: 0;
  color: #c5ced8;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.7;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(290px, 350px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.tool-panel {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.022)),
    linear-gradient(135deg, rgba(255,163,0,0.03), rgba(255,255,255,0.015));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.025),
    0 12px 30px rgba(0, 0, 0, 0.18);
}

.workspace-panel {
  display: grid;
  gap: 20px;
}

.panel-block {
  display: grid;
  gap: 14px;
}

.panel-block + .panel-block {
  margin-top: 22px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.value-card,
.quality-card,
.note-card,
.stat-card,
.list-surface,
.status-banner {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(7, 8, 10, 0.32);
  border-radius: 18px;
}

.value-card,
.quality-card,
.note-card {
  padding: 18px;
}

.value-card,
.quality-card {
  display: grid;
  gap: 10px;
}

.value-card strong,
.quality-header strong {
  font-size: 24px;
  line-height: 1;
}

.value-card span,
.quality-header span,
.note-card p,
.empty-state span,
.file-row-copy span,
.result-copy span {
  color: #b6bec8;
  line-height: 1.6;
}

.quality-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.dropzone {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 28px 20px;
  border: 1px dashed rgba(255, 191, 63, 0.35);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,163,0,0.08), rgba(255,255,255,0.02)),
    rgba(7, 8, 10, 0.34);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dropzone:hover,
.dropzone.is-dragging {
  transform: translateY(-2px);
  border-color: rgba(255, 191, 63, 0.6);
  box-shadow: 0 12px 28px rgba(245, 163, 0, 0.12);
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone-title {
  font-size: 22px;
  font-weight: 700;
}

.dropzone-copy {
  color: #b6bec8;
}

.tool-actions {
  display: grid;
  gap: 12px;
}

.tool-button {
  width: 100%;
  min-width: 0;
  border: 0;
  cursor: pointer;
}

.secondary-button,
.mini-button,
.row-remove {
  cursor: pointer;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 16px 14px;
}

.stat-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ea8b4;
}

.stat-card strong {
  font-size: 22px;
}

.note-card p {
  margin: 0;
  font-size: 15px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 0;
}

.section-head .eyebrow {
  margin-bottom: 8px;
}

.list-surface {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 16px;
}

.results-surface {
  min-height: 230px;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 150px;
  text-align: center;
  color: #eef2f6;
}

.file-row,
.result-row {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.file-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.result-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.file-row-copy,
.result-copy {
  min-width: 0;
}

.file-row-copy strong,
.result-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.row-remove {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 191, 63, 0.28);
  background: rgba(255, 163, 0, 0.08);
  color: var(--accent-2);
  font-size: 24px;
  line-height: 1;
}

.row-remove:hover {
  background: rgba(255, 163, 0, 0.16);
}

.mini-button {
  min-width: 0;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration: none;
}

.result-download {
  min-width: 0;
  padding: 11px 16px;
  font-size: 14px;
}

.result-remove {
  white-space: nowrap;
}

.status-banner {
  padding: 16px 18px;
  color: #eaf0f6;
}

.status-banner[data-tone="success"] {
  border-color: rgba(138, 255, 122, 0.18);
  background: rgba(73, 144, 55, 0.12);
}

.status-banner[data-tone="error"] {
  border-color: rgba(255, 90, 90, 0.22);
  background: rgba(160, 36, 36, 0.14);
}


@media (max-width: 1100px) {
  .tool-card {
    flex-basis: calc((100% - 37px) / 2);
  }
}
@media (max-width: 980px) {
  .tool-layout {
    grid-template-columns: 1fr;
  }

  .tool-hero-card {
    padding: 24px 18px 20px;
  }

  .tool-panel {
    padding: 18px;
  }
}


@media (max-width: 760px) {
  .tool-card {
    flex-basis: 100%;
  }
}
@media (max-width: 640px) {
  .tool-card {
    padding: 22px 18px;
  }

  .tool-card-top,
  .tool-meta,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tool-format {
    justify-content: flex-start;
    margin-left: 0;
    text-align: left;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-row {
    grid-template-columns: 1fr;
  }

  .result-download,
  .result-remove,
  .mini-button {
    width: 100%;
    justify-content: center;
  }

  .tool-title {
    font-size: clamp(34px, 13vw, 54px);
  }
}

/* ===== ABOUT PAGE ===== */

.about-container {
  max-width: 1080px;
  padding-top: 84px;
  padding-bottom: 40px;
}

.about-card {
  max-width: 920px;
  padding: 0 0 34px;
  text-align: left;
  overflow: visible;
}

.about-banner-wrap {
  position: relative;
  margin-bottom: 74px;
  border-radius: 24px 24px 0 0;
  overflow: visible;
  aspect-ratio: 16 / 7.2;
  background: transparent;
}

.about-banner-wrap::after {
  content: none;
}

.about-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 52%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 52%, rgba(0, 0, 0, 0) 100%);
  filter:
    saturate(0.94)
    contrast(1.02)
    brightness(0.92);
}

.about-title-image {
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: min(600px, 82%);
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  filter:
    drop-shadow(0 0 18px rgba(245,163,0,0.10))
    drop-shadow(0 0 40px rgba(245,163,0,0.06));
}

.about-content {
  padding: 0 36px;
  color: #d7dde4;
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
}

.about-loading {
  color: #97a2ae;
}

.about-heading {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.06;
  text-align: center;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 18px rgba(245, 163, 0, 0.06);
}

.about-heading:not(:first-child) {
  margin-top: 34px;
  text-align: left;
  font-size: 24px;
}

.about-heading:not(:first-child)::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.85;
}

.about-content p {
  margin: 0 0 18px;
  color: #c5ced8;
}

.about-content ul {
  margin: 0 0 24px 24px;
  padding: 0;
}

.about-content li {
  margin: 0 0 8px;
  color: #d7dde4;
}

@media (max-width: 640px) {
  .about-container {
    padding-top: 72px;
  }

  .about-card {
    padding-bottom: 24px;
  }

  .about-banner-wrap {
    margin-bottom: 50px;
  }

  .about-banner {
    height: 100%;
  }

  .about-title-image {
    width: min(360px, 78%);
    bottom: -22px;
  }

  .about-content {
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.75;
  }

  .about-heading {
    font-size: clamp(28px, 10vw, 38px);
  }

  .about-heading:not(:first-child) {
    font-size: 20px;
    margin-top: 28px;
  }
}

/* ===== 404 PAGE ===== */

.not-found-container {
  max-width: 980px;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 48px;
  padding-bottom: 40px;
}

.not-found-card {
  max-width: 760px;
  padding: 42px 32px 34px;
}

.not-found-logo {
  width: min(360px, 80%);
  margin: 0 auto 18px;
}

.not-found-code {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.not-found-title {
  margin: 0 0 14px;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.not-found-copy {
  max-width: 580px;
  margin: 0 auto 30px;
  color: #c5ced8;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .not-found-container {
    padding-top: 76px;
  }

  .not-found-card {
    padding: 28px 18px 24px;
  }
}
