html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
  margin: 0;
  font-family: "Poppins", sans-serif;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  background-color: transparent;
  outline: none;
  border: none;
}
img {
  display: block;
  max-width: 100%;
}
.casino-footer {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media screen and (max-width: 1280px) {
  .casino-footer {
    background-color: #1e2a3a;
  }
}
.casino-footer_container {
  padding: 50px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  background: linear-gradient(135deg, #1e2a3a 0%, #0f1620 100%);
  position: relative;
  overflow: hidden;
}
.casino-footer_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.casino-footer_container > * {
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 1280px) {
  .casino-footer_container {
    padding: 80px 108px 40px;
    gap: 50px;
  }
}
.casino-footer-links-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}
@media screen and (min-width: 1280px) {
  .casino-footer-links-list {
    gap: 32px;
    flex-direction: row;
    justify-content: space-between;
  }
}
.casino-footer-text {
  line-height: 1.57143;
  color: #eee;
}
@media screen and (min-width: 1280px) {
  .casino-footer-text {
    font-size: 16px;
    line-height: 1.5;
  }
}
.casino-footer-links-list-item > a {
  line-height: 1.57143;
  color: #e0e0e0;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
}
.casino-footer-links-list-item > a:hover {
  color: #4a90e2;
  background: rgba(74, 144, 226, 0.1);
  transform: translateY(-2px);
}
@media screen and (min-width: 1280px) {
  .casino-footer-links-list-item > a {
    font-size: 16px;
    line-height: 1.5;
  }
}
.mb20 {
  margin-bottom: 20px;
}
casino-footer a {
  transition: color 0.35s ease;
  color: #fff !important;
}
casino-footer a:hover {
  color: #4a90e2;
}
.casino-companies_container {
  border-radius: 15px;
  width: 100%;
  padding: 40px 20px;
  background: linear-gradient(135deg, #2c3e50 0%, #1a2632 100%);
  border: 2px solid rgba(74, 144, 226, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.big-el {
  max-width: 190px;
}
.small-el {
  max-width: 90px;
}
.casino-logo-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 6px 10px;
  border: 2px solid rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
  background: rgba(30, 42, 58, 0.5);
  text-decoration: none;
}
.casino-logo-box:hover {
  border-color: rgba(74, 144, 226, 0.6);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}
.casino-logo-box img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  border-radius: 8px;
}
.casino-logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4a90e2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.casino-logo-box:hover .casino-logo-text {
  color: #66a8f0;
}
@media screen and (max-width: 768px) {
  .casino-logo-box {
    flex-direction: column;
    gap: 6px;
    padding: 6px 8px;
  }
  .casino-logo-box img {
    width: 40px;
    height: 40px;
  }
  .casino-logo-text {
    font-size: 14px;
  }
}
.disclaimer-block {
  background: rgba(30, 42, 58, 0.4);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(74, 144, 226, 0.2);
  backdrop-filter: blur(5px);
}
.page-margin {
  margin-bottom: 32px;
}
.page-margin-2 {
  margin-bottom: 16px;
}
.page-margin-8,
.page-margin-24 {
  margin-bottom: 8px;
}
.h3-uppercase {
  text-transform: uppercase;
}
.page-text-bold {
  font-weight: 600;
}
.page-text {
  line-height: 1.57143;
}
@media screen and (min-width: 1440px) {
  .page-text {
    font-size: 16px;
    line-height: 1.5;
  }
}
.page-simple-list {
  list-style: disc;
  padding-left: 20px;
}
.page-simple-link {
  line-height: 1.57143;
  color: #4a90e2;
}
@media screen and (min-width: 1440px) {
  .page-simple-link {
    font-size: 16px;
    line-height: 1.5;
  }
}
.page-title-h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55556;
}
@media screen and (min-width: 1440px) {
  .page-title-h3 {
    font-size: 20px;
    line-height: 1.4;
  }
}
.page-title {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  font-size: 24px;
  margin: 116px auto 40px;
}
@media screen and (min-width: 1440px) {
  .page-title {
    font-size: 28px;
    line-height: 1.57143;
    margin-top: 189px;
  }
}
.page-content {
  padding: 0 16px 60px;
}
@media screen and (min-width: 1440px) {
  .page-content {
    padding: 0 212px 120px;
  }
}
.btn-flip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 10px;
  position: absolute;
  top: 20px;
  left: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  cursor: pointer;
  z-index: 100;
}
.btn-flip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
}
.btn-flip:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}
.btn-flip:after,
.btn-flip:before {
  display: none;
}
.casino-cards {
  scroll-margin-top: 100px;
  width: 100%;
}
.casino-img_company_box {
  min-width: 300px;
  padding: 20px;
  background-color: #1e2a3a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media screen and (min-width: 1280px) {
  .casino-img_company_box {
    min-width: 350px;
  }
}
.img_company_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.casino-position-box {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border: 2px solid rgba(74, 144, 226, 0.8);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.casino-position-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(74, 144, 226, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(74, 144, 226, 1);
}

.casino-position-box:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.casino-position-text {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f4f4f4;
  border-radius: 5px;
  padding: 10px;
}
.casino-position {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #f6f6f6;
  background-color: #4a90e2;
  box-shadow: #06182c66 0 0 0 2px, #06182ca6 0 4px 6px -1px,
    #ffffff14 0 1px inset;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 1280px) {
  .position {
    height: 72px;
    border-radius: 0;
  }
}
.casino-cards_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 16px 50px;
}
@media screen and (min-width: 1280px) {
  .casino-cards_container {
    gap: 76px;
    padding: 20px 16px 50px;
  }
}
.casino-cards_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
}
.casino-company-item {
  position: relative;
  width: 100%;
  border-radius: 10px;
  background-color: #1e2a3a;
  box-shadow: #06182c66 0 0 0 2px, #06182ca6 0 4px 6px -1px,
    #ffffff14 0 1px inset;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}
@media screen and (min-width: 1280px) {
  .casino-company-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 20px;
    background-image: url(about-dark-9a7de114.webp);
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% 200%;
  }
}
.casino-company-item:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 15px rgba(30, 42, 58, 0.9));
}

/* Топ элемент с выделяющим бордером */
.casino-top-item {
  border: 3px solid #4a90e2 !important;
  box-shadow: #06182c66 0 0 0 3px, #06182ca6 0 4px 6px -1px,
    #ffffff14 0 1px inset, 0 0 30px rgba(74, 144, 226, 0.5) !important;
}

.casino-top-item:hover {
  box-shadow: #06182c66 0 0 0 3px, #06182ca6 0 4px 6px -1px,
    #ffffff14 0 1px inset, 0 0 40px rgba(74, 144, 226, 0.7) !important;
}

/* Бейдж TOP */
.casino-top-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #1e2a3a;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media screen and (max-width: 1280px) {
  .casino-top-badge {
    top: 10px;
    right: 10px;
    font-size: 12px;
    padding: 6px 12px;
  }
}
.casino-rating-numbers {
  text-align: center;
  margin: 10px 0 0;
  font-size: 36px;
  font-weight: 700;
  color: #fafafa;
}
.casino-stars-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stars {
  max-width: 170px;
  margin: 0 auto;
}
.company-bonus-item {
  color: #f3f3f3;
}
.casino-img_company_box1 {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}
.casino-item-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media screen and (max-width: 1280px) {
  .casino-item-text-block {
    padding: 0 20px;
  }
}
.casino-item-text1 {
  font-size: 24px;
}
.casino-item-text2 {
  font-size: 26px;
  max-width: 500px;
  text-align: center;
  font-weight: 600;
}
.casino-glow-on-hover {
  width: 300px;
  height: 50px;
  border: 3px solid transparent;
  outline: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
  overflow: hidden;
}
@media screen and (max-width: 1280px) {
  .casino-glow-on-hover {
    margin-right: 0;
    margin-bottom: 30px;
    width: 270px;
  }
}
.casino-glow-on-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
  z-index: 1;
}
.casino-glow-on-hover:hover::before {
  left: 100%;
}
.casino-glow-on-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}
.casino-glow-on-hover:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}
.casino-glow-on-hover:focus {
  outline: 2px solid rgba(74, 144, 226, 0.5);
  outline-offset: 4px;
}
.casino-glow-on-hover span {
  position: relative;
  z-index: 2;
}
@keyframes glowing {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  to {
    background-position: 0 0;
  }
}
.casino-pay-block {
  background: linear-gradient(135deg, #2c3e50 0%, #1a2632 100%);
  border: 2px solid rgba(74, 144, 226, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  padding: 15px 20px;
  border-radius: 15px;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 0 20px rgba(74, 144, 226, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 1280px) {
  .casino-pay-block {
    max-width: 270px;
  }
}
.casino-pay-block::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
  transition: all 0.6s;
  opacity: 0;
}
.casino-pay-block:hover::before {
  opacity: 1;
  top: -100%;
  left: -100%;
}
.casino-pay-block:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 144, 226, 0.6);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 0 30px rgba(74, 144, 226, 0.2);
}
.casino-pay-block:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 0 20px rgba(74, 144, 226, 0.1);
}
.casino-pay-block img {
  transition: transform 0.3s ease;
  filter: grayscale(0.2);
}
.casino-pay-block:hover img {
  transform: scale(1.1);
  filter: grayscale(0);
}
.company-bonus-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.casino-top-btn-box-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 300px;
}
.casino-top-btn-box {
  color: #fff;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.casino-img_company_box p,
.casino-item-text-block p {
  color: #fff;
}
.casino-rating_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 80px 20px;
  background-image: url(bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  position: relative;
}
.casino-rating_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  z-index: 0;
}
.casino-rating_container > * {
  position: relative;
  z-index: 1;
}
.casino-rating-text-box {
  max-width: 700px;
  background: rgba(30, 42, 58, 0.85);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(74, 144, 226, 0.3);
}
@media screen and (max-width: 1280px) {
  .casino-rating_container {
    flex-direction: column;
  }
  .casino-rating-text-box {
    padding: 30px;
  }
}
@media screen and (max-width: 768px) {
  .casino-rating-text-box {
    padding: 25px;
  }
}
.casino-rating_container h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
}
@media screen and (max-width: 1280px) {
  .casino-rating_container h2 {
    font-size: 30px;
  }
}
.casino-rating_container p {
  color: #fff;
  font-size: 20px;
}
@media screen and (max-width: 1280px) {
  .casino-rating_container p {
    font-size: 18px;
  }
}

.casino-info-block {
  scroll-margin-top: 100px;
  width: 100%;
  margin-bottom: 100px;
}
.casino-info-block_container {

  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 60px 16px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #1e2a3a;
  box-shadow: #06182c66 0 0 0 2px, #06182ca6 0 4px 6px -1px,
    #ffffff14 0 1px inset;
}
@media screen and (min-width: 768px) {
  .casino-info-block_container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media screen and (min-width: 1280px) {
  .casino-info-block_container {
    padding: 100px 108px;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: 100% 50%;
    gap: 40px;
  }
}
.casino-info-block_container .info-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: rgba(30, 42, 58, 0.5);
  border-radius: 15px;
  border: 1px solid rgba(74, 144, 226, 0.2);
  transition: all 0.3s ease;
}
.casino-info-block_container .info-item:hover {
  background: rgba(30, 42, 58, 0.7);
  border-color: rgba(74, 144, 226, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.15);
}
.casino-info-block_container h3 {
  font-size: 24px;
  color: #4a90e2;
  text-align: left;
  margin: 0;
}
@media screen and (max-width: 1280px) {
  .casino-info-block_container h3 {
    font-size: 22px;
  }
}
.casino-info-block_container p {
  font-size: 20px;
  color: #fff;
  text-align: left;
  margin: 0;
}
@media screen and (max-width: 1280px) {
  .casino-info-block_container p {
    font-size: 18px;
  }
}
.info-block-img-block {
  border-radius: 20px;
  overflow: hidden;
  max-height: 400px;
}
.cookies-section {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 999;
  width: 100%;
  background: -webkit-linear-gradient(90deg, #e8f4fd, #f0f8ff);
  background: linear-gradient(90deg, #e8f4fd, #f0f8ff);
  box-shadow: #06182c66 0 0 0 2px, #06182ca6 0 4px 6px -1px,
    #ffffff14 0 1px inset;
}
.cookies-container {
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media screen and (min-width: 1440px) {
  .cookies-container {
    padding: 40px 108px;
    flex-direction: row;
    justify-content: space-between;
  }
}
.cookies-text {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.57143;
  text-align: center;
  color: #101010;
}
@media screen and (min-width: 1440px) {
  .cookies-text {
    font-size: 16px;
    line-height: 1.5;
    max-width: 705px;
    text-align: left;
  }
}
.cookies-text a {
  text-decoration: underline;
}
.cookies-buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 1440px) {
  .cookies-buttons {
    flex-direction: row;
    justify-content: flex-end;
    gap: 0;
  }
}
.cookies-accept-js {
  background-color: #4a90e2;
  transition: background-color 0.3s ease;
  color: #ffffff !important;
}
.cookies-accept-js:hover {
  background-color: #357abd;
}
.cookies-decline-js {
  background-color: #e74c3c;
  transition: background-color 0.3s ease;
  color: #ffffff !important;
}
.cookies-decline-js:hover {
  background-color: #c0392b;
}
.btn-1 {
  text-align: center;
  display: inline-block;
  padding: 15px 40px;
  border: 1px solid #fff;
  cursor: pointer;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
}
.btn-1:before {
  content: "";
  position: absolute;
  height: 150px;
  width: 50px;
  background: #fff;
  left: -55px;
  top: -40px;
  transform: rotate(37deg);
  transition: all 0.3s;
  opacity: 0.3;
}
.btn-1:hover:before {
  left: 95%;
}
:root {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #0a0e1a;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
.container {
  max-width: 375px;
  min-width: 320px;
  margin: 0 auto;
}
@media screen and (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1440px;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.page-section {
  background: linear-gradient(135deg, #1e2a3a 0%, #0f1620 100%);
  padding-top: 100px;
  color: #fff;
  min-height: 100vh;
}
body {
  overflow-x: hidden !important;
}

.big-el {
  max-width: 210px !important;
}
.contact {
  padding: 4rem 0;
}
.contact__title {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}
.contact__btn {
  margin-top: 3rem;
}
.contacts__container {
  padding: 40px 20px 40px;
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .contact {
    padding: 2rem 0;
  }
}
@media (max-width: 767.98px) {
  .contact {
    padding: 2rem 0;
  }
}
.contact__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 3rem;
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .contact__wrapper {
    gap: 1rem;
  }
}
@media (max-width: 767.98px) {
  .contact__wrapper {
    gap: 1rem;
  }
}
.contact__form {
  max-width: 80%;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .contact__form {
    max-width: 100%;
  }
}
@media (max-width: 767.98px) {
  .contact__form {
    max-width: 100%;
  }
}
.contact__form-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 3rem;
}
@media (max-width: 767.98px) {
  .contact__form {
    max-width: 100%;
  }
}
.contact__form-item {
  position: relative;
  width: 100%;
}
.contact__form-item label {
  display: block;
}
.contact__form-item a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}
@media (hover: hover) {
  .contact__form-item a:hover {
    color: #4a90e2;
  }
}
.contact__form-btn {
  margin-top: 3rem;
}

.is-invalid {
  border-color: #dc3545;
}

.error-message {
  position: absolute;
  font-size: 0.8rem;
  left: 0;
  padding-left: 0.5rem;
  margin-top: 0.2rem;
  color: #dc3545;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.error-message--visible {
  opacity: 1;
  visibility: visible;
}
.input {
  font-family: "Poppins", sans-serif;
  margin-top: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid transparent;
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.5rem;
  outline: none;
  color: #333333;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.input:focus {
  border: 1px solid #1e2a3a;
}
.input::-moz-placeholder {
  color: #333333;
}
.input::placeholder {
  color: #333333;
}

.textarea {
  font-family: "Poppins", sans-serif;
  margin-top: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid transparent;
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.5rem;
  outline: none;
  color: #333333;
  position: relative;
  transition: all 0.3s ease-in-out;
  resize: none;
}
.textarea:focus {
  border: 1px solid #1e2a3a;
}
.textarea::-moz-placeholder {
  color: #333333;
}
.textarea::placeholder {
  color: #333333;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #fff;
}
.checkbox input[type="checkbox"] {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 0.2rem;
  background-color: #4a90e2;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox input[type="checkbox"]:checked {
  background-image: url("check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem 1rem;
}
.checkbox label {
  font-family: "Poppins", sans-serif;
  line-height: 1.4;
  cursor: pointer;
}

.thank-you {
  padding: 4rem 20px;
  color: #ffffff;
  text-align: center;
}
.thank-you__title {
  margin-bottom: 20px;
}
.thank-you__btn {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* Modal de agradecimento */
.thank-you-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100000;
  animation: fadeIn 0.3s ease;
}

.thank-you-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1e2a3a 0%, #0f1620 100%);
  border: 2px solid rgba(74, 144, 226, 0.4);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(74, 144, 226, 0.2);
  animation: slideDown 0.3s ease;
}

.thank-you-modal-content h2 {
  color: #4a90e2;
  font-size: 2em;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.thank-you-modal-content p {
  color: #e0e0e0;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  font-family: "Poppins", sans-serif;
}

.thank-you-btn {
  padding: 12px 40px;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 1em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.thank-you-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5);
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
}

.thank-you-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

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

@keyframes slideDown {
  from {
    transform: translate(-50%, -60%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .thank-you-modal-content {
    padding: 30px 20px;
  }
  
  .thank-you-modal-content h2 {
    font-size: 1.5em;
  }
  
  .thank-you-modal-content p {
    font-size: 1em;
  }
}
