:root {
  --bg-dark: #2D2F3C;
  --bg-darker: #1B1F28;
  --accent: #DBFF00;
  --accent-hover: #ffa94d;
  --text: #fff;
  --text-light: #fff;
  --border: #1f3a5f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 17px;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.5;
}

header {
  position: fixed;
  inset: 0 0 auto 0;
  background: var(--bg-darker);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  gap: 0;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.star-auth-buttons button {
  margin-left: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

#signup {
  background: var(--accent);
  color: #0b1a2e;
}

#login {
  background: #1f4f8a;
  color: #ffffff;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 20px 0;
}

.container {
  padding: 0 10px;
}

.star-bonus-box {
  display: block;
  border: 2px solid var(--accent);
  border-radius: 18px;  
  margin-bottom: 40px;
}

.star-bonus-box img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.star-bonus-title {
  font-size: 2.6rem;
  font-weight: 700;
}

.star-bonus-spins {
  font-size: 2rem;
  color: var(--accent);
  margin: 15px 0 30px;
  font-weight: 700;
  color: #DBFF00;
}

.star-get-bonus {
  display: inline-block;
  background: var(--accent);
  color: #0b1a2e;
  padding: 16px 54px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.star-get-box {
  margin: 32px 0;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgb(219 255 0 / 8%), rgb(219 255 0 / 3%));
  border: 1px solid rgb(219 255 0 / 30%);
  border-radius: 14px;
  text-align: center;
}

.star-get {
  display: inline-block;
  background: var(--accent);
  color: #0b1a2e;
  padding: 16px 48px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s, transform 0.15s;
}

.star-get:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.section {
  margin-bottom: 40px;
}

.section h2,
.section h1 {
  color: var(--accent);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid var(--border);
}

table,
th,
td {
  border: 1px solid var(--bg-darker);
}

th,
td {
  padding: 10px;
  text-align: left;
}

th {
  background-color: #1B1F28;
}

.star-faq .star-question {
  background: var(--bg-darker);
  border: 1px solid var(--accent);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.star-faq .star-answer {
  display: none;
  padding: 12px;
  margin-top: 6px;
  background: var(--bg-dark);
  border-radius: 8px;
  border: 1px solid var(--accent);
}

footer {
  margin-top: 80px;
  padding: 20px;
  text-align: center;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

.star-gallery-container {
  max-width: 1400px;
  margin: 0 auto;
}

.star-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);
}

.star-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0e233f; 
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.star-gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgb(202 255 1 / 37%);
}

.star-gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.star-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.star-gallery-item:hover img {
  transform: scale(1.08);
}

img.lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img.lazy.loaded {
  opacity: 1;
}

.star-faq details {
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.star-faq details[open] {
  border-color: var(--accent);
}

.star-faq details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  padding: 16px 50px 16px 18px;
  position: relative;
  user-select: none;
}

.star-faq details summary::-webkit-details-marker {
  display: none;
}

.star-faq details summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s;
}

.star-faq details[open] summary::after {
  content: '×';
}

.star-faq details summary:hover {
  background: rgb(255 255 255 / 4%);
}

.star-faq details[open] summary {
  border-bottom: 1px solid var(--border);
}

.star-faq details p,
.star-faq details ul,
.star-faq details ol {
  margin: 0;
  padding: 14px 18px;
  color: rgb(255 255 255 / 80%);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .star-gallery {
    --min-size: 160px;
    --gap: 10px;
  }

  .page{
    padding: 200px 20px 0;
  }
}

@media (max-width: 600px) {
  .star-gallery {
    --min-size: 140px;
    --gap: 8px;
  }
}

@media (max-width: 400px) {
  .star-gallery {
    --min-size: 120px;
  }

}


@media (max-width: 600px) {
  header {
    padding: 10px 4%;
  }

  .page {
    padding-top: 200px;
  }

  .star-bonus-box {
    margin-top: 16px;
  }

  .star-bonus-title {
    font-size: 2rem;
  }

  .star-bonus-spins {
    font-size: 1.6rem;
  }
}

@media (max-width: 400px) {
  .page{
    padding-top: 250px;
  }
}

.star-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  width: 100%;
  order: 3;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 6px;
}

.star-nav a {
  text-decoration: none;
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 6px;
  transition: 0.2s;
  font-weight: 500;
  font-size: 0.9rem;
}

.star-nav a:hover,
.star-nav a.active {
  background: rgb(202 255 1 / 37%);
  color: #fff;
}

.star-nav-cta {
  background: var(--accent) !important;
  color: #0b1a2e !important;
  font-weight: 700 !important;
}

