/* Global Styles - Rider-Waite Tarot Palette */
:root {
  --primary-blue: #1a2840;
  --secondary-blue: #2d4a6e;
  --deep-purple: #4a3c5e;
  --mauve: #8b5a78;
  --gold: #d4af37;
  --bright-gold: #ffd700;
  --cream: #e8dcc4;
  --light-cream: #f5f1e8;
  --terracotta: #c85a3f;
}

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

body {
  font-family: 'Georgia', 'Garamond', serif;
  background: var(--light-cream);
  color: var(--primary-blue);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Palatino', 'Book Antiqua', serif;
  font-weight: 600;
}

.App {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bright-gold);
}

/* Selection Styling */
::selection {
  background: var(--gold);
  color: var(--primary-blue);
}

::-moz-selection {
  background: var(--gold);
  color: var(--primary-blue);
}

/* Header Styles */
.tarot-header {
  width: 100%;
  background: linear-gradient(180deg, #1a2840 0%, #2d4a6e 100%);
  overflow: hidden;
  position: relative;
}

.tarot-cards-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  max-height: 400px;
  gap: 0;
}

.tarot-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e8dcc4;
}

.tarot-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  padding: 1rem;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .tarot-cards-container {
    max-height: 300px;
  }
  
  .tarot-card img {
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  .tarot-cards-container {
    grid-template-columns: repeat(3, 1fr);
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .tarot-cards-container {
    grid-template-columns: repeat(2, 1fr);
    max-height: 300px;
  }
}

/* Navigation Styles */
.main-navigation {
  background: #1a2840;
  border-bottom: 2px solid #d4af37;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #d4af37;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-brand a:hover {
  color: #ffd700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li a {
  color: #e8dcc4;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links li a:hover {
  color: #d4af37;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.join-button {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #1a2840 !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.join-button:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.join-button::after {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #d4af37;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a2840;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 2px solid #d4af37;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  .nav-links li a::after {
    display: none;
  }
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a2840 0%, #2d4a6e 50%, #4a3c5e 100%);
  color: #e8dcc4;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 90, 120, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #d4af37;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #e8dcc4;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #1a2840;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-primary:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.cta-secondary {
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
}

.cta-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #ffd700;
  color: #ffd700;
}

/* Section Containers */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Mission Section */
.mission {
  padding: 5rem 2rem;
  background: #f5f1e8;
  text-align: center;
}

.mission h2 {
  font-size: 2.5rem;
  color: #1a2840;
  margin-bottom: 1.5rem;
}

.mission-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a3c5e;
  max-width: 800px;
  margin: 0 auto;
}

/* Educational Preview */
.educational-preview {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #2d4a6e 0%, #1a2840 100%);
  color: #e8dcc4;
}

.educational-preview h2 {
  font-size: 2.5rem;
  color: #d4af37;
  text-align: center;
  margin-bottom: 3rem;
}

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

.preview-card {
  background: rgba(232, 220, 196, 0.05);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.preview-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  background: rgba(232, 220, 196, 0.1);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.preview-card h3 {
  font-size: 1.5rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.preview-card p {
  line-height: 1.7;
  color: #e8dcc4;
}

/* Community Preview */
.community-preview {
  padding: 5rem 2rem;
  background: #8b5a78;
  color: #e8dcc4;
  text-align: center;
}

.community-preview h2 {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
}

.community-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* About Preview */
.about-preview {
  padding: 5rem 2rem;
  background: #f5f1e8;
  text-align: center;
}

.about-preview h2 {
  font-size: 2.5rem;
  color: #1a2840;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a3c5e;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Resources Page */
.resources-page {
  min-height: 100vh;
}

.page-hero {
  background: linear-gradient(135deg, #1a2840 0%, #2d4a6e 100%);
  color: #e8dcc4;
  padding: 4rem 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.3rem;
  color: #e8dcc4;
}

.resources-content {
  padding: 5rem 2rem;
  background: #f5f1e8;
}

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

.category-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  border: 2px solid #d4af37;
  text-align: center;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.category-card h2 {
  color: #1a2840;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.category-card p {
  color: #4a3c5e;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.explore-btn {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #1a2840;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  transform: translateY(-2px);
}

/* Community Page */
.community-page {
  min-height: 100vh;
}

.community-hero {
  background: linear-gradient(135deg, #8b5a78 0%, #4a3c5e 100%);
}

.community-content {
  padding: 5rem 2rem;
  background: #f5f1e8;
}

.community-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.community-intro h2 {
  font-size: 2.5rem;
  color: #1a2840;
  margin-bottom: 1.5rem;
}

.community-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a3c5e;
}

.community-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  border: 2px solid #8b5a78;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(139, 90, 120, 0.2);
  border-color: #d4af37;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #1a2840;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.feature-card p {
  color: #4a3c5e;
  line-height: 1.7;
}

.community-cta {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, #8b5a78 0%, #4a3c5e 100%);
  border-radius: 12px;
  color: #e8dcc4;
}

.community-cta p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.join-waitlist-btn {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #1a2840;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.join-waitlist-btn:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* About Page */
.about-page {
  min-height: 100vh;
}

.about-hero {
  background: linear-gradient(135deg, #1a2840 0%, #4a3c5e 100%);
}

.about-content {
  padding: 5rem 2rem;
  background: #f5f1e8;
}

.about-story {
  max-width: 900px;
  margin: 0 auto 5rem;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  border: 2px solid #d4af37;
}

.about-story h2 {
  font-size: 2.5rem;
  color: #1a2840;
  margin-bottom: 2rem;
  text-align: center;
}

.about-story p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #4a3c5e;
  margin-bottom: 1.5rem;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.credentials {
  margin-bottom: 5rem;
}

.credentials h2 {
  font-size: 2.5rem;
  color: #1a2840;
  margin-bottom: 3rem;
  text-align: center;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.credential-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid #8b5a78;
  transition: all 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(139, 90, 120, 0.2);
  border-color: #d4af37;
}

.credential-card h3 {
  color: #1a2840;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.credential-card p {
  color: #4a3c5e;
  line-height: 1.7;
}

.philosophy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: linear-gradient(135deg, #2d4a6e 0%, #1a2840 100%);
  border-radius: 12px;
  color: #e8dcc4;
}

.philosophy h2 {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 2rem;
}

.philosophy p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.philosophy p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .mission, .educational-preview, .community-preview, .about-preview {
    padding: 3rem 1.5rem;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2rem !important;
  }
  
  .page-hero h1 {
    font-size: 2.2rem;
  }
  
  .resource-categories {
    grid-template-columns: 1fr;
  }
  
  .community-intro h2 {
    font-size: 2rem;
  }
  
  .community-features {
    grid-template-columns: 1fr;
  }
  
  .about-story,
  .philosophy {
    padding: 2rem;
  }
  
  .about-story h2,
  .credentials h2,
  .philosophy h2 {
    font-size: 2rem;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}