:root {
  --surface: #ffffff;
  --text: #1a2340;
  --muted: #4f5d78;
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --border: rgba(26, 35, 64, 0.1);
  --shadow: 0 24px 70px rgba(35, 48, 100, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 214, 102, 0.55), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(244, 63, 94, 0.28), transparent 20%),
    radial-gradient(circle at 15% 88%, rgba(16, 185, 129, 0.32), transparent 22%),
    radial-gradient(circle at 88% 82%, rgba(79, 70, 229, 0.28), transparent 22%),
    linear-gradient(160deg, #fff8e8 0%, #fff0f5 22%, #eef6ff 52%, #f0fff8 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.page-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-decor__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.page-decor__blob--1 {
  width: 280px;
  height: 280px;
  top: 8%;
  left: -4%;
  background: #fbbf24;
}

.page-decor__blob--2 {
  width: 320px;
  height: 320px;
  top: 42%;
  right: -6%;
  background: #818cf8;
}

.page-decor__blob--3 {
  width: 240px;
  height: 240px;
  bottom: 6%;
  left: 30%;
  background: #34d399;
}

.top-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #312e81, #4f46e5 45%, #7c3aed);
  color: #fff;
  box-shadow: 0 8px 24px rgba(49, 46, 129, 0.28);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 600;
}

.top-bar__official {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 32px 0 16px;
}

.hero__content {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 248, 0.92));
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 48px;
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #f59e0b, #f43f5e, #8b5cf6, #0ea5e9, #10b981);
}

.hero__ribbon {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.hero__badge,
.section-heading span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero h1,
.thank-you h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__lead,
.thank-you p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero__deadline {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.hero__links,
.footer__links {
  margin: 16px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

.hero__links a,
.footer__links a,
.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prize-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7d6, #fffbeb 45%, #ede9fe);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(217, 119, 6, 0.16);
}

.prize-banner__logo {
  width: 88px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.prize-banner h2 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.prize-banner p {
  margin: 0;
  color: #5b4a2f;
  font-size: 15px;
  line-height: 1.5;
}

.whatsapp-line {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.14);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.gallery {
  position: relative;
  z-index: 1;
  padding: 20px 0 32px;
}

.section-heading {
  text-align: center;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.art-card {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(60, 72, 120, 0.2);
}

.art-card__image {
  padding: 16px;
  background: linear-gradient(180deg, #fff9f0, #f5f3ff);
}

.art-card__image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(44, 62, 116, 0.1);
}

.art-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.art-card__name {
  font-size: 20px;
  font-weight: 800;
}

.art-card__author {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
}

.vote-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 12px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.32);
  transition: transform 0.2s ease;
}

.vote-button:hover,
.back-button:hover {
  transform: translateY(-2px);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 20px 0 36px;
}

.site-footer__inner {
  text-align: center;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.legal {
  position: relative;
  z-index: 1;
  margin: 0 auto 8px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(35, 48, 100, 0.08);
}

.legal h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.legal p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal p:last-child {
  margin-bottom: 0;
}

.doc-page {
  position: relative;
  z-index: 1;
  padding: 32px 0 48px;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.doc__org {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.doc h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.doc__meta {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.doc__list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.doc__list li {
  margin-bottom: 12px;
}

.doc__list strong {
  color: var(--text);
}

.thank-you {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.thank-you__card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.thank-you__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(79, 70, 229, 0.18));
  color: #10b981;
  font-size: 36px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero__content {
    padding: 32px 22px;
  }

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

  .prize-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-bar__inner {
    flex-direction: column;
    padding: 10px 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero__lead,
  .whatsapp-line {
    font-size: 15px;
  }
}
