/* LoreWeaver Deckbuilder Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0e0a05;
  color: #fffbe7;
  line-height: 1.6;
  min-height: 100vh;
}

.deckbuilder-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.deckbuilder-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #181512;
  border-radius: 12px;
  border: 1px solid #b48a5e33;
}

.deckbuilder-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #e8d0a8;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.deckbuilder-header p {
  font-size: 1.2rem;
  color: #b48a5e;
  margin-bottom: 1rem;
}

#auth-status {
  margin-top: 1rem;
}

.deckbuilder-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #1e1a16 0%, #181512 100%);
  border-radius: 16px;
  border: 1px solid #b48a5e44;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hero-section h2 {
  font-size: 2.5rem;
  color: #ffeac0;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-section p {
  font-size: 1.1rem;
  color: #cfa969;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  margin-top: 2rem;
}

.primary-button {
  background: linear-gradient(135deg, #b48a5e 0%, #cfa969 100%);
  color: #0e0a05;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(180, 138, 94, 0.3);
  font-family: 'Poppins', sans-serif;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 138, 94, 0.4);
  background: linear-gradient(135deg, #cfa969 0%, #e8d0a8 100%);
}

.primary-button:active {
  transform: translateY(0);
}

.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: #181512;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #b48a5e33;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: #b48a5e66;
}

.feature h3 {
  font-size: 1.5rem;
  color: #e8d0a8;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature p {
  color: #b48a5e;
  font-size: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .deckbuilder-container {
    padding: 1rem;
  }
  
  .deckbuilder-header h1 {
    font-size: 2rem;
  }
  
  .hero-section h2 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .features-section {
    grid-template-columns: 1fr;
  }
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #b48a5e;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal styles for auth fallback */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.auth-modal-content {
  background: #181512;
  color: #fffbe7;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  border: 2px solid #b48a5e;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.auth-modal h3 {
  margin-bottom: 1rem;
  color: #e8d0a8;
}

.auth-modal p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.auth-modal ul {
  text-align: left;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.auth-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.auth-modal button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.auth-modal .retry-button {
  background: #b48a5e;
  color: #fffbe7;
  border: none;
}

.auth-modal .retry-button:hover {
  background: #cfa969;
}

.auth-modal .close-button {
  background: transparent;
  color: #b48a5e;
  border: 1px solid #b48a5e;
}

.auth-modal .close-button:hover {
  background: #b48a5e;
  color: #fffbe7;
} 