/* ═══════════════════════════════════════════════════════════════
   CODDY Contest Landing — styles.css
   Design: Light & Bright Patriotic Tech
   Colors: #1B3A8C (navy), #E63329 (red), #0077B6 (blue), #00B4D8 (cyan)
   Fonts: Fredoka One (brand), Montserrat (headings), Inter (body)
═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1e293b;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utility ─── */
.color-navy  { color: #1B3A8C; }
.color-blue  { color: #0077B6; }
.color-red   { color: #E63329; }
.w-full      { width: 100%; }

/* ─── Icons ─── */
.icon-xs  { width: 14px; height: 14px; flex-shrink: 0; }
.icon-sm  { width: 18px; height: 18px; flex-shrink: 0; }
.icon-md  { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── Containers ─── */
.container    { max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.container-md { max-width: 960px;  margin: 0 auto; padding: 0 16px; }

@media (min-width: 640px) {
  .container, .container-md { padding: 0 24px; }
}

/* ─── Buttons ─── */
.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #E63329;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  border-radius: 16px;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 8px 24px rgba(230,51,41,0.35);
  text-decoration: none;
}
.btn-red:hover  { background: #c0271e; }
.btn-red:active { transform: scale(0.97); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-submit { width: 100%; padding: 16px; font-size: 16px; border-radius: 16px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #1B3A8C;
  color: #1B3A8C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 16px;
  background: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #1B3A8C; color: #fff; }

.btn-cyan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00B4D8;
  color: #1B3A8C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  border-radius: 16px;
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(0,180,216,0.35);
  transition: background 0.15s, transform 0.15s;
}
.btn-cyan:hover  { background: #0096b5; }
.btn-cyan:active { transform: scale(0.97); }

/* ─── Section badges ─── */
.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.badge-blue        { background: #EEF4FF; color: #1B3A8C; }
.badge-light-blue  { background: #DBEAFE; color: #1B3A8C; }
.badge-red         { background: #FFF0EF; color: #E63329; }
.badge-white-outline { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }

/* ─── Section headings ─── */
.section-header { text-align: center; margin-bottom: 40px; }
@media (min-width: 640px) { .section-header { margin-bottom: 56px; } }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #1B3A8C;
  line-height: 1.2;
  font-size: clamp(22px, 4vw, 36px);
  margin-bottom: 16px;
}
.section-subtitle {
  color: #64748b;
  font-size: clamp(15px, 2vw, 18px);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}
.br-desktop { display: none; }
@media (min-width: 640px) { .br-desktop { display: block; } }


/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (min-width: 640px) { .header-inner { padding: 0 24px; } }

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-ano-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
@media (min-width: 640px) { .header-ano-logo { height: 36px; } }

.header-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}
.header-coddy-name {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: #0077B6;
  letter-spacing: 0.02em;
}
@media (min-width: 640px) { .header-coddy-name { font-size: 24px; } }

.header-contacts {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #475569;
}
@media (min-width: 768px) { .header-contacts { display: flex; } }

.header-contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  transition: color 0.15s;
}
.header-contact-link:hover { color: #1B3A8C; }

.header-cta {
  display: none;
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(230,51,41,0.25);
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-right: -4px;
  color: #1e293b;
}
@media (min-width: 640px) { .burger-btn { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  padding: 16px;
  gap: 12px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  min-height: 100vh;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.88) 0%,
    rgba(255,255,255,0.75) 40%,
    rgba(255,255,255,0.2)  65%,
    rgba(255,255,255,0)    100%
  );
  z-index: 1;
}

.hero-overlay-mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
  z-index: 1;
}
@media (min-width: 768px) { .hero-overlay-mobile { display: none; } }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
@media (min-width: 640px)  { .hero-content { padding: 0 40px; } }
@media (min-width: 768px)  { .hero-content { padding: 0 64px; } }

.hero-text-block {
  width: 100%;
  max-width: 512px;
  padding: 80px 0;
}
@media (min-width: 640px) { .hero-text-block { padding: 96px 0; } }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: rgba(255,255,255,0.92);
  color: #1B3A8C;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .hero-badge { padding: 8px 16px; margin-bottom: 24px; } }

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E63329;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* Title */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #1B3A8C;
  line-height: 1.15;
  margin-bottom: 16px;
  font-size: clamp(26px, 5vw, 56px);
}
@media (min-width: 640px) { .hero-title { margin-bottom: 20px; } }
@media (max-width: 639px) {
  .hero-title { font-size: 22px; overflow-wrap: break-word; word-break: break-word; }
}

.hero-title-red { color: #E63329; }

/* Subtitle */
.hero-subtitle {
  color: #334155;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  margin-bottom: 28px;
}
@media (min-width: 640px) { .hero-subtitle { margin-bottom: 32px; } }

/* Buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-wrap: wrap;
}
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; gap: 16px; }
}

/* Floating badge */
.hero-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 12px 16px;
  margin-top: 32px;
}
@media (min-width: 640px) { .hero-float-badge { margin-top: 40px; padding: 14px 20px; } }

.hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FFF0EF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
@media (min-width: 640px) { .hero-float-icon { width: 44px; height: 44px; font-size: 22px; } }

.hero-float-label { font-size: 11px; color: #94a3b8; font-weight: 500; }
.hero-float-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: #1B3A8C;
}


/* ═══════════════════════════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════════════════════════ */
.stats-section {
  background: #1B3A8C;
  padding: 40px 0;
}
@media (min-width: 640px) { .stats-section { padding: 48px 0; } }

.stats-grid {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .stats-grid { gap: 32px; padding: 0 24px; } }
@media (min-width: 768px) { .stats-grid { gap: 64px; } }

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: clamp(24px, 5vw, 48px);
  margin-bottom: 4px;
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: clamp(10px, 1.5vw, 15px);
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════════
   COURSE SECTION
═══════════════════════════════════════════════════════════════ */
.course-section {
  padding: 64px 0;
  background: #fff;
}
@media (min-width: 640px) { .course-section { padding: 80px 0; } }
@media (min-width: 768px) { .course-section { padding: 112px 0; } }

.course-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .course-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Image */
.course-image-wrap { position: relative; }
.course-image-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27,58,140,0.15);
}
.course-img { width: 100%; height: auto; object-fit: cover; }

.course-free-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #E63329;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(230,51,41,0.4);
}
@media (min-width: 640px) {
  .course-free-badge { top: -16px; right: -16px; font-size: 15px; padding: 12px 20px; }
}

/* Feature cards */
.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .feature-cards-grid { gap: 16px; } }

.feature-card {
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.2s;
  cursor: default;
}
@media (min-width: 640px) { .feature-card { padding: 24px; gap: 12px; } }
.feature-card:hover { transform: scale(1.02); }

.feature-icon {
  font-size: 24px;
  font-weight: 900;
  opacity: 0.6;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}
@media (min-width: 640px) { .feature-icon { font-size: 30px; } }

.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}
@media (min-width: 640px) { .feature-title { font-size: 17px; } }

.feature-text {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  line-height: 1.55;
}
@media (min-width: 640px) { .feature-text { font-size: 13px; } }


/* ═══════════════════════════════════════════════════════════════
   STEPS
═══════════════════════════════════════════════════════════════ */
.steps-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #EEF4FF 0%, #F8F9FF 100%);
}
@media (min-width: 640px) { .steps-section { padding: 80px 0; } }
@media (min-width: 768px) { .steps-section { padding: 112px 0; } }

.steps-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.step-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
@media (min-width: 640px) { .step-card { padding: 32px; } }
.step-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

.step-bg-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
}
@media (min-width: 640px) { .step-bg-num { font-size: 96px; } }

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 17px;
  margin-bottom: 16px;
}
@media (min-width: 640px) { .step-badge { width: 56px; height: 56px; font-size: 20px; margin-bottom: 20px; } }

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #1B3A8C;
  font-size: 17px;
  margin-bottom: 8px;
}
@media (min-width: 640px) { .step-title { font-size: 19px; margin-bottom: 12px; } }

.step-text { color: #475569; font-size: 13px; line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════════
   REGISTRATION FORM
═══════════════════════════════════════════════════════════════ */
.register-section {
  padding: 64px 0;
  background: #fff;
}
@media (min-width: 640px) { .register-section { padding: 80px 0; } }
@media (min-width: 768px) { .register-section { padding: 112px 0; } }

.register-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 768px) {
  .register-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.register-desc {
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .register-desc { margin-bottom: 28px; } }

.register-checklist { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .register-checklist { gap: 16px; } }

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #334155;
}
@media (min-width: 640px) { .checklist-item { align-items: center; } }

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1B3A8C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
@media (min-width: 640px) { .check-icon { margin-top: 0; } }

.checklist-item span:last-child { font-weight: 500; font-size: 13px; }
@media (min-width: 640px) { .checklist-item span:last-child { font-size: 15px; } }

/* Form card */
.form-card {
  background: linear-gradient(135deg, #EEF4FF 0%, #F8F9FF 100%);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(27,58,140,0.12);
}
@media (min-width: 640px) { .form-card { padding: 32px; } }

.form-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #1B3A8C;
  font-size: 17px;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .form-title { font-size: 19px; margin-bottom: 24px; } }

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #1B3A8C;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  font-size: 15px;
  color: #1e293b;
  background: #fff;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s;
  outline: none;
}
.form-input::placeholder { color: #94a3b8; }
.form-input:focus { border-color: #1B3A8C; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-top: 4px;
}
.form-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #1B3A8C;
  cursor: pointer;
  flex-shrink: 0;
}
.form-consent-label {
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  line-height: 1.5;
}
.form-consent-link { color: #1B3A8C; text-decoration: underline; }
.form-consent-link:hover { color: #1e40af; }

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 0;
}
.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.success-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #1B3A8C;
  font-size: 22px;
  margin-bottom: 12px;
}
.success-text { color: #475569; font-size: 15px; }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; }


/* ═══════════════════════════════════════════════════════════════
   ABOUT CODDY
═══════════════════════════════════════════════════════════════ */
.coddy-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #1B3A8C 0%, #0F2460 100%);
}
@media (min-width: 640px) { .coddy-section { padding: 80px 0; } }
@media (min-width: 768px) { .coddy-section { padding: 112px 0; } }

.coddy-header { text-align: center; margin-bottom: 40px; }
@media (min-width: 640px) { .coddy-header { margin-bottom: 56px; } }

.coddy-brand-name {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(36px, 6vw, 52px);
  color: #00B4D8;
  margin-bottom: 12px;
}

.coddy-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: clamp(18px, 3vw, 28px);
  margin-bottom: 16px;
  line-height: 1.3;
}

.coddy-desc {
  color: rgba(255,255,255,0.7);
  font-size: clamp(13px, 1.8vw, 15px);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}
.coddy-desc strong { color: #fff; }

/* Stats */
.coddy-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .coddy-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
}

.coddy-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
@media (min-width: 640px) { .coddy-stat { padding: 24px; } }

.coddy-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #00B4D8;
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 4px;
}
.coddy-stat-label { color: rgba(255,255,255,0.6); font-size: clamp(11px, 1.5vw, 13px); }

/* Bottom grid */
.coddy-bottom-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .coddy-bottom-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.coddy-photo-wrap { position: relative; }
.coddy-photo-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.coddy-photo { width: 100%; height: auto; object-fit: cover; }

.coddy-partner-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 12px 16px;
  color: #1B3A8C;
}
@media (min-width: 640px) {
  .coddy-partner-badge { bottom: -20px; left: -20px; padding: 16px; }
}

.coddy-partner-label { font-size: 11px; color: #94a3b8; margin-bottom: 4px; }
.coddy-partner-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.4;
}
@media (min-width: 640px) { .coddy-partner-name { font-size: 13px; } }

.coddy-right { margin-top: 16px; }
@media (min-width: 640px) { .coddy-right { margin-top: 0; } }

.coddy-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .coddy-awards { gap: 12px; margin-bottom: 32px; } }

.award-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid;
}
@media (min-width: 640px) { .award-badge { padding: 6px 12px; } }

.coddy-text {
  color: rgba(255,255,255,0.7);
  font-size: clamp(13px, 1.8vw, 15px);
  line-height: 1.65;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .coddy-text { margin-bottom: 32px; } }


/* ═══════════════════════════════════════════════════════════════
   ABOUT CONTEST
═══════════════════════════════════════════════════════════════ */
.contest-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #FFF8F8 0%, #FFFFFF 50%, #F0F4FF 100%);
}
@media (min-width: 640px) { .contest-section { padding: 80px 0; } }
@media (min-width: 768px) { .contest-section { padding: 112px 0; } }

.contest-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .contest-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.contest-image-wrap {
  position: relative;
  order: 2;
}
@media (min-width: 768px) { .contest-image-wrap { order: 1; } }

.contest-image-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(230,51,41,0.15);
}
.contest-img { width: 100%; height: auto; object-fit: cover; }

.contest-avatar-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 10px;
}
@media (min-width: 640px) {
  .contest-avatar-badge { top: -16px; right: -16px; padding: 12px; }
}

.contest-avatar { width: 48px; height: 48px; object-fit: contain; }
@media (min-width: 640px) { .contest-avatar { width: 56px; height: 56px; } }

.contest-text { order: 1; }
@media (min-width: 768px) { .contest-text { order: 2; } }

.contest-desc {
  color: #475569;
  font-size: clamp(13px, 1.8vw, 15px);
  line-height: 1.65;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .contest-desc { margin-bottom: 32px; } }

.contest-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .contest-stats-grid { gap: 16px; margin-bottom: 32px; } }

.contest-stat {
  background: #fff;
  border: 2px solid #FEE2E2;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(230,51,41,0.08);
}
@media (min-width: 640px) { .contest-stat { padding: 20px; } }

.contest-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: #E63329;
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 2px;
}
.contest-stat-label { color: #64748b; font-size: clamp(11px, 1.5vw, 13px); }


/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0F1A2E;
  padding: 32px 0 0;
}
@media (min-width: 640px) { .site-footer { padding: 40px 0 0; } }

.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
@media (min-width: 640px) { .footer-inner { padding: 0 24px 24px; gap: 24px; } }
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-ano-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}
@media (min-width: 640px) { .footer-ano-logo { height: 32px; } }

.footer-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.2); }
.footer-coddy-name {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: #00B4D8;
}
@media (min-width: 640px) { .footer-coddy-name { font-size: 24px; } }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 640px) { .footer-socials { gap: 12px; } }

.footer-socials-label { color: #64748b; font-size: 12px; margin-right: 4px; }
@media (min-width: 640px) { .footer-socials-label { font-size: 13px; } }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
@media (min-width: 640px) { .social-btn { width: 40px; height: 40px; } }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (min-width: 640px) { .footer-links { gap: 16px; } }

.footer-link {
  color: #64748b;
  font-size: 12px;
  transition: color 0.15s;
}
@media (min-width: 640px) { .footer-link { font-size: 13px; } }
.footer-link:hover { color: #fff; }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #475569;
  font-size: 11px;
  padding: 20px 16px;
}
@media (min-width: 640px) { .footer-copy { font-size: 12px; padding: 24px; } }


/* ═══════════════════════════════════════════════════════════════
   SCROLL ENTRANCE ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.23,1,0.32,1), transform 0.55s cubic-bezier(0.23,1,0.32,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-badge-dot { animation: none; }
  .spin { animation: none; }
}
