/*
 * SpeedX Drinks Premium Theme
 * Colors: Yellow (#F59E0B / #FFD700), Red (#E11D48 / #FF2E63), Blue (#1E3A8A / #00EAFF)
 */

:root {
  --drinks-red: #FF2E63;
  --drinks-yellow: #FFD700;
  --drinks-blue: #00EAFF;
  --drinks-navy: #0B132B;
  --drinks-surface: #1C2541;
  --drinks-surface2: #3A506B;
  --drinks-text: #FFFFFF;
  --drinks-muted: #A3B1C6;
}

body.drinks-mode {
  background: var(--drinks-navy);
  color: var(--drinks-text);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  margin: 0;
}

/* ─── COUNTRY FLAG SELECTOR BAR ─────────────────────────────── */
.flags-bar {
  background: rgba(11, 19, 43, 0.95);
  border-bottom: 1px solid rgba(0, 234, 255, 0.2);
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  gap: 12px;
  padding-left: 24px;
  padding-right: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--drinks-blue) var(--drinks-navy);
}

.flag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--drinks-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--drinks-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.flag-item:hover, .flag-item.active {
  background: rgba(0, 234, 255, 0.15);
  border-color: var(--drinks-blue);
  color: var(--drinks-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 234, 255, 0.25);
}

.flag-emoji {
  font-size: 1.2rem;
}

/* ─── HERO SLIDER SECTION ───────────────────────────────────── */
.drinks-hero {
  position: relative;
  padding: 60px 24px 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(255, 46, 99, 0.15) 0%, rgba(11, 19, 43, 1) 70%);
  overflow: hidden;
}

.drinks-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0, 234, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--drinks-red), var(--drinks-yellow));
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.drinks-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFF 0%, var(--drinks-yellow) 50%, var(--drinks-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.drinks-hero p {
  color: var(--drinks-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 40px;
}

/* Slider */
.slider-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.drink-slide {
  display: none;
  background: linear-gradient(145deg, var(--drinks-surface), rgba(28, 37, 65, 0.4));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s ease;
}

.drink-slide.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.slide-info {
  text-align: left;
  flex: 1;
}

.slide-tag {
  color: var(--drinks-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.slide-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 15px;
  line-height: 1.1;
}

.slide-info p {
  color: var(--drinks-muted);
  font-size: 1rem;
  margin-bottom: 25px;
}

.slide-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--drinks-yellow);
  margin-bottom: 25px;
}

.slide-img-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.slide-img-wrapper::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 234, 255, 0.2) 0%, transparent 70%);
  z-index: 1;
}

.slide-img {
  max-height: 380px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.drink-slide:hover .slide-img {
  transform: scale(1.05) rotate(-2deg);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.slider-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--drinks-yellow);
  width: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--drinks-yellow);
}

/* ─── CATALOG GRID ──────────────────────────────────────────── */
.drinks-catalog {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #FFF;
}

.section-header span {
  color: var(--drinks-blue);
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.drink-card {
  background: var(--drinks-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.drink-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--drinks-red), var(--drinks-yellow), var(--drinks-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drink-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 234, 255, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.drink-card:hover::before {
  opacity: 1;
}

.card-img-box {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-img {
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
}

.card-brand {
  font-size: 0.85rem;
  color: var(--drinks-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.card-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--drinks-yellow);
}

.btn-buy {
  background: linear-gradient(135deg, var(--drinks-red), #B91C1C);
  color: #FFF;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 46, 99, 0.3);
}

.btn-buy:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 46, 99, 0.5);
}

/* ─── ROLE REGISTRATION MODALS ──────────────────────────────── */
.role-strip {
  background: linear-gradient(135deg, rgba(28, 37, 65, 0.8), rgba(11, 19, 43, 0.9));
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 60px 24px;
  text-align: center;
  margin-bottom: 80px;
}

.role-strip h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 12px;
}

.role-strip p {
  color: var(--drinks-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.role-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.role-card {
  background: var(--drinks-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 30px;
  flex: 1;
  min-width: 260px;
  text-align: center;
  transition: all 0.3s ease;
}

.role-card:hover {
  border-color: var(--drinks-yellow);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.role-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.role-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 10px;
}

.role-card p {
  font-size: 0.9rem;
  color: var(--drinks-muted);
  margin-bottom: 24px;
}

.btn-role {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--drinks-blue);
  color: var(--drinks-blue);
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-role:hover {
  background: var(--drinks-blue);
  color: var(--drinks-navy);
}

@media (max-width: 768px) {
  .drink-slide.active { flex-direction: column-reverse; text-align: center; }
  .slide-info { text-align: center; }
}
