/* ==========================================================================
   Home Page Styles - Based on store.novaplex.xyz design
   ========================================================================== */

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 25%, rgba(67, 97, 238, 0.15) 0%, transparent 50%), 
                    radial-gradient(circle at 80% 75%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-content {
  max-width: 600px;
  padding: 2.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00b4d8 0%, #4361ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 180, 216, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 20%, rgba(247, 37, 133, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

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

.feature-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 180, 216, 0.3);
  border-color: rgba(0, 180, 216, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00b4d8 0%, #4361ee 100%);
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f8f9fa;
}

.feature-description {
  color: #cbd5e1;
  line-height: 1.6;
  margin-top: auto;
}

/* Documentation Categories */
.categories {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.8));
}

.categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 30% 70%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.category-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 180, 216, 0.3);
  border-color: rgba(0, 180, 216, 0.3);
}

.category-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.category-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(15, 23, 42, 0.8) 100%);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f8f9fa;
}

.category-description {
  color: var(--color-text-light);
}

/* Recent Updates */
.recent-updates {
  padding: 6rem 0;
  position: relative;
}

.recent-updates::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(67, 97, 238, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.glass-container {
  position: relative;
  z-index: 1;
}

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

.update-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  height: 100%;
}

.update-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 180, 216, 0.3);
  border-color: rgba(0, 180, 216, 0.3);
}

.update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.badge {
  background: linear-gradient(135deg, #00b4d8 0%, #4361ee 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.update-date {
  font-size: 0.875rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.update-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f8f9fa;
}

.update-excerpt {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.6;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #00b4d8;
  font-weight: 500;
  margin-top: auto;
  transition: all 0.3s ease;
  text-decoration: none;
}

.read-more:hover {
  color: #4361ee;
  text-shadow: 0 0 8px rgba(0, 180, 216, 0.5);
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

.no-updates {
  text-align: center;
  padding: 3rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.update-icon {
  font-size: 2rem;
  color: #00b4d8;
  margin-bottom: 1rem;
}

.update-link i {
  transition: transform 0.2s ease;
}

.update-card:hover .update-link i {
  transform: translateX(5px);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(247, 37, 133, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: rgba(0, 180, 216, 0.2);
  color: white;
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-button:hover {
  background: rgba(0, 180, 216, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 180, 216, 0.5);
}

.glass-button.glow {
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.glass-button.glow:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 180, 216, 0.6);
}

/* Auth Pages */
.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(74, 134, 232, 0.1) 0%, rgba(44, 82, 130, 0.05) 100%);
}

.auth-container {
  width: 100%;
  max-width: 450px;
  padding: 0 1rem;
}

.auth-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .auth-card {
  background: rgba(45, 55, 72, 0.8);
  border: 1px solid rgba(74, 85, 104, 0.2);
}

.auth-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.auth-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.5rem;
}

.auth-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.auth-logo-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: rgba(74, 134, 232, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: var(--rounded-md);
  margin-left: 0.5rem;
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.auth-subtitle {
  color: var(--color-text-light);
  margin-bottom: 0;
}

.auth-body {
  padding: 2rem;
}

.btn-discord {
  background-color: #5865F2;
  color: white;
  border: none;
}

.btn-discord:hover {
  background-color: #4752c4;
  color: white;
}

.btn-block {
  width: 100%;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--color-text-lighter);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}

.auth-divider span {
  padding: 0 1rem;
}

.auth-info {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.auth-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .features,
  .doc-categories,
  .recent-updates,
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1.125rem;
  }
}
