/* style.css */

:root{
    --bg-0:#0a0420;
    --bg-1:#140833;
    --bg-2:#1d0e4a;
    --surface:#1a0d3d;
    --surface-2:#241259;
    --line:rgba(155,120,255,.18);
    --violet-1:#8b5cf6;
    --violet-2:#a855f7;
    --violet-3:#c084fc;
    --pink:#ec4899;
    --cyan:#22d3ee;
    --text:#e9e4ff;
    --text-dim:#a89ec9;
    --gold:#fbbf24;
    --radius:14px;
    --radius-sm:10px;
    --shadow-glow:0 0 24px rgba(139,92,246,.35);
    --shadow-card:0 8px 24px rgba(0,0,0,.35);
    --grad-primary:linear-gradient(135deg,#8b5cf6 0%,#c084fc 50%,#ec4899 100%);
    --grad-surface:linear-gradient(160deg,#1d0e4a 0%,#140833 100%);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

html{scroll-behavior:smooth}

body{
    font-family:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(139,92,246,.25), transparent 50%),
        radial-gradient(ellipse at 80% 40%, rgba(236,72,153,.18), transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(34,211,238,.12), transparent 60%),
        var(--bg-0);
    background-attachment:fixed;
    color:var(--text);
    min-height:100vh;
    overflow-x:hidden;
    line-height:1.5;
}

body::before{
    content:'';
    position:fixed;
    inset:0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, #fff, transparent),
        radial-gradient(1px 1px at 60% 70%, #fff, transparent),
        radial-gradient(1px 1px at 80% 10%, #fff, transparent),
        radial-gradient(2px 2px at 30% 80%, #c084fc, transparent),
        radial-gradient(1px 1px at 90% 50%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 10% 60%, #22d3ee, transparent);
    background-size:400px 400px;
    opacity:.4;
    pointer-events:none;
    z-index:0;
    animation:drift 60s linear infinite;
}

@keyframes drift{
    from{transform:translateY(0)}
    to{transform:translateY(-400px)}
}

a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;display:block}

/* ---------- TOP BAR ---------- */
.top-bar{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(10,4,32,.85);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
}

.top-bar__inner{
    max-width:1400px;
    margin:0 auto;
    padding:14px 20px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:20px;
    align-items:center;
}

.brand__img{
    height:44px;
    width:auto;
    filter:drop-shadow(0 0 12px rgba(192,132,252,.5));
    transition:transform .3s ease;
}
.brand:hover .brand__img{transform:scale(1.05)}

/* Search */
.search{
    position:relative;
    max-width:360px;
    width:100%;
    justify-self:start;
}
.search__input{
    width:100%;
    background:rgba(36,18,89,.6);
    border:1px solid var(--line);
    border-radius:999px;
    padding:11px 44px 11px 18px;
    color:var(--text);
    font-size:14px;
    outline:none;
    transition:all .25s ease;
}
.search__input::placeholder{color:var(--text-dim)}
.search__input:focus{
    border-color:var(--violet-2);
    box-shadow:0 0 0 3px rgba(168,85,247,.2);
    background:rgba(36,18,89,.9);
}
.search__btn{
    position:absolute;
    right:6px;
    top:50%;
    transform:translateY(-50%);
    background:var(--grad-primary);
    border:none;
    width:34px;
    height:34px;
    border-radius:50%;
    color:#fff;
    cursor:pointer;
    display:grid;
    place-items:center;
    transition:transform .2s ease;
}
.search__btn:hover{transform:translateY(-50%) scale(1.08)}

/* Auth */
.auth{display:flex;gap:10px;align-items:center}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:10px 20px;
    border-radius:999px;
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    border:none;
    transition:all .25s ease;
    white-space:nowrap;
    letter-spacing:.2px;
}
.btn--primary{
    background:var(--grad-primary);
    color:#fff;
    box-shadow:0 4px 14px rgba(139,92,246,.4);
}
.btn--primary:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 22px rgba(168,85,247,.55);
}
.btn--ghost{
    background:transparent;
    color:var(--text);
    border:1px solid var(--line);
}
.btn--ghost:hover{
    border-color:var(--violet-2);
    background:rgba(139,92,246,.12);
}
.btn--lg{padding:14px 28px;font-size:15px}

/* Burger */
.burger{
    display:none;
    background:transparent;
    border:1px solid var(--line);
    border-radius:10px;
    width:40px;
    height:40px;
    cursor:pointer;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    padding:0;
}
.burger span{
    width:18px;
    height:2px;
    background:var(--text);
    border-radius:2px;
    transition:transform .3s ease;
}

/* ---------- WRAP ---------- */
.wrap{
    max-width:1400px;
    margin:0 auto;
    padding:24px 20px 60px;
    position:relative;
    z-index:1;
}

/* ---------- HERO GRID ---------- */
.hero-grid{
    display:grid;
    grid-template-columns:240px 1fr;
    gap:20px;
    margin-bottom:28px;
}

.side-menu{
    background:var(--grad-surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:10px;
    display:flex;
    flex-direction:column;
    gap:2px;
    height:fit-content;
}
.side-menu__item{
    padding:11px 14px;
    border-radius:var(--radius-sm);
    color:var(--text-dim);
    font-size:14px;
    font-weight:500;
    transition:all .2s ease;
    display:flex;
    align-items:center;
    gap:10px;
}
.side-menu__item:hover{
    background:rgba(139,92,246,.15);
    color:var(--text);
    transform:translateX(3px);
}
.side-menu__item--active{
    background:var(--grad-primary);
    color:#fff;
    box-shadow:var(--shadow-glow);
}
.side-menu__item--active:hover{transform:translateX(0)}

/* Banner */
.banner{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    display:block;
    min-height:340px;
    background:var(--grad-surface);
    border:1px solid var(--line);
    box-shadow:var(--shadow-card);
    transition:transform .3s ease;
}
.banner:hover{transform:translateY(-3px)}
.banner__img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.55;
}
.banner__overlay{
    position:relative;
    z-index:2;
    padding:40px;
    height:100%;
    min-height:340px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:16px;
    background:linear-gradient(90deg, rgba(10,4,32,.85) 0%, rgba(10,4,32,.3) 100%);
}
.banner__tag{
    display:inline-block;
    padding:6px 14px;
    background:rgba(251,191,36,.15);
    color:var(--gold);
    border:1px solid rgba(251,191,36,.4);
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
}
.banner__title{
    font-size:34px;
    font-weight:800;
    line-height:1.15;
    background:linear-gradient(90deg,#fff,#c084fc);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    max-width:520px;
}

/* ---------- BLOCKS ---------- */
.block{margin-bottom:32px}
.block__head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
    padding:0 4px;
}
.block__title{
    font-size:20px;
    font-weight:700;
    color:var(--text);
    position:relative;
    padding-left:14px;
}
.block__title::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:4px;
    height:20px;
    background:var(--grad-primary);
    border-radius:4px;
}
.block__more{
    color:var(--violet-3);
    font-size:13px;
    font-weight:600;
    transition:color .2s ease;
}
.block__more:hover{color:var(--pink)}

/* Horizontal scroll */
.hscroll{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:4px 4px 14px;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin;
    scrollbar-color:var(--violet-2) transparent;
}
.hscroll::-webkit-scrollbar{height:6px}
.hscroll::-webkit-scrollbar-track{background:transparent}
.hscroll::-webkit-scrollbar-thumb{background:var(--violet-2);border-radius:3px}

.chip{
    flex:0 0 auto;
    padding:14px 22px;
    background:var(--grad-surface);
    border:1px solid var(--line);
    border-radius:12px;
    font-size:14px;
    font-weight:600;
    color:var(--text);
    scroll-snap-align:start;
    transition:all .25s ease;
    white-space:nowrap;
}
.chip:hover{
    border-color:var(--violet-2);
    background:linear-gradient(160deg,rgba(139,92,246,.25),rgba(236,72,153,.15));
    transform:translateY(-3px);
    box-shadow:var(--shadow-glow);
}

/* Game cards */
.hscroll--cards{gap:16px}
.card{
    flex:0 0 180px;
    aspect-ratio:3/4;
    background:var(--grad-surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    position:relative;
    overflow:hidden;
    scroll-snap-align:start;
    cursor:pointer;
    transition:transform .35s ease, box-shadow .35s ease;
    display:block;
}
.card__emoji{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    font-size:78px;
    transition:transform .4s cubic-bezier(.34,1.56,.64,1), filter .3s ease;
    filter:drop-shadow(0 4px 12px rgba(0,0,0,.5));
}
.card__glow{
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 50% 30%, rgba(192,132,252,.35), transparent 60%);
    opacity:0;
    transition:opacity .35s ease;
}
.card__overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(10,4,32,0) 40%, rgba(10,4,32,.95) 100%);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:14px;
    gap:8px;
    transform:translateY(20%);
    opacity:0;
    transition:all .35s ease;
}
.card__title{
    font-size:14px;
    font-weight:700;
    color:#fff;
}
.card__provider{
    font-size:11px;
    color:var(--text-dim);
    text-transform:uppercase;
    letter-spacing:.5px;
}
.card__play{
    margin-top:6px;
    padding:8px 0;
    text-align:center;
    background:var(--grad-primary);
    border-radius:8px;
    font-size:13px;
    font-weight:700;
    color:#fff;
    letter-spacing:.5px;
    transform:translateY(10px);
    opacity:0;
    transition:all .3s ease .1s;
}
.card:hover{
    transform:translateY(-6px) scale(1.02);
    box-shadow:0 12px 32px rgba(139,92,246,.4);
    border-color:var(--violet-2);
}
.card:hover .card__emoji{
    transform:translateY(-18%) scale(1.15) rotate(-4deg);
    filter:drop-shadow(0 8px 18px rgba(192,132,252,.6));
}
.card:hover .card__glow{opacity:1}
.card:hover .card__overlay{transform:translateY(0);opacity:1}
.card:hover .card__play{transform:translateY(0);opacity:1}

.card__badge{
    position:absolute;
    top:10px;
    left:10px;
    z-index:2;
    padding:4px 9px;
    background:var(--grad-primary);
    border-radius:6px;
    font-size:10px;
    font-weight:700;
    color:#fff;
    letter-spacing:.5px;
    text-transform:uppercase;
    box-shadow:0 4px 10px rgba(139,92,246,.5);
}

/* ---------- TEXT BLOCK ---------- */
.text-block{
    background:var(--grad-surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:32px;
    margin-top:32px;
    color:var(--text);
}
.text-block h1{
    font-size:36px;
    font-weight:800;
    line-height:1.2;
    margin-bottom:18px;
    background:linear-gradient(90deg,#fff,#c084fc,#ec4899);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}
.text-block h2{
    font-size:26px;
    font-weight:700;
    margin:24px 0 12px;
    color:#fff;
}
.text-block h3{
    font-size:20px;
    font-weight:700;
    margin:20px 0 10px;
    color:var(--violet-3);
}
.text-block p{
    font-size:15px;
    line-height:1.7;
    color:var(--text-dim);
    margin-bottom:14px;
}
.text-block ul,
.text-block ol{
    margin:14px 0 18px 22px;
    color:var(--text-dim);
}
.text-block ul li,
.text-block ol li{
    margin-bottom:8px;
    line-height:1.6;
    font-size:15px;
}
.text-block ul li::marker{color:var(--violet-2)}
.text-block a{color:var(--violet-3);text-decoration:underline}
.text-block a:hover{color:var(--pink)}

.text-block table{
    width:100%;
    border-collapse:collapse;
    margin:18px 0;
    background:rgba(10,4,32,.4);
    border-radius:var(--radius-sm);
    overflow:hidden;
    font-size:14px;
}
.text-block th,
.text-block td{
    padding:12px 14px;
    text-align:left;
    border-bottom:1px solid var(--line);
}
.text-block th{
    background:var(--grad-primary);
    color:#fff;
    font-weight:700;
    letter-spacing:.3px;
}
.text-block tr:hover td{background:rgba(139,92,246,.08)}
.text-block tr:last-child td{border-bottom:none}

.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ---------- FOOTER ---------- */
.foot{
    margin-top:60px;
    background:linear-gradient(180deg, transparent, rgba(10,4,32,.9));
    border-top:1px solid var(--line);
    position:relative;
    z-index:1;
}
.foot__inner{
    max-width:1400px;
    margin:0 auto;
    padding:48px 20px 24px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:32px;
}
.foot__col h4{
    font-size:15px;
    font-weight:700;
    color:#fff;
    margin-bottom:14px;
    position:relative;
    padding-bottom:10px;
}
.foot__col h4::after{
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    width:32px;
    height:2px;
    background:var(--grad-primary);
    border-radius:2px;
}
.foot__col ul li{margin-bottom:9px}
.foot__col ul li a{
    color:var(--text-dim);
    font-size:14px;
    transition:color .2s ease, padding-left .2s ease;
}
.foot__col ul li a:hover{
    color:var(--violet-3);
    padding-left:4px;
}
.foot__bottom{
    max-width:1400px;
    margin:0 auto;
    padding:20px;
    border-top:1px solid var(--line);
    text-align:center;
}
.foot__bottom p{
    font-size:12px;
    color:var(--text-dim);
    line-height:1.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
    .hero-grid{grid-template-columns:200px 1fr}
    .banner__title{font-size:28px}
    .foot__inner{grid-template-columns:repeat(2,1fr);gap:28px}
}

@media (max-width:768px){
    .top-bar__inner{
        grid-template-columns:auto 1fr auto;
        gap:12px;
        padding:12px 14px;
    }
    .brand__img{height:36px}
    .auth{display:none}
    .burger{display:flex}
    .search{max-width:none}
    .search__input{padding:9px 40px 9px 14px;font-size:13px}

    .wrap{padding:16px 14px 40px}

    .hero-grid{
        grid-template-columns:1fr;
        gap:14px;
    }
    .side-menu{
        display:none;
        order:2;
    }
    .side-menu.is-open{
        display:flex;
        flex-direction:row;
        overflow-x:auto;
        padding:10px;
        gap:8px;
    }
    .side-menu.is-open .side-menu__item{
        flex:0 0 auto;
        white-space:nowrap;
        padding:9px 14px;
        font-size:13px;
    }

    .banner{min-height:220px}
    .banner__overlay{
        padding:24px;
        min-height:220px;
        background:linear-gradient(180deg, rgba(10,4,32,.4) 0%, rgba(10,4,32,.9) 100%);
    }
    .banner__title{font-size:22px}
    .btn--lg{padding:11px 22px;font-size:14px}

    .block__title{font-size:17px}
    .chip{padding:11px 16px;font-size:13px}

    .card{flex:0 0 140px}
    .card__emoji{font-size:60px}
    .card__title{font-size:13px}
    .card__play{font-size:12px;padding:7px 0}
    /* on touch — show overlay always dim */
    .card__overlay{
        opacity:1;
        transform:translateY(0);
        background:linear-gradient(180deg, rgba(10,4,32,0) 55%, rgba(10,4,32,.95) 100%);
    }
    .card__play{opacity:1;transform:translateY(0)}

    .text-block{padding:22px 18px}
    .text-block h1{font-size:26px}
    .text-block h2{font-size:20px;margin-top:16px;margin-bottom:8px}
    .text-block p{font-size:14px;line-height:1.5;color:#ccc}
}
/* Continuing style.css */

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 8, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(155, 89, 255, 0.25);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(80, 20, 160, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(170, 100, 255, 0.6);
  border: 1px solid rgba(200, 150, 255, 0.4);
}

.brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e9dcff;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(170, 100, 255, 0.6);
}

.search-wrap {
  flex: 1;
  max-width: 320px;
  position: relative;
}

.search-field {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: 30px;
  border: 1px solid rgba(155, 89, 255, 0.35);
  background: rgba(30, 15, 60, 0.6);
  color: #f0e6ff;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.search-field::placeholder {
  color: #a898c8;
}

.search-field:focus {
  border-color: #b985ff;
  box-shadow: 0 0 0 3px rgba(170, 100, 255, 0.25);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.7;
}

.auth-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.btn-ghost {
  background: transparent;
  color: #e0cfff;
  border: 1px solid rgba(185, 133, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(155, 89, 255, 0.15);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #7b2cff 0%, #b366ff 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(123, 44, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(155, 89, 255, 0.7);
}

/* === Layout: sections + banner === */
.top-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  margin-top: 32px;
}

.nav-panel {
  background: linear-gradient(180deg, rgba(40, 15, 80, 0.75) 0%, rgba(20, 8, 50, 0.85) 100%);
  border: 1px solid rgba(155, 89, 255, 0.25);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 32px rgba(60, 20, 120, 0.35);
}

.nav-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #c9a8ff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(155, 89, 255, 0.2);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #d8c8ff;
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 0.25s ease, transform 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: rgba(155, 89, 255, 0.18);
  color: #fff;
  transform: translateX(4px);
  border-color: rgba(185, 133, 255, 0.35);
}

.nav-icon {
  font-size: 1.1rem;
}

.hero-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 12px 40px rgba(80, 30, 160, 0.5);
  border: 1px solid rgba(185, 133, 255, 0.3);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 10, 70, 0.55) 0%, rgba(80, 30, 160, 0.25) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  color: #fff;
  text-shadow: 0 0 24px rgba(155, 89, 255, 0.8);
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-text {
  color: #e6d8ff;
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 20px;
}

.hero-cta {
  align-self: flex-start;
}

/* === Sections === */
.section-block {
  margin-top: 44px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(155, 89, 255, 0.2);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  color: #e9dcff;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(155, 89, 255, 0.5);
}

/* === Providers row === */
.providers-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: #7b2cff rgba(30, 15, 60, 0.4);
}

.providers-row::-webkit-scrollbar {
  height: 8px;
}

.providers-row::-webkit-scrollbar-track {
  background: rgba(30, 15, 60, 0.4);
  border-radius: 4px;
}

.providers-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #7b2cff, #b366ff);
  border-radius: 4px;
}

.provider-card {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(60, 25, 120, 0.55), rgba(30, 10, 70, 0.75));
  border: 1px solid rgba(155, 89, 255, 0.25);
  color: #e0cfff;
  text-decoration: none;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.provider-card:hover {
  transform: translateY(-4px);
  border-color: #b985ff;
  box-shadow: 0 10px 28px rgba(155, 89, 255, 0.45);
}

.provider-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

/* === Games grid === */
.games-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
}

.game-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(155deg, #3a1580 0%, #1a0845 100%);
  border: 1px solid rgba(185, 133, 255, 0.28);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(185, 133, 255, 0.25), transparent 60%);
  pointer-events: none;
}

.game-emoji {
  font-size: 3.6rem;
  z-index: 1;
  transition: transform 0.35s ease, opacity 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.game-name {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.82rem;
  color: #d8c8ff;
  padding: 0 8px;
  z-index: 2;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 10, 70, 0.4), rgba(80, 30, 160, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.play-btn {
  padding: 12px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff6bd6, #b366ff);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transform: translateY(20px) scale(0.9);
  transition: transform 0.35s ease;
  box-shadow: 0 8px 24px rgba(255, 107, 214, 0.5);
}

.game-tile:hover {
  transform: translateY(-6px);
  border-color: #ff6bd6;
  box-shadow: 0 14px 40px rgba(179, 102, 255, 0.55);
}

.game-tile:hover .game-emoji {
  transform: scale(1.15) rotate(-6deg);
  opacity: 0.5;
}

.game-tile:hover .game-overlay {
  opacity: 1;
}

.game-tile:hover .play-btn {
  transform: translateY(0) scale(1);
  animation: pulseGlow 1.4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 107, 214, 0.5); }
  50% { box-shadow: 0 8px 32px rgba(255, 107, 214, 0.9), 0 0 40px rgba(179, 102, 255, 0.6); }
}

/* === Content block === */
.content-block {
  margin-top: 60px;
  padding: 32px;
  background: linear-gradient(165deg, rgba(40, 15, 80, 0.6), rgba(20, 8, 50, 0.8));
  border: 1px solid rgba(155, 89, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(60, 20, 120, 0.3);
}

.content-block h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.6rem;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(179, 102, 255, 0.7);
  letter-spacing: 2px;
}

.content-block h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  color: #d8b8ff;
  margin: 28px 0 14px;
  letter-spacing: 1px;
}

.content-block h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  color: #c9a8ff;
  margin: 22px 0 12px;
}

.content-block p {
  color: #d8c8ff;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-block ul,
.content-block ol {
  margin: 14px 0 20px 24px;
  color: #d8c8ff;
}

.content-block li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(20, 8, 50, 0.6);
}

.content-block th,
.content-block td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(155, 89, 255, 0.2);
}

.content-block th {
  background: linear-gradient(135deg, #4a1a9e, #7b2cff);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.8px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.content-block td {
  color: #e0cfff;
  font-size: 0.95rem;
}

.content-block tr:hover td {
  background: rgba(155, 89, 255, 0.12);
}

/* === Footer === */
.site-footer {
  margin-top: 70px;
  background: linear-gradient(180deg, rgba(20, 8, 50, 0.9), rgba(8, 3, 25, 1));
  border-top: 1px solid rgba(155, 89, 255, 0.3);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 28px;
}

.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  color: #c9a8ff;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #a898c8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: #e9dcff;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(155, 89, 255, 0.15);
  color: #8878a8;
  font-size: 0.85rem;
}

.footer-bottom strong {
  color: #c9a8ff;
}

/* === Responsive === */
@media (max-width: 960px) {
  .top-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-overlay {
    padding: 28px;
  }

  .content-block h1 {
    font-size: 2rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 12px;
  }

  .search-wrap {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .btn {
    padding: 8px 14px;
    font-size: 0.75rem;
  }

  .hero-banner,
  .hero-banner img {
    min-height: 220px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.15rem;
  }

  .games-row {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }

  .game-emoji {
    font-size: 2.8rem;
  }

  .play-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .content-block {
    padding: 20px;
  }

  .content-block h1 {
    font-size: 1.6rem;
  }

  .content-block table {
    font-size: 0.85rem;
  }

  .content-block th,
  .content-block td {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .auth-group {
    gap: 6px;
  }

  .btn {
    padding: 7px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }

  .provider-card {
    min-width: 110px;
    padding: 14px;
    font-size: 0.85rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}
.star-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-wrap { position: relative; z-index: 1; }
/* === Мобільна адаптація для ігор === */
@media (max-width: 768px) {
  .game-tile {
    min-width: 140px;
    width: 140px;
    height: 160px;
    padding: 12px;
  }

  .game-emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
  }

  .game-name {
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  /* Провайдери теж підганяємо */
  .provider-card {
    min-width: 110px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .provider-icon {
    font-size: 22px;
  }
}

/* Дуже маленькі екрани (старі телефони) */
@media (max-width: 380px) {
  .game-tile {
    min-width: 120px;
    width: 120px;
    height: 145px;
  }

  .game-emoji {
    font-size: 40px;
  }

  .game-name {
    font-size: 12px;
  }
}
/* === Бургер меню на мобілці === */
@media (max-width: 900px) {
  .side-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: linear-gradient(180deg, #1a0b2e 0%, #0d0620 100%);
    padding: 20px 16px;
    z-index: 100;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(180, 130, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .side-menu.is-open {
    left: 0;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Затемнення фону коли меню відкрите */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
    top: 70px;
  }

  /* Анімація бургера — стає хрестиком коли відкрито */
  .burger {
    z-index: 101;
    position: relative;
  }

  .burger span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}