:root {
  --bg-dark: #090c1d;
  --bg-darker: #191939;
  --accent: #fcce28;
  --accent-hover: #ff9933;
  --text: #d9d1f4;
  --text-light: #555555;
  --border: #cccccc;
}

body {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.container {
  margin: 0 auto;
  padding: 20px;
}

header a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

header {
  background: var(--bg-darker);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-family: "Montserrat", "Arial Black", sans-serif;
  margin: 0;
  font-size: 2.5em;
  color: #fff;
  word-break: break-word;
}

.roo-auth-buttons button {
  padding: 10px 20px;
  margin-left: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

#signup {
  background: var(--accent);
  color: #ffffff;
}

#signup:hover {
  background: var(--accent-hover);
}

#login {
  background: #e0e0e0;
  color: var(--text);
}

#login:hover {
  background: #d0d0d0;
}

main {
  padding-top: 120px;
  padding-bottom: 80px;
}

.roo-bonus-box {
  display: block;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.15);
}
.roo-bonus-box img {
  width: 100%;
  height: auto;
  display: block;
}

.roo-bonus-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--accent);
}

.roo-bonus-spins {
  font-size: 2.2rem;
  color: #ffaa33;
  margin-bottom: 30px;
  font-weight: 600;
}

.roo-get-bonus {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 18px 60px;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
  transition: all 0.3s;
}

.roo-get-box {
  text-align: center;
  margin: 4rem 0;
}

.roo-get-box .roo-get {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 18px 60px;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
  transition: all 0.3s;
  color: #2c2852;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--border);
}

.table-wrapper {
  overflow-x: auto;
}

table,
th,
td {
  border: 1px solid var(--border);
}
th,
td {
  padding: 10px;
  text-align: left;
}
table thead th {
  background-color: #2c2852;
  color: #fff;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  font-family: "Montserrat", "Arial Black", sans-serif;
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--accent-hover);
}

.article-body .roo-get-box a.roo-get {
  color: #2c2852;
  text-decoration: none;
}

.article-body .roo-get-box a.roo-get:hover {
  color: #2c2852;
}

.article-body > h3,
.article-body > section > h2 {
  font-family: "Montserrat", "Arial Black", sans-serif;
  color: #fff;
}

.roo-faq-section {
  margin-top: 2rem;
}

.roo-faq-section .roo-faq-item:not(:last-child) {
  margin-bottom: 1.75rem;
}

.roo-faq-section .roo-faq-item h3 {
  font-family: "Montserrat", "Arial Black", sans-serif;
  color: var(--accent);
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
}

.roo-faq-section details {
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.roo-faq-section details summary {
  cursor: pointer;
  font-family: "Montserrat", "Arial Black", sans-serif;
  color: var(--accent);
  font-size: 1.1rem;
  margin: 0.5rem 0;
  list-style: none;
}

.roo-faq-section details summary::-webkit-details-marker {
  display: none;
}

.roo-faq-section details summary::before {
  content: "+ ";
  font-weight: bold;
}

.roo-faq-section details[open] summary::before {
  content: "- ";
}

.roo-faq-section details p {
  margin: 0.5rem 0 0.75rem;
  color: var(--text);
}

.roo-roo_payments {
  text-align: center;
}
.roo-roo_payments h3 {
  font-size: 1.8rem;
  margin-bottom: 35px;
  color: #5555ff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.roo-roo_payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  align-items: center;
  margin: 0 auto;
}
.icon-wrapper {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.icon-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

footer {
  background-color: var(--bg-darker);
  color: #f5f5f8;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.banner-section{
  margin-top: 20px;
}
 .banner-section img{
    width: 100%;
 }
.roo-gallery-container {
  max-width: 1400px;
  margin: 0 auto;
}

.roo-gallery {
  --gap: 12px;
  --min-size: 180px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--min-size), 1fr));
  gap: var(--gap);
  padding: var(--gap);
}

.roo-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.roo-gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(255, 102, 0, 0.25);
}

.roo-gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.roo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.roo-gallery-item:hover img {
  transform: scale(1.08);
}

img.lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img.lazy.loaded {
  opacity: 1;
}

.roo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.roo-nav a {
  color: #e8e0ff;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.roo-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.roo-nav a.active {
  color: var(--accent);
  background: rgba(252, 206, 40, 0.13);
  border-color: rgba(252, 206, 40, 0.5);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* ── 900px: gallery тісніше ── */
@media (max-width: 900px) {
  .roo-gallery {
    --min-size: 160px;
    --gap: 10px;
  }
}

/* ── 860px: хедер переходить на два рядки ── */
@media (max-width: 860px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 4%;
  }

  .roo-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 6px;
  }

  .roo-nav a {
    text-align: center;
    white-space: normal;
    word-break: break-word;
    font-size: 1rem;
    padding: 11px 8px;
  }

  /* хедер тепер у потоці — великий відступ не потрібен */
  main {
    padding-top: 28px;
  }
}

/* ── 600px: мобільний ── */
@media (max-width: 600px) {
  .container {
    padding: 12px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .roo-gallery {
    --min-size: 140px;
    --gap: 8px;
  }

  .roo-nav {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .roo-nav a {
    font-size: 0.95rem;
    padding: 10px 14px;
    text-align: left;
  }

  .roo-get-box .roo-get {
    padding: 13px 30px;
    font-size: 1.1rem;
  }

  .icon-wrapper {
    width: 65px;
    height: 65px;
  }

  .icon-wrapper img {
    max-width: 60%;
    max-height: 60%;
  }
}

/* ── 400px: маленькі телефони ── */
@media (max-width: 400px) {
  .roo-gallery {
    --min-size: 120px;
  }

  .roo-nav {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .roo-nav a {
    font-size: 0.88rem;
    padding: 9px 14px;
    text-align: left;
  }

  h1 {
    font-size: 1.45rem;
  }
}
