/* Custom CSS for TopDonate */

:root {
  --primary-color: #00d4ff;
  --secondary-color: #8b5cf6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --info-color: #06b6d4;
  --dark-bg: #0d0d0d;
  --dark-secondary: #1a1a1a;
  --dark-tertiary: #2d2d2d;
}

/* Typography */
.roblox-font {
  font-family: "Orbitron", monospace;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: #ffffff;
  line-height: 1.6;
}

/* Custom Bootstrap Theme Colors */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #00b8e6;
  border-color: #00b8e6;
  color: #000;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-dark-secondary {
  background-color: var(--dark-secondary);
}

.bg-black {
  background-color: #000000;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

/* Glowing Button Effect */
.btn-glow {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
}

/* Navigation */
.custom-navbar {
  background-color: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--dark-bg) 0%,
    var(--dark-secondary) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #b3b3b3;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Donation Card Preview */
.donation-card-preview {
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.donation-card-preview:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.avatar-placeholder {
  width: 50px;
  height: 50px;
}

/* Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #000;
}

/* Creator Preview */
.creator-preview-mockup {
  max-width: 400px;
  margin: 0 auto;
}

.creator-cover {
  height: 120px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 0.375rem 0.375rem 0 0;
}

.creator-avatar {
  width: 80px;
  height: 80px;
  margin-top: -40px;
  border: 4px solid var(--dark-bg);
}

/* Testimonials */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards 0.3s;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Styling */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

/* Social Links */
.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .feature-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .testimonial-card {
    padding: 2rem;
  }
}

/* Loading States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00b8e6;
}
