/* Praxel Giveaway — brand palette: red #E5202E, black #0a0a0a, white */
:root {
  --red: #E5202E;
  --red-dark: #b91923;
  --black: #0a0a0a;
  --gray-900: #161616;
  --gray-700: #3a3a3a;
  --gray-500: #777;
  --gray-300: #ddd;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.85) 100%),
    url('/img/hero.jpg') center/cover no-repeat,
    var(--black);
  padding: 80px 24px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(229, 32, 46, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.logo {
  height: 64px;
  width: auto;
  margin: 0 auto 28px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 36px;
}
.cta {
  display: inline-block;
  padding: 16px 36px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 30px rgba(229, 32, 46, 0.45);
}
.cta:hover { background: var(--red-dark); transform: translateY(-2px); }
.cta:active { transform: translateY(0); }

/* ---------- ABOUT ---------- */
.about { padding: 80px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.about p { font-size: 1.05rem; color: var(--gray-700); margin: 0; }
.bullets { list-style: none; margin: 0; padding: 0; }
.bullets li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--gray-300);
  font-weight: 500;
}
.bullets li:last-child { border-bottom: none; }
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17l-3.88-3.88-1.41 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17l-3.88-3.88-1.41 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
}

/* ---------- GALLERY ---------- */
.gallery { padding: 20px 0 80px; background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FORM ---------- */
.form-section {
  background: var(--black);
  color: var(--white);
  padding: 90px 0 110px;
  position: relative;
}
.form-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(229,32,46,0.18), transparent 60%);
  pointer-events: none;
}
.form-section h2 {
  font-size: 2.4rem;
  text-align: center;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.form-sub { text-align: center; color: rgba(255,255,255,0.7); margin: 0 0 40px; }

.entry-form {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--white);
  color: var(--gray-900);
  padding: 36px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.entry-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 0.9rem; }
.entry-form label.full { grid-column: 1 / -1; }
.entry-form input {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.entry-form input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 32, 46, 0.18);
}

.submit {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 8px;
  padding: 16px 24px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.submit:hover { background: var(--red-dark); }
.submit:active { transform: translateY(1px); }
.submit:disabled { opacity: 0.8; cursor: progress; }

.submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  vertical-align: middle;
  margin-left: 10px;
}
.submit.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: var(--red);
  font-size: 0.95rem;
  min-height: 1.4em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-logo { height: 28px; margin: 0 auto 10px; opacity: 0.85; }
.footer-sep { opacity: 0.4; margin: 0 6px; }
.footer-admin {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.footer-admin:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .entry-form { grid-template-columns: 1fr; padding: 24px; }
  .hero { min-height: 80vh; }
}
