/* Main CSS for VAPE CUP landing pages */
:root {
  /* Default GV brand colors */
  --primary: #FF4D00;
  --accent: #FFD600;
  --bg: #F2EAFE;
  --bg-2: #E7DBFB;
  --surface: #FEFBFF;
  --surface-2: #F4EEFE;
  --ink: #1A0B2E;
  --text: #1A0B2E;
}

/* GB brand override */
body[data-brand="gb"] {
  --primary: #7C3AED;
  --accent: #2DD4E8;
  --bg: #EFE6FF;
  --bg-2: #E2D2FF;
  --surface: #FFFFFF;
  --surface-2: #F3ECFF;
  --ink: #190A33;
  --text: #190A33;
}

/* Shared VI colors */
:root {
  --vi-green: #22C55E;
  --vi-cyan: #06B6D4;
  --vi-red: #EF4444;
  --vi-yellow: #FACC15;
  --vi-blue: #3B82F6;
  --vi-purple: #9B3DF5;
  --vi-magenta: #E020E0;
  --danger: #E03131;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 2rem 0;
  background-color: var(--surface);
  border-radius: 16px;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text);
  opacity: 0.9;
}

/* Brand selection */
.brand-selection {
  margin: 2rem 0;
}

.brand-selection h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.brand-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-card {
  display: block;
  width: 160px;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.brand-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.brand-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Features */
.features {
  margin: 2rem 0;
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-item {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Login section */
.login-section {
  margin: 2rem 0;
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

#email-input {
  padding: 0.75rem;
  border: 2px solid var(--bg-2);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

#email-input:focus {
  border-color: var(--primary);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Prizes */
.prizes {
  margin: 2rem 0;
}

.prizes h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.prize-item {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.prize-image {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.prize-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Feature list with steps */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature-item.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text);
  opacity: 0.7;
}

/* Campaign status */
.campaign-status {
  margin: 1rem 0;
  text-align: center;
}

.status-message {
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.status-not-started {
  background: var(--bg-2);
  color: var(--text);
}

.status-active {
  background: var(--accent);
  color: var(--text);
}

.status-ended {
  background: var(--bg-2);
  color: var(--text);
}

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .brand-cards {
    flex-direction: column;
    align-items: center;
  }

  .brand-card {
    width: 100%;
    max-width: 300px;
  }

  .container {
    padding: 0 12px;
  }

  .login-section {
    padding: 1.5rem;
  }

  .feature-grid,
  .prize-grid {
    grid-template-columns: 1fr;
  }
}

/* Share section */
.share-section {
  margin-top: 1.5rem;
  text-align: center;
}

.share-section .cta-button {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
}