* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8f3ee;
  color: #2f2a26;
}

body {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  width: min(92%, 900px);
  padding: 24px;
  animation: fadeUp 1.4s ease;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 14px;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
}

.hero h2 {
  margin: 14px 0 0;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 300;
}

.hero-text {
  margin: 24px auto 0;
  max-width: 700px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.countdown {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.countdown-item {
  min-width: 90px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  padding: 14px 10px;
  backdrop-filter: blur(6px);
}

.countdown-value {
  font-size: 1.6rem;
  font-weight: 700;
}

.countdown-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.main-section {
  width: min(92%, 1080px);
  margin: 0 auto;
  padding: 56px 0;
}

.card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  margin-bottom: 28px;
}

.section-title {
  margin-top: 0;
  font-size: 1.8rem;
}

.location-box {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 18px;
  margin-top: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

input, textarea, select, button {
  font: inherit;
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d9cfc6;
  background: #fffdfa;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  border: none;
  background: #b9875b;
  color: white;
  padding: 14px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  opacity: 0.92;
}

button.secondary {
  background: #6d6259;
}

.notice {
  margin-top: 12px;
  font-size: 0.95rem;
}

.hidden {
  display: none !important;
}

.admin-wrap {
  width: min(95%, 1200px);
  margin: 30px auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 10px;
  border-bottom: 1px solid #e7ddd5;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f6eee7;
}

.login-box {
  width: min(92%, 460px);
  margin: 80px auto;
}

.audio-block {
  margin-top: 24px;
}

audio {
  width: min(100%, 420px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }
}

.admin-grid-stacked {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-grid-stacked .card {
  width: 100%;
}

.form-grid label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.checkbox-line {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}