:root {
  --brand: #379DD4;
  --brand-dark: #247EAD;
  --brand-soft: #EAF6FC;
  --brand-light: #F5FBFE;
  --ink: #102A43;
  --muted: #6B7C93;
  --cream: #FFF8E8;
  --line: #102A43;
  --shadow-hard: 7px 7px 0 #102A43;
  --shadow-soft: 0 16px 40px rgba(16, 42, 67, .10);
  --text-dark: var(--ink);
  --text-muted: var(--muted);
  --card-border: var(--line);
}

* {
  letter-spacing: 0;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
}

img {
  max-width: 100%;
}

a,
.btn,
.filter-chip,
.category-card,
.feature-card,
.step-card,
.testimonial-card,
.frame-card {
  transition: all .15s ease;
}

.section-padding,
.section-pad {
  padding: 90px 0;
}

.rounded-blob {
  border-radius: 32px;
}

.text-brand {
  color: var(--brand) !important;
}

.bg-brand-soft {
  background: var(--brand-soft) !important;
}

.bg-cream {
  background: var(--cream) !important;
}

.app-navbar {
  background: #fff;
  border-bottom: 2px solid var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark:hover {
  color: var(--ink);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
}

.navbar-toggler {
  border: 2px solid var(--line) !important;
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--line);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  padding: 9px 14px !important;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--brand-soft);
}

.nav-icon {
  color: var(--brand-dark);
  font-size: .95rem;
}

.auth-nav {
  padding-top: 0;
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  padding: 13px 24px;
  box-shadow: 5px 5px 0 var(--line);
  transition: all .15s ease;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--line);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
}

.btn-brand:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--line);
}

.btn-outline-brand,
.btn-soft-brand {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  padding: 13px 24px;
  box-shadow: 5px 5px 0 var(--line);
  transition: all .15s ease;
}

.btn-outline-brand:hover,
.btn-soft-brand:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--line);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  padding: 13px 24px;
  box-shadow: 5px 5px 0 var(--line);
}

.btn-google:hover {
  background: var(--cream);
  color: var(--ink);
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
}

.btn-sm {
  padding: 9px 16px;
}

.play-card,
.hero-preview,
.feature-card,
.step-card,
.testimonial-card,
.frame-card,
.category-card,
.camera-shell,
.result-panel,
.form-panel,
.admin-table-wrap,
.final-cta-panel,
.booth-preview-panel,
.empty-state {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-hard);
  padding: 24px;
  transition: all .15s ease;
}

.play-card:hover,
.feature-card:hover,
.step-card:hover,
.testimonial-card:hover,
.frame-card:hover,
.category-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--line);
}

.play-badge,
.eyebrow,
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--line);
  font-size: .88rem;
}

.hero-section {
  padding: 98px 0 86px;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 248, 232, .96), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(55, 157, 212, .18), transparent 32%),
    linear-gradient(180deg, var(--brand-light), #fff 72%);
}

.hero-title,
.page-hero h1,
.section-heading h2,
.section-title,
.final-cta-panel h2 {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .98;
}

.hero-copy,
.section-copy,
.page-hero p,
.feature-card p,
.step-card p,
.testimonial-card p,
.footer-copy,
.frame-card-body p,
.category-card span,
.result-header p,
.empty-state p,
.booth-header p {
  color: var(--muted);
  line-height: 1.75;
  font-weight: 600;
}

.hero-copy {
  font-size: 1.14rem;
  max-width: 650px;
}

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

.hero-stats div {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 24px;
  box-shadow: 4px 4px 0 var(--line);
  padding: 18px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--ink);
  font-weight: 900;
}

.hero-stats span {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 5px;
}

.hero-preview {
  overflow: hidden;
  padding: 0;
  background: var(--cream);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border-bottom: 2px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}

.preview-toolbar span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--brand);
}

.preview-stage {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 18px;
  padding: 18px;
}

.preview-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(55, 157, 212, .18), rgba(255, 248, 232, .72)),
    linear-gradient(135deg, #fff, var(--brand-soft));
}

.preview-face {
  position: absolute;
  inset: 17% 18% 22%;
  border: 10px solid var(--line);
  border-radius: 42% 42% 30% 30%;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(16, 42, 67, .18);
}

.preview-spark {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 var(--line);
}

.preview-spark-one {
  top: 42px;
  right: 38px;
}

.preview-spark-two {
  left: 42px;
  bottom: 62px;
  background: var(--brand);
}

.preview-frame-line {
  position: absolute;
  left: 28px;
  right: 28px;
  height: 92px;
  border: 7px solid var(--brand-dark);
}

.preview-frame-line.top {
  top: 28px;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

.preview-frame-line.bottom {
  bottom: 28px;
  border-top: 0;
  border-radius: 0 0 22px 22px;
}

.preview-side {
  display: grid;
  align-content: center;
  gap: 12px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line);
  font-weight: 900;
  padding: 12px 14px;
}

.mini-card.active {
  background: var(--brand);
  color: #fff;
}

.soft-band {
  background: var(--brand-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.section-title,
.final-cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  margin-top: 16px;
}

.feature-card h3,
.step-card h3,
.frame-card-body h2,
.category-card strong {
  color: var(--ink);
  font-weight: 900;
}

.feature-card,
.step-card,
.testimonial-card {
  min-height: 100%;
}

.feature-icon,
.quote-icon,
.category-card i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--ink);
  background: var(--brand-soft);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 3px 3px 0 var(--line);
  font-size: 1.45rem;
  margin-bottom: 20px;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--brand);
  border: 2px solid var(--line);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--line);
  font-weight: 900;
  margin-bottom: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-pill,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line);
  font-weight: 900;
  text-decoration: none;
  padding: 10px 16px;
}

.category-pill:hover,
.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  background: var(--brand);
}

.category-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  color: var(--ink);
  text-decoration: none;
}

.booth-preview-panel {
  background: var(--cream);
}

.booth-preview-canvas {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, #fff, var(--brand-soft));
  border: 2px solid var(--line);
  border-radius: 24px;
}

.booth-preview-canvas i {
  font-size: 4rem;
}

.booth-preview-canvas span {
  font-weight: 900;
  margin-top: -120px;
}

.camera-dot {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 3px 3px 0 var(--line);
}

.frame-corner {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 8px solid var(--brand-dark);
}

.frame-corner.left {
  left: 28px;
  bottom: 28px;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 22px;
}

.frame-corner.right {
  right: 28px;
  top: 28px;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 22px 0 0;
}

.booth-preview-actions,
.camera-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
  margin-top: 4px;
}

.final-cta {
  padding: 46px 0 92px;
  background: linear-gradient(180deg, #fff, var(--cream));
}

.final-cta-panel {
  background: var(--brand-soft);
  padding: 54px 28px;
}

.footer-section {
  background: #fff;
  border-top: 2px solid var(--line);
  padding: 42px 0;
}

.footer-link {
  display: inline-flex;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  margin-left: 16px;
  padding: 8px 10px;
}

.footer-link:hover {
  color: var(--ink);
  background: var(--brand-soft);
}

.footer-credit-link {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.footer-credit-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.page-hero {
  padding: 76px 0 58px;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 248, 232, .95), transparent 28%),
    linear-gradient(180deg, var(--brand-light), #fff);
}

.page-hero.compact h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  margin-top: 16px;
}

.page-hero p {
  max-width: 760px;
  margin-top: 16px;
  margin-bottom: 0;
}

.gallery-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  min-width: min(100%, 360px);
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--ink);
}

.search-box .form-control {
  border-radius: 999px;
  padding-left: 48px;
}

.frame-card {
  overflow: hidden;
  padding: 16px;
}

.frame-preview {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--brand-soft);
  border: 2px solid var(--line);
  border-radius: 20px;
}

.frame-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fallback-preview {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cream), var(--brand-soft));
  font-weight: 900;
  text-align: center;
  padding: 24px;
}

.fallback-preview i {
  font-size: 3rem;
}

.frame-card-body {
  display: grid;
  gap: 18px;
  padding: 20px 4px 4px;
}

.frame-card-body h2 {
  font-size: 1.35rem;
  margin: 12px 0 5px;
}

.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 46px 24px;
}

.empty-state i {
  color: var(--brand);
  font-size: 3rem;
  margin-bottom: 14px;
}

.empty-state h2 {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.booth-page {
  padding: 62px 0 86px;
  background: var(--brand-light);
}

.booth-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 30px;
}

.booth-header h1 {
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 14px 0 8px;
}

.camera-shell,
.result-panel {
  background: #fff;
}

.camera-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dcecf4;
  border: 2px solid var(--line);
  border-radius: 28px;
}

.camera-stage video,
.camera-stage img,
.result-image {
  width: 100%;
  height: 100%;
}

.camera-stage video {
  object-fit: cover;
}

.camera-stage img {
  position: absolute;
  inset: 0;
  object-fit: fill;
  pointer-events: none;
}

.camera-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cream), #fff, var(--brand-soft));
  text-align: center;
  padding: 24px;
}

.camera-placeholder i {
  color: var(--brand);
  font-size: 3.4rem;
  text-shadow: 3px 3px 0 var(--line);
}

.camera-placeholder strong {
  font-weight: 900;
}

.camera-placeholder span {
  color: var(--muted);
  font-weight: 700;
}

.countdown,
.countdown-number {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 4px 4px 0 var(--line);
  background: rgba(255, 255, 255, .58);
  padding: 24px;
}

.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.result-header h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 8px 0 4px;
}

.result-image,
.result-empty {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--brand-light);
  border: 2px solid var(--line);
  border-radius: 24px;
}

.result-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.result-empty i {
  color: var(--brand);
  font-size: 3rem;
  text-shadow: 3px 3px 0 var(--line);
}

.admin-table-wrap {
  padding: 0;
  overflow: hidden;
}

.admin-table-wrap .table {
  margin: 0;
}

.admin-table-wrap .table th {
  color: var(--ink);
  background: var(--cream);
  border-bottom: 2px solid var(--line);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 18px;
}

.admin-table-wrap .table td {
  border-color: rgba(16, 42, 67, .16);
  padding: 18px;
}

.admin-thumb {
  display: grid;
  place-items: center;
  width: 74px;
  height: 88px;
  overflow: hidden;
  color: var(--ink);
  background: var(--brand-soft);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 3px 3px 0 var(--line);
}

.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-form {
  max-width: 1120px;
}

.form-control,
.form-select {
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 13px 16px;
  font-weight: 600;
  min-height: 52px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(55, 157, 212, .18);
}

.form-label {
  color: var(--ink);
  font-weight: 900;
}

.form-text {
  color: var(--muted);
  font-weight: 700;
}

.form-panel-title {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.admin-current-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--ink);
  background: var(--brand-light);
  border: 2px solid var(--line);
  border-radius: 24px;
  text-align: center;
}

.admin-current-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination {
  --bs-pagination-color: var(--ink);
  --bs-pagination-active-bg: var(--brand);
  --bs-pagination-active-border-color: var(--line);
  --bs-pagination-border-color: var(--line);
  --bs-pagination-border-width: 2px;
  --bs-pagination-font-weight: 800;
  --bs-pagination-border-radius: 999px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list .accordion-item {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--line);
}

.faq-list .accordion-button {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
  font-weight: 900;
}

.faq-list .accordion-button:not(.collapsed) {
  color: var(--ink);
  background: var(--cream);
}

.faq-list .accordion-body {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
}

.alert {
  border: 2px solid var(--line) !important;
  border-radius: 22px !important;
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 800;
}

.auth-page {
  min-height: 72vh;
  padding: 84px 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 248, 232, .95), transparent 28%),
    linear-gradient(180deg, var(--brand-light), #fff);
}

.auth-card {
  max-width: 540px;
  margin: 0 auto;
}

.auth-card h1 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 22px 0 14px;
}

.auth-card p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
}

.auth-form {
  margin-top: 26px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 900;
  margin: 26px 0 0;
  text-align: center;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-top: 2px solid var(--line);
}

.form-check-input {
  border: 2px solid var(--line);
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--line);
}

.form-check-label {
  color: var(--ink);
  font-weight: 800;
}

.auth-note {
  margin: 22px 0 0;
  text-align: center;
}

.auth-note a {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.auth-note a:hover {
  text-decoration: underline;
}

.dashboard-title {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 22px 0 14px;
}

.dashboard-plan {
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 22px;
  box-shadow: 4px 4px 0 var(--line);
  padding: 16px;
}

.dashboard-plan span,
.dashboard-plan strong,
.dashboard-plan small {
  display: block;
}

.dashboard-plan span {
  color: var(--muted);
  font-weight: 900;
  font-size: .82rem;
  margin-bottom: 4px;
}

.dashboard-plan strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.dashboard-plan small {
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

.dashboard-action-card {
  display: flex;
  flex-direction: column;
}

.account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 900;
  padding: 7px 13px 7px 7px;
}

.account-toggle img,
.account-toggle span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
  border: 2px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.account-toggle img {
  object-fit: cover;
  background: #fff;
}

.account-menu {
  min-width: 230px;
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--line);
  padding: 8px;
}

.account-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 800;
  padding: 11px 12px;
}

.account-menu .dropdown-item:hover {
  background: var(--brand-soft);
}

.account-page {
  padding: 72px 0 92px;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 248, 232, .96), transparent 28%),
    linear-gradient(180deg, var(--brand-light), #fff);
}

.account-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 104px;
}

.account-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.account-avatar,
.profile-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
  border: 2px solid var(--line);
  border-radius: 24px;
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 900;
}

.account-avatar {
  width: 58px;
  height: 58px;
  font-size: 1.3rem;
}

.account-avatar img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-mini strong,
.account-mini span {
  display: block;
}

.account-mini strong {
  color: var(--ink);
  font-weight: 900;
}

.account-mini span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-nav {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
  padding: 12px 14px;
}

.account-nav a:hover,
.account-nav a.active {
  background: var(--cream);
  border-color: var(--line);
  box-shadow: 3px 3px 0 var(--line);
}

.account-main {
  display: grid;
  gap: 26px;
}

.account-hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.04;
  margin: 18px 0 12px;
}

.account-hero p,
.settings-copy {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
}

.profile-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--line);
}

.profile-avatar {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  font-size: 2.2rem;
}

.profile-top h2 {
  color: var(--ink);
  font-weight: 900;
  margin: 0 0 4px;
}

.profile-top p {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.account-section-title {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.settings-list {
  display: grid;
  gap: 14px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  background: var(--brand-light);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}

.setting-row strong,
.setting-row small {
  display: block;
}

.setting-row strong {
  color: var(--ink);
  font-weight: 900;
}

.setting-row small {
  color: var(--muted);
  font-weight: 700;
  margin-top: 4px;
}

.setting-row .form-check-input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.is-featured {
  background: var(--brand-soft);
}

.pricing-card h2,
.bank-card h2,
.subscription-status-card h2 {
  color: var(--ink);
  font-weight: 900;
  margin: 18px 0 10px;
}

.pricing-card p,
.bank-card p,
.subscription-status-card p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

.price-tag {
  display: grid;
  gap: 2px;
  margin: 18px 0;
}

.price-tag strong {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.price-tag span {
  color: var(--muted);
  font-weight: 800;
}

.pricing-features {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.pricing-features i {
  color: var(--brand-dark);
}

.pricing-card .btn {
  margin-top: auto;
}

.subscription-status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.bank-card {
  position: sticky;
  top: 104px;
}

.bank-number {
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--line);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: .04em;
  padding: 18px;
  margin: 18px 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.bank-note {
  display: block;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 18px;
}

.subscription-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.subscription-detail-grid div {
  background: var(--brand-light);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.subscription-detail-grid span,
.subscription-detail-grid strong {
  display: block;
}

.subscription-detail-grid span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.subscription-detail-grid strong {
  color: var(--ink);
  font-weight: 900;
}

.admin-sub-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.admin-feature-list {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.shadow-none {
  box-shadow: none !important;
}

@media (max-width: 991.98px) {
  .hero-section,
  .section-pad,
  .section-padding,
  .page-hero {
    padding: 68px 0;
  }

  .hero-section .row > div:first-child,
  .page-hero {
    text-align: center;
  }

  .hero-section .d-flex,
  .final-cta-panel .d-flex {
    justify-content: center;
  }

  .auth-nav {
    padding-top: 12px;
  }

  .preview-stage {
    grid-template-columns: 1fr;
  }

  .preview-photo {
    min-height: 420px;
  }

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

  .booth-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .bank-card {
    position: static;
  }

  .subscription-status-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .subscription-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  :root {
    --shadow-hard: 4px 4px 0 #102A43;
  }

  .hero-section,
  .section-pad,
  .section-padding,
  .page-hero {
    padding: 54px 0;
  }

  .hero-title {
    font-size: clamp(2.35rem, 15vw, 3.7rem);
  }

  .hero-stats,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .play-card,
  .hero-preview,
  .feature-card,
  .step-card,
  .testimonial-card,
  .frame-card,
  .category-card,
  .camera-shell,
  .result-panel,
  .form-panel,
  .admin-table-wrap,
  .final-cta-panel,
  .booth-preview-panel,
  .empty-state {
    border-radius: 22px;
    box-shadow: 4px 4px 0 var(--line);
  }

  .gallery-tools,
  .search-box,
  .filter-tabs,
  .filter-chip,
  .auth-nav .nav-item,
  .auth-nav .btn,
  .camera-actions .btn,
  .result-actions .btn,
  .booth-preview-actions .btn,
  .btn-brand,
  .btn-outline-brand,
  .btn-soft-brand {
    width: 100%;
  }

  .preview-photo {
    min-height: 360px;
  }

  .mini-card {
    border-radius: 20px;
  }

  .footer-link {
    display: flex;
    margin: 12px 0 0;
  }

  .account-toggle,
  .account-toggle strong,
  .account-menu,
  .account-page .btn {
    width: 100%;
  }

  .account-toggle {
    justify-content: flex-start;
  }

  .profile-top,
  .setting-row {
    grid-template-columns: 1fr;
  }

  .profile-top {
    text-align: center;
  }

  .profile-avatar {
    margin: 0 auto;
  }

  .setting-row {
    display: grid;
  }

  .subscription-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-sub-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .app-navbar .container {
    gap: 10px;
  }

  .brand-mark {
    min-width: 0;
    font-size: .98rem;
  }

  .brand-mark span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .navbar-collapse {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 24px;
    box-shadow: 5px 5px 0 var(--line);
    margin-top: 14px;
    padding: 14px;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 8px;
  }

  .nav-link {
    display: flex;
    width: 100%;
    border: 2px solid var(--line);
    border-radius: 16px;
    background: var(--brand-light);
    box-shadow: 2px 2px 0 var(--line);
    padding: 11px 13px !important;
  }

  .auth-nav {
    border-top: 2px solid var(--line);
    margin-top: 12px;
    padding-top: 14px;
  }

  .dropdown-menu.account-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 10px;
  }

  .page-hero.compact h1,
  .booth-header h1,
  .account-hero h1 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  .section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section-heading .eyebrow,
  .page-hero .eyebrow {
    justify-content: center;
  }

  .gallery-tools {
    align-items: stretch;
  }

  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .filter-chip {
    width: 100%;
  }

  .admin-table-wrap {
    border-radius: 22px;
  }

  .admin-table-wrap .table {
    min-width: 760px;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section,
  .section-pad,
  .section-padding,
  .page-hero,
  .auth-page,
  .account-page,
  .booth-page {
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .hero-section .row {
    gap: 28px;
  }

  .hero-copy,
  .section-copy,
  .page-hero p,
  .booth-header p,
  .auth-card p,
  .account-hero p {
    font-size: .98rem;
    line-height: 1.65;
  }

  .eyebrow,
  .play-badge,
  .badge-soft {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }

  .hero-section .d-flex,
  .final-cta-panel .d-flex,
  .booth-header,
  .camera-actions,
  .result-actions,
  .booth-preview-actions {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stats div,
  .feature-card,
  .step-card,
  .testimonial-card,
  .category-card,
  .final-cta-panel,
  .auth-card,
  .account-sidebar,
  .account-hero,
  .account-form {
    padding: 18px;
  }

  .preview-toolbar {
    padding: 14px;
    font-size: .88rem;
  }

  .preview-stage {
    padding: 14px;
    gap: 14px;
  }

  .preview-photo {
    min-height: 330px;
  }

  .preview-face {
    inset: 18% 16% 24%;
    border-width: 7px;
  }

  .preview-spark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .preview-frame-line {
    left: 18px;
    right: 18px;
    height: 68px;
    border-width: 5px;
  }

  .preview-side {
    gap: 10px;
  }

  .mini-card {
    min-height: 50px;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
  }

  .booth-preview-canvas {
    min-height: 300px;
  }

  .booth-preview-canvas span {
    margin-top: -70px;
  }

  .frame-corner {
    width: 72px;
    height: 72px;
    border-width: 6px;
  }

  .camera-stage,
  .result-image,
  .result-empty,
  .frame-preview {
    border-radius: 18px;
  }

  .camera-shell,
  .result-panel {
    padding: 14px;
  }

  .result-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .countdown,
  .countdown-number {
    font-size: clamp(52px, 16vw, 96px);
    text-shadow: 3px 3px 0 var(--line);
  }

  .footer-section {
    text-align: left;
  }

  .footer-section .brand-mark {
    justify-content: flex-start;
  }

  .footer-link {
    width: max-content;
    max-width: 100%;
  }

  .profile-top {
    gap: 16px;
  }

  .account-nav {
    grid-template-columns: 1fr 1fr;
  }

  .account-nav a {
    justify-content: center;
    text-align: center;
    padding: 11px 10px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-mark {
    gap: 8px;
    font-size: .9rem;
  }

  .navbar-toggler {
    padding: 6px 9px;
    border-radius: 14px;
  }

  .hero-title {
    font-size: clamp(2.15rem, 14vw, 3.15rem);
    line-height: 1.02;
  }

  .section-heading h2,
  .section-title,
  .final-cta-panel h2 {
    font-size: clamp(1.8rem, 10vw, 2.55rem);
    line-height: 1.08;
  }

  .page-hero.compact h1,
  .booth-header h1,
  .auth-card h1,
  .account-hero h1,
  .dashboard-title {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
    line-height: 1.08;
  }

  .btn-brand,
  .btn-outline-brand,
  .btn-soft-brand,
  .btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 11px 16px;
    text-align: center;
  }

  .filter-tabs {
    grid-template-columns: 1fr;
  }

  .feature-icon,
  .quote-icon,
  .category-card i {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 1.25rem;
  }

  .step-card span {
    width: 46px;
    height: 46px;
  }

  .frame-card {
    padding: 12px;
  }

  .frame-card-body {
    padding-top: 16px;
  }

  .auth-divider span {
    font-size: .85rem;
  }

  .account-nav {
    grid-template-columns: 1fr;
  }

  .setting-row {
    padding: 14px;
  }
}
