/* --- BAŞLANGIÇ: ORİJİNAL MASAÜSTÜ KODLARI --- */
@font-face {
  font-family: 'Telegraf';
  src: url('../Fonts/TelegrafRegular_272984568a25d8528fe2de8b20b29011.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Telegraf';
  src: url('../Fonts/Telegraf UltraBold 800.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Telegraf';
  src: url('../Fonts/Telegraf UltraLight 200.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

html {
  overflow-x: hidden;
}

body,
html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Telegraf';
  background: #e6e622;
}

body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 75px;
  z-index: 1000;
  pointer-events: none;
}

body::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
}

body::after {
  right: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.1) 70%, rgba(255, 255, 255, 0.4) 100%);
}

.album-link {
  text-decoration: none;
}

.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.kale-logo {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 48px;
  height: auto;
  z-index: 10;
}

.ramart-logo-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 175px;
  background: #fff;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 4;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
}

.ramart-logo {
  width: 180px;
  height: auto;
  margin-top: 25px;
  margin-right: 22px;
}

.main-title {
  position: absolute;
  top: 5vh;
  left: 10vw;
  font-size: 9vw;
  font-weight: bold;
  color: #111;
  margin: 0;
  letter-spacing: -2px;
  z-index: 20;
}

.left-block {
  position: absolute;
  top: 32vh;
  left: 7vw;
  width: 28vw;
  display: flex;
  flex-direction: column;
  gap: 60px;
  z-index: 5;
}

.left-title {
  font-size: 2.5vw;
  font-weight: 700;
  color: #000000;
  margin-bottom: 22px;
}

.left-title.small {
  font-size: 1.2vw;
  font-weight: 700;
  margin-bottom: 22px;
}

.last-release-slider {
  position: relative;
  width: 220px;
  margin-top: 10px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 15px;
  transition: transform 0.3s ease-out;
  width: max-content;
  transform: translateX(0);
}

.last-release-img {
  width: 220px;
  height: 120px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.last-release-img:hover {
  transform: translateY(-2px);
}

.img-content {
  text-align: center;
  color: #fff;
}

.img-content h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.img-content h2 {
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.img-content p {
  font-size: 0.7rem;
  font-style: italic;
  margin: 0;
  opacity: 0.9;
}

.slider-hint {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin-top: 8px;
  opacity: 0.7;
  animation: pulse 2s infinite;
  display: none;
  /* MASAÜSTÜNDE GİZLİ */
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

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

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  80% {
    transform: scale(1.8);
    opacity: 0;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 35px;
  height: 35px;
  background: #111;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.slider-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 17, 0.7);
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  transition: all 0.4s ease;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

.slider-btn:hover::before {
  animation: none;
  opacity: 0;
  transform: scale(0.8);
}

.slider-btn .arrow {
  color: #fff;
  font-size: 24px;
  transition: opacity 0.4s ease;
}

.waveform-container {
  position: absolute;
  width: 60%;
  height: 50%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.slider-btn:hover .arrow {
  opacity: 0;
}

.slider-btn:hover .waveform-container {
  opacity: 1;
}

.wave {
  width: 3px;
  height: 100%;
  background-color: #fff;
  border-radius: 2px;
  transform-origin: bottom;
  animation: wave-dance 0s cubic-bezier(0.5, 0, 0.5, 1) infinite alternate;
}

.slider-btn:hover .wave {
  animation-name: wave-dance;
}

@keyframes wave-dance {
  0% {
    transform: scaleY(0.1);
  }

  100% {
    transform: scaleY(1);
  }
}

.wave:nth-child(1) {
  background-color: #e6e622;
  animation-duration: 0.6s;
}

.wave:nth-child(2) {
  background-color: #1ea4a6;
  animation-duration: 0.8s;
  animation-delay: 0.2s;
}

.wave:nth-child(3) {
  background-color: #fff;
  animation-duration: 0.5s;
  animation-delay: 0.1s;
}

.wave:nth-child(4) {
  background-color: #0edc30;
  animation-duration: 0.7s;
  animation-delay: 0.3s;
}

.wave:nth-child(5) {
  background-color: #e6e622;
  animation-duration: 0.6s;
  animation-delay: 0.2s;
}

.slider-btn.prev-btn {
  left: -37px;
}

.slider-btn.next-btn {
  right: -36px;
}

.slider-track,
.upcoming-track {
  cursor: default;
}

.upcoming-imgs {
  display: flex;
  gap: 40px;
}

.upcoming-img {
  width: 115px;
  height: 80px;
  background: #1ea4a6;
}

.upcoming-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.upcoming-slider {
  position: relative;
  width: 140px;
  margin-top: 10px;
  overflow: hidden;
}

.upcoming-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease-out;
  width: max-content;
  transform: translateX(0);
}

.upcoming-img {
  width: 140px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.upcoming-img:hover {
  transform: translateY(-2px);
}

.upcoming-img .img-content h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.upcoming-img .img-content p {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.9;
}

.discover-box {
  position: absolute;
  top: 26.5vh;
  left: 33vw;
  width: 30vw;
  height: 62vh;
  background: transparent;
  clip-path: polygon(7% 0, 100% 0, 100% 92%, 0 92%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 30px 15px;
  z-index: 5;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}

.discover-title {
  font-family: 'Telegraf', sans-serif;
  font-size: 2.4vw;
  font-weight: 700;
  color: #111;
  letter-spacing: 6px;
  margin-bottom: 30px;
  flex-shrink: 0;
  background: linear-gradient(10deg, #e6e622, #000000);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

.artist-list-scrollable {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  overflow-y: auto;
  padding: 0 20px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom left, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom left, black 80%, transparent 100%);
  padding-bottom: 50px;
}

.artist-list-scrollable::-webkit-scrollbar {
  width: 6px;
}

.artist-list-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.artist-list-scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(17, 17, 17, 0.5);
  border-radius: 10px;
}

.artist-list-scrollable::after {
  content: '↓';
  position: absolute;
  bottom: 10px;
  left: 15%;
  transform: translateX(-50%);
  font-size: 1.9vw;
  color: #000000;
  opacity: 1;
  animation: bounce-arrow 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

@keyframes bounce-arrow {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-15px);
  }

  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.artist-card:hover {
  transform: scale(1.05);
}

.artist-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.artist-name-small {
  font-size: 1vw;
  font-weight: 700;
  color: #111;
  text-align: center;
}

.artist-image-box {
  position: absolute;
  top: 18vh;
  right: 0;
  width: 48vw;
  height: 82vh;
  overflow: hidden;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 6;
}

.artist-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomInBg 6s ease-in-out forwards;
}

@keyframes zoomInBg {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.3);
  }
}

.back-btn {
  position: absolute;
  right: 8px;
  bottom: 12px;
  color: #ffffffce;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 12px 32px;
  box-shadow: 0 2px 12px #e6e622;
  transition: background 0.2s, color 0.2s;
  z-index: 40;
  text-decoration: none;
  text-align: center;
}

/* --- BİTİŞ: ORİJİNAL MASAÜSTÜ KODLARI --- */


/* --- BAŞLANGIÇ: MOBİL VE TABLET KODLARI (GÜNCELLENMİŞ) --- */
@media (max-width: 700px) {

  body::before,
  body::after {
    width: 25px;
  }

  .container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .kale-logo {
    width: 35px;
    top: 8px;
    left: 8px;
    z-index: 10;
    /* GÜNCELLENDİ: Tıklanabilir olması için eklendi */
  }

  .ramart-logo {
    width: 90px;
    margin-top: 8px;
    margin-right: 4px;
  }

  .ramart-logo-box {
    width: 100px;
    height: 60px;
    z-index: 10;
    /* GÜNCELLENDİ: Tıklanabilir olması için eklendi */
  }

  .main-title {
    font-size: 2rem;
    left: 0;
    top: 0;
    position: relative;
    margin: 12px 0 18px 0;
    width: 100%;
    text-align: center;
  }

  .left-block {
    position: static;
    width: 100%;
    gap: 18px;
    margin: 0 0 18px 0;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .img-content h3 {
    font-size: 0.8rem;
  }

  .img-content h2 {
    font-size: 0.8rem;
  }

  .img-content p {
    font-size: 0.7rem;
  }

  .left-title,
  .left-title.small {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 5px;
  }

  .discover-box {
    position: relative;
    width: 100%;
    margin: 0 auto 25px auto;
    height: auto;
    clip-path: none;
    top: auto;
    left: auto;
    padding: 10px 10px;
    background: transparent;
    box-shadow: none;
  }

  .discover-box .slider-hint {
    margin-top: 10px;
    /* Fotoğraflarla arasına 10px'lik bir boşluk ekler */
  }

  .discover-title {
    font-size: 1rem;
    margin-left: 0;
    margin-top: -5px;
    text-align: center;
    margin-bottom: 15px;
  }

  /* GÜNCELLENMİŞ ALAN: SANATÇI LİSTESİ YATAY KAYDIRMA */
  .artist-list-scrollable {
    width: 100%;
    display: flex;
    flex-direction: row;
    /* Dikeyden yataya çevrildi */
    overflow-y: hidden;
    /* Dikey kaydırma kapatıldı */
    overflow-x: auto;
    /* Yatay kaydırma açıldı */
    gap: 25px;
    /* Kartlar arasına yatay boşluk */
    padding: 10px 15px 5px 15px;
    /* İç boşluklar düzenlendi */
    -webkit-mask-image: none;
    mask-image: none;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .artist-list-scrollable::-webkit-scrollbar {
    display: none;
  }

  .artist-list-scrollable::after {
    display: none;
  }

  /* Dikey ok kaldırıldı */

  .artist-card {
    flex-shrink: 0;
  }

  /* GÜNCELLENMİŞ ALAN: FOTOĞRAFLAR KÜÇÜLTÜLDÜ */
  .artist-photo {
    width: 75px;
    height: 75px;
    margin-bottom: 8px;
  }

  .artist-name-small {
    font-size: 0.8rem;
  }

  .slider-container {
    width: 100%;
    display: block;
  }

  .slider-btn {
    display: none;
  }

  /* Ok butonları mobilde gizli */
  .slider-hint {
    display: block;
  }

  /* Sürükleyin ipucu mobilde görünür */
  .slider-track,
  .upcoming-track,
  .artist-list-scrollable {
    cursor: grab;
  }

  .slider-track:active,
  .upcoming-track:active,
  .artist-list-scrollable:active {
    cursor: grabbing;
  }

  .artist-image-box {
    position: static;
    width: 100%;
    height: auto;
    clip-path: none;
    margin-top: -35px;
    z-index: -1;
  }

  .artist-image {
    object-fit: cover;
  }

  .back-btn {
    display: none;
  }

  .last-release-slider,
  .upcoming-slider {
    width: 100%;
    overflow-x: auto;
  }

  .last-release-slider::-webkit-scrollbar,
  .upcoming-slider::-webkit-scrollbar {
    display: none;
  }

  .last-release-slider,
  .upcoming-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .last-release-img,
  .upcoming-img {
    width: 30vw;
    min-width: 25vw;
    height: 80px;
    flex-shrink: 0;
  }

  .slider-track,
  .upcoming-track {
    display: flex;
    gap: 4vw;
    width: max-content;
  }
}

/* --- BAŞLANGIÇ: TABLET İÇİN YÖNLENDİRME KODLARI --- */

/* SADECE DİKEY TABLET GÖRÜNÜMÜ (701px - 1366px arası) */
/* --- BAŞLANGIÇ: GÜNCELLENMİŞ VE DÜZENLENMİŞ DİKEY TABLET KODU --- */

/* SADECE DİKEY TABLET GÖRÜNÜMÜ (701px - 1366px arası) */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: portrait) {

  /* Sayfanın dikeyde kaydırılabilir olmasını sağlıyoruz */
  body,
  html {
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* YENİ DÜZENLEME: Ana taşıyıcıyı esnek bir sütun yapıp, bölümler arasına boşluk ekliyoruz */
  .container {
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    width: 100%;
    gap: 70px;
    padding: 0 0;
    /* DEĞİŞİKLİK: Üst ve alt boşluk 80px'den 40px'e düşürüldü */
    box-sizing: border-box;
  }

  /* YENİ DÜZENLEME: Tüm ana bölümlerin konumunu sıfırlayıp ortalıyoruz */
  .main-title,
  .left-block,
  .discover-box,
  .artist-image-box {
    position: static;
    /* Mutlak konumlandırmayı kaldır */
    width: 90%;
    max-width: 800px;
    /* Çok geniş tabletlerde içeriğin fazla yayılmasını engeller */
    margin: 0 auto;
    /* Üst/alt marjı sıfırlar, sağ/sol ile ortalar */
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    clip-path: none;
    transform: none;
  }

  /* Başlık için ayarlar */
  .main-title {
    text-align: center;
    font-size: 4rem;
    margin-left: -70px;
    /* Boyutu biraz küçülttük */
  }

  /* Sol blok (slider'lar) için ayarlar */
  .left-block {
    gap: 50px;
    align-items: center;
  }

  .left-title,
  .left-title.small {
    font-size: 1.8rem;
    text-align: center;
  }

  .last-release-slider,
  .upcoming-slider {
    width: 100%;
    overflow-x: auto;
  }

  .slider-btn {
    display: none;
  }

  .slider-hint {
    display: block;
  }

  .last-release-slider,
  .upcoming-slider,
  .artist-list-scrollable {
    cursor: grab;
  }

  /* Mic Drop bölümü için ayarlar */
  .discover-box {
    height: auto;
    padding: 0;
    box-shadow: none;
  }

  .discover-title {
    font-size: 2.2rem;
  }

  .artist-list-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
    width: 100%;
    padding: 20px 10px;
  }

  .artist-list-scrollable::after {
    display: none;
  }

  /* YENİ DÜZENLEME: En alttaki fotoğrafı düzeltiyoruz */
  .artist-image-box {
    width: 100%;
    /* Genişliği tam ekran yapar */
    max-width: none;
    /* Genişlik kısıtlamasını kaldırır */
    height: 45vh;
    /* Yüksekliğini önemli ölçüde azalttık */
    order: 99;
  }

  .artist-image {
    animation: none;
  }

  .back-btn {
    display: none;
  }
}

/* --- BİTİŞ: GÜNCELLENMİŞ VE DÜZENLENMİŞ DİKEY TABLET KODU --- */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: landscape) {

  /* Yan yana dizilim için Flexbox'ı yeniden etkinleştiriyoruz */
  .muzik-columns {
    display: flex;
    flex-direction: row;
    height: 100%;
    overflow: hidden;
    /* Dikey kaydırmayı kapat */
  }

  /* Kolon yüksekliğini tekrar sabitliyoruz */
  .muzik-column {
    height: 100vh;
    min-height: 0;
    /* min-height'i sıfırla */
    padding: 100px 40px;
  }

  /* Yazı boyutlarını yatay ekran için biraz büyütüyoruz */
  .muzik-column h1 {
    font-size: 3.5rem;
  }

  .muzik-column h3 {
    font-size: 1.8rem;
  }

  /* Blokların yan yana oranları ve negatif marginlerini burada geri getiriyoruz */
  .muzik-mor {
    flex-basis: 36%;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%) !important;
  }

  .muzik-yesil {
    flex-basis: 38%;
    margin-left: -3.4% !important;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%) !important;
  }

  .muzik-beyaz {
    flex-basis: 36%;
    margin-left: -3.7% !important;
    clip-path: none !important;
  }
}