@font-face {
    font-family: 'aaaiight';
    src: url('../assets/fonts/aaaiight.ttf') format('truetype');
}

@font-face {
    font-family: 'Ramona';
    src: url('../assets/fonts/Ramona-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Belepotan';
    src: url('../assets/fonts/Belepotan Rus.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

html {
  font-size: 16px;
  font-family: 'aaaiight', sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  box-sizing: border-box;
  text-align: center;
}

h1 {
  font-family: 'aaaiight', sans-serif;
  letter-spacing: 10px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  top: 50px;
  width: 100%;
  max-width: 730px;
  font-size: 75px;
  color: #ffa500;
  text-shadow:
     -3px -3px 0 black,
      3px -3px 0 black,
     -3px  3px 0 black,
      3px  3px 0 black;
  margin: 0 auto;
  text-align: center;
}

h1:first-of-type {
  animation: showAndLift 4s forwards;
}

h1:last-of-type {
  opacity: 0;
  transform: translateY(0);
  animation: revealFromBottom 4s forwards;
  width: 100%;
  font-size: 35px;
  margin-top: -50px;
  color: #ffffff;
  text-shadow:
     -2.5px -2.5px 0 black,
      2.5px -2.5px 0 black,
     -2.5px  2.5px 0 black,
      2.5px  2.5px 0 black;
}

@keyframes showAndLift {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(-40px); 
  }
}

@keyframes revealFromBottom {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  25% {
    opacity: 0;
    transform: translateY(0);
  }
  45% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0); 
  }
}

.logo {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 100px;
  height: 100px;
  z-index: 999;
}

.header {
  padding: 18em;
  height: 40vh;
  background-image: url(../assets/images/background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.clear {
  clear: both;
}

.slide-toggle {
  display: none;
}




.main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: white;
  padding: 2em;
  min-height: 100vh;
  height: auto; 
  position: relative; 
}

/* Плавающий языковой переключатель */
.floating-language {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.floating-lang-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fe2b0d, #ff6b35);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(254, 43, 13, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-lang-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(254, 43, 13, 0.6);
}

.floating-lang-options {
  position: absolute;
  bottom: 70px;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 25px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-language:hover .floating-lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-lang-options .lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 15px;
  border-radius: 20px;
  font-family: 'aaaiight', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 60px;
  text-align: center;
}

.floating-lang-options .lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.floating-lang-options .lang-btn.active {
  background: linear-gradient(135deg, #fe2b0d, #ff6b35);
  color: white;
}

@media (max-width: 768px) {
  .floating-language {
    bottom: 15px;
    left: 15px;
  }
  
  .floating-lang-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  .floating-lang-options {
    bottom: 6vh;
    padding: 0.4vh;
  }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 40px;
    border: 3px solid black;
    width: 80%;
    max-width: 700px;
}


.modal_p {
    font-size: 25px;
    font-family: 'Mister Brush', cursive;
    margin-bottom: 20px; 
}

.modal_form {
    color: white;
    font-size: 22px;
    font-family: 'Mister Brush', cursive;
    background-color: black;
    display: inline-block;
    width: 30%;
    border-radius: 5%;
    margin-top: -10px;
}


.modal_social {
  font-size: 35px;
}

.beats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px; 
  margin-top: 30px;
}


.image-container {
  position: relative;
  text-align: center;
}

.image-info-container {
  display: flex;
  align-items: center;
}


.image-container img {
  width: 150px;
  height: 150px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 5%;
}

.beats .image-info-container .image-container .bi {
  position: absolute;
  font-size: 60px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  cursor: pointer;
  opacity: 85%;
}

.info {
  font-size: 20px;
  margin-top: -20px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info p {
  align-self: flex-start;
  margin: 0;
  margin-top: -20px;
}


.buy-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #fe2b0d;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5%;
  font-size: 17px;
}

.button-text {
  margin-right: 5px;
}


.lang-en .buy-text,
.lang-de .buy-text {
  letter-spacing: 2.5px;
}


.price {
  background-color: #f8dbb3;
  padding: 5em 3em;
  height: auto;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-block {
  display: flex;
  justify-content: space-between;
  gap: 60px; 
  margin: 0 auto;
  max-width: 1400px; 
  width: 100%;
  flex-wrap: wrap;
  align-items: stretch;
}

.image-item {
  text-align: center;
  margin: 0;
  max-width: none;
  flex: 1;
  min-width: 350px; 
  padding: 30px;
  box-sizing: border-box;
}

.image-item img {
  width: 280px;
  height: 280px;
  object-fit: cover;
}

.image-item p {
  margin-top: 20px;
  color: black;
  font-size: 22px;
  font-weight: solid;
  font-family: 'Ramona', sans-serif;
  min-height: 60px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-block p {
  font-size: 17px;
  color: black;
  line-height: 1.5;
  margin-bottom: 20px;
  font-family: 'Ramona', sans-serif;
  flex: 1;
  display: flex;
  align-items: center;
}

.text-block ul {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  flex: 0 0 auto; 
}

.text-block li:first-child {
  font-size: 18px;
  font-weight: bold;
}

.text-block li {
  margin: 10px 0;
  color: black;
  font-family: 'Ramona', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
}

.genre-section {
  text-align: center;
  margin-bottom: 50px;
  width: 100%;
}

.genre-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  font-family: 'aaaiight', sans-serif;
  letter-spacing: 3px;
}

 

.genre-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.genre-filter {
  padding: 12px 25px;
  background-color: #f0f0f0;
  border: 2px solid #333;
  border-radius: 25px;
  font-family: 'aaaiight', sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
  letter-spacing: 1px;
}

.genre-filter:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.genre-filter.active {
  background-color: #333;
  color: white;
  border-color: #333;
}


.beat-item {
  transition: all 0.3s ease;
}

.beat-item.hidden {
  display: none;
}


.footer {
  background-color: black;
  padding: 4em;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  color: white;
  font-size: 16px;
  flex: 1;
  text-align: left;
  font-family: 'Open Sans', Arial, sans-serif;
}

.copyright {
  color: #888;
  font-weight: normal;
}

.brand {
  color: white; 
  font-weight: bold; 
  letter-spacing: 0px;
  white-space: nowrap;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.music-icon {
  width: 100px;
  height: 100px;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.copy-text {
  color: white;
  text-decoration: none;
}

.social {
  display: inline-block;
  font-size: 20px;
}

.social a {
  margin-right: 30px;
  text-decoration: none;
}

.social a:last-child {
  margin-right: 0;
}

.bi {
  cursor: pointer;
  text-decoration: none;
  color: white;
}

.animated-menu {
    position: fixed;
    top: 20px;
    left: calc(100% - 400px); 
    min-width: 300px;
    min-height: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 10px;
    padding: 0 10px;
    background: #000;
    box-shadow:
    0 6.7px 5.3px rgba(0, 0, 0, 0.12),
    0 22.3px 17.9px rgba(0, 0, 0, 0.08),
    0 100px 80px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    color: #fff;
    z-index: 999;
}

.animated-menu ul {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.animated-menu ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.animated-menu ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    font-size: 20px;
    text-decoration: none;
    padding: 15px;
}

.animated-menu ul li a i {
    color: #fff;
    opacity: 0.4;
    transition: opacity 100ms ease;
}

.animated-menu ul li a.active i {
    opacity: 1;
}

.animated-menu .tubelight {
    position: absolute;
    left: 0px;
    top: 0px;
    transform: translateX(-50%);
    width: 45px;
    height: 5px;
    border-radius: 5px;
    background: #fff;
    transition: left 400ms ease;
    z-index: 10;
}

.animated-menu .light-ray {
    position: absolute;
    left: -30%;
    top: 5px;
    width: 160%;
    height: 80px;
    background: linear-gradient(to bottom,
    rgba(255,255,255,0.3) -50%,
    rgba(255,255,255, 0) 90%);
    clip-path: polygon(5% 100%, 25% 0px, 75% 0px ,95% 100%);
    pointer-events: none;
}

.pricing-dropdown {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #fe2b0d, #ff6b35);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'aaaiight', sans-serif;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 130px;
  justify-content: center;
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 43, 13, 0.3);
}

.buy-btn .bi-chevron-down {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.currency {
  margin-left: -0.4em; /* это примерно 1px, но адаптивно */
  font-family: Arial, sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  display: inline-block;
  letter-spacing: -0.03em;
}



.pricing-dropdown.active .bi-chevron-down {
  transform: rotate(180deg);
}

.pricing-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid #333;
  border-radius: 6px;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 220px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.pricing-dropdown.active .pricing-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.license-option {
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

.license-option:last-child {
  border-bottom: none;
}

.license-option:hover {
  background-color: #f8f9fa;
}

.license-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.license-name {
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.license-price {
  color: #fe2b0d;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.5px;
}


.license-currency {
  margin-left: 0.10em;
  font-size: 1.2em;
  opacity: 0.85;
  font-family: Arial, sans-serif;
  transform: translateY(-0.02em);
}

.license-desc {
  color: #666;
  font-size: 11px;
  font-family: 'Ramona', sans-serif;
}

.contact-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  font-size: 12px;
  color: #666;
}

.contact-text {
  font-family: Arial, sans-serif !important;
}


.contact-hint .bi-telegram {
  color: #0088cc;
  font-size: 25px;
}


@media (max-width: 768px) {
  .pricing-options {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 280px;
    max-width: 90vw;
  }
  
  .pricing-dropdown.active .pricing-options {
    transform: translateX(-50%) translateY(0);
  }
  
  .buy-btn {
    min-width: 140px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

.new-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  border-top: 1px solid #333;
  z-index: 1000;
  padding: 10px 20px;
}

.new-player.hidden {
  display: none;
}

.player-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #333;
  cursor: pointer;
  transition: height 0.2s ease;
  user-select: none;
}

.player-progress-bar:active {
  cursor: grabbing;
}

.player-progress-bar:hover {
  height: 6px;
}

.player-progress {
  height: 100%;
  background: #fe2b0d;
  width: 0%;
  transition: width 0.01s linear;
  position: relative;
}

.player-progress::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #fe2b0d;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(254, 43, 13, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.player-progress-bar:hover .player-progress::after {
  opacity: 1;
}

.player-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.playListPlay {
  transition: all 0.2s ease;
}

.playListPlay:hover {
  transform: scale(1.1);
}

.player-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.play-pause-btn {
  color: #000;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-pause-btn:hover {
  background: #e0e0e0;
  transform: scale(1.05);
}

.track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
}

.track-image {
  width: 45px;
  height: 45px;
  border-radius: 4px;
  object-fit: cover;
}

.track-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.track-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'aaaiight', sans-serif;
  letter-spacing: 0.5px;
}

.track-type {
  color: #b3b3b3;
  font-size: 12px;
  font-family: 'Ramona', sans-serif;
}

.player-right {
  display: flex;
  align-items: center;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.volume-slider-container {
  position: relative;
  width: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.volume-control:active .volume-slider-container,
.volume-control.wheel-active .volume-slider-container {
  background: rgba(255, 255, 255, 0.4);
}

.volume-control:hover .volume-slider-container {
  width: 80px;
  opacity: 1;
}


.volume-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: white;
  border-radius: 2px;
}

.volume-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: #ff6b35;
  border-radius: 2px;
  pointer-events: none;
  width: 50%;
}

/* ПОЛЗУНОК */
.volume-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b35;
  cursor: pointer;
  border: 2px solid #fff; 
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
}

#new-volume-btn.control-btn {
  width: 40px !important;
  height: 40px !important;
  font-size: 22px !important;
  padding: 8px !important;
}

#new-volume-btn .bi {
  font-size: 22px !important;
}


.player-brand {
  color: #ff6b35;
  font-family: 'aaaiight', sans-serif;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-right: 15px;
  text-transform: lowercase;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
}

.player-brand:hover {
  text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
  transform: scale(1.05);
}

.volume-control:hover .volume-slider-container {
  width: 80px;
  opacity: 1;
}

.volume-slider-container.hidden {
  width: 0 !important;
  opacity: 0 !important;
}

.time-tooltip {
  position: absolute;
  bottom: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'aaaiight', sans-serif;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.2s ease;
  z-index: 1001;
}

.time-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
}

.player-progress-bar:hover .time-tooltip {
  opacity: 1;
}

.duration-time {
  left: 100% !important;
  transform: translateX(-100%);
  bottom: 15px;
}

.duration-time::after {
  left: 100%;
  transform: translateX(-100%);
}



@media (max-width: 1200px) {
    .beats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .beats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .header {
        padding: 12em;
    }
    
    .animated-menu {
        left: calc(100% - 350px);
    }
}

@media (max-width: 768px) {
    .beats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .header {
        padding: 8em 2em;
        height: 50vh;
    }
    
    .header h1 {
        font-size: 50px;
    }
    
    .header h1:last-of-type {
        font-size: 25px;
        margin-top: -30px;
    }
    
    .animated-menu {
        left: calc(100% - 300px);
        min-width: 250px;
    }
    
    .image-block {
        flex-direction: column;
        gap: 30px;
    }
    
    .image-item {
        min-width: auto;
        padding: 20px;
    }
}


@media (max-width: 576px) {
    .animated-menu {
        left: auto !important;
        right: 10px !important;
        transform: none !important;
        top: 20px !important;
        min-width: 200px !important;
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .animated-menu ul {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .animated-menu ul li {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        flex: 1 !important;
    }
    
    .animated-menu ul li a {
        padding: 0 !important;
        font-size: 16px !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .beats {
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .beats .image-info-container .image-container .bi {
        font-size: 45px !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        cursor: pointer;
    }

    .price .image-item img {
        width: 220px !important;
        height: 220px !important;
    }
    
    .price .image-item p {
        font-size: 14px !important;
        min-height: 40px !important;
    }
    
    .price .text-block p {
        font-size: 13px !important;
    }
    
    .price .text-block li:first-child {
        font-size: 14px !important;
    }
    
    .text-block li {
        font-size: 12px !important;
    }
    
    .image-container img {
        width: 100px;
        height: 100px;
    }
    
    .image-info-container {
        display: flex !important;
        flex-direction: row;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
        align-items: flex-end !important;
    }
    
    .image-container {
        flex-shrink: 0;
        width: 100px;
        margin-right: 15px;
        align-self: flex-end !important;
    }
    
    .image-container img {
        width: 100px;
        height: 100px;
    }
    
    .info {
        margin-left: 0;
        margin-top: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100px;
    }
    
    .info h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        margin-top: 0 !important;
    }
    
    .info p {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .pricing-dropdown {
        position: relative;
        display: inline-block;
    }
    
    .buy-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
        min-width: 140px;
        margin-top: 0 !important;
    }

    .pricing-dropdown .pricing-options {
        position: absolute !important;
        left: 0 !important;
        top: 100% !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        z-index: 1000 !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    
    .license-option {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 10px;
    }

    .license-info {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px;
        margin-bottom: 3px;
    }


    .license-desc {
        display: block !important;
        width: 100% !important;
        margin: 0;
        font-size: 11px;
        color: #666;
        margin-top: 3px;
    }

    .license-name {
        white-space: nowrap !important;
        font-weight: bold;
    }

    .license-price {
        white-space: nowrap !important;
        font-weight: bold;
        font-size: 14px !important;
    }


    
    .contact-hint {
        font-size: 11px !important;
        padding: 10px 12px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    
    .buy-btn, .license-option {
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .header {
        padding: 5em 1em 3em 1em !important;
        height: 40vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .header h1 {
        top: 10px !important;
        font-size: 40px !important;
        letter-spacing: 5px !important;
        max-width: 90% !important;
    }
    
    .header h1:last-of-type {
        font-size: 20px !important;
        margin-top: -30px !important;
        letter-spacing: 3px !important;
    }

    /* Анимация с меньшим подъемом */
    @keyframes showAndLift {
        0% {
            opacity: 0;
            transform: translateY(0);
        }
        20% {
            opacity: 1;
            transform: translateY(0);
        }
        40% {
            opacity: 1;
            transform: translateY(-20px);
        }
        100% {
            opacity: 1;
            transform: translateY(-20px);
        }
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .animated-menu {
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
        min-width: 200px;
    }
    
    .genre-filters {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 10px !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
    }
    
    .genre-filter {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 12px 15px !important;
        font-size: 16px !important;
    }
    
    .player-brand {
        display: none !important;
    }


    
    .volume-control {
        display: none !important;
    }

    .player-controls {
        justify-content: space-between;
        padding: 0 15px;
    }
    .player-left {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .track-info {
        order: 1;
        flex: 1;
        margin-left: 0;
        justify-content: flex-start;
    }

     .track-details {
        margin-left: -15px;
    }
    
    #new-back,
    #new-play-pause,
    #new-next {
        order: 2;
        margin-left: -5px;
    }
    
    .track-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .track-title {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
    
    .track-type {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left, .footer-right {
        text-align: center;
    }
    
    .social a {
        margin-right: 20px;
    }
}


@media (max-width: 360px) {
    .animated-menu {
        min-width: 180px !important;
        min-height: 45px !important;
        right: 5px !important;
        top: 15px !important;
    }
    
    .logo {
        top: 15px !important;
        width: 60px;
        height: 60px;
    }
    
    .animated-menu ul li a {
        font-size: 14px !important;
    }
    .beats {
        max-width: 320px;
        padding: 0 10px;
    }
    
    .image-info-container {
        flex-direction: column;
        text-align: center;
    }
    
    .image-container {
        margin-right: 0;
        margin-bottom: 10px;
        width: 120px;
    }
    
    .image-container img {
        width: 120px;
        height: 120px;
    }
    
    .info {
        align-items: center;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .header h1:last-of-type {
        font-size: 16px;
    }
    
    .animated-menu {
        min-width: 180px;
    }
    
    .animated-menu ul li a {
        padding: 10px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .header {
        height: 100vh;
        padding: 2em;
    }
    
    .header h1:first-of-type {
        margin-top: 40px;
    }
    
    .beats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .image-info-container[style*="display: none"] {
        display: none !important;
        opacity: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
        transform: scale(0) !important;
        visibility: hidden !important;
    }
    
    .image-info-container[style*="display: flex"] {
        display: flex !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: auto !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
        visibility: visible !important;
        margin-bottom: 20px !important;
        position: relative;
        z-index: 1;
    }
    
    .pricing-dropdown.active {
        z-index: 1000 !important;
    }
    
    .image-info-container:has(.pricing-dropdown.active) {
        z-index: 1001 !important;
        position: relative;
    }
    
    .pricing-dropdown.active .pricing-options {
        z-index: 1002 !important;
        position: absolute !important;
    }
    
    .beats {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
        position: relative;
    }
    
    .image-info-container {
        width: 100% !important;
        max-width: 400px !important;
        transition: all 0.3s ease !important;
    }
}


@media (min-width: 1024px) and (max-width: 1440px) {
  .header {
    padding: 12em 8em !important;
    height: 50vh !important;
  }
  
  .header h1:first-of-type {
    font-size: 60px !important;
    letter-spacing: 8px !important;
    max-width: 600px !important;
  }
  
  .header h1:last-of-type {
    font-size: 28px !important;
    margin-top: -35px !important;
  }
  
  .animated-menu {
    left: calc(100% - 350px) !important;
    min-width: 280px !important;
    min-height: 60px !important;
  }
  
  .animated-menu ul li a {
    padding: 12px !important;
    font-size: 18px !important;
  }

  .beats {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    padding: 1em !important;
  }
  
  .image-container img {
    width: 130px !important;
    height: 130px !important;
  }
  
  .beats .image-info-container .image-container .bi {
    font-size: 50px !important;
  }
  
  .info {
    font-size: 18px !important;
    margin-left: 15px !important;
  }
  
  .info h2 {
    font-size: 1.3rem !important;
  }
  
  .info p {
    font-size: 0.9rem !important;
    margin-top: -5px !important;
  }
  
  .buy-btn {
    font-size: 12px !important;
    padding: 8px 14px !important;
    min-width: 120px !important;
    margin-bottom: -25px;
  }
  
  .price {
    padding: 3em 2em !important;
  }
  
  .image-block {
    gap: 40px !important;
    max-width: 1200px !important;
  }
  
  .image-item {
    min-width: 300px !important;
    padding: 20px !important;
  }
  
  .image-item img {
    width: 240px !important;
    height: 240px !important;
  }
  
  .image-item p {
    font-size: 18px !important;
    min-height: 50px !important;
  }
  
  .text-block p {
    font-size: 15px !important;
  }
  
  .text-block li:first-child {
    font-size: 16px !important;
  }
  
  .text-block li {
    font-size: 13px !important;
  }
  
  .genre-title {
    font-size: 28px !important;
  }
  
  .genre-filters {
    max-width: 700px !important;
    gap: 15px !important;
  }
  
  .genre-filter {
    padding: 10px 20px !important;
    font-size: 16px !important;
  }
  
  .footer {
    padding: 3em 2em !important;
  }
  
  .footer-content {
    max-width: 1000px !important;
  }
  
  .music-icon {
    width: 80px !important;
    height: 80px !important;
  }
  
  .logo {
    width: 85px !important;
    height: 85px !important;
  }
  
  .player-controls {
    height: 55px !important;
    padding: 0 15px !important;
  }
  
  .track-image {
    width: 40px !important;
    height: 40px !important;
  }
  
  .track-title {
    font-size: 13px !important;
  }
  
  .track-type {
    font-size: 11px !important;
  }
  
  .control-btn {
    font-size: 18px !important;
    padding: 6px !important;
  }
  
  .play-pause-btn {
    width: 32px !important;
    height: 32px !important;
  }
  
  .player-brand {
    font-size: 16px !important;
    margin-right: 10px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .beats {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .header {
    padding: 10em 6em !important;
  }
  
  .header h1:first-of-type {
    font-size: 55px !important;
    max-width: 550px !important;
  }
  
  .image-block {
    gap: 30px !important;
  }
  
  .image-item {
    min-width: 280px !important;
  }
  
  .image-item img {
    width: 220px !important;
    height: 220px !important;
  }
}

@media (min-width: 1024px) and (max-height: 800px) {
  .header {
    height: 60vh !important;
    padding: 8em 6em !important;
  }
  
  .main {
    padding: 1.5em !important;
    min-height: 80vh !important;
  }
  
  .price {
    padding: 2em 1em !important;
    min-height: 80vh !important;
  }
  
  .beats {
    margin-top: 20px !important;
  }
  
  .genre-section {
    margin-bottom: 30px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  body {
    font-size: 15px !important;
  }
  
  .info h2 {
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
  }
  
  .text-block p,
  .text-block li {
    color: #222 !important;
    line-height: 1.4 !important;
  }
  
  .image-info-container {
    margin-bottom: 10px !important;
  }
  
  .pricing-dropdown {
    margin-top: 8px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1440px) and (hover: none) {
  .buy-btn:hover,
  .genre-filter:hover,
  .control-btn:hover {
    transform: none !important;
  }
  
  .buy-btn:active,
  .genre-filter:active,
  .control-btn:active {
    transform: scale(0.98) !important;
  }
}

@media (max-width: 1600px) {
  .beats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1801px) {
  .beats {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1201px) {
  .beats {
    grid-template-columns: repeat(4, 1fr);
  }
}


@media (max-width: 768px) {
  .license-name {
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  
  .license-option[data-license="exclusive"] .license-name,
  .license-option[data-license="trackout"] .license-name {
    white-space: pre-line !important;
  }
  
  .license-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-bottom: 4px !important;
  }
  
  .license-price {
    flex-shrink: 0 !important;
    margin-left: 10px !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
  
  .mobile-break {
    display: inline;
  }
  
  .license-option {
    padding: 14px 12px !important;
    min-height: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
  .license-name {
    font-size: 13px !important;
  }
  
  .license-price {
    font-size: 13px !important;
    margin-left: 8px !important; 
  }
  
  .license-desc {
    font-size: 10px !important;
  }
  
  /* Еще более компактные отступы */
  .license-option {
    padding: 12px 10px !important;
    min-height: 55px !important;
  }
}

@media (max-width: 768px) {
  .pricing-options {
    width: 100% !important;
  }
  
  .license-option {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .license-info {
    position: relative !important;
  }
  
  .license-price {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
  }
  
  .license-name {
    padding-right: 50px !important; 
  }
}