/* CSS Variables */
:root {
  --primary-dark: #1a2332;
  --primary-blue: #3498db;
  --primary-green: #28a745;
  --accent-orange: #ff9800;
  --bg-light: #f8f9fa;
  --text-dark: #333;
  --text-light: #666;
  --border-color: #dee2e6;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #fff;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  height: 40px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-green);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #000000 0%, #076200 100%);
  color: #fff;
  padding: 3rem 0;
}

.hero-content {
  max-width: 800px;
}

.badge {
  display: inline-block;
  background: #018920;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.author-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.author-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.author-link img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  transition: all 0.3s ease;
}

.author-link:hover img {
  transform: scale(1.1);
  border-color: var(--primary-blue);
}

.author-name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  transition: color 0.3s ease;
  margin-bottom: 2px;
}

.author-link:hover .author-name {
  color: var(--primary-blue);
}

.author-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-description {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Casino List Section */
.casino-list {
  padding: 2rem 0;
  background: var(--bg-light);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary-dark);
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-controls label {
  font-weight: 500;
}

.sort-controls select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.casino-card {
  position: relative;
  background: center/cover no-repeat;
  border: 4px solid #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  aspect-ratio: 4 / 5;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: -1;
}

.casino-card .btn-cta {
  margin-top: 40px;
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.casino-logo {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.casino-rating {
  text-align: right;
}

.rating-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
}

.stars {
  color: var(--accent-orange);
  font-size: 1rem;
}

.casino-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0.5rem 0;
}

.new-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.bonus-text {
  color: var(--primary-green);
  font-weight: 600;
  margin: 1rem 0;
  font-size: 1.05rem;
}

.casino-features {
  list-style: none;
  margin: 1rem 0;
}

.casino-features li {
  padding: 0.4rem 0;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.casino-features li:before {
  content: "✓";
  color: var(--primary-green);
  font-weight: 700;
}

.btn-cta {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background: var(--primary-green);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Comparison Table */
.comparison-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.comparison-section h2 {
  font-size: 32px;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

.comparison-section h3,
.comparison-section h4,
.comparison-section h5,
.comparison-section h6,
.comparison-section p {
  margin-bottom: 1rem;
}

.comparison-section h3 {
  font-size: 28px;
}

.comparison-section h4 {
  font-size: 24px;
}

.comparison-section h5 {
  font-size: 20px;
}

.comparison-section h6 {
  font-size: 16px;
}

.comparison-section ul,
.comparison-section ol {
  padding-left: 20px;
  margin: 20px 0;
}

.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-md);
}

.comparison-table thead {
  background: var(--primary-dark);
  color: #fff;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
  background: var(--bg-light);
}

/* Detailed Reviews */
.detailed-reviews {
  padding: 4rem 0;
  background: var(--bg-light);
}

.detailed-reviews h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg-light);
}

.review-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: var(--primary-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.review-title h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.review-title .rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bonus-highlight {
  background: linear-gradient(135deg, var(--primary-green), #20c997);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.review-features {
  margin: 1.5rem 0;
}

.review-features h4 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.review-features table {
  width: 100%;
  border-collapse: collapse;
}

.review-features table tr {
  border-bottom: 1px solid var(--border-color);
}

.review-features table td {
  padding: 0.8rem 0;
}

.review-features table td:first-child {
  width: 30%;
  color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.faq-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-dark);
  text-align: center;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-answer ul,
.faq-answer ol {
  padding-left: 3rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* Responsibility Section */
.responsibility-section {
  padding: 3rem 0;
  background: var(--bg-light);
  text-align: center;
}

.responsibility-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.responsibility-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.resp-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.resp-link:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

/* Footer */
footer {
  background: #ffffff;
  color: #000000;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-green);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(0, 255, 8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ffffff;;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0.5rem 0;
  color: rgb(0, 0, 0);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: #218838;
  transform: translateY(-5px);
}

.back-to-top.show {
  display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }

  nav.active {
    display: flex;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .casino-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem;
  }

  .review-header {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

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

  .casino-card {
    padding: 1rem;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
  }
}
