/* Premia+ V3 — Public Stylesheet */
:root {
  --brand: #e8a52b;
  --brand-hover: #cf8f1c;
  --ink: #17202d;
  --surface: #ffffff;
  --bg-page: #f5f6f9;
  --success: #137a55;
  --border-subtle: #dce2e9;
  --card-shadow: 0 5px 22px rgba(20, 32, 57, 0.05);
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif !important;
  background-color: var(--bg-page);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Navbar */
.navbar-custom {
  background-color: #121a28 !important;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-icon {
  color: var(--brand);
  font-size: 1.3rem;
  margin-right: 4px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 72px);
  letter-spacing: -0.5px;
  font-size: 1.35rem;
  font-weight: 700;
}

.platform-header-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.platform-header-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero Section */
.hero-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 30%, #38604d 0%, transparent 40%), linear-gradient(115deg, #101d20, #213d35);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 12px 35px rgba(21, 37, 27, 0.12);
}

.hero-card:after {
  content: '✦';
  position: absolute;
  right: 6%;
  top: -20px;
  font-size: 240px;
  opacity: 0.06;
  pointer-events: none;
}

/* Cards & Badges */
.card-premia {
  border: 1px solid #edf0ee !important;
  border-radius: 18px !important;
  box-shadow: var(--card-shadow) !important;
  background: var(--surface);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-premia:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20, 32, 57, 0.09) !important;
}


.prize-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}

.tag-status {
  display: inline-block;
  background: #e8f7ef;
  color: #12734b;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.tag-warning {
  background: #fff8e6;
  color: #a67816;
}

/* Botões Numéricos da Cartela */
.num-btn {
  height: 56px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: #ffffff;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  transition: transform 0.12s, border-color 0.12s, background-color 0.12s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
  width: 100%;
}

.num-btn small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  color: #6c757d;
}

.num-btn:not(.sold):hover {
  transform: translateY(-2px);
  border-color: var(--success);
}

.num-btn.selected {
  background: var(--success) !important;
  color: #ffffff !important;
  border-color: var(--success) !important;
}

.num-btn.selected small {
  color: rgba(255, 255, 255, 0.85) !important;
}

.num-btn.sold {
  background: #e8ebef !important;
  color: #89929e !important;
  border-color: #e8ebef !important;
  cursor: not-allowed !important;
}

.num-btn.reserved {
  background: #fff2db !important;
  color: #a67816 !important;
  border-color: #ffe0a3 !important;
  cursor: not-allowed !important;
}

/* Sticky Checkout Bar */
.sticky-buy {
  position: sticky;
  bottom: 16px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle) !important;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.btn-brand {
  background-color: var(--brand);
  color: #17202d;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.btn-brand:hover {
  background-color: var(--brand-hover);
  color: #17202d;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #a67816;
  text-transform: uppercase;
}

.footer-custom {
  color: #69727d;
  font-size: 13px;
  border-top: 1px solid #e2e6eb;
  background: #ffffff;
}
