@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --main-bg: #18141e;
  --sidebar-bg: #1a1622;
  --card-bg: #221c2e;
  --accent: #ffb300;
  --accent2: #00e676;
  --text-main: #fff;
  --text-muted: #bdbdbd;
  --btn-main: #00e676;
  --btn-outline: #221c2e;
  --btn-hover: #ffb300;
  --header-height: 64px;
  --sidebar-width: 80px;
  --radius: 18px;
  --shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--main-bg);
  color: var(--text-main);
  min-height: 100vh;
}

.site-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 12px 0;
  box-shadow: 2px 0 16px 0 rgba(0,0,0,0.12);
  z-index: 10;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo img {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 auto;
}
.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
  font-size: 1.6rem;
  margin: 0 auto;
}
.sidebar-link:hover, .sidebar-link.active {
  background: var(--accent2);
  color: #18141e;
}
.sidebar-bottom {
  margin-top: 32px;
}
.icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #333;
  border-radius: 8px;
}

.main-area {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--main-bg);
}
.header {
  height: var(--header-height);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  z-index: 5;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 480px) {
  .header-content {
  padding: 0 12px;
  }
}
.header-title {
  width: 180px;
  height: 40px;
  background: image-set(
    url('logo.avif') type('image/avif'),
    url('logo.webp') type('image/webp'),
    url('logo.png') type('image/png')
  ) no-repeat center center;
  background-size: contain;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
}
@media (max-width: 768px) {
  .header-title {
    width: 140px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .header-title {
    width: 120px;
    height: 28px;
  }
}
.header-actions {
  display: flex;
  gap: 16px;
}
.btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 32px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  border: none;
  cursor: pointer;
}
@media (max-width: 480px) {
  .header-actions .btn {
    padding: 8px 16px;
    font-size: 0.75rem;
    border-radius: 24px;
  }
}
.btn-main {
  background: var(--btn-main);
  color: #18141e;
}
.btn-main:hover {
  background: var(--btn-hover);
  color: #18141e;
  box-shadow: 0 4px 16px 0 rgba(255,179,0,0.18);
}
.btn-outline {
  background: transparent;
  color: var(--btn-main);
  border: 2px solid var(--btn-main);
}
.btn-outline:hover {
  background: var(--btn-main);
  color: #18141e;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.card-block {
  display: flex;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 220px;
  align-items: stretch;
  margin-bottom: 0;
}
.block-illustration {
  flex: 0 0 220px;
  min-width: 180px;
  max-width: 260px;
  background: #2a223a;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-blend-mode: darken;
  aspect-ratio: 4 / 3;
}
.block-illustration::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,20,30,0.7) 0%, rgba(24,20,30,0.2) 100%);
  z-index: 1;
}
.block-content {
  flex: 2 1 400px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.block-content h2 {
  color: var(--accent);
  margin-top: 0;
}

.hero-block {
  display: flex;
  align-items: stretch;
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
  margin-bottom: 0;
}
.hero-bg {
  flex: 1 1 340px;
  min-width: 260px;
  background: #2a223a;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,20,30,0.7) 0%, rgba(24,20,30,0.2) 100%);
  z-index: 1;
}
.hero-info {
  flex: 2 1 400px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-info h1 {
  font-size: 2.7rem;
  margin: 0 0 18px 0;
  color: var(--accent);
}
.hero-info p {
  font-size: 1.18rem;
  color: var(--text-muted);
}

.bonus-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bonus-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.games-list {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.game-card {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 220px;
  aspect-ratio: 1.2/1.3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  background-blend-mode: darken;
  background: #23202a;
  margin-bottom: 8px;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.game-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(0,230,118,0.18);
}
@media (max-width: 480px) {
  .games-list {
    justify-content: center;
  }
  .game-card {
    flex: 0 0 180px;
    margin: 0 auto 8px;
    max-width: 180px;
  }
}
.game-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 18px 18px;
  margin-bottom: 8px;
}
.vip-illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.vip-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card span {
  color: var(--text-main);
  font-weight: 700;
  margin: 12px 0 18px 0;
  font-size: 1.1rem;
  text-shadow: 0 2px 8px #18141e;
}

.games-desc ul {
  margin: 0 0 8px 0;
  padding-left: 18px;
}
.games-desc p {
  color: var(--text-muted);
  margin: 0;
}

.vip-tiers {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.vip-tier {
  flex: 1 1 180px;
  min-width: 160px;
  background: #1e1a28;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 12px;
  margin-bottom: 12px;
}
.vip-tier h3 {
  color: var(--accent);
  margin-top: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item h3 {
  color: var(--accent2);
  margin: 0 0 4px 0;
  font-size: 1.1rem;
}
.faq-item p {
  margin: 0;
  color: var(--text-main);
}

.footer {
  background: var(--card-bg);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow);
  margin: 40px 0 0 0;
  padding: 24px 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo img {
  height: 40px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 12px 0;
}

@media (max-width: 480px) {
  .footer-links {
    gap: 8px;
  }
  .footer-links a {
    font-size: 0.875rem;
    flex: 1 1 45%;
    text-align: center;
    min-width: 0;
  }
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .main-content {
    max-width: 98vw;
    padding: 0 8px;
  }
  .hero-block, .card-block {
    flex-direction: column;
  }
  .block-illustration {
    min-width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 56px;
    padding: 8px 0 8px 0;
  }
  .sidebar-logo img {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
  }
  .sidebar-link {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .main-content {
    padding: 0 2px;
  }
}
@media (max-width: 600px) {
  .header, .footer {
    padding: 0 4px;
  }
  .hero-info, .block-content {
    padding: 18px 4px;
  }
  .main-content {
    padding: 0 0 12px 0;
  }
}