/* ══════════════════════════════════════════
   TWINDOR CASINO — style.css
   ══════════════════════════════════════════ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:       #FFD166;
  --gold2:      #FF9F1C;
  --purple:     #7B2FBE;
  --purple2:    #9D4EDD;
  --pink:       #E040FB;
  --teal:       #00C9A7;
  --bg:         #0B0618;
  --bg2:        #110B22;
  --bg3:        #1A1133;
  --card:       #1E1538;
  --text:       #C8C0DF;
  --text-dim:   #7A6D99;
  --white:      #FFFFFF;
  --radius:     14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.78;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }


/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(11, 6, 24, 0.80);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.03em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color .2s;
}

nav ul a:hover {
  color: var(--gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff !important;
  padding: 9px 24px;
  border-radius: 8px;
  font-weight: 700 !important;
  box-shadow: 0 0 18px rgba(224, 64, 251, 0.35);
  transition: box-shadow .25s, transform .2s !important;
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(224, 64, 251, 0.6) !important;
  transform: translateY(-1px);
}


/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 90px;
}

/* layered background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(123, 47, 190, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 10% 80%,  rgba(0, 201, 167, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 90%,  rgba(224, 64, 251, 0.18) 0%, transparent 60%),
    var(--bg);
}

/* dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 420px; height: 420px;
  background: rgba(123, 47, 190, 0.3);
  top: -80px; left: -100px;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 320px; height: 320px;
  background: rgba(224, 64, 251, 0.2);
  bottom: 0; right: -60px;
  animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 220px; height: 220px;
  background: rgba(0, 201, 167, 0.15);
  top: 40%; left: 5%;
  animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.4), rgba(224, 64, 251, 0.25));
  border: 1px solid rgba(224, 64, 251, 0.4);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(224, 64, 251, 0.2);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  max-width: 800px;
  margin-bottom: 26px;
}

h1 .grad {
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #0B0618;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 17px 50px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 0 40px rgba(255, 159, 28, 0.45), 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform .2s, box-shadow .25s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 60px rgba(255, 209, 102, 0.65), 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* stats */
.stats-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 70px;
  flex-wrap: wrap;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 22px 32px;
  text-align: center;
  min-width: 130px;
  transition: transform .2s, border-color .2s;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 78, 221, 0.5);
}

.stat:nth-child(1) .stat-num { color: var(--gold); }
.stat:nth-child(2) .stat-num { color: var(--teal); }
.stat:nth-child(3) .stat-num { color: var(--pink); }
.stat:nth-child(4) .stat-num { color: var(--purple2); }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ══════════════════════════════
   CONTENT WRAPPER
══════════════════════════════ */
.content {
  max-width: 880px;
  margin: 0 auto;
  padding: 90px 28px 60px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--white);
  margin: 68px 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.h2-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ic-gold   { background: linear-gradient(135deg, rgba(255,209,102,.25), rgba(255,159,28,.15)); border: 1px solid rgba(255,209,102,.3); }
.ic-purple { background: linear-gradient(135deg, rgba(123,47,190,.35),  rgba(157,78,221,.2));  border: 1px solid rgba(157,78,221,.35); }
.ic-teal   { background: linear-gradient(135deg, rgba(0,201,167,.25),   rgba(0,201,167,.1));   border: 1px solid rgba(0,201,167,.3); }
.ic-pink   { background: linear-gradient(135deg, rgba(224,64,251,.25),  rgba(224,64,251,.1));  border: 1px solid rgba(224,64,251,.3); }
.ic-blue   { background: linear-gradient(135deg, rgba(56,130,255,.25),  rgba(56,130,255,.1));  border: 1px solid rgba(56,130,255,.3); }
.ic-red    { background: linear-gradient(135deg, rgba(255,80,80,.25),   rgba(255,80,80,.1));   border: 1px solid rgba(255,80,80,.3); }

p {
  margin-bottom: 18px;
}

strong {
  color: var(--white);
}

/* ── DIVIDER ── */
.divider {
  border: none;
  margin: 56px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157,78,221,0.4), rgba(224,64,251,0.3), transparent);
}


/* ══════════════════════════════
   LISTS
══════════════════════════════ */
.styled-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 22px 0 30px;
}

.styled-list li {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.93rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.styled-list li::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
}

.styled-list li:nth-child(1)::before { background: linear-gradient(180deg, var(--gold),    var(--gold2)); }
.styled-list li:nth-child(2)::before { background: linear-gradient(180deg, var(--teal),    #00a386); }
.styled-list li:nth-child(3)::before { background: linear-gradient(180deg, var(--purple2), var(--purple)); }
.styled-list li:nth-child(4)::before { background: linear-gradient(180deg, var(--pink),    #b030c0); }

.styled-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 78, 221, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.list-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.list-text strong {
  color: var(--gold);
  display: block;
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.list-text span {
  color: var(--text);
  font-size: 0.88rem;
}


/* ══════════════════════════════
   TABLES
══════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  margin: 26px 0 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(157, 78, 221, 0.2);
  box-shadow: 0 0 40px rgba(123, 47, 190, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
}

thead {
  background: linear-gradient(90deg, rgba(123, 47, 190, 0.5), rgba(224, 64, 251, 0.3));
}

thead th {
  padding: 15px 22px;
  text-align: left;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  transition: background .15s;
}

tbody tr:hover {
  background: rgba(157, 78, 221, 0.07);
}

tbody td {
  padding: 15px 22px;
}

tbody td:first-child {
  color: var(--white);
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-fast { background: rgba(0,201,167,0.15);  color: var(--teal);    border: 1px solid rgba(0,201,167,0.3); }
.tag-mid  { background: rgba(255,209,102,0.15); color: var(--gold);    border: 1px solid rgba(255,209,102,0.3); }
.tag-slow { background: rgba(157,78,221,0.15);  color: var(--purple2); border: 1px solid rgba(157,78,221,0.3); }

.stars     { color: var(--gold); letter-spacing: 2px; font-size: 0.92rem; }
.stars-dim { color: var(--text-dim); }


/* ══════════════════════════════
   HIGHLIGHT BOX
══════════════════════════════ */
.highlight {
  background: linear-gradient(135deg, rgba(123,47,190,0.18), rgba(224,64,251,0.08));
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 22px 0;
  color: var(--text);
  font-size: 0.97rem;
  font-style: italic;
  line-height: 1.75;
  position: relative;
  box-shadow: 0 0 30px rgba(123, 47, 190, 0.1);
}

.highlight::before {
  content: '"';
  position: absolute;
  top: -10px; left: 20px;
  font-size: 4rem;
  color: var(--purple2);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  opacity: .6;
}


/* ══════════════════════════════
   CTA SECTION
══════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(135deg,
    rgba(123,47,190,0.35) 0%,
    rgba(11,6,24,0.95) 50%,
    rgba(224,64,251,0.2) 100%
  );
  border-top: 1px solid rgba(157, 78, 221, 0.25);
  border-bottom: 1px solid rgba(224, 64, 251, 0.15);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-orb-1 { width: 350px; height: 350px; background: rgba(123,47,190,0.35); top: -100px; left: -80px; }
.cta-orb-2 { width: 280px; height: 280px; background: rgba(224,64,251,0.25); bottom: -60px; right: -60px; }

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 18px;
  display: block;
}

.cta-section p {
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
}

.cta-grad {
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-secondary {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 17px 50px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 50px rgba(224,64,251,0.4), 0 4px 24px rgba(0,0,0,0.4);
  transition: transform .2s, box-shadow .25s;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 70px rgba(224,64,251,0.65), 0 8px 36px rgba(0,0,0,0.5);
}


/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: #060310;
  padding: 36px 28px;
  text-align: center;
  border-top: 1px solid rgba(157, 78, 221, 0.12);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}

footer p {
  font-size: 0.77rem;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

footer p a {
  color: var(--purple2);
  text-decoration: none;
}


/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 700px) {
  nav { padding: 14px 20px; }
  nav ul { display: none; }
  .content { padding: 70px 18px 40px; }
  .stats-row { gap: 12px; }
  .stat { padding: 16px 20px; min-width: 110px; }
  .styled-list { grid-template-columns: 1fr; }
  h2 { font-size: 1.4rem; }
}


/* ══════════════════════════════
   BANNERS
══════════════════════════════ */

/* ── Общая обёртка ── */
.banner-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(157, 78, 221, 0.25);
  box-shadow:
    0 0 0 1px rgba(224, 64, 251, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(123, 47, 190, 0.15);
  margin: 36px 0;
  transition: box-shadow .3s, transform .3s;
}

.banner-wrap:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(224, 64, 251, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(123, 47, 190, 0.25);
}

/* ── Картинка ── */
.banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.banner-wrap:hover .banner-img {
  transform: scale(1.03);
}

/* ── Горизонтальный банер ── */
.banner-horizontal {
  width: 100%;
  max-height: 420px;
}

.banner-horizontal .banner-img {
  max-height: 420px;
}

/* ── Вертикальный банер ── */
.banner-vertical {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Оверлей (общий) ── */
.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 44px;
  background: linear-gradient(
    90deg,
    rgba(11, 6, 24, 0.72) 0%,
    rgba(11, 6, 24, 0.35) 55%,
    transparent 100%
  );
  gap: 18px;
}

/* ── Оверлей снизу (для вертикального) ── */
.banner-overlay--bottom {
  inset: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 28px 36px;
  text-align: center;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(11, 6, 24, 0.6) 65%,
    rgba(11, 6, 24, 0.88) 100%
  );
}

/* ── Лейбл над кнопкой ── */
.banner-label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(123,47,190,0.5), rgba(224,64,251,0.3));
  border: 1px solid rgba(224, 64, 251, 0.4);
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 0 16px rgba(224, 64, 251, 0.2);
}

/* ── Подпись под вертикальным банером ── */
.banner-caption {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  text-align: center;
}

/* ── Кнопки внутри банеров ── */
.banner-overlay .btn-primary,
.banner-overlay .btn-secondary {
  font-size: 0.95rem;
  padding: 13px 34px;
}

/* ── Адаптив ── */
@media (max-width: 700px) {
  .banner-horizontal {
    max-height: 240px;
  }

  .banner-overlay {
    padding: 20px 22px;
    gap: 12px;
  }

  .banner-overlay .btn-primary,
  .banner-overlay .btn-secondary {
    font-size: 0.82rem;
    padding: 10px 22px;
  }

  .banner-vertical {
    max-width: 100%;
  }
}
