@import url('admin.css');
@import url('variables.css');

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}


@import url('variables.css');

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,20,147,0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-green {
  background: var(--color-success);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}

.btn-green:hover { background: #16a34a; }

.btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,182,193,0.55) 0%, rgba(255,105,180,0.4) 50%, rgba(255,20,147,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}

.hero-text { flex: 1; max-width: 480px; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-title .gold { color: green;}  /*var(--color-accent); }*/

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* Live Stream Cards */
.section {
  padding: 48px 0;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--color-danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.stream-card {
  flex-shrink: 0;
  width: 220px;
  scroll-snap-align: start;
}.stream-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1a1a2e;
  margin-bottom: 12px;
}

.stream-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.stream-card:hover .stream-thumb img { transform: scale(1.05); }

.stream-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  display: flex;
  gap: 12px;
  color: #fff;
  font-size: 12px;
}

.countdown-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.75);
  border-radius: 6px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stream-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.seller-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.seller-row img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* Upcoming Grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.upcoming-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.upcoming-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.upcoming-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #1a1a2e;
}

.upcoming-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portrait Player */
.portrait-player {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 177.78%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.portrait-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Live Product Bar */
live-product-bar {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.product-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-surface);
  border-top: 1px solid #e5e7eb;
}

.product-thumb-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

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

.sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-info { flex: 1; min-width: 0; }
.product-name {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  transition: transform 0.2s;
}

.category-card:hover { transform: scale(1.05); }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(45,27,46,0.8) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #fff;
  padding: 40px 24px;
  margin-top: 60px;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in { animation: fadeIn 0.3s ease-out; }
.animate-slide-up { animation: slideUp 0.4s ease-out; }

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }