/* Splash Page Styles */

/* Main Navigation */
.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-title {
  display: flex;
  align-items: center;
}

.nav-title h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #2c3e50;
}

.nav-auth {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.auth-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Mobile navigation styles */
@media (max-width: 768px) {
  .nav-title, .nav-auth {
    display: none !important;
  }
  
  .mobile-auth-button {
    display: block !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .mobile-auth-button:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
  }
  
  /* When user is signed in, use green styling */
  .mobile-auth-button.signed-in {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }
  
  .mobile-auth-button.signed-in:hover {
    background: linear-gradient(135deg, #15803d 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(22, 163, 74, 0.3) !important;
  }
}

@media (min-width: 769px) {
  .mobile-auth-button {
    display: none !important;
  }
}

/* Hero section responsive design */
@media (max-width: 768px) {
  .hero-main-content {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  .fanned-cards-container {
    order: 2;
  }
  
  .hero-image-container {
    order: 1;
    max-width: 300px !important;
  }
  
  .hero-subtitle {
    font-size: 1.8rem !important;
  }
  
  .hero-description,
  .hero-description-secondary {
    font-size: 1rem !important;
  }
}

/* Hero section with blur effect */
.hero-section {
  margin-top: 80px;
  position: relative;
  background: url('https://cards.scryfall.io/art_crop/front/c/3/c3a5b25e-c5af-417e-8675-162ab18ac2b1.jpg?1595010993') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  min-height: 600px !important;
  padding: 4rem 2rem !important;
  text-align: left !important;
  overflow: visible !important;
}

/* Blurred background overlay */
.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

/* Hero content with higher z-index */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: none !important;
  margin: 0 !important;
}

/* Hero header */
.hero-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

/* Hero main content layout */
.hero-main-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* Fanned cards container */
.fanned-cards-container {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  height: 300px;
}

.fanned-cards {
  position: relative;
  width: 200px;
  height: 280px;
}

/* Individual fanned cards */
.fanned-card {
  position: absolute;
  width: 120px;
  height: 168px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.fanned-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.card-1 {
  bottom: 0;
  left: 0px;
  transform: rotate(-15deg);
  z-index: 1;
}

.card-2 {
  bottom: 10px;
  left: 35px;
  transform: rotate(-8deg);
  z-index: 2;
}

.card-3 {
  bottom: 20px;
  left: 70px;
  transform: rotate(0deg);
  z-index: 3;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.card-4 {
  bottom: 10px;
  left: 105px;
  transform: rotate(8deg);
  z-index: 2;
}

.card-5 {
  bottom: 0;
  left: 140px;
  transform: rotate(15deg);
  z-index: 1;
}

/* Hero text content */
.hero-text-content {
  flex: 1;
}

/* Hero image container */
.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.booster-pack-wrapper {
  position: relative;
  max-width: 400px;
}

.booster-pack-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.booster-pack-image:hover {
  transform: rotate(-3deg) scale(1.02);
}

.mtg-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero title */
.hero-title {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  margin-bottom: 1rem !important;
  color: #1a202c !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-align: center;
}

/* Hero text elements */
.hero-subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #000000;
  line-height: 1.6;
}

.hero-description-secondary {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #000000;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .hero-image-container {
    max-width: 250px !important;
  }
  
  .hero-subtitle {
    font-size: 1.5rem !important;
  }
}

/* Auth section styles */
.auth-description {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

.auth-footer-text {
  margin-top: 2rem;
  color: #718096;
}

.try-now-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.try-now-link:hover {
  text-decoration: underline;
}
