/* Elephant Casino global template */
:root {
  --el-bg: #050d20;
  --el-surface: #0a1733;
  --el-panel: #0d1b3d;
  --el-border: #1d3260;
  --el-border-2: #23407a;
  --el-text: #dfe7f5;
  --el-muted: #b9c8e4;
  --el-gold: #f5c451;
  --el-gold-light: #ffe08a;
}

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

html, body { margin: 0; padding: 0; background: var(--el-bg); }

body.el-body {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--el-text);
}

.el-page {
  background: var(--el-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--el-gold); text-decoration: none; cursor: pointer; }
a:hover { color: var(--el-gold-light); }

button { font-family: inherit; }

.noscroll {
  scrollbar-width: thin;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.noscroll::-webkit-scrollbar { height: 10px; }
.noscroll::-webkit-scrollbar-track { background: #0a1733; border-radius: 99px; }
.noscroll::-webkit-scrollbar-thumb { background: #24406f; border-radius: 99px; }
.noscroll::-webkit-scrollbar-thumb:hover { background: var(--el-gold); }

.el-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(#0a1733f2, #081029f2);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--el-border);
  box-shadow: 0 6px 24px #0006;
}

.el-hdr {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.el-logo-link {
  flex: 0 0 auto;
  width: 168px;
  height: 74px;
  max-width: 168px;
  max-height: 74px;
  display: block;
  overflow: hidden;
}

.el-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.el-main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
}

.el-nav-slot--desktop {
  flex: 1 1 auto;
  min-width: 0;
}

.el-nav-slot--desktop .el-main-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-family: Cinzel, serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--el-muted);
  white-space: nowrap;
  flex: 0 0 auto;
}

.el-nav-slot--desktop .el-main-link:hover {
  background: #14264d;
  color: #fff;
}

.el-nav-slot--desktop .el-main-link:first-child,
.el-nav-slot--desktop .el-main-link.el-main-link--active {
  font-weight: 700;
  color: var(--el-gold);
  background: #14264d;
}

.el-burger {
  display: none;
  flex: 0 0 auto;
  order: -1;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  cursor: pointer;
  background: #14264d;
  border: 1px solid #2c4a80;
  padding: 0;
}

.el-burger:hover { border-color: var(--el-gold); }

.el-header-auth {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.el-btn {
  cursor: pointer;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.el-btn--blue {
  padding: 8px 22px;
  min-width: 104px;
  min-height: 44px;
  border: 1px solid #3d63ad;
  border-radius: 12px;
  background: linear-gradient(180deg, #2a4f96 0%, #1b3567 60%, #142a55 100%);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px #00000099;
  box-shadow: 0 1px 0 #6d92d6 inset, 0 -2px 0 #101f42 inset, 0 8px 20px #00000059;
}

.el-btn--blue:hover { filter: brightness(1.12); }
.el-btn--blue:active { transform: scale(0.97); }

.el-btn--gold {
  padding: 8px 22px;
  min-width: 104px;
  min-height: 44px;
  border: 1px solid #a06b12;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffdf8a 0%, #f5c451 46%, #d99a20 100%);
  color: #3a2600;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 #ffe9a8;
  box-shadow: 0 1px 0 #fff3c9 inset, 0 -2px 0 #b87c17 inset, 0 8px 20px #00000059;
}

.el-btn--gold:hover { filter: brightness(1.12); }
.el-btn--gold:active { transform: scale(0.97); }

.el-btn--hero {
  padding: 20px 34px;
  min-width: 260px;
  min-height: 66px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
  filter: drop-shadow(0 10px 26px #00000073);
}

.el-btn--hero:hover {
  filter: brightness(1.1) drop-shadow(0 14px 30px #00000080);
  transform: translateY(-2px);
}

.el-btn--more {
  padding: 16px 32px;
  min-width: 220px;
  min-height: 58px;
  font-size: 17px;
  font-weight: 900;
}

.el-sect {
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px;
}

.el-sect--games { padding-bottom: 44px; }

.el-hero-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--el-border-2);
  box-shadow: 0 18px 50px #00000080;
  background: var(--el-surface);
}

.el-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.el-hero-ov {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.el-hero-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 48px 32px 12px;
}

.el-hero-title {
  font-family: Cinzel, serif;
  font-weight: 900;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 4px 20px #000c;
  text-wrap: pretty;
}

.el-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.el-sec-head-icon {
  display: flex;
  align-items: center;
  gap: 14px;
}

.el-icon-crown { width: 44px; height: 40px; object-fit: contain; }
.el-icon-slot { width: 40px; height: 34px; object-fit: contain; }
.el-icon-pay { width: 34px; height: 34px; object-fit: contain; }

.el-sec-title,
.el-pay-title {
  font-family: Cinzel, serif;
  font-weight: 700;
  margin: 0;
  font-size: 28px;
  color: #fff;
  letter-spacing: 0.01em;
}

.el-pay-title { font-size: 24px; }

.el-win-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.el-win-card {
  scroll-snap-align: start;
  flex: 0 0 200px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #12224a, #0b1631);
  border: 1px solid #234079;
  box-shadow: 0 8px 22px #00000059;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.el-win-card:hover {
  transform: translateY(-4px);
  border-color: var(--el-gold);
  box-shadow: 0 14px 32px #000000a6;
}

.el-win-thumb {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background-color: #060f24;
  background-size: cover;
  background-position: center;
}

.el-win-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 99px;
  background: #050d20cc;
  border: 1px solid #f5c45166;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--el-gold);
}

.el-win-meta {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.el-win-user {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #cfdcf3;
}

.el-win-coin { width: 18px; height: 18px; object-fit: contain; }

.el-win-amount {
  font-family: Cinzel, serif;
  font-size: 22px;
  font-weight: 900;
  color: #ffd766;
  letter-spacing: -0.01em;
}

.el-about-panel {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--el-border-2);
  background: linear-gradient(160deg, #101f45, #08122b 60%);
}

.el-about-bar {
  height: 6px;
  background: linear-gradient(90deg, #e5a521, #4aa3e0, #2f9e63, #c0392b, #e5a521);
}

.el-content {
  padding: 44px 44px 48px;
  max-width: 880px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #bccbe8;
}

.el-content h2,
.el-content h3 {
  font-family: Cinzel, serif;
  color: #fff;
  font-weight: 700;
}

.el-content h2 { font-size: 34px; line-height: 1.15; margin: 0 0 12px; }
.el-content h3 { font-size: 20px; margin: 0 0 14px; }

.el-content p { margin: 0 0 14px; }

.el-content ul,
.el-content ol { margin: 0; padding-left: 22px; }

.el-content blockquote {
  margin: 0;
  padding: 22px 26px;
  border-radius: 18px;
  background: linear-gradient(100deg, #1a2f5f, #12224a);
  border: 1px solid #f5c4513d;
  font-family: Cinzel, serif;
  font-size: 19px;
  line-height: 1.5;
  color: #ffe6a8;
  font-style: italic;
}

.el-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.el-content table th,
.el-content table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid #1a2e58;
}

.el-content table th {
  background: #0b1735;
  font-weight: 700;
  color: #e6e9ef;
}

.el-pay-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.el-pay-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 14px;
  scroll-snap-type: x mandatory;
}

.el-pay-plate {
  scroll-snap-align: start;
  flex: 0 0 150px;
  height: 78px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 14px 18px;
  background: var(--el-panel);
  border: 1px solid var(--el-border-2);
  cursor: pointer;
  transition: all 0.18s ease;
}

.el-pay-plate img {
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
  display: block;
}

.el-pay-plate:hover {
  border-color: var(--el-gold);
  background: #16295a;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #00000073;
}

.el-pay--visa img { filter: brightness(1.9) saturate(1.3); }
.el-pay--skrill img { filter: brightness(2.2) saturate(1.4); }
.el-pay--bright img { filter: brightness(1.9); }
.el-pay--mid img { filter: brightness(1.7); }

.el-ggrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}

.el-game {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #060f24;
  border: 1px solid #1c3260;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.el-game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.el-game:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--el-gold);
  box-shadow: 0 16px 34px #000000a6;
  z-index: 2;
}

.el-ggrid--cap .el-game--hidden { display: none; }

.el-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.el-more-wrap.is-hidden { display: none; }

.el-footer {
  border-top: 1px solid var(--el-border);
  background: #071026;
}

.el-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 36px 24px 44px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.el-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.el-sec-badge {
  height: 56px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--el-border-2);
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
}

.el-sec-badge:hover { border-color: var(--el-gold); }

.el-sec-badge img {
  max-height: 30px;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.el-footer-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--el-border-2), transparent);
}

.el-resp-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(100deg, #2a1216, #1a0d1f);
  border: 1px solid #c0392b73;
}

.el-resp-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.el-resp-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.el-resp-title {
  font-family: Cinzel, serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffb3a7;
}

.el-resp-desc {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.65;
  color: #c4a9ad;
}

.el-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.el-footer-logo-wrap {
  width: 150px;
  height: 66px;
  max-width: 150px;
  max-height: 66px;
  overflow: hidden;
  flex: 0 0 auto;
}

.el-footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.el-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  font-weight: 600;
}

.el-nav-slot--footer .el-footer-nav { gap: 11px; }

.el-footer-link {
  color: var(--el-muted);
}

.el-footer-link:hover { color: var(--el-gold); }

.el-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #030812cc;
  backdrop-filter: blur(3px);
}

.el-drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 292px;
  max-width: 84vw;
  background: linear-gradient(180deg, #0d1c40, #071026);
  border-right: 1px solid #23407a;
  box-shadow: 14px 0 40px #000000a6;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.el-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.el-drawer-logo {
  width: 128px;
  height: 56px;
  object-fit: contain;
}

.el-drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: #14264d;
  border: 1px solid #2c4a80;
  padding: 0;
}

.el-nav-slot--mobile .el-main-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.el-nav-slot--mobile .el-main-link {
  padding: 15px 16px;
  min-height: 52px;
  display: flex;
  align-items: center;
  border-radius: 11px;
  font-family: Cinzel, serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #cbd8f0;
}

.el-nav-slot--mobile .el-main-link:hover,
.el-nav-slot--mobile .el-main-link.el-main-link--active {
  color: var(--el-gold);
  background: #14264d;
  font-weight: 700;
}

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

@media (max-width: 900px) {
  .el-hdr { padding: 8px 12px; gap: 8px; }
  .el-nav-slot--desktop { display: none; }
  .el-burger { display: grid; }
  .el-btn { min-height: 42px; padding: 8px 16px; font-size: 13px; letter-spacing: 0; }
  .el-logo-link { width: 104px; height: 46px; max-width: 104px; max-height: 46px; }
  .el-sect { padding-left: 14px; padding-right: 14px; }
  .el-hero-wrap { border-radius: 16px; }
  .el-hero-img { height: 420px; object-fit: cover; object-position: 22% center; }
  .el-hero-ov { grid-template-columns: 1fr; background: linear-gradient(#050d2066, #050d20cc); }
  .el-hero-spacer { display: none; }
  .el-hero-col { align-items: center; text-align: center; padding: 24px 18px 44px; gap: 18px; justify-content: flex-end; }
  .el-hero-title { font-size: 29px; line-height: 1.12; }
  .el-btn--hero { width: auto; min-width: 0; max-width: 100%; white-space: normal; min-height: 56px; padding: 16px 26px; font-size: 15px; }
  .el-content { padding: 26px 18px 30px; }
  .el-content h2 { font-size: 25px; }
  .el-sec-title { font-size: 22px; }
  .el-sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .el-win-card { flex: 0 0 152px; }
  .el-pay-plate { flex: 0 0 128px; height: 70px; }
  .el-login-btn { display: none; }
  .el-btn--gold { padding: 8px 18px; font-size: 13.5px; }
  .el-ggrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .el-ggrid--cap .el-game:nth-child(n+5) { display: none; }
  .el-footer-logo-wrap { display: none; }
  .el-footer-row { align-items: center; }
  .el-footer-nav { justify-content: center; text-align: center; }
  .el-badge-row { justify-content: center; }
  .el-resp-panel { flex-direction: column; align-items: center; text-align: center; }
  .el-resp-text { text-align: center; }
  .el-pay-head { flex-wrap: nowrap; gap: 10px; }
  .el-pay-title { font-size: 19px; white-space: nowrap; }
  .el-icon-pay { width: 26px; height: 26px; }
  .el-btn--more { min-height: 52px; padding: 14px 26px; font-size: 15px; }
}
