.top {
  margin-top: 69px;
  margin-bottom: 24px;
}

/* telegram */

.telegram-block {
  display: flex;
  align-items: center;
  background-color: #e9f5ff;
  border: 1px solid #cbe3ff;
  padding: 20px;
  border-radius: 12px;
  margin: 20px auto;
  margin-top: 69px;
  max-width: 1024px;
  gap: 20px;
}

.telegram-icon {
  width: 64px;
  height: 64px;
}

.telegram-text h2 {
  margin: 0 0 8px 0;
  font-size: 1.5em;
}

.telegram-text p {
  margin: 0 0 10px 0;
  font-size: 1em;
  line-height: 1.4;
}

.telegram-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0088cc;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.telegram-button:hover {
  background-color: #0077b6;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
  text-decoration: none;
  /* transform: translateY(-1px); */
}

body {
  margin-left: 0 auto;
  margin-right: 0 auto;
}

h2{
/*  margin: 0;*/
/*  margin-left: 15px;*/
  font-size: 28px;
}

h3 {
  margin: 0;
  margin-top: 12px;
/*  margin-left: 15px;*/
  font-size: 18px;
}

.stream {
  position: relative;
}

video {
/*  margin-top: 38px;*/
}

.go-to-casino {
/*  margin-top: 24px;*/
  width: 100%;
}

.go-to-casino-stream {
  background-color: #FFA500;
  color: black;
  font-family: sans-serif;
  font-weight: bold;
  padding: 10px;
  display: inherit;
  text-align: center;
}

.dark .go-to-casino-stream {
  color: black;
}

/* rounds history */

.update-history {
  border: none;
  font-size: 24px;
  background-color: #F0F0F0;
/*  padding: 3px;*/
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  text-align: center;
}

.update-history:hover {
  cursor: pointer;
}

.dark .update-history {
  color: white;
  background-color: #1A1A1A;
}

.rounds-history-feed {

}

.rounds-time {
  margin-left: 32px;
}

.rounds-history {
  margin: 9px;
  border-radius: 42px;
  overflow-x: scroll;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rounds-history ul {
  margin: 5px;
  padding: 0;
}

.rounds-history ul li {
  list-style: none;
  display: inline-block;
  padding: 3px;
}

.rounds-history-item {
  display: flex;
  white-space: nowrap;
}

.drawnBalls, .Bonus3, .Bonus5, .BonusCoinFlip, .BonusCashHunt, .BonusPachinko, .BonusCrazyTime {
  font-weight: bold;
  padding: 10px;
  border-radius: 20px;
  min-width: 20px;
  min-height: 20px;
  text-align: center;
  margin: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.drawnBalls {
  background-color: white;
  color: black;
}

.dark .drawnBalls {
  background-color: #DFDFDF;
  color: black;
}

.Bonus3 {
  background-color: grey;
  color: white;
}

.dark .Bonus3 {
  color: white;
}

.Bonus5 {
  background-color: gold;
  color: black;
}

.BonusCoinFlip {
  background-color: #2f6f9f;
  color: white;
}

.BonusCashHunt {
  background-color: #2f7d4a;
  color: white;
}

.BonusPachinko {
  background-color: #d06a1e;
  color: white;
}

.BonusCrazyTime {
  background-color: #c9a227;
  color: black;
}

.dark .Bonus5 {
  color: black;
}

.matched {
    outline: 3px solid red; /* You can change 'red' to the desired border color */
}




/* live stats block */


.live-stats-block ul {
  padding: 0;
}

.live-stats-block li {
  list-style: none;
  margin: 3px;
  display: inline-block;
  width: 160px;
  white-space: nowrap;
  border-radius: 9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.live-stats-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.live-stats-img {
  padding: 9px;
}

.live-stats-text-percent {
  font-size: 27px;
  margin: 9px;
}

.live-stats-text-since {
  margin: 9px;
}


/* best multipliers block */


.best-multipliers-block ul {
  padding: 0;
}

.best-multipliers-block li {
  list-style: none;
  margin: 9px;
  display: inline-block;
  width: 320px;
  white-space: nowrap;
  border-radius: 9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.best-multipliers-item {
  display: flex;
  align-items: center;
}

.best-multipliers-index {
  margin: 9px;
  width: 24px;
  text-align: center;
  font-size: 22px;
}

.best-multipliers-img {
  padding: 9px;
}

.best-multipliers-text-x {
  padding: 9px;
  margin: 9px;
  width: 52px;
  font-size: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.best-multipliers-text-time {
  padding: 9px;
  width: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.best-multipliers-text-time p {
  margin: 0;
}

.time-part {
  font-size: 18px;
  color: #666666;
}

.date-part, .year-part {
  font-size: 14px;
}


/* best wins block */

.best-wins-history {
  border-radius: 9px;
  overflow-x: scroll; /* Enable horizontal scrolling */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.best-wins-history ul {
  margin: 5px;
  white-space: nowrap; /* Prevent list items from wrapping to the next line */
  padding: 0; /* Remove default padding on the ul element */
}

.best-wins-history ul li {
  display: inline-block;
  vertical-align: top;
  border-right: 2px solid #DFDFDF;
  width: 140px;
}

.dark .best-wins-history ul li {
  border-right: 2px solid #333333;
}

.best-wins-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.best-wins-text-amount {
  margin: 0;
  margin-top: 9px;
  padding: 6px;
}

.best-wins-text-x {
  margin: 0;
  padding: 6px;
  font-size: 27px;
}

.best-wins-img {
  padding: 9px;
}

.best-wins-text-name {
  margin: 0;
/*  margin-bottom: 9px;*/
  padding: 6px;
}

.best-wins-text-time {
  margin: 0;
  margin-bottom: 9px;
  padding: 6px;
}


/* images */

.review-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.review-image img {
  border-radius: 9px;
}


/* table */

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}

th, td {
  border: 1px solid black;
  text-align: left;
  padding: 8px;
}

.big-letters th, .big-letters td {
  font-size: 16px;
}

.small-letters th, .small-letters td {
  font-size: 12px;
}

th {
  background-color: #F0F0F0;
}

.dark th {
  background-color: #1A1A1A;
}

.dark th, .dark td {
 border: 1px solid #333333;
}


/* game-review */

.game-text {
  text-align: justify;
  display: inline-block;
}


/* game-contents */


.game-contents {
    padding-left: 9px;
}

.game-contents h3 {
    margin-bottom: 16px;
}

.game-contents ol {
    padding: 0;
    margin: 0;
}

.game-contents ol li {
  margin-left: 16px;
  margin-bottom: 12px; 
}

.game-contents ol li a {
    text-decoration: none;
    color: #0069d9;
    font-weight: bold;
}

.dark .game-contents ol li a {
  color: #6495ED;
}

.game-contents ol li a:hover {
    text-decoration: underline; 
}



/* related-games */

.related-games-list ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 5px;
}

.related-games-list ul li {
  padding: 9px;
}

.related-games-item {
  border-radius: 9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.related-games-text {
  margin: 0;
  padding: 9px;
}


/* it-follows */

.it-follows {
  position: fixed;
  bottom: 0;
  left: 0;
  text-align: center;
  width: 100%;
  display: none;
  margin: 0;
  padding: 0;
  background-color: #FFA500;
}

.it-follows #play-for-real {
  margin: 0;
}

/* zoom */


@media (max-width: 719px) {
  body, video {
    max-width: 352px;
    margin-left: auto;
    margin-right: auto;
  }
  .review-image img, .game-text {
    width: 352px;
    height: 198px;
  }
  .game-contents ol {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
  }
}

@media (min-width: 720px) {
  body, video {
    max-width: 686px;
    margin-left: auto;
    margin-right: auto;
  }
  .review-image img, .game-text {
    width: 686px;
    height: 386px;
  }
  .game-contents ol {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }
}

@media (min-width: 1180px) {
  body, video {
    max-width: 1024px;
  }
  .review-image img, .game-text {
    width: 1024px;
    height: 576;
  }
}

@media (min-width: 1366px) {
  body, video  {
    max-width: 1024px;
  }
  .review-image img, .game-text {
    width: 1024px;
    height: 540px;
  }
}
