:root {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  background: #fdf6f1;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.locals-word {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
  font-kerning: normal;
}

.locals-word-strong {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.08em;
  font-kerning: normal;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.video-section {
  padding: 72px 0 52px;
  text-align: center;
}

.video-section h2 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: #0e0e0e;
}

.video-sub {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #6b7280;
  font-size: 1.06rem;
  line-height: 1.6;
}

.video-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.register {
  padding: 24px 20px 76px;
  display: flex;
  justify-content: center;
}

.register-card {
  width: 100%;
  max-width: 1040px;
  padding: 40px;
  border-radius: 30px;
  background: radial-gradient(circle at top left, #171821, #050509);
  color: #fff;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(148, 163, 184, 0.08);
}

.register-header {
  margin-bottom: 28px;
}

.register-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(240, 75, 115, 0.1);
  border: 1px solid rgba(240, 75, 115, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
}

.register h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 300;
}

.register-sub {
  margin: 0;
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
}

form h3 {
  margin: 26px 0 14px;
  font-size: 1.38rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #f3f4f6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

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

select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.7) 50%),
    linear-gradient(135deg, rgba(255,255,255,.7) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(240, 75, 115, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

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

.upload {
  margin-top: 4px;
  padding: 24px;
  border-radius: 22px;
  border: 1px dashed rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.upload-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.upload-title {
  font-size: 1rem;
  color: #fff;
}

.upload-text {
  font-size: 0.92rem;
  color: #9ca3af;
}

.upload input[type="file"] {
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.hours-tools {
  margin-top: 6px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.hours-batch-days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.day-chip {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.day-chip.active {
  background: rgba(240, 75, 115, 0.14);
  border-color: rgba(240, 75, 115, 0.45);
  color: #fff;
}

.hours-batch-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto auto;
  gap: 12px;
  align-items: end;
}

.hours-action {
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.hours-action:hover {
  transform: translateY(-1px);
}

.hours-action.secondary {
  background: linear-gradient(180deg, #f05a86 0%, #f04b73 100%);
  box-shadow: 0 12px 35px rgba(240, 75, 115, 0.22);
}

.hours-action.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hours-grid {
  display: grid;
  gap: 12px;
}

.hours-row {
  display: grid;
  grid-template-columns: 64px 1fr 1fr auto auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.hours-day {
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.hours-time-field label {
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.hours-time-field input {
  padding: 13px 14px;
}

.hours-closed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1d5db;
  font-size: 0.88rem;
  white-space: nowrap;
  min-height: 46px;
}

.hours-closed-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.hours-mini-btn {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  min-height: 46px;
  white-space: nowrap;
}

.hours-closed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1d5db;
  font-size: 0.92rem;
}

.hours-mini-btn {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

.hours-row.is-closed input[type="time"] {
  opacity: 0.45;
  pointer-events: none;
}

.submit {
  margin-top: 28px;
  min-width: 220px;
  padding: 17px 24px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f05a86 0%, #f04b73 100%);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 20px 55px rgba(240, 75, 115, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 65px rgba(240, 75, 115, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

footer {
  padding: 0 20px 48px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .register-card {
    padding: 32px;
  }

  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .hours-batch-controls {
    grid-template-columns: 1fr 1fr;
  }

  .hours-row {
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    
    .hours-day {
      grid-column: 1 / -1;
      justify-self: start;
      width: 64px;
    }
    
    .hours-closed-toggle,
    .hours-mini-btn {
      min-height: 42px;
    }
}

@media (max-width: 768px) {
  .video-section {
    padding: 48px 0 36px;
  }

  .video-sub {
    margin-bottom: 22px;
  }

  .register {
    padding: 12px 16px 60px;
  }

  .register-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hours-batch-controls {
    grid-template-columns: 1fr;
  }

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

  .submit {
    width: 100%;
  }

  footer {
    padding-bottom: 36px;
  }
}