/* =========================================
   RESET
========================================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* =========================================
   BODY
========================================= */
html,
body{
  overflow-x:hidden !important;
}

body{
  background:#000;
  color:#fff;
  font-family:Arial,sans-serif;
  overflow-x:hidden;
  position:relative;
}

/* =========================================
   BACKGROUND
========================================= */
.pc-scale{
  width:min(100%,1450px);
  max-width:1450px;
  margin:0 auto;
  min-height:100vh;
  transform-origin:top center;
  position:relative;

  background:url("/img/fon_full.png") center top no-repeat;
  background-size:1450px auto;
}

/* =========================================
   MAIN
========================================= */
.main{
  width:1200px;
  margin:0 auto;
}

/* =========================================
   HEADER
========================================= */
.head{
  width:1200px;
  height:auto;
  aspect-ratio:1200 / 367;
  margin:0 auto;
  background-size:cover;
  background-position:center;
}

/* =========================================
   Ленточка
========================================= */
.em-ribbon{
  position:fixed;
  top:0;
  left:0;
  width:90px;
  height:90px;
  background:url("/img/euro_ukraina.png") no-repeat center center;
  background-size:contain;
  z-index:99999;
}

/* =========================================
   LAYOUT
========================================= */
.layout{
  display:flex;
  gap:clamp(15px, 2vw, 25px);
  align-items:flex-start;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

/* =========================================
   LEFT COLUMN
========================================= */
.cnt_tb_2{
  flex:0 0 clamp(300px, 26vw, 336px);
  display:flex;
  justify-content:center;
}

.cnt_tb_3{
  flex:1;
  min-width:0;
  margin-left:-17px;
}

/* =========================================
   CD BLOCK
========================================= */
.cd-wrapper{
  position:relative;
  width:100%;
  max-width:336px;
  margin-left:0;
  overflow:hidden;
  z-index:10;
}

.cover{
  position:absolute;
  inset:0;
  top:2%;
  left:9%;
  width:90%;
  aspect-ratio:1/1;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transition:opacity .5s ease;
  pointer-events:none;
}

.cover-a{
  opacity:1;
  z-index:1;
}

.cover-b{
  opacity:0;
  z-index:2;
}

/* =========================================
   CD OVERLAY
========================================= */
.top-overlay{
  position:absolute;
  top:0;
  left:0;
  width:336px;
  height:320px;
  z-index:3;
  pointer-events:none;
}

.top-overlay img{
  width:100%;
  height:100%;
}

/* =========================================
   INFO
========================================= */

.about-radio{
  margin-top:12px;
  padding:12px 16px;
  background:rgba(0,0,0,.65);
  border:1px solid #333;
  border-radius:10px;

  display:flex;
  flex-direction:column;

  text-align:center;
}

.about-radio h1{
  margin:0 0 0px;
  color:#ffd400;
  font-size:16px;
  line-height:1.2;
  text-align:center;
}

.about-radio p{
  margin:0;
    margin-top:6px;
    font-size:13px;
    color:#d0d0d0;
  line-height:1.4;
  text-align:center;
}

.title-main{
  display:block;
  font-size:18px;
}

.title-sub{
  display:block;
  font-size:14px;
  font-weight:600;
}

.about-link{
  display:inline-block;
  margin-top:6px;
  color:#ffd400;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}

.about-link:hover{
    color:#fff;
}

.about-link{
  align-self:flex-end;
  margin-top:8px;
  color:#e0b800;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  border-bottom:1px dotted rgba(255,212,0,.6);
}

.about-link:hover{
  color:#fff;
  border-bottom-color:#fff;
}

/* =========================================
   ABOUT RADIO MODAL
========================================= */

.about-modal-content{
  position:relative;
  width:90%;
  max-width:800px;
  max-height:85vh;
  overflow-y:auto;

  margin:4% auto;
  padding:30px;

  background:linear-gradient(180deg,#181818 0%,#0a0a0a 100%);
  color:#ddd;

  border:2px solid #333;
  border-radius:14px;

  box-shadow:
    0 0 25px rgba(255,180,0,.15),
    inset 0 0 25px rgba(255,255,255,.03);
}

.about-modal-content h2{
  text-align:center;
  color:#ffd400;
  margin-bottom:25px;
  font-size:28px;
}

.about-modal-content h3{
  color:#ffd400;
  margin:20px 0 12px;
}

.about-modal-content p{
  line-height:1.6;
  margin-bottom:10px;
}

.about-modal-content strong{
  color:#ffd400;
}

.about-modal-content .close{
  position:absolute;
  top:12px;
  right:18px;
  font-size:32px;
  color:#999;
}

.about-modal-content .close:hover{
  color:#fff;
}

.about-info{
  background:linear-gradient(180deg,#141414 0%,#090909 100%);
  border:1px solid #000;
  border-radius:10px;
  padding:15px;

  box-shadow:
    inset 0 0 0 1px #3a3a3a,
    inset 0 0 15px rgba(255,255,255,.03),
    0 0 12px rgba(0,0,0,.9);
}

.about-performers-btn{
  display:block;
  margin-top:20px;
  text-align:center;

  background:#111;
  color:#ffd400;

  padding:12px;
  border-radius:8px;

  text-decoration:none;
  font-weight:bold;

  border:1px solid #333;
}

.about-performers-btn:hover{
  background:#1b1b1b;
  color:#fff;
}


/* =========================================
   PERFORMERS PAGE
========================================= */

.performers-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.performers-list a{
  text-decoration:none;
  background:#111;
  color:#ffd400;

  padding:10px 14px;
  border-radius:8px;
  border:1px solid #333;
}

.performers-list a:hover{
  color:#fff;
  border-color:#ffd400;
}


/* =========================================
   ARTIST PAGE
========================================= */

.artist-layout{
  min-height:100vh;
  padding:40px 15px;
  background:#000;
}

.artist-card{
  max-width:850px;
  margin:0 auto;
  padding:30px;

  background:linear-gradient(180deg,#181818,#050505);
  border:1px solid #000;
  border-radius:16px;

  box-shadow:
    inset 0 0 0 1px #333,
    0 0 25px rgba(0,0,0,.9);

  color:#ddd;
}

.artist-card h1{
  color:#ffd400;
  font-size:42px;
  margin-bottom:8px;
}

.artist-genre{
  color:#aaa;
  font-size:16px;
  margin-bottom:20px;
}

.artist-description{
  font-size:17px;
  line-height:1.6;
  margin-bottom:25px;
}

.artist-card h2{
  color:#ffd400;
  font-size:24px;
  margin-bottom:15px;
}

.artist-songs{
  list-style:none;
  margin:0 0 25px;
  padding:0;
}

.artist-songs li{
  padding:9px 12px;
  margin-bottom:7px;

  background:#111;
  border:1px solid #333;
  border-radius:8px;
}

.artist-back,
.artist-listen-btn{
  display:inline-block;
  color:#ffd400;
  text-decoration:none;
  font-weight:bold;
}

.artist-back{
  margin-bottom:20px;
}

.artist-listen-btn{
  padding:12px 18px;
  background:#111;
  border:1px solid #333;
  border-radius:10px;
}

.artist-back:hover,
.artist-listen-btn:hover{
  color:#fff;
  border-color:#ffd400;
}

.artist-header{
    display:flex;
    margin-bottom:25px;

    border:1px solid #444;
    border-radius:10px;

    overflow:hidden;
}

.artist-cover{
    width:300px;
    min-width:300px;

    border-right:1px solid #444;
}

.artist-cover img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.artist-info{
    flex:1;
    display:flex;
    flex-direction:column;
}

.artist-row{
    flex:1;

    display:flex;
    align-items:center;

    border-bottom:1px solid #333;
}

.artist-row:last-child{
    border-bottom:none;
}

.artist-label{
    width:140px;

    padding:18px;

    color:#ffd400;
    font-weight:bold;

    border-right:1px solid #333;
}

.artist-value{
    padding:18px;
    color:#ddd;
}

.artist-meta h1{
  color:#ffd400;
  font-size:42px;
  margin-bottom:15px;
}

.artist-meta p{
  margin-bottom:10px;
  font-size:16px;
  line-height:1.5;
}

.artist-meta strong{
  color:#ffd400;
}

/* =========================================
   ADMIN
========================================= */

.admin-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px 20px;

    margin-bottom:30px;
}

.admin-form label{
    display:block;

    margin-bottom:6px;

    color:#ffd400;
    font-weight:bold;
}

.admin-form input,
.admin-form textarea{
    width:100%;
    box-sizing:border-box;

    padding:10px;

    background:#111;
    color:#fff;

    border:1px solid #333;
    border-radius:8px;

    transition:.2s;
}

.admin-form input:focus,
.admin-form textarea:focus{
    outline:none;

    border-color:#ffd400;

    box-shadow:
        0 0 8px rgba(255,212,0,.25);
}

.admin-form textarea{
    resize:vertical;
}

.admin-full{
    grid-column:1 / -1;
}

.admin-submit{
    text-align:center;
}

.admin-form button{
    min-width:220px;

    padding:12px 20px;

    background:#ffd400;
    color:#111;

    border:none;
    border-radius:8px;

    font-weight:bold;

    cursor:pointer;

    transition:.2s;
}

.admin-form button:hover{
    background:#fff;
}

.admin-form button:active{
    transform:translateY(1px);
}

.admin-form input[type="file"]{
    margin-top:8px;
    padding:8px;
    background:#0a0a0a;
    cursor:pointer;
}

.cover-upload-btn{
  display:inline-block;
  margin-top:10px;
  padding:10px 14px;

  background:#111;
  color:#ffd400;

  border:1px solid #333;
  border-radius:8px;

  font-weight:bold;
  cursor:pointer;
}

.cover-upload-btn:hover{
  color:#fff;
  border-color:#ffd400;
}

.cover-upload-btn input[type="file"]{
  display:none;
}

/* =========================================
   PLAYER ROW
========================================= */
.player-row{
  display:flex;
  align-items:flex-start;
  gap:0;
  flex-wrap:nowrap;
  width:100%;
  overflow:visible;
  position:relative;
  min-height:70px;
}

/* =========================================
   PLAYER
========================================= */
.player-box{
  position:relative;
  flex:0 0 230px;
  width:250px;
  min-width:230px;
  overflow:visible;
  border-radius:10px;
  z-index:50;
}

.my_player_adaptive{
  width:220px !important;
  height:57px !important;
  bottom: -7px !important;
  position:relative !important;
  background:linear-gradient(180deg, #1a1a1a 0%, #050505 100%) !important;
  border-top:1px solid #333 !important;
  border:2px solid #2f2f2f !important;
  border-radius:25px !important;
  overflow:visible;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.08),
    inset 0 -2px 6px rgba(0,0,0,0.8),
    0 0 10px rgba(0,0,0,0.9) !important;
}

/* PLAY BUTTON */
.my_play{
  width:55px !important;
  background:url("/img/play.png") no-repeat center !important;
  background-size:65% !important;
  background-position:55% 50% !important;
  opacity:.35 !important;
  cursor:pointer !important;
  transition:.25s !important;
}

.my_play:hover{
  opacity:1 !important;
}

.my_playing{
  background-image:url("/img/pause.png") !important;
  animation:pulsePlay 2s infinite;
}

@keyframes pulsePlay{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.06); }
}

/* VOLUME */
.my_volumeplayer{
  width:55px !important;
  background:url("/img/volume.png") no-repeat center !important;
  background-size:75% !important;
  opacity:.35 !important;
  cursor:pointer !important;
  position:relative;
}

.my_volumeplayer:hover{
  opacity:1 !important;
  z-index:9999 !important;
}

/* volume popup */
.jp-volume-bar{
  position:absolute !important;
  top:-75px !important;
  left:58px !important;
  width:30px !important;
  height:80px !important;
  pointer-events:auto;
  z-index:99999 !important;
}

/* SHARE / SONG INFO / COVER IN PLAYER */
.my_share,
.my_songinfo,
.my_cover{
  display:none !important;
}

/* =========================================
   ICONS — PREMIUM
========================================= */
.player-icons{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:15px;
  flex-wrap:wrap;
}

.player-icons a,
.player-icons img{
  display:block;
}

.player-icons img{
  height:46px;
  width:46px;
  object-fit:contain;
  padding:6px;
  border-radius:14px;
  background:linear-gradient(180deg,#1c1c1c,#050505);
  border:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  opacity:.92;
  filter:
    drop-shadow(0 4px 8px rgba(0,0,0,.75))
    saturate(1.05);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.12),
    inset 0 -2px 6px rgba(0,0,0,.75),
    0 0 0 rgba(255,215,0,0);
  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease,
    opacity .22s ease;
}

.player-icons img:hover{
  opacity:1;
  transform:translateY(-4px) scale(1.08);
  filter:
    drop-shadow(0 8px 14px rgba(0,0,0,.9))
    saturate(1.25)
    brightness(1.08);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.18),
    0 0 12px rgba(255,215,0,.45),
    0 0 24px rgba(255,140,0,.28);
}

.player-icons img:active{
  transform:translateY(0) scale(.94);
}

.paypal-button {
    display: inline-block;
    margin-top: 15px;
    background: #ffc439;
    color: #111;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.paypal-button:hover {
    background: #ffd666;
}

/* =========================================
   PAYPAL MODAL
========================================= */

.paypal-modal {
    display: none;
    position: fixed;
    z-index: 99998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
}

.paypal-modal-content {
    background: #1f1f1f;
    color: #fff;
    width: 90%;
    max-width: 572px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.paypal-modal-content h2 {
    margin-bottom: 20px;
    color: #ffc439;
}

.paypal-modal-content p {
    line-height: 1.6;
    margin-bottom: 25px;
}

.paypal-donate-btn {
    display: inline-block;
    padding: 14px 24px;
    background: #ffc439;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}

.paypal-donate-btn:hover {
    background: #ffd666;
}

.paypal-close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* =========================================
   @E-MAIL@
========================================= */

.mail-icon {
    position: relative;
    z-index: 9999;
    display: inline-block;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.75);
}

.modal-content {
    background: #222;
    color: #fff;
    width: 90%;
    max-width: 500px;
    margin: 8% auto;
    padding: 25px;
    border-radius: 12px;
}

.modal-content h2 {
    color: #fff;
    margin-bottom: 20px;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    margin: 8px 0;
    padding: 10px;
    box-sizing: border-box;
    background: #f5f5f5;
    border: 1px solid #555;
    border-radius: 4px;
}

.modal-content button {
    background: #ff9900;
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content button:hover {
    background: #ffb733;
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    opacity: .8;
}

.close:hover {
    opacity: 1;
}

#successMessage {
    display: none;
    margin-top: 15px;
    text-align: center;
    color: #7CFC00;
    font-weight: bold;
}

#charCounter {
    text-align: right;
    margin-top: 5px;
    font-size: 12px;
    color: #aaa;
}

/* =========================================
   CLOCK
========================================= */
.cd-clock-ui{
  display:flex;
  align-items:center;
  gap:10px;

  margin-left:auto;
  margin-top:5px;

  padding:4px 10px;

  background:linear-gradient(180deg,#1a1a1a,#050505);
  border:1px solid #333;
  border-radius:12px;

  min-width:170px;
}

.clock-left{
  display:flex;
  flex-direction:column;
}

#clock-time{
  color:#fff;
  font-size:26px;
  font-weight:700;
  line-height:1;
}

.clock-city{
  color:#999;
  font-size:12px;
  margin-top:3px;
}

#clock-canvas{
  width:60px;
  height:60px;
}

/* =========================================
   TOAST MESSAGE
========================================= */

#toast {
    position: fixed;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%) translateY(20px);

    background: #28a745;
    color: #fff;

    padding: 12px 20px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: bold;

    opacity: 0;
    visibility: hidden;

    transition: all .3s ease;

    z-index: 999999;
}

#toast.show {
    opacity: 1;
    visibility: visible;

    transform: translateX(-50%) translateY(0);
}

/* =========================================
   PLAYLIST BLOCK
========================================= */
.radio-block{
  position:relative;
  z-index:12;
  width:100%;
  padding:5px;
  margin-top:-2px;
  background:linear-gradient(145deg,#111,#000);
  border:5px solid #333;
  border-radius:10px;
  box-shadow:inset 0 0 8px rgba(255,255,255,.05);
}

/* =========================================
   SONGS CONTAINER
========================================= */
.my_lastsongs{
  background:linear-gradient(180deg,#111,#000);
  border-radius:10px;
  overflow:visible;
  box-shadow:inset 0 0 10px rgba(255,255,255,.05);
}

/* =========================================
   SONG ITEM
========================================= */
.song-item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 8px;
  border-bottom:1px solid rgba(255,255,255,.05);
  transition:.2s ease;
}

.song-item:not(.active) .artist-name{
  color:#d4af37;
  font-weight:bold;
}

.song-item:hover{
  background:rgba(255,255,255,.05);
  transform:translateX(2px);
}

.song-item:last-child{
  border-bottom:none;
}

/* ACTIVE TRACK */
.song-item.active{
  background:linear-gradient(90deg, rgba(255,215,0,.25), transparent);
  backdrop-filter:blur(2px);
  border-left:3px solid #ffd700;
  box-shadow:0 0 12px rgba(255,215,0,.2);
}

.song-item.active .song-time{
  color:#ffd700;
  min-width:42px;
  font-size:14px;
  margin-left:-3px;
}

.song-item.active .song-name{
  color:#ffd700;
  font-weight:bold;
  font-size:15px;
  position:relative;
  display:flex;
  flex-direction:column;
  padding-left:14px;
  margin-left:-15px;
}

.song-item.active .song-visual span{
  opacity:1;
  animation:equalizer 1s infinite ease-in-out;
}

/* =========================================
   SONG COVER
========================================= */
.song-cover{
  flex:0 0 40px;
  width:40px;
  height:40px;
  border-radius:6px;
  overflow:hidden;
  background:#111 url('/img/default_cover.jpg') center/cover no-repeat;
  position:relative;
  z-index:1;
  transform-origin:center center;
  transition:
    transform .28s ease,
    box-shadow .28s ease;
}

.song-cover:hover{
  transform:scale(1.9);
  z-index:999;
  box-shadow:
    0 10px 25px rgba(0,0,0,.85),
    0 0 18px rgba(255,215,0,.45);
}

.my_lastsong_cover{
  width:40px;
  height:40px;
  object-fit:cover;
}

/* =========================================
   SONG INFO
========================================= */
.song-info{
  display:flex;
  align-items:center;
  gap:10px;
}

.song-time{
  min-width:42px;
  color:#777;
  font-size:14px;
}

.song-name{
  color:#ddd;
  font-size:14px;
}

/* =========================================
   VISUALIZER
========================================= */
.song-visual{
  display:flex;
  gap:2px;
}

.song-visual span{
  width:2px;
  height:10px;
  background:#ffd700;
  opacity:0;
}

.song-item.active .song-visual span:nth-child(2){ animation-delay:.2s; }
.song-item.active .song-visual span:nth-child(3){ animation-delay:.4s; }
.song-item.active .song-visual span:nth-child(4){ animation-delay:.6s; }

@keyframes equalizer{
  0%,100%{ height:6px; }
  50%{ height:16px; }
}

/* =========================================
   FOOTER
========================================= */
.site-footer{
  width:100%;
  margin-top:10px;
  text-align:center;
  overflow:hidden;
}

.footer-line{
  width:100%;
  max-width:1270px;
  height:15px;
  margin:0 auto;
}

.footer-copy{
  text-align:center;
  font-size:14px;
  color:#999;
  letter-spacing:.6px;
  text-shadow:0 1px 1px #000;
}

/* =========================================
   RESPONSIVE DETAILS
========================================= */
@media (max-width:1400px){

  .main,
  .head{
    width:min(96vw, 1200px);
  }

  .cnt_tb_2{
    flex:0 0 320px;
  }

  .cd-wrapper{
    max-width:320px;
  }

  .top-overlay{
    width:320px;
    height:305px;
  }

  .player-icons{
    gap:10px;
  }

  .player-icons img{
    width:42px;
    height:42px;
  }

}


/* 2K */
@media (min-width:2560px){
  body{
    overflow-x:hidden;
  }
  

  .pc-scale{
    transform:scale(1.2);
  }
}

/* 4K */
@media (min-width:3840px){

  .pc-scale{
    transform:scale(1.6);
  }
}

@media (max-width:1366px){

  .main,
  .head{
    width:1100px;
  }

  .pc-scale{
    background-size:1330px auto;
  }

}

/* =========================================
   MOBILE
========================================= */
@media screen and (max-width:700px){

  .my_player_adaptive .my_timer,
  .my_player_adaptive .my_volumeplayer{
    display:flex !important;
    align-items:center !important;
  }

}

@media (max-width:900px){

  .layout{
    flex-direction:column;
    gap:15px;
  }

  .cnt_tb_2,
  .cnt_tb_3{
    width:100%;
  }

  .cd-wrapper{
    margin:0 auto;
  }

  .player-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:flex-start;
    gap:12px;
    overflow:visible;
  }

  .player-icons{
    justify-content:center;
    flex-wrap:wrap;
  }

  .radio-block{
    margin-top:5px;
  }

}
