/* main.css */
body {
  margin: 0;
  font-family: system-ui;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #222;
}
header {
  background-color: #222;
  color: white;
  padding: 10px 150px;
  flex-shrink: 0;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  flex-grow: 1;
}
.logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
}
.site-name {
  font-size: 1.4rem;
  font-weight: 700;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}
nav a, nav span {
  color: #bbb;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
  white-space: nowrap;
  text-decoration: none !important;
}
nav a:hover {
  color: #fff;
  text-decoration: none !important;
}
nav span {
  user-select: none;
  cursor: default;
}
nav a.deposit-btn {
  padding: 6px 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
nav a.deposit-btn:hover {
  color: #fff;
  border-color: #fff;
}
nav a.logout-btn {
  color: #bbb;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  transition: color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
nav a.logout-btn:hover {
  color: #fff;
  border-color: #fff;
}
nav a.telegram i,
nav a.tiktok i,
nav a.youtube i {
  font-size: 24px;
  vertical-align: middle;
}
nav a.telegram i {
  color: #1DA1F2;
}
nav a.tiktok i {
  color: #69C9D0;
}
nav a.youtube i {
  color: #FF0000;
}
main {
  flex: 1;
  max-width: 960px;
  margin: 40px auto;
  padding: 0 15px;

  grid-template-columns: repeat(3, 1fr);
  gap: 20px 20px;
  justify-items: center;
  align-items: stretch;
  grid-auto-rows: 230px;
}
.category-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 300px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.category-icon {
  font-size: 54px;
  margin-bottom: 15px;
  color: #ff3e00;
}
.category-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}
.category-desc {
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
footer {
  background-color: #222;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.1rem;
  margin-top: auto;
  flex-shrink: 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-weight: 700;
  font-size: 1rem;
  flex-wrap: wrap;
}
.footer-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.footer-info i {
  font-size: 24px;
  vertical-align: middle;
}
.bitcoin {
  color: #f7931a;
}
.freekassa {
  color: #4caf50;
}

@media (max-width: 900px) {
  main {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }
  .header-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 20px;
  }
  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}
@media (max-width: 600px) {
  main {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .category-card {
    max-width: 100%;
    height: auto;
  }
}
.encode-banner-ultimate {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(50, 50, 73, 0.06);
  padding: 20px 18px 16px 18px;
  margin-top: 30px;
  color: #232c3d;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.encode-ult-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}

.encode-ult-icon {
  background: #e6f9ff;
  color: #26b5ea;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.encode-ult-title {
  font-size: 16.7px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.encode-ult-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.encode-ult-list li {
  font-size: 14.4px;
  color: #263249;
  font-weight: 500;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.encode-ult-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  background: #b2bac9;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}


