/* ================================================
   mobile.css — vincispinonline.de
   Mobile & tablet responsive overrides
   Breakpoints: 990 / 768 / 640 / 480 / 375px
   ================================================ */

/* ========== GLOBAL: stop horizontal overflow ========== */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* All images must fit viewport */
img {
  max-width: 100%;
  height: auto;
}

/* ========== TABLES (bare <table> tags, no wrapper) ========== */

@media (max-width: 768px) {
  /* Make table itself scrollable */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    /* remove min-width so table can shrink */
  }

  th, td {
    padding: 10px 8px !important;
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }

  th {
    font-size: 13px !important;
    min-width: 80px;
  }

  /* table-double-column */
  .table-double-column {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin: 15px 0;
  }

  .table-double-column th,
  .table-double-column td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  th, td {
    padding: 8px 6px !important;
    font-size: 12px;
  }

  th {
    font-size: 12px !important;
  }
}

/* ========== INLINE IMAGES (base64/data URIs inside text) ========== */

.about-casino p img,
.about-casino__text img,
.main img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* ========== HEADER ========== */

@media (max-width: 768px) {
  .header {
    padding: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .header__right-side {
    padding-right: 8px;
  }

  .header__right-side .button .button_link {
    font-size: 11px;
    padding: 5px 9px;
    line-height: 18px;
  }

  .header__right-side .button:first-child {
    margin-right: 5px !important;
  }

  .logo {
    margin-left: 12px !important;
  }

  /* Language switcher — hide text label on very small screens */
  .ls-wrap {
    margin-left: 5px;
  }

  .ls-btn {
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 6px;
  }

  .ls-label {
    display: none;
  }
}

/* ========== BURGER MENU ========== */

@media (max-width: 768px) {
  .menuItem {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    z-index: 9999;
    padding-top: 100px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.6);
  }
}

/* ========== BANNER ========== */

@media (max-width: 768px) {
  .banner-bonus {
    font-size: 52px;
    line-height: 1.1;
  }

  .banner-subbonus {
    font-size: 16px;
    margin-top: 8px;
  }

  .banner-button {
    font-size: 16px;
    padding: 9px 18px;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .banner-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .banner-bonus {
    font-size: 42px;
  }

  .banner-subbonus {
    font-size: 14px;
  }

  .banner-button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .banner-text {
    padding: 30px 15px !important;
  }
}

@media (max-width: 375px) {
  .banner-bonus {
    font-size: 34px;
  }

  .banner-subbonus {
    font-size: 12px;
  }
}

/* ========== SECTION TITLES ========== */

@media (max-width: 768px) {
  .about-casino__subtitle {
    font-size: 20px;
    padding: 14px 0;
  }

  .content-title {
    font-size: 17px;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .about-casino__subtitle {
    font-size: 17px;
  }

  .content-title {
    font-size: 15px;
  }
}

/* ========== ABOUT CASINO TEXT ========== */

@media (max-width: 480px) {
  .about-casino {
    margin-bottom: 24px;
  }

  .about-casino__text {
    font-size: 15px !important;
    line-height: 22px !important;
  }

  .about-casino_list li {
    font-size: 14px !important;
    line-height: 22px !important;
  }
}

/* ========== ACCORDION (FAQ) ========== */

@media (max-width: 480px) {
  .accordion {
    font-size: 14px;
    padding: 14px 12px;
    border-radius: 10px;
    line-height: 20px;
  }

  .panel {
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .panel p {
    font-size: 14px !important;
    line-height: 22px !important;
    padding: 14px 0 !important;
  }
}

/* ========== POPULAR SLOTS ========== */

@media (max-width: 480px) {
  .popular-slots {
    margin-bottom: 30px;
  }
}

@media (max-width: 380px) {
  .popular-slots__container .popular-slots__item {
    max-width: 50%;
    padding: 0 6px;
    margin-bottom: 15px;
  }
}

/* ========== TOOLS LIST ========== */

@media (max-width: 480px) {
  .tools-list__item {
    padding: 12px 14px !important;
  }

  .tools-list__item-title p {
    font-size: 14px !important;
    margin-left: 10px;
  }

  .tools-list__item-title img {
    width: 24px !important;
    height: 24px !important;
  }

  .tools-list__item-description {
    font-size: 13px !important;
    line-height: 18px !important;
  }

  .link_tools {
    font-size: 16px !important;
  }
}

/* ========== CONTAINER & SPACING ========== */

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
}

/* ========== FOOTER ========== */

@media (max-width: 768px) {
  .footer .footer-text {
    font-size: 12px;
    line-height: 18px;
    padding: 18px 0;
  }
}
