/* ============================================================
   IRON BLOSAM SUMMER — Modern Alpine Summer Design System
   Mobile-first. Touch-optimized. Clean & Readable.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---- Design Tokens ---- */
:root {
  --bg-deep:        #061529;
  --bg-mid:         #0c2d62;
  --bg-surface:     #103578;
  --card-bg:        rgba(6, 22, 60, 0.80);
  --card-border:    rgba(255, 255, 255, 0.24);
  --card-border-h:  rgba(255, 255, 255, 0.52);
  --accent:         #ffffff;
  --accent-light:   #d6eeff;
  --accent-glow:    rgba(255, 255, 255, 0.18);
  --accent-dark:    rgba(160, 210, 255, 0.85);
  --snow-white:     #ffffff;
  --text-primary:   #f0f7ff;
  --text-secondary: rgba(210, 232, 255, 0.82);
  --text-muted:     rgba(180, 215, 255, 0.58);
  --danger:         #ff7066;
  --danger-bg:      rgba(255, 112, 102, 0.12);
  --success:        #4dcc6a;
  --success-bg:     rgba(77, 204, 106, 0.12);
  --warning-bg:     rgba(255, 200, 40, 0.12);
  --warning:        #ffc028;

  /* CTA button — vibrant sky blue */
  --btn-from:       #1260c4;
  --btn-mid:        #1a80e0;
  --btn-to:         #48aaff;

  --font-display:   'Poppins', 'Helvetica Neue', sans-serif;
  --font-ui:        'Poppins', 'Helvetica Neue', sans-serif;

  --radius-card:    1.25rem;
  --radius-input:   0.875rem;
  --radius-btn:     0.875rem;
  --radius-pill:    99px;

  --shadow-card:    0 12px 40px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.22);
  --shadow-input:   0 0 0 3px rgba(255, 255, 255, 0.18);
  --shadow-glow:    0 0 32px rgba(255, 255, 255, 0.12);

  --transition:     220ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-ui);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   BACKGROUND — Summer Sky + Forest Mountain Silhouette
   ============================================================ */

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

/* Summer sky gradient with subtle sun warmth */
.sb-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 30% at 80% 6%,  rgba(255, 210, 80, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 30% 20% at 82% 3%,  rgba(255, 185, 30, 0.10) 0%, transparent 50%),
    linear-gradient(175deg, #061529 0%, #0c2d62 22%, #1462bc 50%, #2484d4 68%, #3ea8e8 85%, #62c0f0 100%);
}

/* Subtle cloud-like wisps — replace the winter star field */
.sb-stars {
  position: absolute;
  inset: 0;
}
.sb-stars::before,
.sb-stars::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 120px 20px at 15%  18%, rgba(255,255,255,0.06) 0%, transparent 100%),
    radial-gradient(ellipse  80px 14px at 55%  12%, rgba(255,255,255,0.05) 0%, transparent 100%),
    radial-gradient(ellipse 160px 24px at 78%  22%, rgba(255,255,255,0.04) 0%, transparent 100%),
    radial-gradient(ellipse  60px 10px at 35%  28%, rgba(255,255,255,0.04) 0%, transparent 100%),
    radial-gradient(ellipse 100px 16px at 90%  15%, rgba(255,255,255,0.05) 0%, transparent 100%);
}
.sb-stars::after {
  background-image:
    radial-gradient(ellipse  90px 14px at 25%  35%, rgba(255,255,255,0.03) 0%, transparent 100%),
    radial-gradient(ellipse 130px 18px at 65%  30%, rgba(255,255,255,0.04) 0%, transparent 100%),
    radial-gradient(ellipse  70px 12px at  8%  40%, rgba(255,255,255,0.03) 0%, transparent 100%);
  opacity: 0.9;
}

/* Distant mountain range — faint haze layer (furthest back) */
.sb-mountains-distant {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68%;
}

/* Far mountain range — forest green */
.sb-mountains-far {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
}

/* Near mountain range — dark forest */
.sb-mountains-near {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
}

/* Floating summer light particles */
.sb-snowflakes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sb-flake {
  position: absolute;
  top: -10px;
  border-radius: 50%;
  background: rgba(255, 245, 200, 0.65);
  box-shadow: 0 0 6px rgba(255, 240, 180, 0.4);
  animation: drift linear infinite;
}

.sb-flake:nth-child(1)  { width:2px; height:2px; left:5%;   animation-duration:18s; animation-delay:0s;    opacity:.5; }
.sb-flake:nth-child(2)  { width:2px; height:2px; left:15%;  animation-duration:24s; animation-delay:4s;    opacity:.3; }
.sb-flake:nth-child(3)  { width:3px; height:3px; left:25%;  animation-duration:16s; animation-delay:8s;    opacity:.4; }
.sb-flake:nth-child(4)  { width:2px; height:2px; left:35%;  animation-duration:28s; animation-delay:2s;    opacity:.25; }
.sb-flake:nth-child(5)  { width:2px; height:2px; left:45%;  animation-duration:20s; animation-delay:11s;   opacity:.45; }
.sb-flake:nth-child(6)  { width:2px; height:2px; left:55%;  animation-duration:26s; animation-delay:6s;    opacity:.3; }
.sb-flake:nth-child(7)  { width:3px; height:3px; left:65%;  animation-duration:17s; animation-delay:14s;   opacity:.4; }
.sb-flake:nth-child(8)  { width:2px; height:2px; left:75%;  animation-duration:22s; animation-delay:7s;    opacity:.25; }
.sb-flake:nth-child(9)  { width:2px; height:2px; left:85%;  animation-duration:25s; animation-delay:10s;   opacity:.45; }
.sb-flake:nth-child(10) { width:2px; height:2px; left:92%;  animation-duration:19s; animation-delay:3s;    opacity:.3; }
.sb-flake:nth-child(11) { width:3px; height:3px; left:10%;  animation-duration:30s; animation-delay:17s;   opacity:.25; }
.sb-flake:nth-child(12) { width:2px; height:2px; left:78%;  animation-duration:15s; animation-delay:1s;    opacity:.4; }

@keyframes drift {
  0%   { transform: translateY(-10px) translateX(0px);    opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateY(50vh)  translateX(20px); }
  90%  { opacity: 0.5; }
  100% { transform: translateY(100vh) translateX(-10px);  opacity: 0; }
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.sb-page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
}

/* ============================================================
   LANDING PAGE — Centered card layout
   ============================================================ */

.sb-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem 1.25rem 4rem;
}

/* Brand mark above the card */
.sb-brand {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.8s ease both;
}

.sb-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sb-brand-icon {
  font-size: 1.5rem;
  opacity: 0.9;
}

.sb-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.sb-brand-tagline {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Main glass card */
.sb-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 2.25rem 1.75rem;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: fadeSlideUp 0.7s 0.15s ease both;
}

.sb-card-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--snow-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.sb-card-subtitle {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* White divider */
.sb-divider {
  width: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  margin: 1.25rem 0;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */

.sb-field {
  margin-bottom: 1.25rem;
}

.sb-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.sb-input {
  width: 100%;
  height: 52px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-input);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  padding: 0 1.1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.sb-input::placeholder { color: var(--text-muted); }

.sb-input:focus {
  border-color: rgba(255,255,255,0.55);
  box-shadow: var(--shadow-input);
  background: rgba(255,255,255,0.12);
}

.sb-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 999px #0c2d62 inset !important;
  -webkit-text-fill-color: var(--text-primary) !important;
}

/* Confirmation / verification code entry */
.sb-input-code {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  padding-left: 1.5em;   /* offset trailing letter-spacing so glyphs read centered */
  font-weight: 600;
  font-size: 1.25rem;
}
.sb-input-code::placeholder { letter-spacing: 0.15em; font-weight: 400; }

/* Inline field error message (sits under an sb-input) */
.sb-field-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* "Didn't get the code?" resend block */
.sb-resend { text-align: center; margin-top: 1.75rem; }
.sb-resend-text { color: var(--text-muted); font-size: 0.85rem; margin: 0 0 0.6rem; }

/* Primary CTA button */
.sb-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  background: linear-gradient(135deg, var(--btn-from) 0%, var(--btn-mid) 50%, var(--btn-to) 100%);
  border: none;
  border-radius: var(--radius-btn);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 2px 10px rgba(24, 130, 220, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.sb-btn-primary:hover, .sb-btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(24, 130, 220, 0.28);
  filter: brightness(1.08);
  outline: none;
}

.sb-btn-primary:active { transform: translateY(0); }

/* Ghost/secondary button */
.sb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.sb-btn-ghost:hover { color: var(--accent); }

/* ============================================================
   FLASH MESSAGES (alerts)
   ============================================================ */

.sb-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
}

.sb-alert-danger  { background: var(--danger-bg);  border: 1px solid rgba(255,112,102,0.28); color: #ff9f96; }
.sb-alert-success { background: var(--success-bg); border: 1px solid rgba(77,204,106,0.28);  color: #6ddc88; }
.sb-alert-warning { background: var(--warning-bg); border: 1px solid rgba(255,200,40,0.28);  color: #ffd050; }
.sb-alert-info    { background: rgba(100,170,255,0.1); border: 1px solid rgba(100,170,255,0.22); color: #80b8ff; }

.sb-alert-icon { font-size: 1rem; flex-shrink: 0; line-height: 1.45; }

/* ============================================================
   ACTIVITIES PAGE — Scrollable list with sticky header
   ============================================================ */

.sb-activities-page {
  padding-bottom: 8rem;
}

/* Sticky top header */
.sb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 21, 41, 0.90);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sb-header-brand {
  display: flex;
  flex-direction: column;
}

.sb-header-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--snow-white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.sb-header-sub {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.sb-room-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.sb-room-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sb-room-number {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--snow-white);
  line-height: 1.1;
}

/* Guest limit info strip */
.sb-info-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.sb-info-strip-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.sb-activities-body {
  padding: 0 1rem;
}

/* ---- Day Section ---- */
.sb-day-section {
  margin-top: 2rem;
}

.sb-day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 -0.25rem 1rem;
  padding: 0.6rem 1rem;
  background: rgba(6, 22, 60, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.875rem;
}

.sb-day-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0em;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.25);
}

.sb-day-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  border-radius: 1px;
}

/* ---- Activity Card ---- */
.sb-activity-card {
  background: rgba(6, 22, 60, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-left: 4px solid rgba(255, 255, 255, 0.70);
  border-radius: var(--radius-card);
  padding: 1.1rem 1.1rem 1.1rem 1.2rem;
  margin-bottom: 0.875rem;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.sb-activity-card:hover {
  background: rgba(8, 30, 78, 0.86);
  border-color: rgba(255, 255, 255, 0.40);
  border-left-color: rgba(255, 255, 255, 0.90);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 255, 255, 0.08), 0 1px 0 rgba(255,255,255,0.12) inset;
  transform: translateY(-2px);
}

/* Activity photo thumbnail (left of the info; never overlaps text/counter) */
.sb-activity-photo {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.30);
}
.sb-activity-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sb-activity-img-placeholder {
  font-size: 2rem;
  line-height: 1;
  opacity: 0.7;
}
@media (min-width: 640px) {
  .sb-activity-photo { width: 92px; height: 92px; }
}

.sb-activity-info {
  flex: 1;
  min-width: 0;
}

.sb-activity-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  letter-spacing: 0em;
}

.sb-activity-desc {
  font-family: var(--font-ui);
  font-size: 0.83rem;
  font-weight: 400;
  color: rgba(210, 232, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sb-activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sb-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(180, 215, 255, 0.80);
  letter-spacing: 0.01em;
}

.sb-meta-icon {
  font-size: 0.76rem;
  opacity: 0.85;
}

/* ---- Guest counter widget ---- */
.sb-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.sb-counter-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(210, 232, 255, 0.65);
}

.sb-counter-widget {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.sb-step-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: rgba(210, 232, 255, 0.75);
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.sb-step-btn:hover, .sb-step-btn:active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.sb-step-btn:active { background: rgba(255,255,255,0.22); }

/* The actual number input */
.sb-counter-input {
  width: 38px;
  height: 36px;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
  padding: 0;
}
.sb-counter-input::-webkit-outer-spin-button,
.sb-counter-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Bingo — glows white when active */
.sb-activity-card.bingo-active .sb-counter-widget {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.sb-counter-input.bingo-input {
  transition: color var(--transition);
}

/* ---- Sticky submit bar ---- */
.sb-submit-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 1.25rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  background: rgba(6, 21, 41, 0.95);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.sb-submit-btn {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, var(--btn-from) 0%, var(--btn-mid) 55%, var(--btn-to) 100%);
  border: none;
  border-radius: var(--radius-btn);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(24, 128, 220, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.sb-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(24, 128, 220, 0.28);
  filter: brightness(1.08);
}
.sb-submit-btn:active { transform: translateY(0); }

/* ---- All-passed message ---- */
.sb-week-done {
  text-align: center;
  padding: 4rem 2rem;
}

.sb-week-done-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.sb-week-done-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--snow-white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.sb-week-done-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0);     }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Stagger activity cards on load */
.sb-activity-card {
  animation: fadeSlideUp 0.4s ease both;
}
.sb-activity-card:nth-child(2) { animation-delay: 0.05s; }
.sb-activity-card:nth-child(3) { animation-delay: 0.10s; }
.sb-activity-card:nth-child(4) { animation-delay: 0.15s; }
.sb-activity-card:nth-child(5) { animation-delay: 0.20s; }
.sb-activity-card:nth-child(6) { animation-delay: 0.25s; }
.sb-activity-card:nth-child(7) { animation-delay: 0.30s; }

/* ============================================================
   RESPONSIVE — Tablet+ (≥ 640px)
   ============================================================ */

@media (min-width: 640px) {
  .sb-landing { padding: 2.5rem 2rem 5rem; }

  .sb-card {
    padding: 2.75rem 2.5rem;
    border-radius: 1.5rem;
  }

  .sb-card-title { font-size: 3rem; }

  .sb-activities-body { padding: 0 1.5rem; max-width: 800px; margin: 0 auto; }

  .sb-activity-card { padding: 1.25rem 1.375rem 1.25rem 1.5rem; }

  .sb-day-name { font-size: 2rem; }
  .sb-day-header { padding: 0.65rem 1.1rem; }
}

/* ============================================================
   RESPONSIVE — Desktop (≥ 1024px)
   ============================================================ */

@media (min-width: 1024px) {
  .sb-landing { padding: 3rem 2rem; }

  .sb-activities-body { max-width: 860px; }

  .sb-header { padding: 1rem 2rem; }

  .sb-submit-bar { padding: 1.25rem 2rem; }

  .sb-submit-btn { max-width: 580px; margin: 0 auto; display: block; }

  .sb-activity-card:hover { transform: translateY(-2px); }
}

/* ============================================================
   ACCESSIBILITY — Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, .sb-flake, .sb-activity-card { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   Utility — visually hidden (accessibility)
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
