/* Enhanced Home Page Styles */

/* Hero Enhancements */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(44, 62, 80, 0.9) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.glowing-text {
  text-shadow: 0 0 20px rgba(243, 156, 18, 0.5), 0 0 30px rgba(243, 156, 18, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.3), 0 0 20px rgba(243, 156, 18, 0.2);
  }

  to {
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.6), 0 0 40px rgba(243, 156, 18, 0.4);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.fade-in {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(243, 156, 18, 0.2);
  transition: all 0.3s;
}

.hero-stat:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.2);
}

.hero-stat i {
  display: block;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.stat-unit {
  font-size: 1.2rem;
  margin-left: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Enhanced Feature Cards */
.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #e67e22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: #000;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  transform: rotateY(360deg);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  text-align: left;
}

.feature-list li {
  padding: 0.5rem 0;
  color: var(--text-color);
}

.feature-list i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

.slide-up {
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Steps */
.step-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin: 1rem 0;
}

.step {
  position: relative;
  transition: all 0.3s;
}

.step:hover {
  transform: translateY(-10px);
}

.step:hover .step-number {
  transform: scale(1.2) rotate(360deg);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(243, 156, 18, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 156, 18, 0.2);
}

.author-avatar {
  font-size: 3rem;
  color: var(--primary-color);
}

.author-info h4 {
  color: var(--text-color);
  margin-bottom: 0.3rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.rating {
  color: #f39c12;
}

.rating i {
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: #1a1a1a;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid#444;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--text-color);
  margin: 0;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color), #e67e22);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .hero-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: #000;
    flex-direction: column;
    padding: 2rem 0;
    transition: right 0.3s;
    border-left: 2px solid var(--primary-color);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
  }

  .nav-links a:hover {
    background: rgba(243, 156, 18, 0.1);
  }

  .nav-links .btn-nav {
    margin: 1rem 2rem;
    width: calc(100% - 4rem);
    text-align: center;
  }

  /* Hero */
  .hero {
    min-height: 500px;
    height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stat {
    width: 100%;
  }

  /* Sections */
  .section-title h2 {
    font-size: 2rem;
  }

  .features-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .machines-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  /* Dashboard */
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-header h1 {
    font-size: 1.8rem;
  }

  /* Tables */
  .table-responsive {
    overflow-x: auto;
  }

  .withdrawals-table {
    min-width: 600px;
  }

  /* Forms */
  .auth-card {
    max-width: 100%;
    margin: 1rem;
  }

  /* Buttons */
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Info Grid */
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA */
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .step-icon {
    font-size: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .machine-card,
  .plan-card {
    padding: 0.8rem;
  }

  .navbar .container {
    padding: 0 8px;
  }

  .container {
    padding: 0 8px;
  }

  .game-layout {
    gap: 0.5rem;
  }

  .game-panel,
  .sidebar-panel {
    padding: 0.4rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Loading Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spinner {
  border: 4px solid rgba(243, 156, 18, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

/* Success Messages */
.success-message {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* Enhanced Buttons */
.btn:active {
  transform: translateY(2px);
}

.btn i {
  margin-right: 0.5rem;
}

.logout-btn {
  background: var(--danger-color) !important;
}

.logout-btn:hover {
  opacity: 0.9;
}

/* Enhanced Machine Status Indicators */
.machine-card.active {
  animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
  }
}

/* Print Styles */
@media print {

  .navbar,
  .footer,
  .btn {
    display: none;
  }
}