/* Leon Casino Full Header Style Fix */

:root {
  --bg-dark: #12121f;
  --accent-red: #ff1e1e;
  --text-light: #f0f0f0;
  --text-muted: #b0b0b0;
  --card-bg: #1e1e2e;
  --transition: all 0.3s ease;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background-color: #12121f;
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--accent-red);
}

.auth-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.auth-buttons .btn {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn.login {
  background: transparent;
  border: 1px solid var(--accent-red);
  color: var(--text-light);
}

.btn.login:hover {
  background: var(--accent-red);
  color: white;
}

.btn.register {
  background: var(--accent-red);
  color: white;
}

.btn.register:hover {
  background: #e01010;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(145deg, #1e1e2e, #12121f);
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.btn.cta {
  background: var(--accent-red);
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
}

.games-section {
  padding: 60px 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.game-card {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 30, 30, 0.3);
}

.advantages {
  padding: 60px 0;
  background: #181828;
}

.advantage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
  margin-top: 30px;
}

.advantage-item {
  flex: 1 1 200px;
  text-align: center;
}

.advantage-item img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
}

.footer {
  background: #101017;
  color: var(--text-muted);
  padding: 40px 20px;
  font-size: 14px;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--accent-red);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-red);
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .auth-buttons {
    align-self: flex-end;
  }
}
