@import url(https://fonts.googleapis.com/icon?family=Material+Icons+Round);
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Montserrat", "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #090909;
  color: white;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

code {
  font-family:
    source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.material-updates-round {
  font-family: "Material Symbols Rounded", sans-serif;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  font-feature-settings: "liga" 0;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: transparent;
  color: white;
  margin-top: -12px;
  transition: background 0.3s ease;
}

.header-blurred {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 0px 0px 32px 32px;
}

.logo {
  font-size: 34px;
  margin-left: 80px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: fixed;
  margin-left: 40px;
  top: 5px;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  min-width: 190px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 12px;
  padding-top: 55px;
  border-radius: 28px;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dropdown-container:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu-inner {
  width: 100%;
  padding-bottom: 20px;
}

.dropdown-menu a {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 5px;
  padding: 10px 20px;
  display: flex;
  text-decoration: none;
  text-align: center;
  font-size: 0.875rem;
  align-items: center;
  align-content: center;
  gap: 5px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dropdown-menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transform: translateX(4px);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dropdown-container:hover .dropdown-menu {
  display: block;
}

.notification-dropdown,
.profile-dropdown {
  position: relative;
  margin-right: -35px;
}

.header-profile-menu {
  position: absolute;
  right: 0;
  top: 64px;
  background-color: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);
  min-width: 200px;
  border-radius: 24px;
  z-index: 1002;
  padding: 15px;
  margin-top: 10px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-menu {
  max-height: 400px;
  display: block;
  position: fixed;
  right: 10px;
  top: 85px;
  background-color: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);
  max-width: 300px;
  border-radius: 20px;
  z-index: 1002;
  padding: 15px;
}

.notification-item,
.header-profile-menu a,
.header-profile-menu-item {
  color: rgb(218, 218, 218);
  padding: 12px;
  display: flex;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 32px;
  gap: 5px;
  margin-bottom: 5px;
  align-items: center;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.notification-item:hover,
.header-profile-menu a:hover,
.header-profile-menu-item:hover {
  background-color: #414141;
  color: #ffffff;
}

.notification-item:last-child,
.header-profile-menu a:last-child,
.header-profile-menu-item:last-child {
  margin-bottom: 0;
}

.notification-time {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 5px;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  margin-bottom: 10px;
}

.header-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #444;
  margin-bottom: 10px;
}

.notification-header h3,
.header-profile-header h3 {
  font-size: 1rem;
}

.header-profile-info {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #444;
  margin-bottom: 10px;
}

.header-profile-avatar-frame {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: 2;
  pointer-events: none;
}

.header-profile-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.header-profile-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px) rotate(-5deg);
  }
  50% {
    transform: translateX(2px) rotate(5deg);
  }
  75% {
    transform: translateX(-2px) rotate(-5deg);
  }
  100% {
    transform: translateX(0);
  }
}

.btn-secondary.btn-small.animate-clear {
  animation: shake 0.4s ease-in-out;
}

.btn-secondary.btn-small {
  background: rgba(60, 60, 60, 0.7);
  color: white;
  border: 1px solid #555;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary.btn-small:hover {
  background: rgba(80, 80, 80, 0.7);
  transform: translateY(-1px);
}

.btn-secondary.btn-small:active {
  transform: scale(0.95);
}

.btn-secondary.btn-small:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-emoji3 {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.headersearch {
  position: relative;
  flex-grow: 1;
  max-width: 500px;
  margin: 0 50px;
}

.headersearch input {
  width: 100%;
  padding: 10px 20px 10px 44px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: rgb(255, 255, 255);
  outline: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.headersearch input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.headersearch input:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.headersearch-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  pointer-events: none;
  z-index: 1;
  transition: color 0.2s ease;
}

.headersearch:focus-within .headersearch-icon {
  color: rgba(255, 255, 255, 0.7);
}

.search-results-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  margin-top: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  max-height: 80vh;
  overflow-y: auto;
  padding: 15px;
  scrollbar-width: thin;
  scrollbar-color: #555 #1a1a1a;
}

.search-results-container::-webkit-scrollbar {
  width: 4px;
}

.search-results-container::-webkit-scrollbar-track {
  background: #333333;
  border-radius: 10px;
}

.search-results-container::-webkit-scrollbar-thumb {
  background: #aaaaaa;
  border-radius: 10px;
}

.search-results-container::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.results-header h4 {
  font-size: 0.9rem;
  margin: 0;
  color: #ffffff;
}

.filter-icon {
  color: #aaa;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-icon:hover {
  color: #aaaaaa;
}

.filter-panel {
  padding: 10px;
  margin-top: -30px;
}

.filter-section {
  margin-bottom: 15px;
}

.filter-section h5 {
  color: #aaa;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.year-range,
.rating-range {
  display: flex;
  gap: 10px;
  align-items: center;
}

.year-select {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border-radius: 30px;
  background: #3a3a3a;
  color: #ffffff;
  font-size: 0.9rem;
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml;utf8,<svg fill=\"%23ffffff\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 10l5 5 5-5z\"/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.year-select:hover {
  background: #444444;
  transform: scale(1.02);
}

.year-select:focus {
  outline: none;
  background: #444444;
}

.year-select option {
  background: #333;
  color: #ffffff;
  border-radius: 30px;
}

.rating-range input[type="range"] {
  width: 100px;
  -webkit-appearance: none;
          appearance: none;
  background: #3a3a3a;
  height: 0px;
  border-radius: 24px;
  outline: none;
  cursor: pointer;
}

.rating-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

.rating-range input[type="range"]::-webkit-slider-thumb:hover {
  background: #ffffff;
}

.rating-range input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  -moz-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

.rating-range input[type="range"]::-moz-range-thumb:hover {
  background: #ffffff;
}

.rating-range span {
  color: #ffffff;
  font-size: 0.8rem;
  min-width: 30px;
  text-align: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-right: 200px;
}

.checkbox-label input {
  margin-left: -105px;
}

.genre-item {
  background: rgba(139, 139, 139, 0.1);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.genre-item:hover {
  background: rgba(158, 158, 158, 0.2);
}

.active-genre {
  background: #ffffff;
  color: rgb(0, 0, 0);
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

.btn-apply {
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: none;
  padding: 8px 16px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-apply:hover {
  transform: scale(1.05);
}

.btn-apply:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.results-list {
  margin-bottom: 10px;
}

.search-results,
.recommendations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result-item,
.recommendation-item {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-result-item:hover,
.recommendation-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.search-result-image,
.recommendation-image {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 15px;
}

.search-result-image-container {
  position: relative;
  width: 40px;
  height: 40px;
  margin-right: 15px;
}

.search-result-frame {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: 2;
  pointer-events: none;
}

.search-result-title {
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommendation-title {
  font-size: 14px;
  color: #fff;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-status {
  font-size: 0.7rem;
  color: #aaa;
  margin-top: 2px;
}

.no-results {
  color: #aaa;
  padding: 10px;
  text-align: center;
}

.loading {
  color: #aaa;
  padding: 10px;
  text-align: center;
}

.btn-load-more {
  width: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}

.btn-load-more:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 3%;
}

.notification-icon {
  position: relative;
  cursor: pointer;
  margin-right: 40px;
}

.notification-icon img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.notification-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #ffffff;
  color: rgb(0, 0, 0);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-button {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.premium-button:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.telegram-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.telegram-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.telegram-button-text {
  display: inline;
}

.telegram-button-icon {
  display: inline-block;
  font-size: 20px;
  line-height: normal;
  vertical-align: middle;
}

.dynamic-button-container {
  position: relative;
  width: 130px;
  height: 38px;
  margin-right: -4px; /* Reduced gap to feel closer like between Premium and Bell */
  display: flex;
  align-items: center;
}

.dynamic-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease-in-out, visibility 1s linear;
  box-sizing: border-box;
  padding: 8px 16px !important;
}

.dynamic-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dynamic-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.download-header-btn {
  border: none;
  font-family: inherit;
}

.user-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 3px;
  cursor: pointer;
}

.user-avatar-frame {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: 2;
  pointer-events: none;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-sizing: border-box;
}

.user-avatar:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.auth-button {
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-button:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.auth-controls {
  gap: 10px;
  display: contents;
}

.login-button {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.login-button:hover {
  background: #ffffff;
}

.logout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1003;
}

.logout-modal-content {
  background: #333;
  padding: 20px;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.logout-modal-content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.logout-modal-content p {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 20px;
}

.logout-modal-actions {
  display: flex;
  justify-content: space-around;
}

.btn-cancel,
.btn-confirm {
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-cancel {
  background: #636262;
  color: white;
}

.btn-cancel:hover {
  background: #4a4a4a;
}

.btn-confirm {
  background: #ffffff;
  color: rgb(0, 0, 0);
}

.btn-confirm:hover {
  background: #ffffff;
}

.notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-small.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  color: rgb(0, 0, 0);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.btn-small.btn-primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  transform: translateY(-1px);
}

.btn-small.btn-secondary {
  background: rgba(60, 60, 60, 0.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: white;
  border: 1px solid #555;
}

.btn-small.btn-secondary:hover {
  background: rgba(80, 80, 80, 0.7);
  transform: translateY(-1px);
}

.notification-user {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.notification-avatar-container {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.notification-avatar-frame {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: 2;
  pointer-events: none;
}

.notification-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.notification-user-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-user-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notification-emoji {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.notification-type {
  font-size: 0.9rem;
  color: #ddd;
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
  z-index: 1000;
  border-radius: 24px 24px 0 0;
  height: 48px;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
}

.bottom-nav-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 500px;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.75rem;
  padding: 8px 16px;
  transition: color 0.2s ease;
  border-radius: 12px;
}

.bottom-nav-item:hover {
  color: rgba(255, 255, 255, 0.7);
}

.bottom-nav-item.active {
  color: #ffffff;
}

.bottom-nav-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.bottom-nav-text {
  display: none;
}

@media (max-width: 768px) {
  .logo {
    font-size: 24px;
    margin-left: 16px;
  }

  .headersearch {
    max-width: 400px;
    margin: 0 20px;
  }

  .headersearch input {
    padding: 8px 18px;
    font-size: 15px;
    border-radius: 50px;
  }

  .search-results-container {
    max-height: 500px;
    padding: 12px;
  }

  .filter-panel {
    padding: 8px;
  }

  .genre-list {
    max-height: none;
  }

  .year-select {
    padding: 9px 36px 9px 14px;
    font-size: 0.85rem;
    border-radius: 28px;
    background-size: 18px;
  }

  .btn-apply {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .logout-modal-content {
    padding: 15px;
  }

  .logout-modal-content h3 {
    font-size: 1.1rem;
  }

  .logout-modal-content p {
    font-size: 0.9rem;
  }

  .btn-cancel,
  .btn-confirm {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .profile-emoji3 {
    width: 10px;
    height: 10px;
  }

  .premium-button {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .telegram-button {
    display: none;
  }

  .dropdown-container {
    display: none;
  }

  .bottom-nav {
    display: flex;
  }

  .bottom-nav-text {
    display: none;
  }

  .bottom-nav-icon {
    font-size: 24px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0 10px;
    margin-top: 0px;
  }

  .notification-dropdown {
    position: relative;
    margin-right: -35px;
  }
  .profile-dropdown {
    position: relative;
    margin-right: 5px;
  }

  .logo {
    font-size: 22px;
    margin-left: 10px;
  }

  .headersearch {
    max-width: 100%;
    margin: 0 10px;
    flex-grow: 1;
  }

  .headersearch input {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 50px;
  }

  .search-results-container {
    position: fixed;
    top: 45px;
    left: 8px;
    right: 0;
    bottom: 0;
    width: 90%;
    background: #1f1f1f;
    padding: 10px;
    z-index: 1002;
    border-radius: 30px;
    height: 500px;
  }

  .results-header h4 {
    font-size: 0.85rem;
  }

  .filter-panel {
    padding: 6px;
  }

  .filter-section {
    margin-bottom: 12px;
  }

  .filter-section h5 {
    font-size: 0.85rem;
  }

  .genre-list {
    gap: 6px;
  }

  .year-select {
    padding: 8px 32px 8px 12px;
    font-size: 0.8rem;
    border-radius: 25px;
    background-size: 16px;
    border-width: 1px;
  }

  .rating-range input[type="range"] {
    width: 80px;
  }

  .rating-range span {
    font-size: 0.75rem;
    min-width: 25px;
  }

  .btn-apply {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .search-result-item,
  .recommendation-item {
    padding: 6px;
  }

  .search-result-image,
  .recommendation-image {
    width: 36px;
    height: 36px;
  }

  .search-result-image-container {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }

  .search-result-title {
    font-size: 13px;
  }

  .btn-load-more {
    padding: 6px;
    font-size: 0.8rem;
  }

  .notification-menu {
    max-height: 400px;
    max-width: 240px;
    position: fixed;
    right: 10px;
  }

  .icons {
    gap: 10px;
    margin-right: 10px;
  }

  .notification-icon img {
    width: 32px;
    height: 32px;
  }

  .user-avatar {
    width: 50px;
    height: 50px;
  }

  .logout-modal-content {
    padding: 10px;
    width: 95%;
  }

  .logout-modal-content h3 {
    font-size: 1rem;
  }

  .logout-modal-content p {
    font-size: 0.85rem;
  }

  .btn-cancel,
  .btn-confirm {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .profile-emoji3 {
    width: 10px;
    height: 10px;
  }

  .premium-button {
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 15px;
  }

  .notification-poster {
    width: 32px;
    height: 32px;
  }

  .notification-poster-container {
    width: 32px;
    height: 32px;
  }

  .notification-avatar {
    width: 32px;
    height: 32px;
  }

  .notification-avatar-container {
    width: 32px;
    height: 32px;
  }

  .notification-user-name {
    font-size: 0.9rem;
  }

  .notification-emoji {
    width: 14px;
    height: 14px;
  }

  .notification-season-info strong {
    font-size: 0.8rem;
  }

  .notification-time {
    font-size: 0.75rem;
  }

  .btn-small {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .notification-header h3 {
    font-size: 0.95rem;
  }

  .bottom-nav-icon {
    font-size: 20px;
  }
}

.filter-panel,
.results-list,
.notification-menu {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aaaaaa #333333;
}

.filter-panel::-webkit-scrollbar,
.results-list::-webkit-scrollbar,
.notification-menu::-webkit-scrollbar {
  width: 4px;
}

.filter-panel::-webkit-scrollbar-track,
.results-list::-webkit-scrollbar-track,
.notification-menu::-webkit-scrollbar-track {
  background: #333333;
  border-radius: 10px;
}

.filter-panel::-webkit-scrollbar-thumb,
.results-list::-webkit-scrollbar-thumb,
.notification-menu::-webkit-scrollbar-thumb {
  background: #aaaaaa;
  border-radius: 10px;
}

.filter-panel::-webkit-scrollbar-thumb:hover,
.results-list::-webkit-scrollbar-thumb:hover,
.notification-menu::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.search-mode-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-toggle-btn {
  padding: 4px 8px;
  border-radius: 15px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.mode-toggle-btn.active {
  background: #ffffff;
  color: rgb(0, 0, 0);
  cursor: default;
}

.mode-toggle-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.2);
}

.mode-toggle-btn:disabled {
  opacity: 1;
  cursor: default;
}

.notification-icon .material-updates-round {
  font-size: 24px;
  color: #fff;
  transition: color 0.2s ease;
}

.notification-icon:hover .material-updates-round {
  color: #ffffff;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.notification-header h3 {
  font-size: 1rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.notification-item {
  color: white;
  padding: 12px;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  border-radius: 10px;
  margin-bottom: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notification-item:hover {
  background-color: #636262;
}

.notification-item:last-child {
  margin-bottom: 0;
}

.notification-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.notification-season-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-decoration: none;
  color: #fff;
}

.notification-poster-container {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.notification-poster {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.notification-season-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-season-info strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.notification-item.error {
  color: #ff6b6b;
  text-align: center;
  text-decoration: none;
}

.notification-season-container,
.notification-user-name,
.notification-item a {
  text-decoration: none !important;
}

.btn-secondary.btn-small {
  background: rgba(60, 60, 60, 0.7);
  color: white;
  border: 1px solid #555;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary.btn-small:hover {
  background: rgba(80, 80, 80, 0.7);
  transform: translateY(-1px);
}

.premium-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.premium-modal {
  background: rgba(22, 22, 22, 0.95);
  border-radius: 30px;
  padding: 25px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  /* Скрываем скролл */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.premium-modal::-webkit-scrollbar {
  display: none;
}

.premium-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.premium-modal-close:hover {
  color: #e0e0e0;
  background: transparent;
}

.premium-modal-image {
  width: calc(100% - 20px);
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.premium-modal-image:hover {
  transform: scale(1.03);
}

.premium-modal-subtitle {
  font-size: 1rem;
  color: #ddd;
  text-align: center;
  margin-bottom: 20px;
}

.premium-benefits {
  margin-bottom: 20px;
}

.benefits-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefits-title .material-icons-round {
  font-size: 22px;
  color: #e2e2e2;
  transition: transform 0.3s ease;
}

.benefits-title:hover .material-icons-round {
  transform: rotate(10deg);
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(12, 12, 12, 0.98);
  transition:
    transform 0.3s ease,
    background 0.3s,
    box-shadow 0.3s;
}

.benefits-list li:hover {
  background: rgb(49, 49, 49);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  color: #e2e2e2;
  font-size: 1.2rem;
}

.plans-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.plans-title .material-icons-round {
  font-size: 22px;
  color: #e2e2e2;
  transition: transform 0.3s ease;
}

.plans-title:hover .material-icons-round {
  transform: rotate(10deg);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.plan-card {
  background: rgba(12, 12, 12, 0.98);
  border-radius: 20px;
  padding: 12px 8px;
  text-align: center;
  transition:
    transform 0.3s ease,
    background 0.3s,
    box-shadow 0.3s;
  cursor: default;
}

.plan-card:hover {
  background: rgb(49, 49, 49);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.plan-duration {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffffff;
}

.plan-price {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.plan-discount {
  color: #bbb;
  font-size: 0.8rem;
  background: rgba(59, 59, 59, 0.5);
  padding: 2px 8px;
  border-radius: 20px;
}

.plan-button {
  background: #e0e0e0;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
  width: 100%;
  margin-top: 15px;
}

.plan-button:hover {
  background: #ffffff;
  transform: scale(1.05);
}

.premium-terms {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 20px;
}

.premium-terms a {
  color: #e0e0e0;
  text-decoration: underline;
}

.premium-terms a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .premium-modal {
    padding: 20px;
    border-radius: 25px;
    max-width: 95%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .premium-modal::-webkit-scrollbar {
    display: none;
  }

  .premium-modal-image {
    width: calc(100% - 16px);
    height: 120px;
    margin-bottom: 15px;
  }

  .premium-modal-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .benefits-title,
  .plans-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .benefits-title .material-icons-round,
  .plans-title .material-icons-round {
    font-size: 20px;
  }

  .benefits-list li {
    font-size: 0.95rem;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px;
  }

  .benefit-icon {
    font-size: 1.1rem;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .plan-card {
    padding: 12px;
    border-radius: 20px;
  }

  .plan-duration {
    font-size: 1rem;
  }

  .plan-price {
    font-size: 1.1rem;
    gap: 5px;
  }

  .plan-discount {
    font-size: 0.75rem;
    padding: 2px 6px;
  }

  .plan-button {
    padding: 10px 18px;
    font-size: 0.95rem;
    border-radius: 20px;
  }

  .premium-terms {
    font-size: 0.75rem;
  }

  .premium-modal-close {
    top: 10px;
    right: 10px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .premium-modal {
    padding: 15px;
    border-radius: 20px;
    max-width: 98%;
    max-height: 85vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .premium-modal::-webkit-scrollbar {
    display: none;
  }

  .premium-modal-image {
    width: calc(100% - 12px);
    height: 100px;
    margin-bottom: 12px;
  }

  .premium-modal-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .premium-benefits {
    margin-bottom: 20px;
  }

  .benefits-title,
  .plans-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .benefits-title .material-icons-round,
  .plans-title .material-icons-round {
    font-size: 18px;
  }

  .benefits-list li {
    font-size: 0.9rem;
    gap: 6px;
    margin-bottom: 6px;
    padding: 5px;
  }

  .benefit-icon {
    font-size: 1rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .plan-card {
    padding: 10px;
    border-radius: 18px;
  }

  .plan-duration {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .plan-price {
    font-size: 1rem;
    gap: 5px;
  }

  .plan-discount {
    font-size: 0.7rem;
    padding: 1px 5px;
    border-radius: 15px;
  }

  .plan-button {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 18px;
  } 

  .premium-terms {
    font-size: 0.7rem;
    margin-top: 15px;
  }

  .premium-modal-close {
    top: 8px;
    right: 8px;
    font-size: 1rem;
  }
}
.update-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}

.update-modal {
  background: rgba(22, 22, 22, 0.95);
  border-radius: 30px;
  padding: 25px;
  max-width: 450px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.update-modal::-webkit-scrollbar {
  display: none;
}

.update-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.update-modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.update-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  object-fit: contain;
}

.update-title-container {
  display: flex;
  flex-direction: column;
}

.update-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.update-version {
  font-size: 0.9rem;
  color: #888;
}

.update-content {
  background: rgba(12, 12, 12, 0.98);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.update-content:hover {
  transform: scale(1.01);
}

.update-content-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 12px;
}

.update-changelog {
  font-size: 0.95rem;
  color: #e0e0e0;
}

.changelog-list {
  padding-left: 20px;
  margin: 0;
}

.changelog-list li {
  margin-bottom: 8px;
}

.update-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.download-button {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 20px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.3s ease, background 0.3s;
}

.download-button:hover {
  background: #e0e0e0;
  transform: scale(1.02);
}

.dismiss-button {
  background: rgba(49, 49, 49, 0.5);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.dismiss-button:hover {
  background: rgba(49, 49, 49, 0.8);
}

.update-footer-text {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  margin: 0;
}

@media (max-width: 480px) {
  .update-modal {
    padding: 20px;
    border-radius: 25px;
  }
}

.footer-premium {
  position: relative;
  width: 100%;
  background: #0a0a0a;
  padding: 80px 0 40px;
  margin-top: 100px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Montserrat', sans-serif;
}

.footer-glass-overlay {
  display: none;
}

.footer-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-main-section {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

/* Brand Section */
.footer-brand {
  flex: 1.5 1;
  max-width: 400px;
}

.footer-logo {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 25px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-pill i {
  font-size: 18px;
  color: #ffffff;
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Nav Groups */
.footer-nav-groups {
  flex: 2 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 40px;
  gap: 40px;
}

.nav-group h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-group a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.nav-group a:hover {
  color: #fff;
  transform: translateX(5px);
}

/* Bottom Section */
.footer-bottom {
  position: relative;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin-bottom: 40px;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 100px;
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tech-badge i, .tech-badge .material-icons-round {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-main-section {
    flex-direction: column;
    gap: 50px;
  }
  
  .footer-brand {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-nav-groups {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-premium {
    padding: 60px 0 30px;
  }
  
  .footer-content {
    padding: 0 20px;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-nav-groups {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-pill, .nav-group a {
    transition: none;
  }
}



/*# sourceMappingURL=main.8d0128dc.css.map*/