/* SUIO Gala 賣場 — 對齊 suio.tw #section-gala */
:root {
  --suio-blue: #0A66C2;
  --suio-blue-dark: #0052a3;
  --suio-aqua: #00D2D3;
  --suio-dark: #090D16;
  --suio-gala: #070A12;
  --suio-card: #121829;
  --suio-slate-800: #1e293b;
  --suio-slate-700: #334155;
  --suio-slate-400: #94a3b8;
  --suio-amber: #f59e0b;
  --suio-amber-300: #fcd34d;
  --suio-amber-400: #fbbf24;
  --suio-gold-1: #fde68a;
  --suio-gold-2: #f59e0b;
  --suio-gold-3: #d97706;
  --suio-ink: #0f172a;
  --suio-light: #fafbfc;
  --font-display: "Plus Jakarta Sans", "Noto Sans TC", sans-serif;
  --font-body: "Noto Sans TC", "Plus Jakarta Sans", sans-serif;
  --max: 1120px;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.m-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18), rgba(9, 13, 22, 0) 75%),
    var(--suio-gala);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  selection-background-color: rgba(0, 210, 211, 0.3);
}

a {
  color: inherit;
  text-decoration: none;
}

.m-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav（對齊官網淺色頂欄） —— */
.m-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 251, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.m-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.m-brand {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--suio-ink);
}

.m-brand-mark {
  font-size: 1.25rem;
  color: var(--suio-blue);
}

.m-brand-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.m-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.m-nav-links a {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.m-nav-links a:hover,
.m-nav-links a.is-active {
  color: var(--suio-blue);
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.7rem 1.2rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.m-btn:hover {
  transform: translateY(-1px);
}

.m-btn:active {
  transform: scale(0.97);
}

.m-btn-primary {
  background: linear-gradient(90deg, #f59e0b, #d97706, #dc2626);
  color: #fff;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}

.m-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.4);
}

.m-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
}

.m-nav .m-btn-ghost {
  border-color: #e2e8f0;
  color: #334155;
}

.m-btn-teal {
  background: linear-gradient(135deg, var(--suio-aqua), var(--suio-blue));
  color: #041018;
}

.m-btn-blue {
  background: var(--suio-blue);
  color: #fff;
}

/* —— Hero / Gala 標題區 —— */
.m-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  text-align: center;
  overflow: hidden;
}

.m-hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  animation: m-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.m-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--suio-amber-300);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(8px);
  margin-bottom: 1.1rem;
}

.m-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--suio-amber-400);
  animation: m-ping 1.4s ease infinite;
}

.m-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
}

.m-gold {
  background: linear-gradient(135deg, var(--suio-gold-1) 0%, var(--suio-gold-2) 50%, var(--suio-gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-tagline {
  margin: 0 0 0.9rem;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--suio-amber);
}

.m-hero p,
.m-lead {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--suio-slate-400);
  font-size: 0.98rem;
  line-height: 1.75;
}

.m-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* —— Sections —— */
.m-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

.m-section h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
}

.m-section .m-lead {
  text-align: center;
  margin-bottom: 2rem;
}

.m-pipeline {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-3xl);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #1e293b;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  margin-bottom: 2.5rem;
}

.m-pipeline-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--suio-slate-400);
  margin-bottom: 1.25rem;
}

.m-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.m-feature-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.m-feature {
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius-2xl);
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.8);
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease;
  animation: m-rise 0.65s ease both;
}

.m-feature:nth-child(2) { animation-delay: 0.06s; }
.m-feature:nth-child(3) { animation-delay: 0.12s; }
.m-feature:nth-child(4) { animation-delay: 0.18s; }

.m-feature:hover {
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

.m-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--suio-amber-400);
}

.m-feature-icon.is-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.m-feature-icon.is-red {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.m-feature-icon.is-green {
  background: rgba(0, 186, 136, 0.18);
  color: #34d399;
}

.m-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.m-feature .m-sub {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--suio-amber-400);
}

.m-feature p {
  margin: 0;
  color: var(--suio-slate-400);
  line-height: 1.65;
  font-size: 0.82rem;
}

.m-quote {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 500;
}

/* —— Pricing —— */
.m-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.m-price {
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: var(--radius-2xl);
  background: rgba(30, 41, 59, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.m-price:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-3px);
}

.m-price.is-featured {
  border-color: rgba(245, 158, 11, 0.55);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(30, 41, 59, 0.7));
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.12);
}

.m-price h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}

.m-price .m-amount {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--suio-amber-300);
}

.m-price .m-amount small {
  font-size: 0.85rem;
  color: var(--suio-slate-400);
  font-weight: 500;
}

.m-price ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.m-price li {
  padding: 0.35rem 0;
  color: var(--suio-slate-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* —— Auth —— */
.m-auth {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 2.5rem 0 3.5rem;
}

.m-auth-panel {
  width: min(100%, 460px);
  padding: 2rem 1.6rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-3xl);
  background: rgba(18, 24, 41, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.08);
  animation: m-rise 0.55s ease both;
}

.m-auth-panel h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
}

.m-auth-panel .m-lead {
  margin-bottom: 1.4rem;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.m-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.m-field label {
  font-size: 0.82rem;
  color: var(--suio-slate-400);
  font-weight: 600;
}

.m-field input,
.m-field select {
  width: 100%;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.m-field input:focus,
.m-field select:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.m-msg {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: #fca5a5;
  min-height: 1.2em;
}

.m-msg.is-ok {
  color: #34d399;
}

/* —— App portal —— */
.m-app-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2.2rem 0 1.4rem;
}

.m-app-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
}

.m-nav #app-user {
  color: #64748b !important;
}

.m-tenant {
  margin-bottom: 1.8rem;
  padding: 1.4rem;
  border-radius: var(--radius-2xl);
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(51, 65, 85, 0.85);
}

.m-tenant h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  text-align: left;
  color: var(--suio-amber-300);
}

.m-tenant .m-meta {
  color: var(--suio-slate-400);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.m-event-list {
  display: grid;
  gap: 0.75rem;
}

.m-event {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.m-event h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.m-event p {
  margin: 0;
  color: var(--suio-slate-400);
  font-size: 0.85rem;
}

.m-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.m-event-actions a,
.m-event-actions button {
  padding: 0.45rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.m-event-actions a:hover,
.m-event-actions button:hover {
  border-color: rgba(245, 158, 11, 0.55);
  color: var(--suio-amber-300);
}

.m-create-box {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: 12px;
}

.m-footer {
  border-top: 1px solid rgba(30, 41, 59, 0.9);
  padding: 1.5rem 0 2rem;
  color: var(--suio-slate-400);
  font-size: 0.85rem;
}

.m-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.m-footer a {
  color: var(--suio-amber-400);
  font-weight: 600;
}

/* —— Gala 舞臺 Demo（對齊官網） —— */
.gala-demo-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.gala-demo-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-2xl);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #1e293b;
  backdrop-filter: blur(12px);
}

.gala-theme-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.gala-theme-btns > span {
  font-size: 0.75rem;
  color: var(--suio-slate-400);
  font-weight: 600;
  margin-right: 0.15rem;
}

.gala-theme-btns button {
  padding: 0.4rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  background: #1e293b;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gala-theme-btns button:hover {
  background: #334155;
}

.gala-theme-btns button.active-theme-btn,
.gala-theme-btns button.ring-2 {
  box-shadow: 0 0 0 2px #fbbf24;
}

#gala-draw-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.75rem;
  border: none;
  background: linear-gradient(90deg, #f59e0b, #d97706, #dc2626);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.3);
  transition: filter 0.2s ease, transform 0.15s ease;
}

#gala-draw-btn:hover {
  filter: brightness(1.06);
}

#gala-draw-btn:active {
  transform: scale(0.97);
}

#gala-draw-btn:disabled,
#gala-draw-btn.opacity-60 {
  opacity: 0.6;
  cursor: not-allowed;
}

.gala-stage-frame {
  position: relative;
  background: #05070e;
  border: 10px solid #1e2538;
  border-radius: 28px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 50px rgba(245, 158, 11, 0.25);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

@media (min-width: 768px) {
  .gala-stage-frame {
    padding: 2.25rem;
  }
}

.gala-stage-frame.gala-theme-blue {
  background: radial-gradient(circle at 50% 30%, #0f2756 0%, #050e22 65%, #020611 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(14, 165, 233, 0.3);
}

.gala-stage-frame.gala-theme-red {
  background: radial-gradient(circle at 50% 30%, #7f1d1d 0%, #450a0a 65%, #1c0303 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(239, 68, 68, 0.35);
}

.gala-stage-frame.gala-theme-gold {
  background: radial-gradient(circle at 50% 30%, #2a2110 0%, #151109 65%, #0a0804 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(245, 158, 11, 0.4);
}

.gala-stage-frame.gala-theme-purple {
  background: radial-gradient(circle at 50% 30%, #4c1d95 0%, #2e1065 65%, #100326 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(168, 85, 247, 0.35);
}

.gala-stage-frame.gala-theme-aurora {
  background: radial-gradient(circle at 50% 30%, #064e3b 0%, #062828 60%, #021013 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(16, 185, 129, 0.35);
}

#gala-fireworks-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gala-stage-top,
.gala-stage-mid,
.gala-stage-bot {
  position: relative;
  z-index: 10;
}

.gala-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.gala-logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(to top right, #f59e0b, #fcd34d);
  color: #020617;
  font-weight: 900;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.gala-live-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #fcd34d;
  font-family: ui-monospace, monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.gala-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34d399;
  animation: m-ping 1.6s ease infinite;
}

.gala-stage-mid {
  margin: auto 0;
  padding: 1.25rem 0;
  text-align: center;
}

.gala-prize-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.gala-candidate-card {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.35rem;
  border-radius: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.gala-candidate-card .label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: ui-monospace, monospace;
  margin-bottom: 0.2rem;
}

#gala-rolling-name {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#gala-rolling-name.scale-110 {
  transform: scale(1.1);
}

#gala-rolling-name.text-amber-300 {
  -webkit-text-fill-color: #fcd34d;
  background: none;
  color: #fcd34d;
}

.gala-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.gala-meta-row #gala-rolling-dept {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
}

#gala-rolling-id {
  font-family: ui-monospace, monospace;
  color: #fbbf24;
}

#gala-greeting-box {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(253, 230, 138, 0.9);
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

#gala-greeting-box.hidden {
  display: none;
}

.gala-theme-btns button.cursor-not-allowed {
  cursor: not-allowed;
}

#gala-greeting-text.opacity-0 {
  opacity: 0;
}

#gala-greeting-text.scale-95 {
  transform: scale(0.95);
}

.gala-stage-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.7rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#gala-winner-modal {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

#gala-winner-modal.flex {
  display: flex;
}

#gala-winner-modal.hidden {
  display: none !important;
}

.gala-winner-card {
  max-width: 26rem;
  width: 100%;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(16px);
  border: 2px solid #fbbf24;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.gala-winner-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

#gala-winner-name {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 900;
  margin: 1rem 0;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#gala-close-modal-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: none;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  color: #020617;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

#gala-close-modal-btn:hover {
  filter: brightness(1.08);
}

@keyframes m-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes m-ping {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 900px) {
  .m-feature-grid,
  .m-feature-grid-2,
  .m-price-grid {
    grid-template-columns: 1fr;
  }

  .m-event {
    grid-template-columns: 1fr;
  }

  .m-nav-links .m-hide-sm {
    display: none;
  }
}
