/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0E0E10;
  color: #F5F5F5;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Header Styles */
.site-header {
  background: #0E0E10;
  padding: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  flex-shrink: 0;
}

.logo span {
  font-family: serif;
  font-size: 1.5rem;
  color: #D4AF37;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cta-nav {
  background: #D4AF37;
  color: #2E4057;
  padding: 0.75em 1.5em;
  border-radius: 99px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.17s;
}

.cta-nav:hover {
  background: #B8941F;
}

/* Main Content */
main {
  background: #0E0E10;
  color: #F5F5F5;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Hero Section */
.hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.hero h1 {
  font-size: 2.35rem;
  line-height: 1.17;
  color: #D4AF37;
  font-family: 'Georgia', serif;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero p {
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 2.3rem;
}

.cta-hero {
  display: inline-block;
  background: #D4AF37;
  color: #2E4057;
  font-weight: 700;
  font-size: 1.18rem;
  padding: 1em 2.4em;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.25);
  transition: background 0.17s;
}

.cta-hero:hover {
  background: #B8941F;
}


/* Feature Section */
.feature {
  background: #18181B;
  margin: 3rem auto 0;
  max-width: 1200px;
  border-radius: 17px;
  padding: 2rem 1.5rem 2.5rem;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.31);
  width: 100%;
  box-sizing: border-box;
}

.feature h2 {
  color: #D4AF37;
  font-size: 1.4rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  margin-bottom: 1.3rem;
  letter-spacing: 0.01em;
}

.feature__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 5%;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.feature__item {
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.feature__item span:first-child {
  font-size: 3.5rem;
  vertical-align: middle;
  line-height: 0.5;
}

.feature__item span:last-child {
  font-size: 1.13rem;
}

/* Top Casinos Section */
.top-casinos {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.top-casinos h2 {
  color: #D4AF37;
  font-size: 1.65rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  margin-bottom: 1.6rem;
  text-align: center;
}

.casino-table {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.12);
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}

.casino-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #19191B;
  color: #F5F5F5;
}

.casino-table thead tr {
  background: #2E4057;
}

.casino-table th {
  padding: 1.1em;
  font-size: 1.08em;
  text-align: left;
  color: #D4AF37;
}

.casino-table td {
  padding: 1em 1.1em;
}

.casino-table tbody tr {
  border-top: 1px solid #28282c;
}

.casino-table tbody tr:first-child {
  border-top: none;
}

.casino-name {
  font-weight: 600;
}

.casino-name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.casino-icon {
  flex-shrink: 0;
  border-radius: 6px;
  background: #2E4057;
  padding: 0.25rem;
  transition: transform 0.2s, background 0.2s;
  object-fit: contain;
}

.casino-icon:hover {
  transform: scale(1.05);
  background: #3A4F6B;
}

.bonus-cell {
  font-weight: 600;
  color: #D4AF37;
  font-size: 0.95em;
}

.action-cell {
  text-align: center;
}

.table-btn {
  background: #D4AF37;
  color: #2E4057;
  padding: 0.5em 1em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background 0.17s, transform 0.17s;
  display: inline-block;
  min-width: 70px;
  border: none;
  cursor: pointer;
}

.table-btn:hover {
  background: #B8941F;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.table-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(212, 175, 55, 0.3);
}

/* Top Cards Grid */
.top-cards {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box;
}

.top-cards h2 {
  color: #D4AF37;
  font-size: 1.65rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  margin-bottom: 1.6rem;
  text-align: center;
}

.top-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.top-card {
  background: #19191B;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.top-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.top-card__media {
  text-align: center;
  margin-bottom: 1rem;
}

.top-card__media img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: contain;
  background: #2E4057;
  padding: 0.5rem;
}

.top-card__content h3 {
  color: #D4AF37;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

.top-card__content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-card__content li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.top-card__action {
  text-align: center;
  margin-top: 1.5rem;
}

.top-card__btn {
  background: #D4AF37;
  color: #2E4057;
  padding: 0.75em 1.5em;
  border-radius: 99px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.17s, transform 0.17s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.top-card__btn:hover {
  background: #B8941F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.top-card__btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
}

/* SEO Text Section */
.seo-text {
  max-width: 1180px;
  margin: 3rem auto 0.5rem;
  padding: 0 1.2rem;
}

.seo-text h2 {
  color: #D4AF37;
  font-size: 1.22rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  margin: 1.9rem 0 0.7rem;
}

.seo-text h2:first-child {
  margin-top: 0;
}

.seo-text p {
  font-size: 1.08rem;
  line-height: 1.7;
}


/* FAQ Section */
.faq {
  max-width: 950px;
  margin: 2.6rem auto 0.2rem;
  padding: 0 1.2rem;
}

.faq h2 {
  color: #D4AF37;
  font-size: 1.24rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.faq dl {
  margin: 0;
}

.faq dt {
  font-weight: bold;
  margin: 1.2em 0 0.2em;
  color: #D4AF37;
}

.faq dd {
  margin: 0 0 1.05em 1.4em;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: #18181b;
  color: #F5F5F5;
  padding: 2rem 0 2.8rem;
  margin-top: 3rem;
}

.site-footer > div {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer .logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-footer .logo span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #D4AF37;
}

.site-footer .copyright {
  opacity: 0.82;
  font-size: 0.97rem;
}

.site-footer .footer-links {
  display: flex;
  gap: 1.3rem;
}

.site-footer .footer-links a {
  color: #D4AF37;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.17s;
}

.site-footer .footer-links a:hover {
  opacity: 1;
}

/* 404 Error Page Styles */
.error-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: 60vh;
}

.error-content {
  text-align: left;
}

.error-number {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 8rem;
  font-weight: bold;
  line-height: 0.8;
}

.error-4 {
  color: #D4AF37;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.error-0 {
  color: #2E4057;
  text-shadow: 0 0 20px rgba(46, 64, 87, 0.5);
}

.error-hero h1 {
  font-size: 2.5rem;
  color: #F5F5F5;
  margin-bottom: 1.5rem;
  font-family: 'Georgia', serif;
}

.error-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #B0B0B0;
  margin-bottom: 2.5rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.error-btn {
  padding: 1em 2em;
  border-radius: 99px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.error-btn.primary {
  background: #D4AF37;
  color: #2E4057;
}

.error-btn.primary:hover {
  background: #B8941F;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.error-btn.secondary {
  background: transparent;
  color: #D4AF37;
  border: 2px solid #D4AF37;
}

.error-btn.secondary:hover {
  background: #D4AF37;
  color: #2E4057;
  transform: translateY(-2px);
}

.error-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-chips {
  position: relative;
  width: 300px;
  height: 300px;
}

.chip {
  position: absolute;
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
  opacity: 0.8;
}

.chip-1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.chip-2 {
  top: 30%;
  right: 10%;
  animation-delay: 0.5s;
}

.chip-3 {
  bottom: 30%;
  left: 10%;
  animation-delay: 1s;
}

.chip-4 {
  bottom: 10%;
  right: 20%;
  animation-delay: 1.5s;
}

.chip-5 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.error-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: #18181B;
  border-radius: 17px;
  margin-top: 2rem;
}

.error-links h2 {
  color: #D4AF37;
  font-size: 1.8rem;
  font-family: 'Georgia', serif;
  text-align: center;
  margin-bottom: 2rem;
}

.error-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.error-link-card {
  background: #1a1a1c;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: #F5F5F5;
  transition: all 0.3s ease;
  border: 1px solid #2E4057;
}

.error-link-card:hover {
  transform: translateY(-5px);
  border-color: #D4AF37;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.error-link-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.error-link-card h3 {
  color: #D4AF37;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Georgia', serif;
}

.error-link-card p {
  color: #B0B0B0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobile First Responsive Design */
@media (max-width: 768px) {
  #comparison-table,
  section.top-casinos#comparison-table {
    display: none !important;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  section, main, header, footer {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }
  
  #comparison-table,
  section.top-casinos#comparison-table {
    display: none !important;
  }
  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .cta-hero {
    font-size: 1rem;
    padding: 0.8em 1.8em;
  }

  .feature {
    margin: 2rem auto 0;
    padding: 1.5rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .feature h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .feature__grid {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .feature__item {
    flex: none;
    min-width: auto;
  }

  .feature__item span:first-child {
    font-size: 2.5rem;
  }

  .feature__item span:last-child {
    font-size: 1rem;
  }

  .top-casinos {
    padding: 0 0.5rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-casinos h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .top-cards {
    padding: 0 0.5rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-cards h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  .top-cards__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-card {
    padding: 1.2rem;
  }

  .top-card__content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .top-card__content li {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .top-card__btn {
    font-size: 0.9rem;
    padding: 0.6em 1.2em;
  }

  .site-footer > div {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .site-footer .footer-links {
    flex-direction: column;
    gap: 0.8rem;
  }

  .casino-name-cell {
    gap: 0.5rem;
  }

  .casino-icon {
    width: 24px;
    height: 24px;
  }

  .top-card__media img {
    width: 72px;
    height: 72px;
  }

  .table-btn {
    padding: 0.4em 0.8em;
    font-size: 0.8em;
    min-width: 60px;
  }

  .bonus-cell {
    font-size: 0.85em;
  }

  .top-casinos {
    padding: 0 0.5rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  .casino-table {
    font-size: 0.9rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }
  
  .casino-table table {
    min-width: 500px;
    display: table;
  }

  .casino-table th,
  .casino-table td {
    padding: 0.8em 0.5em;
  }

  .seo-text {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .seo-text h2 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem;
  }

  .seo-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .faq {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .faq h2 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .faq dt {
    font-size: 0.95rem;
    margin: 1rem 0 0.3em;
  }

  .faq dd {
    font-size: 0.9rem;
    margin: 0 0 0.8em 1rem;
  }

  .error-hero {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 2rem;
    text-align: center;
  }

  .error-number {
    font-size: 6rem;
    justify-content: center;
  }

  .error-hero h1 {
    font-size: 2rem;
  }

  .error-description {
    font-size: 1rem;
  }

  .error-actions {
    justify-content: center;
  }

  .error-visual {
    height: 250px;
  }

  .casino-chips {
    width: 200px;
    height: 200px;
  }

  .chip {
    font-size: 2rem;
  }

  .error-links {
    padding: 2rem 1rem;
  }

  .error-links h2 {
    font-size: 1.5rem;
  }

  .error-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  #comparison-table,
  section.top-casinos#comparison-table {
    display: none !important;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-hero {
    font-size: 1.1rem;
    padding: 0.9em 2em;
  }

  .feature {
    margin: 2.5rem auto 0;
    padding: 1.8rem 1.2rem;
  }

  .feature h2 {
    font-size: 1.3rem;
  }

  .feature__grid {
    flex-direction: column;
    gap: 1.8rem;
  }

  .feature__item {
    flex: none;
    min-width: auto;
  }

  .top-casinos {
    padding: 0 0.8rem;
  }

  .top-casinos h2 {
    font-size: 1.5rem;
  }

  .top-cards {
    padding: 0 0.8rem;
  }

  .top-cards h2 {
    font-size: 1.5rem;
  }

  .top-cards__grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .top-card {
    padding: 1.3rem;
  }

  .top-card__content h3 {
    font-size: 1.15rem;
  }

  .top-card__btn {
    font-size: 0.95rem;
    padding: 0.7em 1.3em;
  }

  .site-footer > div {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .site-footer .footer-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .casino-name-cell {
    gap: 0.6rem;
  }

  .casino-icon {
    width: 28px;
    height: 28px;
  }

  .top-card__media img {
    width: 80px;
    height: 80px;
  }

  .table-btn {
    padding: 0.45em 0.9em;
    font-size: 0.85em;
    min-width: 65px;
  }

  .bonus-cell {
    font-size: 0.9em;
  }

  .seo-text {
    padding: 0 1.1rem;
  }

  .seo-text h2 {
    font-size: 1.15rem;
  }

  .faq {
    padding: 0 1.1rem;
  }

  .faq h2 {
    font-size: 1.15rem;
  }
}

/* Extra small devices (phones, 320px and up) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.3rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .cta-hero {
    font-size: 0.95rem;
    padding: 0.7em 1.5em;
  }

  .feature__item span:first-child {
    font-size: 2rem;
  }

  .feature__item span:last-child {
    font-size: 0.9rem;
  }

  .top-card {
    padding: 1rem;
  }

  .top-card__content h3 {
    font-size: 1rem;
  }

  .top-card__content li {
    font-size: 0.8rem;
  }

  .casino-table th,
  .casino-table td {
    padding: 0.6em 0.3em;
    font-size: 0.85rem;
  }

  .table-btn {
    padding: 0.3em 0.6em;
    font-size: 0.75em;
    min-width: 50px;
  }
}

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero {
    max-width: 1000px;
    padding: 4rem 1.5rem 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.25rem;
  }

  .cta-hero {
    font-size: 1.25rem;
    padding: 1.1em 2.6em;
  }

  .feature {
    padding: 2.5rem 2rem 3rem;
  }

  .feature h2 {
    font-size: 1.5rem;
  }

  .top-cards__grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
  }

  .top-card {
    padding: 2rem;
  }

  .top-card__content h3 {
    font-size: 1.3rem;
  }

  .top-card__content li {
    font-size: 0.95rem;
  }

  .seo-text {
    padding: 0 1.5rem;
  }

  .seo-text h2 {
    font-size: 1.3rem;
  }

  .seo-text p {
    font-size: 1.1rem;
  }

  .faq {
    padding: 0 1.5rem;
  }

  .faq h2 {
    font-size: 1.3rem;
  }
}

/* Desktop styles are already defined above */
