* {
  margin: 0;
  padding: 0;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  box-sizing: border-box
}

body {
  background-color: #000;
  min-height: 100vh;
  background-image: url("/xeatbanner6.png");
  background-repeat: no-repeat;
  background-position: top;
  padding-top: 70px;
  padding-bottom: 110px
}

.navbar {
  background-color: #000;
  padding: 0 20px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  box-sizing: border-box;
  display: flex;
  align-items: center
}

.navdiv {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px
}

.logo {
  display: flex;
  align-items: center;
  height: 70px;
  overflow: hidden
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  margin: 0
}

.search-icon {
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 10px;
  gap: 40px
}

.user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px
}

.user-btn i {
  font-size: 14px
}

.user-name {
  max-width: 120px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.user-menu-wrapper {
  position: relative;
  display: inline-block
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  min-width: 160px;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  z-index: 2000
}

.user-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px
}

.user-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.02)
}

.user-caret {
  margin-left: 6px;
  font-size: 12px;
  opacity: .85
}

.features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  margin-top: 5%
}

.features figure img {
  width: 300px;
  height: 300px;
  border-radius: 50%
}

li {
  list-style: none;
  display: inline-block;
  margin: 5px
}

li a {
  position: relative;
  color: #fff;
  font-size: 15px;
  margin-right: 20px;
  text-decoration: none;
  padding: 5px 0;
  transition: color .2s ease
}

li a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1px;
  width: 100%;
  background: grey;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s linear
}

li a:hover {
  color: grey
}

li a:hover::before {
  transform: scaleX(1);
  transform-origin: left
}

.footer {
  background: linear-gradient(to bottom, #fff 0%, #000 10%);
  width: 100%;
  color: #fff;
  padding: 5% 0 7%;
  line-height: 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10%
}

.footerh3 {
  font-size: 24px;
  text-align: center
}

.social-list i {
  font-size: 20px
}

.about-section {
  text-align: center;
  padding: 50px 20px
}

.about-section img {
  max-width: 300px;
  width: 100%;
  border-radius: 50%;
  margin-top: 50px;
  margin-bottom: 75px
}

.home-hero {
  padding: 100px 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .8));
  text-align: center
}

.home-hero .hero-inner {
  max-width: 1100px;
  margin: 0 auto
}

.home-hero h1 {
  font-size: 44px;
  color: #fff;
  margin-bottom: 12px
}

.home-hero .hero-sub {
  color: #ccc;
  font-size: 18px;
  margin-bottom: 18px
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center
}

.cta-button {
  background: linear-gradient(90deg, #1db954, #17a34a);
  color: #000;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700
}

.cta-outline {
  background: transparent;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none
}

.home-featured {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px
}

.home-featured .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px
}

.home-featured h2 {
  color: #fff;
  margin: 0
}

.muted {
  color: #999
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.featured-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px
}

.featured-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px
}

.featured-item .fi-meta h3 {
  margin: 0;
  font-size: 16px;
  color: #fff
}

.featured-item .fi-sub {
  color: #aaa;
  font-size: 13px
}

@media(max-width:900px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .home-hero h1 {
    font-size: 32px
  }
}

@media(max-width:480px) {
  .featured-grid {
    grid-template-columns: 1fr
  }

  .home-hero {
    padding: 60px 12px
  }
}

.about-section h1 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff
}

.about-section p {
  font-size: 18px;
  color: grey;
  max-width: 600px;
  margin: 0 auto
}

.contact-section {
  max-width: 600px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center
}

.contact-section h1 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555
}

.contact-form label {
  color: #fff;
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: 500
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box
}

.contact-form button {
  padding: 12px 30px;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  transition: background .3s
}

.contact-form button:hover {
  background-color: grey
}

.beats-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 15vh 20px 100px;
  max-width: 1400px;
  margin: 0 auto
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

#searchBar {
  width: 100%;
  padding: 12px 160px 12px 18px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  outline: none;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  transition: box-shadow .12s ease, border-color .12s ease
}

#searchBar:focus {
  box-shadow: 0 6px 18px rgba(13, 13, 13, .65) inset, 0 4px 12px rgba(0, 0, 0, .6);
  border-color: rgba(255, 255, 255, .12)
}

#searchButton,
#clearSearch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform .12s ease, background .12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px
}

#searchButton {
  right: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .06)
}

#searchButton:hover {
  transform: translateY(-52%) scale(1.02);
  background: rgba(255, 255, 255, .08)
}

#clearSearch {
  right: 96px;
  background: rgba(231, 76, 60, .12);
  color: #fff;
  border: 1px solid rgba(231, 76, 60, .18)
}

#clearSearch:hover {
  transform: translateY(-52%) scale(1.02);
  background: rgba(231, 76, 60, .18)
}

.filters-container {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, .02);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .03)
}

.filters-container select,
.filters-container input[type="number"],
.filters-container input[type="text"] {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .06);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  min-height: 36px
}

.filters-container label {
  color: #bbb;
  font-size: 13px
}

.filters-container #clearFilters {
  background: linear-gradient(90deg, #1db954 0%, #17a34a 100%);
  color: #000;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700
}

.filters-container #clearFilters {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .06)
}

.filters-container #applyFilters:hover {
  transform: translateY(-2px)
}

.filters-container #clearFilters:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .04)
}

.beat-table-title {
  text-align: left;
  color: #fff;
  padding: 15px 10px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid #444
}

.beat-table {
  width: 100%;
  max-width: 1200px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 auto
}

#beatList {
  width: 100%
}

.beat-table thead td:nth-child(1) {
  width: 70px
}

.beat-table thead td:nth-child(2) {
  width: 25%
}

.beat-table thead td:nth-child(3) {
  width: 8%
}

.beat-table thead td:nth-child(4) {
  width: 8%
}

.beat-table thead td:nth-child(5) {
  width: 8%
}

.beat-table thead td:nth-child(6) {
  width: 26%
}

.beat-table thead td:nth-child(7) {
  width: 10%
}

.beat-table thead td:nth-child(8) {
  width: 15%
}

#beatList td:nth-child(1) {
  padding: 15px 10px
}

#beatList td:nth-child(2) {
  padding: 15px 15px 15px 5px
}

#beatList td:nth-child(3),
#beatList td:nth-child(4),
#beatList td:nth-child(5),
#beatList td:nth-child(6),
#beatList td:nth-child(7) {
  padding: 15px 10px
}

#beatList td:nth-child(8) {
  padding: 15px 10px;
  text-align: right
}

#beatList td {
  padding: 4px 0;
  vertical-align: middle;
  white-space: nowrap;
  text-align: left
}

.beat-item {
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
  transition: transform .2s, box-shadow .2s, background-color .2s;
  background-color: rgba(0, 0, 0, .4)
}

.beat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
  background-color: rgba(20, 20, 20, .6)
}

.beat-item td {
  border-bottom: 1px solid #222;
  vertical-align: middle
}

.beat-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px
}

.beat-item div {
  display: flex;
  flex-direction: column;
  justify-content: center
}

.beat-item h3 {
  margin: 5px 0;
  font-size: 18px;
  color: #fff
}

.beat-item p {
  font-size: 14px;
  color: #fff
}

.beat-item a {
  margin-left: auto;
  display: inline-block;
  padding: 8px 15px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color .2s;
  outline: 0.5px solid #fff
}

.beat-item a:hover {
  background-color: #222
}

.beat-item .download-link {
  margin-left: 8px;
  background-color: #1a1a1a;
  outline: 0.5px solid #888;
  padding: 8px 12px;
  font-size: 14px
}

.beat-item .download-link:hover {
  background-color: #333;
  outline: 0.5px solid #aaa
}

.beat-item td:last-child {
  white-space: nowrap
}

#playbar {
  position: fixed;
  display: none;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 92px;
  background: linear-gradient(to bottom, rgba(40, 40, 40, .95) 0%, rgba(0, 0, 0, .95) 100%);
  color: #fff;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  z-index: 9999;
  box-sizing: border-box
}

#playbar.active {
  display: flex
}

.playbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px
}

#playbar img {
  height: 55px;
  width: 55px;
  object-fit: cover;
  border-radius: 4px
}

.playbar-info h4 {
  margin: 0;
  font-size: 14px
}

.playbar-info p {
  margin: 0;
  font-size: 12px;
  color: #b3b3b3
}

.playbar-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 2;
  max-width: 600px
}

.playbar-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px
}

.playbar-controls button {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  transition: transform .12s ease, background .12s ease, box-shadow .12s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4) inset
}

.playbar-controls button:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5)
}

.playbar-controls .play-toggle {
  width: 56px;
  height: 56px;
  font-size: 20px;
  background: linear-gradient(180deg, #fff 0%, #d8d8d8 100%);
  color: #000;
  border-radius: 50%;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5)
}

.playbar-controls .play-toggle:hover {
  transform: translateY(-3px) scale(1.06)
}

.playbar-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%
}

.playbar-progress span {
  font-size: 11px;
  color: #b3b3b3;
  min-width: 35px
}

.progress-bar {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(90deg, #1db954 0%, #4f4f4f 0%);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden
}

.progress-bar::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  margin-top: -4px
}

.progress-bar::-moz-range-track {
  height: 6px;
  background: transparent
}

.progress-bar::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4)
}

.playbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1
}

.playbar-right i {
  font-size: 14px;
  color: #b3b3b3
}

#volume-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 6px;
  background: linear-gradient(90deg, #1db954 0%, #4f4f4f 0%);
  border-radius: 999px;
  outline: none;
  cursor: pointer
}

#volume-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: transparent;
  border-radius: 999px
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  margin-top: -4px
}

#volume-slider::-moz-range-track {
  height: 6px;
  background: transparent
}

#volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4)
}

@media(max-width:600px) {
  #playbar {
    height: 110px;
    padding: 10px 15px
  }

  #playbar-cover {
    width: 50px;
    height: 50px
  }

  .playbar-controls button {
    font-size: 18px
  }

  .playbar-progress {
    width: 70%
  }
}

.videos-page-wrapper {
  width: 100%;
  padding: 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px
}

.page-title {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #fff;
  margin-bottom: 75px
}

.main-video-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto
}

.video-aspect-ratio {
  position: relative;
  padding-bottom: 50%;
  height: 0;
  border: 1px solid #222
}

.video-aspect-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%
}

.video-meta {
  margin-top: 20px;
  text-align: left;
  color: #fff
}

.video-meta h2 {
  font-size: 20px
}

.video-meta p {
  font-size: 16px;
  color: grey;
  font-weight: 300;
  margin-top: 0
}

.beat-tag-bubble {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 2px;
  font-size: 16px;
  white-space: nowrap
}

.pagination-container {
  margin: 60px auto 40px;
  text-align: center;
  padding: 30px 20px
}

.pagination-info {
  color: #aaa;
  margin-bottom: 15px;
  font-size: 14px
}

.pagination-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.page-btn {
  padding: 8px 15px;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s;
  min-width: 40px
}

.page-btn:hover {
  background-color: #333;
  border-color: #555
}

.page-btn.active {
  background-color: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 700
}

.page-btn:disabled {
  opacity: .5;
  cursor: not-allowed
}

.pagination-dots {
  color: #666;
  padding: 0 5px
}

.purchased-badge {
  display: inline-block;
  padding: 6px 10px;
  background: linear-gradient(90deg, #2e2e2e, #1f1f1f);
  color: #fff;
  border-radius: 6px;
  font-weight: 600
}

@media(max-width:768px) {
  .pagination-buttons {
    gap: 5px
  }

  .page-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 35px
  }
}

@media(max-width:1200px) {
  .beats-section {
    padding: 12vh 15px 80px
  }

  .beat-table {
    font-size: 14px
  }

  .beat-item h3 {
    font-size: 16px
  }

  .beat-item p {
    font-size: 13px
  }
}

@media(max-width:768px) {
  .beats-section {
    padding: 10vh 10px 60px
  }

  .search-container {
    margin-bottom: 30px
  }

  #searchBar {
    font-size: 16px;
    padding: 12px 100px 12px 15px
  }

  #searchButton {
    font-size: 16px;
    padding: 0 15px
  }

  .beat-table thead {
    display: none
  }

  .beat-item {
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden
  }

  .beat-item td {
    display: block;
    border-bottom: none;
    padding: 10px 15px !important;
    text-align: left !important
  }

  .beat-item td:first-child {
    text-align: center;
    padding: 15px !important
  }

  .beat-item td:last-child {
    text-align: center !important;
    padding: 15px !important;
    border-top: 1px solid #333
  }

  .beat-item img {
    width: 80px;
    height: 80px
  }
}

.filters-container #clearFilters {
  background: linear-gradient(90deg, #1db954 0%, #17a34a 100%);
  color: #000;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.filters-container #clearFilters {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.filters-container #applyFilters:hover {
  transform: translateY(-2px);
}

.filters-container #clearFilters:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
}

/* ------------------------------------------------------------------------------------------------------ BEATY SEKCIA */

.beat-table-title {
  text-align: left;
  color: white;
  padding: 15px 10px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #444;
}

/* Kontajner pre beaty */
.beat-table {
  width: 100%;
  max-width: 1200px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 auto;
}

#beatList {
  width: 100%;
}

.beat-table thead td:nth-child(1) {
  width: 70px;
}

/* Obrázok */
.beat-table thead td:nth-child(2) {
  width: 25%;
}

/* Title */
.beat-table thead td:nth-child(3) {
  width: 8%;
}

/* Time */
.beat-table thead td:nth-child(4) {
  width: 8%;
}

/* BPM */
.beat-table thead td:nth-child(5) {
  width: 8%;
}

/* Key */
.beat-table thead td:nth-child(6) {
  width: 26%;
}

/* Tags */
.beat-table thead td:nth-child(7) {
  width: 10%;
}

/* Price */
.beat-table thead td:nth-child(8) {
  width: 15%;
}

/* Buttons */

#beatList td:nth-child(1) {
  padding: 15px 10px;
}

#beatList td:nth-child(2) {
  padding: 15px 15px 15px 5px;
}

#beatList td:nth-child(3),
#beatList td:nth-child(4),
#beatList td:nth-child(5),
#beatList td:nth-child(6),
#beatList td:nth-child(7) {
  padding: 15px 10px;
}

#beatList td:nth-child(8) {
  padding: 15px 10px;
  text-align: right;
}

#beatList td {
  padding: 4px 0px;
  vertical-align: middle;
  white-space: nowrap;
  /* aby se to nelámalo */
  text-align: left;
  /* TOTO vynúti zarovnanie textu doľava */
}

.beat-item {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  background-color: rgba(0, 0, 0, 0.4);
}

.beat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background-color: rgba(20, 20, 20, 0.6);
}

.beat-item td {
  border-bottom: 1px solid #222;
  vertical-align: middle;
}

.beat-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.beat-item div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.beat-item h3 {
  margin: 5px 0;
  font-size: 18px;
  color: #ffffff;
}

.beat-item p {
  font-size: 14px;
  color: rgb(255, 255, 255);
}

/* Buy tlačidlo */
.beat-item a {
  margin-left: auto;
  display: inline-block;
  padding: 8px 15px;
  background-color: black;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.2s;
  outline: 0.5px solid white;
}

.beat-item a:hover {
  background-color: #222;
}

/* Download tlačidlo */
.beat-item .download-link {
  margin-left: 8px;
  background-color: #1a1a1a;
  outline: 0.5px solid #888;
  padding: 8px 12px;
  font-size: 14px;
}

.beat-item .download-link:hover {
  background-color: #333;
  outline: 0.5px solid #aaa;
}

.beat-item td:last-child {
  white-space: nowrap;
}

/* ------------------------------------------------------------------------------------------------------ PLAY BAR */

#playbar {
  position: fixed;
  display: none;
  /* Tu musí byť none, aby bol na začiatku skrytý */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 92px;
  /* taller to add breathing room */
  background: linear-gradient(to bottom, rgba(40, 40, 40, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%);
  color: white;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  /* vertical padding for top/bottom spacing */
  z-index: 9999;
  box-sizing: border-box;
}

/* Toto sa aktivuje, až keď tvoj JS pridá classu "active" */
#playbar.active {
  display: flex;
}

/* ĽAVÁ ČASŤ - Info */
.playbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  /* Zaberá 1 diel miesta */
  min-width: 200px;
}

#playbar img {
  height: 55px;
  width: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.playbar-info h4 {
  margin: 0;
  font-size: 14px;
}

.playbar-info p {
  margin: 0;
  font-size: 12px;
  color: #b3b3b3;
}

/* STREDNÁ ČASŤ - Ovládanie */
.playbar-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 2;
  /* Zaberá viac miesta (stred) */
  max-width: 600px;
}

.playbar-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}

.playbar-controls button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: white;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) inset;
}

.playbar-controls button:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* Emphasize main play/pause button */
.playbar-controls .play-toggle {
  width: 56px;
  height: 56px;
  font-size: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
  color: #000;
  border-radius: 50%;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.playbar-controls .play-toggle:hover {
  transform: translateY(-3px) scale(1.06);
}

/* Progress bar */
.playbar-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.playbar-progress span {
  font-size: 11px;
  color: #b3b3b3;
  min-width: 35px;
}


.progress-bar {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(90deg, #1db954 0%, #4f4f4f 0%);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-bar::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  margin-top: -4px;
  /* vertically center the thumb */
}

.progress-bar::-moz-range-track {
  height: 6px;
  background: transparent;
}

.progress-bar::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* PRAVÁ ČASŤ - Hlasitosť */
.playbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
  /* Zaberá 1 diel miesta (rovnako ako ľavá strana) */
}

.playbar-right i {
  font-size: 14px;
  color: #b3b3b3;
}

#volume-slider {

  -webkit-appearance: none;
  width: 100px;
  height: 6px;
  background: linear-gradient(90deg, #1db954 0%, #4f4f4f 0%);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

#volume-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  background: transparent;
  border-radius: 999px;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  margin-top: -4px;
}

#volume-slider::-moz-range-track {
  height: 6px;
  background: transparent;
}

#volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}



/* Pre menšie obrazovky */
@media (max-width: 600px) {
  #playbar {
    height: 110px;
    /* more vertical space on small screens */
    padding: 10px 15px;
  }

  #playbar-cover {
    width: 50px;
    height: 50px;
  }

  .playbar-controls button {
    font-size: 18px;
  }

  .playbar-progress {
    width: 70%;
    /* progress bar prispôsobený menším obrazovkám */
  }
}

/* ------------------------------------------------------------------------------------------------------ VIDEOS */

.videos-page-wrapper {
  width: 100%;
  padding: 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.page-title {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
  color: white;
  margin-bottom: 75px;
}

.main-video-container {
  width: 90%;
  /* Zaberá väčšinu šírky */
  max-width: 1200px;
  /* Ale nezväčší sa nad 1200px */
  margin: 0 auto;
}

.video-aspect-ratio {
  position: relative;
  padding-bottom: 50%;
  /* Tu ovládaš výšku/dĺžku videa */
  height: 0;
  border: 1px solid #222;
}

.video-aspect-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-meta {
  margin-top: 20px;
  text-align: left;
  color: #fff;
}

.video-meta h2 {
  font-size: 20px;
}

.video-meta p {
  font-size: 16px;
  /* O niečo menšie ako nadpis */
  color: grey;
  /* Šedá farba (aby to nekričalo) */
  font-weight: 300;
  /* Tenšie písmo, ak ho font podporuje */
  margin-top: 0;
}

.beat-tag-bubble {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
  margin-right: 5px;
  /* Toto ich od seba rozdelí */
  margin-bottom: 2px;
  font-size: 16px;
  white-space: nowrap;
}

/* ------------------------------------------------------------------------------------------------------ PAGINATION */

.pagination-container {
  margin: 60px auto 40px;
  text-align: center;
  padding: 30px 20px;
}

.pagination-info {
  color: #aaa;
  margin-bottom: 15px;
  font-size: 14px;
}

.pagination-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 8px 15px;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  min-width: 40px;
}

.page-btn:hover {
  background-color: #333;
  border-color: #555;
}

.page-btn.active {
  background-color: #fff;
  color: #000;
  border-color: #fff;
  font-weight: bold;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-dots {
  color: #666;
  padding: 0 5px;
}

/* Purchased badge for beats */
.purchased-badge {
  display: inline-block;
  padding: 6px 10px;
  background: linear-gradient(90deg, #2e2e2e, #1f1f1f);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .pagination-buttons {
    gap: 5px;
  }

  .page-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 35px;
  }
}

/* Responsive design for beats table */
@media (max-width: 1200px) {
  .beats-section {
    padding: 12vh 15px 80px;
  }

  .beat-table {
    font-size: 14px;
  }

  .beat-item h3 {
    font-size: 16px;
  }

  .beat-item p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .beats-section {
    padding: 10vh 10px 60px;
  }

  .search-container {
    margin-bottom: 30px;
  }

  #searchBar {
    font-size: 16px;
    padding: 12px 100px 12px 15px;
  }

  #searchButton {
    font-size: 16px;
    padding: 0 15px;
  }

  .beat-table thead {
    display: none;
  }

  .beat-item {
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
  }

  .beat-item td {
    display: block;
    border-bottom: none;
    padding: 10px 15px !important;
    text-align: left !important;
  }

  .beat-item td:first-child {
    text-align: center;
    padding: 15px !important;
  }

  .beat-item td:last-child {
    text-align: center !important;
    padding: 15px !important;
    border-top: 1px solid #333;
  }

  .beat-item img {
    width: 80px;
    height: 80px;
  }
}