/* ──────── 1. FONT AND GLOBAL STYLES ──────── */
@font-face {
  font-family: 'AvenirNext';
  src: url('fonts/AvenirNextLTPro-Regular.otf') format('opentype');
  font-weight: normal;
}

@font-face {
  font-family: 'AvenirNext';
  src: url('fonts/AvenirNextLTPro-Bold.otf') format('opentype');
  font-weight: bold;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  font-family: 'AvenirNext', sans-serif;
  overflow: hidden;
  color: #fff;
  background: url('/images/DSWallpaper4k.png') center center / cover no-repeat;
}

body {
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

/* ──────── 2. PAGE STRUCTURE ──────── */
.page-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* ──────── 3. BANNER SECTION ──────── */
.lotto-banner {
  flex: 0 0 auto;
  display: flex;
  height: 10vh;
  background-color: #39516b;
  color: white;
  padding: 0 2vw;
  align-items: center;
  justify-content: space-between;
  font-size: 1.6vw;
  font-weight: bold;
  text-transform: uppercase;
}

.banner-left,
.banner-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.banner-left {
  text-align: left;
  overflow: hidden;
}

.banner-right {
  text-align: right;
  align-items: flex-end;
}

.banner-center {
  flex: 0 0 auto;
  text-align: center;
}

.banner-logo {
  max-width: 750px;
  margin: 0;
  padding: 0;
}

.slide-line {
  font-size: 1vw;
  line-height: 1;
  font-weight: normal;
  text-transform: uppercase;
}

.slide-line .label,
.banner-right .date-line,
.banner-right .time-line {
  font-size: 1.25vw;
  font-weight: bold;
}

.banner-right .time-line {
  margin-top: 0.2vw;
}

/* ──────── 4. GRID LAYOUT ──────── */
.lotto-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 1vh;
  padding: 0.8vh;
  box-sizing: border-box;
}

/* ──────── 5. CARD DISPLAY ──────── */
.lotto-slot {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-background {
  width: 94%;
  aspect-ratio: 1.05 / .84;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.card-background img.card-image {
  width: 93%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}

.card-background img.banner-overlay {
  position: absolute;
  width: 107%;
  left: -4.3%;
  bottom: -3.35%;
  z-index: 2;
}

/* ──────── 6. CARD CONTENT ──────── */
.slot-number {
  position: absolute;
  top: 0.3vw;
  left: 1.8vw;
  width: 2.2vw;
  height: 2vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3vw;
  font-weight: bold;
  color: #000;
  pointer-events: none;
  z-index: 3;
}

.price-tag {
  position: absolute;
  bottom: 1.2vw;
  left: -0.2vw;
  width: 100%;
  text-align: center;
  font-size: 1.6vw;
  font-weight: bold;
  color: #000;
  z-index: 3;
}

.ticket-status {
  position: absolute;
  bottom: 0.6vw;
  right: 0.2vw;
  width: 4vw;
  height: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.status-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.1;
}

.ticket-status .label {
  font-size: 0.7vw;
  color: #000;
  font-weight: normal;
}

.ticket-status .value {
  font-size: 1.1vw;
  color: #000;
  font-weight: bold;
}

.ticket-status.sold-out .value {
  font-size: 0.9vw;
  color: #555;
}

/* ──────── 7. PRICE TIERS ──────── */
.price-tier-1   { background-color: #A3B18A; }
.price-tier-2   { background-color: #D8A48F; }
.price-tier-3   { background-color: #C2B4E2; }
.price-tier-5   { background-color: #D4AF7F; color: black; }
.price-tier-10  { background-color: #7699B6; }
.price-tier-20  { background-color: #D08C60; }
.price-tier-30  { background-color: #A1798E; }
.price-tier-50  { background-color: #9B4444; }
.price-tier-100 { background-color: #F0E9D2; color: black; }