@keyframes mrsJackpotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

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

html, body.mrs-body {
  height: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  background: #08110D;
  color: #e8f0ea;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.mrs-form { display: inline-block; margin: 0; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #08110D; }
::-webkit-scrollbar-thumb { background: #2C684A; border-radius: 2px; }

.mrs-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 150;
  cursor: pointer;
}

.mrs-mobile-overlay.is-open { display: block; }

.mrs-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.mrs-sidebar {
  width: 240px;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  background: #183728;
  z-index: 200;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(200,167,91,0.13);
  transition: transform 0.3s ease;
}

.mrs-sidebar-logo {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(200,167,91,0.13);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mrs-logo {
  height: 80px;
  width: 200px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
}

.mrs-sidebar-auth {
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(200,167,91,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.mrs-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3d2a, #2C684A);
  border: 2px solid rgba(200,167,91,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mrs-btn-sidebar-login {
  width: 100%;
  padding: 9px 16px;
  border: 1.5px solid #C8A75B;
  background: transparent;
  color: #C8A75B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 24px;
  transition: all 0.2s;
}

.mrs-btn-sidebar-login:hover {
  background: rgba(200,167,91,0.1);
}

.mrs-nav-slot--desktop,
.mrs-nav-slot--mobile {
  padding: 6px 0;
  flex: 1;
}

.mrs-nav-slot--mobile { display: none; }

.mrs-nav-slot--desktop .mrs-menu-list,
.mrs-nav-slot--mobile .mrs-menu-list {
  display: flex;
  flex-direction: column;
}

.mrs-nav-slot--desktop .mrs-menu-link,
.mrs-nav-slot--mobile .mrs-menu-link {
  display: flex;
  align-items: center;
  padding: 11px 20px 11px 18px;
  margin: 2px 10px 2px 0;
  color: #C8A75B;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 0 22px 22px 0;
  transition: all 0.2s;
}

.mrs-nav-slot--desktop .mrs-menu-link:hover,
.mrs-nav-slot--mobile .mrs-menu-link:hover {
  color: #E2C87A;
  background: rgba(255,255,255,0.05);
}

.mrs-nav-slot--desktop .mrs-menu-link:first-child,
.mrs-nav-slot--mobile .mrs-menu-link:first-child {
  background: rgba(44,104,74,0.55);
}

.mrs-nav-slot--desktop .mrs-menu-link:first-child:hover,
.mrs-nav-slot--mobile .mrs-menu-link:first-child:hover {
  background: rgba(44,104,74,0.75);
}

/* Main */
.mrs-main {
  flex: 1;
  margin-left: 240px;
  min-width: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.mrs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #183728;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid rgba(200,167,91,0.15);
  flex-shrink: 0;
}

.mrs-hamburger.hamburger-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,167,91,0.25);
  color: #C8A75B;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
  padding: 0;
}

.mrs-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mrs-btn-login {
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid rgba(200,167,91,0.55);
  color: #C8A75B;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  border-radius: 24px;
  transition: all 0.2s;
}

.mrs-btn-login:hover {
  background: rgba(200,167,91,0.1);
  border-color: #C8A75B;
}

.mrs-btn-signup {
  padding: 9px 24px;
  background: linear-gradient(135deg, #C8A75B 0%, #a8853d 100%);
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(200,167,91,0.35);
  transition: all 0.2s;
}

.mrs-btn-signup:hover {
  box-shadow: 0 4px 20px rgba(200,167,91,0.6);
  transform: translateY(-1px);
}

/* Hero */
.mrs-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  flex-shrink: 0;
}

.mrs-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.mrs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,17,13,0.88) 0%, rgba(8,17,13,0.62) 42%, rgba(8,17,13,0.15) 68%, transparent 85%);
}

.mrs-hero-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 48px;
  max-width: 520px;
  z-index: 2;
}

.mrs-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  text-wrap: balance;
}

.mrs-form-hero { display: block; }

.mrs-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #C8A75B 0%, #a8853d 100%);
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  box-shadow: 0 6px 28px rgba(200,167,91,0.45);
  transition: all 0.25s;
}

.mrs-btn-hero:hover {
  box-shadow: 0 8px 36px rgba(200,167,91,0.65);
  transform: translateY(-2px);
}

/* Games */
.mrs-games {
  background: #ffffff;
  padding: 36px 28px 40px;
}

.mrs-games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mrs-games-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #1a7a3c;
  text-transform: uppercase;
  margin: 0;
}

.mrs-games-nav { display: flex; gap: 8px; }

.mrs-games-scroll-left,
.mrs-games-scroll-right {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  padding: 0;
}

.mrs-games-scroll-left:hover,
.mrs-games-scroll-right:hover {
  border-color: #888;
  background: #f5f5f5;
}

.mrs-games-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mrs-games-track::-webkit-scrollbar { display: none; }

.mrs-form-game {
  display: block;
  margin: 0;
}

.mrs-game-card {
  flex-shrink: 0;
  width: 175px;
  scroll-snap-align: start;
}

.mrs-game-thumb {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  display: block;
}

.mrs-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.mrs-game-card:hover .mrs-game-thumb img {
  transform: scale(1.03);
}

.mrs-game-jackpot {
  margin-top: 6px;
  background: #1a7a3c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 6px 10px;
  border-radius: 7px;
  animation: mrsJackpotPulse 2.4s ease-in-out infinite;
}

/* Content */
.mrs-content-section {
  background: #ffffff;
  border-top: 1px solid #eef2ef;
  padding: 56px 52px 64px;
  flex: 1;
}

.mrs-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: #1e7a3c;
  line-height: 1.25;
  margin-bottom: 18px;
}

.mrs-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1e7a3c;
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.mrs-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #2a2a2a;
  margin-bottom: 14px;
}

.mrs-content ul {
  margin-bottom: 16px;
  padding-left: 0;
  list-style: none;
}

.mrs-content ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #2a2a2a;
  padding: 4px 0 4px 28px;
  position: relative;
}

.mrs-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #C8A75B;
  font-weight: 700;
}

.mrs-content blockquote {
  border-left: 3px solid #C8A75B;
  margin: 24px 0;
  padding: 16px 24px;
  background: #f8faf9;
  font-style: italic;
  font-size: 16px;
  color: #333;
  line-height: 1.75;
}

.mrs-content > div[style*="overflow"],
.mrs-content .table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
}

.mrs-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.mrs-content table th {
  background: #1e7a3c;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.mrs-content table td {
  padding: 11px 16px;
  border-bottom: 1px solid #e8ede9;
  color: #333;
}

.mrs-content table tr:nth-child(even) td {
  background: #f4f8f5;
}

.mrs-content details {
  border-bottom: 1px solid #e5eae6;
}

.mrs-content details summary {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  list-style: none;
}

.mrs-content details summary::-webkit-details-marker { display: none; }

.mrs-content details summary::after {
  content: '+';
  font-size: 22px;
  color: #C8A75B;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
  font-family: monospace;
}

.mrs-content details[open] summary::after { content: '\2212'; }

.mrs-content details summary:hover { color: #1e7a3c; }

.mrs-content details > div,
.mrs-content details > p {
  padding-bottom: 20px;
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

/* Footer */
.mrs-footer {
  background: #183728;
  border-top: 1px solid rgba(200,167,91,0.15);
  padding: 48px 48px 32px;
  flex-shrink: 0;
}

.mrs-nav-slot--footer {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.mrs-nav-slot--footer .mrs-footer-nav,
.mrs-nav-slot--footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  width: 100%;
}

.mrs-nav-slot--footer .mrs-footer-link,
.mrs-nav-slot--footer nav a {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  color: rgba(232,240,234,0.6);
  transition: color 0.2s;
}

.mrs-nav-slot--footer .mrs-footer-link:hover,
.mrs-nav-slot--footer nav a:hover { color: #C8A75B; }

.mrs-footer-payments,
.mrs-footer-safe {
  border-top: 1px solid rgba(200,167,91,0.12);
  padding-top: 28px;
  margin-bottom: 28px;
}

.mrs-footer-safe {
  padding-top: 24px;
  margin-bottom: 24px;
}

.mrs-footer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(200,167,91,0.65);
  margin-bottom: 16px;
}

.mrs-payments-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mrs-payment-icon {
  width: 72px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.mrs-payment-icon:hover { opacity: 1; }

.mrs-payment-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mrs-safe-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mrs-safe-badge {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.mrs-safe-badge:hover { opacity: 1; }

.mrs-footer-copy {
  border-top: 1px solid rgba(200,167,91,0.12);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.mrs-footer-copy p {
  font-size: 12px;
  color: rgba(232,240,234,0.35);
}

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 768px) {
  .mrs-main { margin-left: 0; }

  .mrs-sidebar {
    transform: translateX(-240px);
  }

  .mrs-sidebar.is-open {
    transform: translateX(0);
  }

  .mrs-hamburger.hamburger-btn { display: flex; }

  .mrs-nav-slot--desktop { display: none; }
  .mrs-nav-slot--mobile { display: block; }

  .mrs-hero { height: 320px; }

  .mrs-hero-text {
    padding: 0 20px;
    max-width: 90vw;
  }

  .mrs-hero-h1 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .mrs-games { padding: 24px 16px 28px; }

  .mrs-game-card { width: 130px; }

  .mrs-content-section { padding: 32px 20px 48px; }

  .mrs-footer { padding: 32px 20px 24px; }

  .mrs-payments-row { gap: 8px; }

  .mrs-payment-icon {
    width: 44px;
    height: 22px;
  }

  .mrs-payment-icon:nth-child(n+6) { display: none; }
}

@media (max-width: 480px) {
  .mrs-hero { height: 260px; }
}

@media (min-width: 769px) {
  .mrs-nav-slot--desktop { display: block; }
  .mrs-nav-slot--mobile { display: none; }
}
