:root {
  --bg-dark: #0d1117;
  --bg-card: #1f2937;
  --bg-card-alt: #161b22;
  --primary-blue: #3b82f6;
  --primary-green: #10b981;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --accent-purple: #a855f7;
  --accent-gold: #f59e0b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation Header */
header {
  background-color: rgba(13, 17, 23, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary-blue);
}

nav.main-nav {
  display: flex;
  gap: 20px;
}

nav.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--text-main);
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition:
    opacity 0.3s,
    transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}
.btn-login {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-register {
  background-color: var(--primary-green);
  color: white;
  border: none;
}
.btn-blue {
  background-color: var(--primary-blue);
  color: white;
  border: none;
}
.btn:hover {
  opacity: 0.9;
}

.btn-center-block {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

/* Container & Layout */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 5%;
}

/* Banner Box */
.hero-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.2);
}

.hero-banner h1 {
  font-size: 32px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #fff;
}
.hero-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.promo-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  padding: 12px 25px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 22px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
  color: #fff;
}

/* Content Section Titles */
.section-title {
  font-size: 22px;
  color: #fff;
  margin: 35px 0 15px 0;
  display: flex;
  align-items: center;
}

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.game-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
}

.game-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}

.game-card:hover .game-img {
  opacity: 0.4;
}

.game-info {
  position: relative;
  z-index: 10;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  padding: 15px 10px 10px;
  text-align: center;
}

.game-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 2px;
}
.game-provider {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: var(--primary-green);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 13px;
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.3s;
  z-index: 20;
}

.game-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.provider-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  padding: 2px 6px;
  font-size: 9px;
  border-radius: 4px;
  z-index: 10;
}

/* Custom Content Cards & Tables */
.content-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.content-card p {
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 14.5px;
}

/* Tables Styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 15px 0 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-card-alt);
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: #21262d;
  color: var(--primary-blue);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
}

tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Lists Styling */
.styled-list {
  margin: 15px 0 15px 22px;
}

.styled-list li {
  position: relative;
  margin-bottom: 10px;
  font-size: 14.5px;
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 15px 0;
}

.advantage-item {
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.review-card {
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

.review-date {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: normal;
}
.review-text {
  font-size: 13.5px;
  color: var(--text-main);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.faq-item summary {
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
}

.faq-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
footer {
  background-color: #05080b;
  padding: 40px 5%;
  margin-top: 50px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}
.copyright {
  color: #6b7280;
  font-size: 12px;
}

@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .hero-banner h1 {
    font-size: 22px;
  }
  .hero-banner p {
    font-size: 15px;
  }
  .promo-box {
    font-size: 18px;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

.logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.button {
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-main);
}
