/* CarpathiaRP landing page — Romarg ready */

:root {
  --panel: rgba(10, 12, 18, .86);
  --line: rgba(255,255,255,.14);
  --text: #fff8ef;
  --muted: #b8bfcc;
  --blue: #0077ff;
  --yellow: #ffd21f;
  --red: #ef233c;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(0,119,255,.18), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(239,35,60,.16), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(255,210,31,.08), transparent 34%),
    linear-gradient(135deg,#020306 0%,#070b12 48%,#020306 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .075;
  background-image:
    linear-gradient(rgba(255,255,255,.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.20) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

.gold-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.gold-particles span {
  position: absolute;
  left: var(--x);
  top: var(--start);
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  background: rgba(255, 225, 128, var(--o));
  box-shadow:
    0 0 8px rgba(255, 225, 128, .70),
    0 0 18px rgba(255, 184, 28, .35),
    0 0 34px rgba(255, 184, 28, .15);
  animation: goldParticleRise var(--d) linear infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

@keyframes goldParticleRise {
  0% {
    transform: translate3d(0, 0, 0) scale(.65);
    opacity: 0;
  }

  12% {
    opacity: var(--o);
  }

  50% {
    transform: translate3d(calc(var(--drift) * .55), -58vh, 0) scale(1.16);
    opacity: calc(var(--o) + .22);
  }

  88% {
    opacity: var(--o);
  }

  100% {
    transform: translate3d(var(--drift), -122vh, 0) scale(.72);
    opacity: 0;
  }
}

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

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

main {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding: 44px 0 48px;
  display: grid;
  align-items: center;
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 22px;
}

.logo-wrap {
  width: 100%;
  display: grid;
  place-items: center;
  padding-top: 4px;
}

.logo-wrap img {
  width: min(100%, 1250px);
  max-height: 60svh;
  object-fit: contain;
  transform-origin: center;
  animation: logoVisibleFloat 6.5s ease-in-out infinite;
  filter:
    drop-shadow(0 34px 42px rgba(0,0,0,.68))
    drop-shadow(0 0 10px rgba(255, 210, 31, .08));
  will-change: transform, filter;
}

@keyframes logoVisibleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter:
      drop-shadow(0 34px 42px rgba(0,0,0,.68))
      drop-shadow(0 0 10px rgba(255, 210, 31, .08));
  }

  50% {
    transform: translate3d(0, -18px, 0) scale(1.018) rotate(-0.22deg);
    filter:
      drop-shadow(0 40px 48px rgba(0,0,0,.74))
      drop-shadow(0 0 24px rgba(255, 210, 31, .24))
      drop-shadow(0 0 42px rgba(255, 184, 28, .10));
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter:
      drop-shadow(0 34px 42px rgba(0,0,0,.68))
      drop-shadow(0 0 10px rgba(255, 210, 31, .08));
  }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #f4f6fb;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .13em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 24px rgba(255,210,31,.85);
}

.flag {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
}

.flag i:nth-child(1) { background: var(--blue); }
.flag i:nth-child(2) { background: var(--yellow); }
.flag i:nth-child(3) { background: var(--red); }

h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.2rem, 8.5vw, 5.45rem);
  line-height: .92;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2.25vw, 1.2rem);
  line-height: 1.7;
}

.contact-card {
  width: min(100%, 780px);
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 26px 80px rgba(0,0,0,.40);
  backdrop-filter: blur(16px);
  text-align: left;
}

form {
  display: grid;
  gap: 12px;
}

.row {
  display: grid;
  gap: 12px;
}

label {
  display: block;
  margin: 0 0 7px;
  font-weight: 900;
  font-size: .9rem;
}

input,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.075);
  color: #fff;
  padding: 13px 14px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,.45);
}

textarea {
  min-height: 124px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(0,119,255,.88);
  box-shadow: 0 0 0 4px rgba(0,119,255,.14);
}

.website-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.submit {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg,#0088ff,#0758ff);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0,119,255,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(0,119,255,.34);
}

footer {
  position: relative;
  z-index: 2;
  padding: 0 0 24px;
  text-align: center;
  color: #8f99ad;
  font-size: .86rem;
}

@media (min-width: 768px) {
  .wrap {
    width: min(1120px, calc(100% - 56px));
  }

  main {
    padding-top: 58px;
  }

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

  .contact-card {
    padding: 26px;
  }

  .logo-wrap img {
    width: min(100%, 1340px);
    max-height: 64svh;
  }
}

@media (min-width: 1024px) {
  .logo-wrap img {
    width: min(100%, 1420px);
    max-height: 66svh;
  }
}
