.top-casino {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
}

.casino-box {
  background: #000;
  border: 1px solid #2a2a3e;
  border-radius: 20px;
  padding: 24px 30px;
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.casino-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
}

/* Casino Number Badge */
.casino-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
}

/* Logo Section */
.casino-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 160px;
  flex-shrink: 0;
}

.casino-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 180px;
}

.casino-logo a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.casino-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Casino Name */
.casino-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
  margin: 0;
}

/* Rating */
.casino-rating {
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  white-space: nowrap;
}

.rating-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.rating-value {
  color: #ffd700;
  font-weight: 700;
  font-size: 15px;
}

/* Actions Section */
.casino-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  min-width: 160px;
  flex-shrink: 0;
}

.btn-play {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1a1a2e;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

/* Specs Section */
.casino-specs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  flex: 1;
}

.spec-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 9px 14px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
}

.spec-label {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.3;
}

.spec-value {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.3;
}

/* Bonus Section */
.casino-bonus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 260px;
}

.bonus-icon {
  font-size: 28px;
  line-height: 1;
}

.bonus-text {
  color: #ffd700;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0;
}

.bonus-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bonus-features li {
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: 0;
}

.bonus-features li::before {
  content: '';
  display: none;
}

/* TOP 3 Special Styling */
.casino-box:nth-child(1) .casino-number {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.casino-box:nth-child(2) .casino-number {
  background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
  box-shadow: 0 4px 20px rgba(192, 192, 192, 0.4);
}

.casino-box:nth-child(3) .casino-number {
  background: linear-gradient(135deg, #cd7f32 0%, #e8a561 100%);
  box-shadow: 0 4px 20px rgba(205, 127, 50, 0.4);
}

/* ─── Desktop Grid Layout ─── */
@media (min-width: 993px) {
  .casino-box {
    display: grid;
    grid-template-columns: 50px 190px 170px minmax(190px, 1fr) minmax(260px, 1.6fr);
    gap: 20px 24px;
    align-items: center;
  }

  .casino-number  { grid-column: 1; grid-row: 1; align-self: center; }
  .casino-logo    { grid-column: 2; grid-row: 1; align-self: center; }
  .casino-actions { grid-column: 3; grid-row: 1; align-self: center; }
  .casino-specs   { grid-column: 4; grid-row: 1; align-self: center; }
  .casino-bonus   { grid-column: 5; grid-row: 1; align-self: center; }
}

/* ─── Tablet Layout ─── */
@media (max-width: 992px) {
  .casino-box {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 22px;
  }

  .casino-logo    { width: 100%; }
  .casino-logo a  { max-width: 180px; }
  .casino-actions { width: 100%; min-width: 0; }

  .casino-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .casino-bonus {
    text-align: center;
    width: 100%;
    min-width: 0;
  }

  .bonus-features { text-align: left; }
}

/* ─── Mobile Layout ─── */
@media (max-width: 640px) {
  .top-casino   { padding: 10px; }

  .casino-box {
    flex-direction: column;
    align-items: center;
    padding: 18px 14px;
    margin-bottom: 16px;
    gap: 14px;
  }

  .casino-number { width: 40px; height: 40px; font-size: 20px; }

  .casino-logo       { width: 100%; }
  .casino-logo img   { max-width: 160px; }
  .casino-name       { font-size: 14px; }

  .casino-rating     { padding: 4px 10px; }
  .rating-icon       { width: 14px; height: 14px; }
  .rating-value      { font-size: 13px; }

  .casino-actions    { width: 100%; min-width: 0; }
  .btn-play          { padding: 12px 18px; font-size: 14px; }

  .casino-specs {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .spec-item    { flex-direction: row; justify-content: space-between; }
  .spec-label   { font-size: 11px; }
  .spec-value   { font-size: 13px; }

  .casino-bonus  { width: 100%; min-width: 0; text-align: center; }
  .bonus-icon    { font-size: 26px; }
  .bonus-text    { font-size: 15px; }
  .bonus-features li { font-size: 12px; }
}

@media (max-width: 380px) {
  .casino-box        { padding: 14px 10px; }
  .casino-logo img   { max-width: 130px; }
  .bonus-text        { font-size: 13px; }
  .bonus-features li { font-size: 11px; }
}