/* A71bet General Styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Variables */
:root {
  --primary-gold: #FFD700;
  --primary-blue: #1E3A8A;
  --accent-red: #DC2626;
  --accent-green: #059669;
  --dark-bg: #0F0F23;
  --dark-card: #1A1A35;
  --gradient-1: linear-gradient(135deg, #FFD700, #FFA500);
  --gradient-2: linear-gradient(135deg, #1E3A8A, #3B82F6);
  --gradient-3: linear-gradient(135deg, #DC2626, #EF4444);
  --gradient-neon: linear-gradient(45deg, #00f5ff, #ff00f5, #00ff55, #ffff00);
  --text-light: #F8FAFC;
  --text-gray: #94A3B8;
  --border-glow: 0 0 20px rgba(255, 215, 0, 0.3);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
	overflow-x: hidden;
}

/* Section Titles */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary-gold);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  box-shadow: var(--border-glow);
}


a {
	text-decoration: none;
}

.nav-link.active {
  color: var(--primary-gold);
}

.nav-link.active::after {
  width: 100%;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-20px) translateY(-10px); }
  50% { transform: translateX(20px) translateY(10px); }
  75% { transform: translateX(-10px) translateY(20px); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-gold);
  z-index: 1000;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo img{
	width: 100%;
	height: 60px;
	object-fit: contain;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.language-selector {
  background: none;
  border: 1px solid var(--primary-gold);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-selector:hover {
  background: var(--primary-gold);
  color: var(--dark-bg);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Running Line */
.running-line {
  background: var(--gradient-2);
  padding: 0.5rem 0;
  margin-top: 100px;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--primary-gold);
}

.running-content {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes scroll-left {
  0% { transform: translate3d(100%, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--dark-bg);
  box-shadow: var(--border-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
  background: var(--gradient-2);
  color: var(--text-light);
  border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.btn-success {
  background: var(--gradient-3);
  color: var(--text-light);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient-1);
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}


/* Fixed Action Buttons */
.fixed-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.fixed-actions a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.fixed-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-dark);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.fixed-btn.register {
  background: var(--gradient-1);
}

.fixed-btn.login {
  background: var(--gradient-2);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.fixed-btn:hover {
  transform: scale(1.1);
}

/* Cards */
.card {
  background: var(--dark-card);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--border-glow);
}

.card:hover::before {
  opacity: 0.05;
}

/* Game Cards */
.game-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.game-card:hover::after {
  transform: translateX(100%);
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: var(--border-glow);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes jackpotGlow {
  0%, 100% { text-shadow: 0 0 10px var(--primary-gold); }
  50% { text-shadow: 0 0 30px var(--primary-gold), 0 0 40px var(--primary-gold); }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease-out;
}

.jackpot-text {
  animation: jackpotGlow 2s ease-in-out infinite;
}

/* Footer */
footer {
  background: var(--dark-card);
  border-top: 2px solid var(--primary-gold);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--primary-gold);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }

	.language-selector{
		display: none;
	}
  
  .header-actions {
    gap: 0.5rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .fixed-actions {
    bottom: 10px;
    right: 10px;
  }
  
  .fixed-btn {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .running-content {
    font-size: 0.8rem;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.8rem;
  }
  
  .logo img{
			width: 50px;
			height: 50px;
		
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .footer-container {
    padding: 0 1rem;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-gold);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none; }
.visible { display: block; }
