:root {
  --bzl-bg: #09090b;
  --bzl-bg-soft: #18181b;
  --bzl-bg-card: #27272a;
  --bzl-primary: #10b981;
  --bzl-secondary: #0ea5e9;
  --bzl-text: #f4f4f5;
  --bzl-text-muted: #a1a1aa;
  --nav-w: 260px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bzl-bg);
  /* USER REQUEST: В фоне картинка */
  background-image: url('../images/bg.webp');
  background-size: cover;
  background-attachment: fixed;
  color: var(--bzl-text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

a:hover {
  color: var(--bzl-primary);
}

ul {
  list-style: none;
}

.bzl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.bzl-logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.bzl-logo img {
  height: 32px;
  border-radius: 6px;
}

.bzl-logo span {
  background: linear-gradient(90deg, var(--bzl-primary), var(--bzl-secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.bzl-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.bzl-sidebar {
  position: fixed;
  top: 70px;
  left: 0;
  width: var(--nav-w);
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(15px);
  height: calc(100vh - 70px);
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
  z-index: 900;
  overflow-y: auto;
}

.bzl-sidebar::-webkit-scrollbar {
  width: 5px;
}

.bzl-sidebar::-webkit-scrollbar-thumb {
  background: var(--bzl-bg-card);
  border-radius: 10px;
}

.bzl-title {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--bzl-text-muted);
  font-weight: bold;
  margin-bottom: 1rem;
  padding-left: 10px;
}

.bzl-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bzl-nav li a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: var(--bzl-text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bzl-nav li a:hover,
.bzl-nav li a.active {
  background: var(--bzl-bg-card);
  color: #fff;
  transform: translateX(5px);
}

.bzl-main {
  margin-left: var(--nav-w);
  margin-top: 70px;
  padding: 2rem 3rem;
  min-height: calc(100vh - 70px);
}

.bzl-hero {
  background-image: linear-gradient(to right, rgba(9, 9, 11, 0.9), rgba(9, 9, 11, 0.4)), url('../images/hero.webp');
  background-size: cover;
  background-position: center;
  padding: 5rem 3rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.bzl-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.bzl-hero p {
  color: #f4f4f5;
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.bzl-hero-btn {
  background: var(--bzl-primary);
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.bzl-hero-btn:hover {
  background: #059669;
  color: #fff;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.bzl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.bzl-card {
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: block;
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards, floatCard 6s ease-in-out infinite 0.6s;
}

.bzl-card:nth-child(1) {
  animation-delay: 0.05s;
}

.bzl-card:nth-child(2) {
  animation-delay: 0.1s;
}

.bzl-card:nth-child(3) {
  animation-delay: 0.15s;
}

.bzl-card:nth-child(4) {
  animation-delay: 0.2s;
}

.bzl-card:nth-child(5) {
  animation-delay: 0.25s;
}

.bzl-card:nth-child(6) {
  animation-delay: 0.3s;
}

.bzl-card:nth-child(7) {
  animation-delay: 0.35s;
}

.bzl-card:nth-child(8) {
  animation-delay: 0.4s;
}

.bzl-card:nth-child(n+9) {
  animation-delay: 0.45s;
}

.bzl-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

.bzl-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.5s;
}

.bzl-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.bzl-card-info {
  padding: 0.8rem;
  background: rgba(9, 9, 11, 0.8);
}

.bzl-card-info h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #fff;
  text-align: center;
}

.bzl-card-info p {
  font-size: 0.85rem;
  color: var(--bzl-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}


.bzl-play-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  min-height: 650px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
  animation: fadeUp 0.8s ease-out;
}

.bzl-play-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  filter: blur(30px) brightness(0.2);
}

.bzl-play-btn {
  position: relative;
  background: var(--bzl-primary);
  color: #000;
  border: none;
  padding: 1.2rem 3.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  animation: pulseFloat 2.5s infinite ease-in-out;
}

.bzl-play-btn:hover {
  background: #059669;
  color: #fff;
  transform: scale(1.1);
  animation: none;
}

.bzl-doc {
  background: var(--bzl-bg-soft);
  padding: 3.5rem;
  border-radius: 20px;
  margin: 0 auto 3rem;
  max-width: 900px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bzl-doc h1 {
  color: var(--bzl-primary);
  margin-bottom: 2rem;
  font-size: 2.8rem;
}

.bzl-doc h2 {
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.bzl-doc p {
  margin-bottom: 1.5rem;
  color: var(--bzl-text-muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.bzl-doc ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--bzl-text-muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.bzl-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
}

.bzl-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.bzl-review-card {
  background: rgba(24, 24, 27, 0.8);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bzl-review-card .stars {
  color: #fbbf24;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.bzl-review-card p {
  color: var(--bzl-text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.bzl-review-card .author {
  font-weight: bold;
  color: #fff;
}

.bzl-about-block {
  background: rgba(16, 185, 129, 0.05);
  padding: 3rem 2rem;
  border-radius: 20px;
  margin-bottom: 4rem;
  text-align: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.bzl-about-block h2 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.bzl-about-block p {
  color: var(--bzl-text-muted);
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.bzl-disclaimer {
  background: rgba(244, 63, 94, 0.1);
  border-left: 5px solid #f43f5e;
  padding: 2rem;
  margin-bottom: 4rem;
  border-radius: 0 16px 16px 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.bzl-disclaimer strong {
  color: #f43f5e;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.bzl-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 4rem;
  background: var(--bzl-bg-soft);
  margin: 0 -3rem -2rem;
  padding-left: 3rem;
  padding-right: 3rem;
  padding-bottom: 2rem;
}

.bzl-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.bzl-footer-grid h4 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.2rem;
}

.bzl-footer-grid a {
  display: block;
  color: var(--bzl-text-muted);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.bzl-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
}

.bzl-badges a {
  display: inline-block;
  transition: 0.3s;
}

.bzl-badges img {
  height: 35px;
  max-width: 200px;
  width: 100%;
  filter: grayscale(0%) brightness(1.5);
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 8px;
}

.bzl-badges a:hover {
  transform: translateY(-3px);
}

.bzl-company {
  text-align: center;
  color: var(--bzl-text-muted);
  font-size: 0.95rem;
  line-height: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.mobile-close-btn {
  display: none !important;
}

.bzl-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.bzl-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.bzl-modal {
  background: #18181b;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
  transform: scale(0.8);
  transition: 0.3s;
}

.bzl-modal-overlay.active .bzl-modal {
  transform: scale(1);
}

.bzl-modal h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--bzl-primary);
}

.bzl-modal p {
  color: var(--bzl-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.bzl-modal button {
  background: var(--bzl-primary);
  color: #000;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.bzl-modal button:hover {
  background: #059669;
  color: #fff;
}

@media (max-width: 991px) {
  .bzl-header {
    top: 40px !important;
  }

  .bzl-sidebar {
    top: 110px !important;
  }

  .bzl-main {
    margin-top: 110px !important;
  }

  .bzl-menu-btn {
    display: block;
  }

  .mobile-close-btn {
    display: block !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
  }

  .bzl-sidebar {
    transform: translateX(-100%);
    width: 300px;
  }

  .bzl-sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
  }

  .bzl-main {
    margin-left: 0;
    padding: 1.5rem;
  }

  .bzl-hero {
    padding: 3rem 1.5rem;
  }

  .bzl-hero h1 {
    font-size: 2.2rem;
  }

  .bzl-play-wrap {
    min-height: 550px;
    aspect-ratio: unset;
    height: 80vh;
    border-radius: 10px;
  }

  .bzl-play-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }

  .bzl-doc {
    padding: 1.5rem;
  }

  .bzl-doc h1 {
    font-size: 2rem;
  }

  .bzl-footer {
    margin: 0 -1.5rem -1.5rem;
    padding: 3rem 1.5rem 2rem;
  }
}

@media (max-width: 400px) {
  .bzl-header {
    top: 50px !important;
    padding: 0 1rem;
  }

  .bzl-sidebar {
    top: 120px !important;
    width: 100%;
  }

  .bzl-main {
    margin-top: 120px !important;
    padding: 1rem;
  }

  .bzl-hero {
    padding: 2rem 1rem;
    border-radius: 12px;
  }

  .bzl-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .bzl-hero p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .bzl-hero-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .bzl-play-wrap {
    min-height: 400px;
    height: 60vh;
  }

  .bzl-play-btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }

  .bzl-doc {
    padding: 1rem;
    border-radius: 12px;
  }

  .bzl-doc h1 {
    font-size: 1.5rem;
  }

  .bzl-doc h2 {
    font-size: 1.3rem;
  }

  .bzl-doc p,
  .bzl-doc ul {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .bzl-footer {
    margin: 0 -1rem -1rem;
    padding: 2rem 1rem 1.5rem;
  }

  .bzl-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .bzl-section-title {
    font-size: 1.6rem;
  }

  .bzl-modal {
    padding: 1.5rem;
    width: 95%;
  }

  .bzl-modal h3 {
    font-size: 1.4rem;
  }

  .bzl-modal button {
    padding: 0.8rem 1.5rem;
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseFloat {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  }

  50% {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
  }

  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

/* --- ACCOUNT & AUTHENTICATION STYLES --- */
.bzl-account-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--bzl-primary);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bzl-account-btn svg {
  width: 20px;
  height: 20px;
}

.bzl-account-btn:hover {
  transform: scale(1.1);
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.bzl-auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 2rem;
}

.bzl-auth-card {
  background: rgba(24, 24, 27, 0.8);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.6s ease-out;
}

.bzl-auth-card h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.bzl-auth-card p {
  color: var(--bzl-text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.bzl-input-group {
  margin-bottom: 1.5rem;
}

.bzl-input-group label {
  display: block;
  color: var(--bzl-text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bzl-input-group input {
  width: 100%;
  padding: 1rem;
  background: rgba(9, 9, 11, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}

.bzl-input-group input:focus {
  outline: none;
  border-color: var(--bzl-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.bzl-auth-toggle {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--bzl-text-muted);
}

.bzl-auth-toggle a {
  color: var(--bzl-primary);
  font-weight: bold;
}

.bzl-dash-wrap {
  animation: fadeUp 0.6s ease-out;
}

.bzl-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  background: rgba(16, 185, 129, 0.05);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.bzl-dash-header h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.bzl-dash-header p {
  color: var(--bzl-text-muted);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .bzl-dash-header {
    flex-direction: column;
    align-items: flex-start;
  }
}