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

body {
  font-family: 'inter';
  background: #f8f8f8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  background: #dddddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  position: relative;
  z-index: 100;
}


.logo img {
  width: 160px;
  margin-right: 10px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.main-nav > ul > li > a:hover {
  background: #0074ff;
  color: #fff;
}

.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
    padding: 10px;
  position: absolute;
  top: 240%;
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  min-width: 230px;
  z-index: 99;
}



.dropdown li a {
  padding: 10px 16px;
  color: #222;
}

.dropdown li a:hover {
  background-color: #f2f2f2;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.burger span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: 0.3s;
}

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  color: #111;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.dropdown-toggle:hover {
  background: #0074ff;
  color: #fff;
}

.arrow {
  transition: transform 0.3s ease;
}

.has-dropdown.open .arrow {
  transform: rotate(180deg);
}

.has-dropdown .dropdown {
    margin-top: 20px;
  display: none;
  flex-direction: column;
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  min-width: 200px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 99;
  animation: fadeIn 0.3s ease;
}

.has-dropdown.open .dropdown {
  display: flex;
}

.casino-list {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.casino-card {
  display: flex;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.casino-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.casino-left img {
    border-radius: 10px;
    max-width: 150px;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}

.casino-rating {
  font-weight: bold;
  color: #ffc107;
  font-size: 16px;
}

.casino-middle {
  flex: 1;
}

.casino-bonus {
  font-size: 16px;
  margin-bottom: 12px;
}

.casino-middle ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
  color: #333;
  font-size: 14px;
}

.casino-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  min-width: 120px;
}

.btn {
  text-decoration: none;
  padding: 10px 18px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 150px;
}

.btn-primary {
  background: #e60023;
  color: #fff;
}

.btn-primary:hover {
  background: #cc001f;
}

.btn-secondary {
  background: #f2f2f2;
  color: #111;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

.page-title {
  max-width: 1200px;
  margin: 32px auto 12px;
  padding: 0 16px;
  font-size: 32px;
  font-weight: 800;
  color: #111;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  animation: fadeInDown 0.6s ease both;
}

.page-description {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 16px;
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease 0.4s forwards;
}

.about-igri-kazino {
    border-radius: 20px;
    background-color: #dddddd;
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.about-igri-kazino h2 {
  margin-top: 15px;
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    color: #111;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.about-igri-kazino h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #000000;
}

.about-igri-kazino ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.about-igri-kazino ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.about-igri-kazino ul li::before,
.about-igri-kazino ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.about-igri-kazino img{
  width: 100%;
  border-radius: 20px;
  margin: 15px 0px;
}

p{
  margin: 10px;
}

.site-footer {
  background: #275270;
  color: #d4dbe0;
  font-size: 14px;
  line-height: 1.6;
  padding: 40px 16px 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
  gap: 32px;
}

.footer-logo img {
width: 150px;
margin-bottom: 30px;
}

.footer-social a {
  margin-right: 12px;
  display: inline-block;
}

.footer-social img {
  width: 24px;
}

.footer-columns {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-column {
  min-width: 160px;
}

.footer-column span {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #d4dbe0;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
}

.footer-age {
  margin: 16px 0;
}

.footer-age img {
  height: 32px;
  margin: 0 8px;
}

.footer-disclaimer {
  font-size: 12px;
  color: #aaa;
  margin-top: 16px;
}

.acc{
    border: solid;
    max-width: 1600px;
    margin: 0 auto;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 8px;
  background: #0b1c28;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.casino-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  color: #fff;
  font-size: 15px;
  display: block;
}

.casino-table thead {
  background-color: #1e2d40;
  display: table;
  width: 100%;
  table-layout: fixed;
}

.casino-table tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.casino-table th,
.casino-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #1c2b3c;
  word-wrap: break-word;
}

.casino-table th {
  font-weight: 600;
  color: #ffd700;
}

.casino-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

ol {
  padding-left: 20px;
  margin: 24px 0;
  counter-reset: custom-counter;
}

ol li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  counter-increment: custom-counter;
}

ol li::before {

  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #917b00;
  font-size: 16px;
}

ol li strong {
  color: #917b00;
  font-weight: 600;
}


/* Анимации */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 768px) {
   .casino-table {
    font-size: 14px;
    min-width: 100%;
  }

  .casino-table th,
  .casino-table td {
    padding: 12px 10px;
  }
     .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-columns {
    flex-direction: column;
    width: 100%;
  }

  .footer-logo {
    margin-bottom: 24px;
  }

  .footer-age img {
    height: 28px;
  }
     .casino-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .casino-left {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .casino-right {
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  .btn {
    flex: 1;
    width: 100%;
  }
  .main-nav {
    border-top: solid;
    border-bottom: solid;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 16px;
    animation: fadeIn 0.3s ease;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .burger {
    display: flex;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .has-dropdown .dropdown {
    margin: 10px;
    position: static;
    display: none;
    box-shadow: none;
  }

  .has-dropdown.active .dropdown {
    display: flex;
  }
}

@media (max-width: 442px) {
  .casino-table {
    font-size: 13px;
  }

  .casino-table th,
  .casino-table td {
    padding: 10px 8px;
  }
}
