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

:root {
  --primary-color: #5E0A31; /* Royal burgundy */
  --primary-light: #7A1744;
  --primary-dark: #450823;
  --primary-soft: rgba(94, 10, 49, 0.7); /* Softer burgundy for secondary elements */
  --primary-ultra-soft: rgba(94, 10, 49, 0.1); /* Very soft burgundy for backgrounds */
  --text-primary: #333;
  --text-secondary: #666;
  --text-light: #fff;
  --bg-main: #F9F5F7;
  --bg-card: #fff;
  --bg-card-hover: #FCFBFC;
  --shadow-card: 0 8px 16px rgba(94, 10, 49, 0.08);
  --shadow-card-hover: 0 12px 24px rgba(94, 10, 49, 0.12);
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-main);
}

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

header {
  text-align: center;
  margin-bottom: 50px;
  padding: 40px 0;
  background-color: var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(94, 10, 49, 0.2);
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
}

header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
}

header p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto;
}

/* Casino Cards */
.casino-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.casino-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  border: 1px solid var(--primary-ultra-soft);
}

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

.rank {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  border-bottom-right-radius: 16px;
  z-index: 10;
  box-shadow: 2px 2px 8px rgba(94, 10, 49, 0.15);
}

.casino-content {
  display: flex;
  padding: 30px;
  position: relative;
}

.casino-logo {
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-right: 30px;
  background-color: var(--primary-ultra-soft);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(94, 10, 49, 0.05);
}

.casino-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* Placeholder logo for Mr Jones */
.placeholder-logo {
  width: 100%;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(94, 10, 49, 0.15);
}

.casino-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.rating-number {
  font-size: 1.6rem;
  font-weight: 700;
  margin-right: 12px;
  color: var(--primary-color);
  background-color: var(--primary-ultra-soft);
  padding: 2px 10px;
  border-radius: 6px;
}

.stars {
  color: var(--primary-soft);
  letter-spacing: 3px;
  font-size: 1.3rem;
}

.bonus {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px;
  background-color: var(--primary-ultra-soft);
  border-radius: 8px;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--primary-color);
}

.bonus::before {
  content: "BONUS";
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0.9;
}

.features {
  list-style-type: none;
  margin-bottom: 25px;
  flex-grow: 1;
}

.features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.visit-button {
  display: inline-block;
  width: 100%;
  padding: 16px 25px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(94, 10, 49, 0.1);
  position: relative;
  overflow: hidden;
}

.visit-button::after {
  content: "→";
  position: absolute;
  right: 25px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.visit-button:hover {
  background-color: var(--primary-light);
  box-shadow: 0 6px 15px rgba(94, 10, 49, 0.15);
  transform: translateY(-2px);
  padding-right: 45px;
}

.visit-button:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Footer */
footer {
  margin-top: 70px;
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.disclaimer h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.disclaimer h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.disclaimer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.disclaimer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--primary-color);
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.disclaimer a:hover {
  color: var(--primary-light);
  border-bottom: 1px solid var(--primary-light);
}

.responsible-gambling {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background-color: var(--primary-ultra-soft);
  border-radius: 8px;
}

.responsible-gambling img {
  height: 35px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.responsible-gambling img:hover {
  transform: scale(1.1);
}

.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid var(--primary-ultra-soft);
  font-size: 0.9rem;
  color: var(--primary-soft);
}

/* Media Queries */
@media (max-width: 900px) {
  h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1.1rem;
  }

  .casino-content {
    padding: 25px;
  }

  .casino-logo {
    flex: 0 0 120px;
    margin-right: 20px;
  }

  h2 {
    font-size: 1.7rem;
  }

  .bonus {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .casino-content {
    flex-direction: column;
  }

  .casino-logo {
    margin-right: 0;
    margin-bottom: 20px;
    max-width: 200px;
  }

  .rank {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .rating-number {
    font-size: 1.4rem;
  }

  .visit-button {
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  header {
    padding: 30px 15px;
    margin-bottom: 30px;
  }

  h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 1rem;
  }

  .casino-card {
    border-radius: 12px;
  }

  .casino-content {
    padding: 20px 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .rank {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .bonus {
    font-size: 1rem;
    padding: 12px;
  }

  .features li {
    font-size: 0.9rem;
    padding-left: 25px;
  }

  .visit-button {
    padding: 12px 18px;
    font-size: 1rem;
  }

  footer {
    padding: 25px 15px;
    margin-top: 40px;
  }

  .responsible-gambling {
    padding: 15px;
    gap: 15px;
  }

  .responsible-gambling img {
    height: 28px;
  }
}
