/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #0f0f13;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #d4af37;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #e0e0e0;
}

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

/* Header */
.header {
  background: #111116;
  padding: 0.5rem 0;
  text-align: center;
  border-bottom: 2px solid #d4af37;
}

.logo img {
  width: 200px;
  height: auto;
}

@media (max-width: 768px) {
  .logo img {
    width: 130px;
  }
}

.tagline {
  font-size: 1.1rem;
  color: #e0e0e0;
  font-style: italic;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1a23 0%, #0f0f13 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 50%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
  font-size: 1.5rem;
  color: #50c878;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero .description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #e0e0e0;
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem 0;
  }
}

/* Features Section */
.features {
  padding: 3rem 0;
  background-color: #1a1a23;
}

.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.features-list li {
  list-style: none;
  font-size: 1.2rem;
  color: #50c878;
  font-weight: 600;
}

.warning {
  text-align: center;
  font-size: 1.1rem;
  color: #d4af37;
  font-weight: bold;
  background: rgba(212, 175, 55, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #d4af37;
  margin-top: 2rem;
}

/* Casino Cards */
.casinos {
  padding: 4rem 0;
  background-color: #0f0f13;
}

.casinos h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.casino-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.casino-card {
  background: linear-gradient(135deg, #1a1a23 0%, #0f0f13 100%);
  border: 2px solid #d4af37;
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.casino-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
  border-color: #50c878;
}

.casino-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.casino-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.codere-logo {
  background-color: #008000;
}

.casino-logo:hover {
  transform: scale(1.05);
}

.casino-info h3 {
  margin-bottom: 0.5rem;
  color: #d4af37;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #50c878;
  font-weight: 600;
}

/* Mobile rating layout */
@media (max-width: 767px) {
  .casino-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.stars {
  color: #d4af37;
}

.casino-details {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.bonus-info {
  background: rgba(80, 200, 120, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid #50c878;
  transition: transform 0.3s ease;
}

.bonus-info:hover {
  transform: translateY(-2px);
  background: rgba(80, 200, 120, 0.2);
}

.bonus-info h4 {
  color: #50c878;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.score-info {
  text-align: center;
  padding: 1rem;
}

.score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    #d4af37 0deg,
    #d4af37 var(--score-deg),
    #1a1a23 var(--score-deg)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease;
}

.score-circle:hover {
  transform: scale(1.1);
}

.score-circle::before {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  background: #0f0f13;
  border-radius: 50%;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.score-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: #d4af37;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.casino-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0f0f13;
  border: 2px solid transparent;
  min-width: 200px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b8941f 0%, #d4af37 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #50c878;
  border: 2px solid #50c878;
}

.btn-secondary:hover {
  background: #50c878;
  color: #0f0f13;
}

/* Review Factors */
.review-factors {
  padding: 4rem 0;
  background-color: #1a1a23;
}

.factors-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.factor-card {
  background: #0f0f13;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #d4af37;
  transition: transform 0.3s ease;
}

.factor-card:hover {
  transform: translateY(-3px);
}

.factor-card h3 {
  color: #d4af37;
  margin-bottom: 1rem;
}

/* Tips Section */
.tips {
  padding: 4rem 0;
  background-color: #0f0f13;
}

.tips-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.tip-card {
  background: #1a1a23;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #50c878;
  transition: transform 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-3px);
}

.tip-card h3 {
  color: #50c878;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tip-icon {
  color: #50c878;
}

/* Conclusion */
.conclusion {
  padding: 4rem 0;
  background-color: #1a1a23;
  text-align: center;
}

.conclusion-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: #0f0f13;
  padding: 3rem 0 2rem;
  border-top: 2px solid #d4af37;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #d4af37;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37;
}

.legal-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.legal-icon {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.legal-icon:hover {
  opacity: 1;
}

.legal-icon-wide {
  height: 70px;
  width: 150px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  object-fit: contain;
}

.legal-icon-wide:hover {
  opacity: 1;
}

.legal-icon-extra-wide {
  height: 40px;
  width: 100px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  object-fit: contain;
}

.legal-icon-extra-wide:hover {
  opacity: 1;
}

.responsible-gaming {
  text-align: center;
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.footer-warning {
  text-align: center;
  font-size: 0.8rem;
  color: #d4af37;
  font-weight: bold;
  background: rgba(212, 175, 55, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #d4af37;
}

/* Legal Pages */
.legal-page {
  padding: 4rem 0;
  background-color: #0f0f13;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: #1a1a23;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #d4af37;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  color: #50c878;
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #50c878;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h3 {
  color: #50c878;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
}

.last-updated {
  text-align: center;
  font-style: italic;
  color: #d4af37;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #d4af37;
}

/* Contact Page */
.contact-page {
  padding: 4rem 0;
  background-color: #0f0f13;
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  background: #1a1a23;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #d4af37;
}

.contact-icon {
  font-size: 4rem;
  color: #d4af37;
  margin-bottom: 2rem;
}

.contact-btn {
  display: inline-block;
  margin: 2rem 0;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0f0f13;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #b8941f 0%, #d4af37 100%);
  transform: translateY(-2px);
}

.contact-footer {
  color: #e0e0e0;
  font-size: 1rem;
  margin-top: 2rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }

  .features-list {
    gap: 3rem;
  }

  .casino-grid {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  }

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

  .factors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .factors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tips-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
