/* =====================================================================
   Love is Radio — стилизация под референс
   Палитра: розовый/маджента хедер, голубой hero, цветные карточки,
            зелёный "газон" в футере. Жёлтый + белый курсивный логотип.
   ===================================================================== */

:root {
    --pink:        #e63999;   /* хедер */
    --pink-dark:   #c41f7d;
    --pink-light:  #ff5cb0;
    --sky:         #6cc6ff;   /* hero фон */
    --sky-light:   #bfe9ff;
    --sky-dark:    #4aa3e0;
    --yellow:      #ffd166;   /* Love is / акцент */
    --purple:      #9d4edd;
    --green:       #06d6a0;   /* футер/газон */
    --green-dark:  #048f6c;
    --text:        #2b2440;
    --text-soft:   #6c6485;
    --bg:          #fff8fb;
    --white:       #ffffff;
    --shadow:      0 8px 28px rgba(196, 31, 125, .12);
    --radius:      18px;
    --radius-sm:   12px;
    --maxw:        1180px;
    --font:        'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-script: 'Pacifico', cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.empty { color: var(--text-soft); padding: 24px 0; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ============================ Кнопки ============================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border: none; border-radius: 999px;
    font-family: var(--font); font-weight: 700; font-size: 16px;
    cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px rgba(230,57,153,.35); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-ghost { background: #fff; color: var(--pink-dark); border: 2px solid var(--pink-light); }
.btn-ghost:hover { background: #fff0f7; }
.btn-play { background: var(--yellow); color: var(--text); box-shadow: 0 6px 18px rgba(255,209,102,.5); }
.btn-play:hover { background: #ffc94d; }
.btn-play-icon { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent var(--text); display:inline-block; }
.btn-block { width: 100%; }

/* ============================ Хедер ============================ */
.site-header {
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink) 55%, var(--pink-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow);
    position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 20px; flex-wrap: wrap; }

.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo:hover { text-decoration: none; }
.logo-img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-love {
    font-weight: 800; font-size: 22px; color: var(--yellow);
    -webkit-text-stroke: 1px #fff; text-shadow: 0 2px 0 #fff, 0 3px 6px rgba(0,0,0,.18);
    letter-spacing: .5px;
}
.logo-radio {
    font-family: var(--font-script); font-size: 26px; color: #fff;
    margin-top: 2px; text-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-list a {
    display: block; padding: 9px 13px; border-radius: 999px;
    color: #fff; font-weight: 600; font-size: 15px; transition: background .15s;
}
.nav-list a:hover { background: rgba(255,255,255,.22); text-decoration: none; }
.nav-list a.active { background: rgba(255,255,255,.32); }

.header-social { display: flex; gap: 8px; }
.header-social a {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.header-social a:hover { background: rgba(255,255,255,.35); }
.header-social img { width: 18px; height: 18px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ============================ Hero ============================ */
.hero { position: relative; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(1200px 400px at 80% -10%, #fff7 0%, transparent 60%),
      linear-gradient(180deg, var(--sky-light) 0%, var(--sky) 60%, var(--sky-dark) 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px;
    align-items: center; padding: 56px 20px 70px; }
.hero-title { font-size: clamp(34px, 6vw, 64px); margin: 0 0 12px; color: #fff;
    text-shadow: 0 4px 14px rgba(0,0,0,.18); font-family: var(--font-script); font-weight: 400; }
.hero-subtitle { font-size: clamp(16px, 2.2vw, 22px); color: #fff; max-width: 520px; margin: 0 0 26px;
    text-shadow: 0 2px 8px rgba(0,0,0,.15); }
.hero-btn { font-size: 18px; padding: 16px 32px; }
.hero-illustration { display: flex; justify-content: center; }
.hero-illustration-img { max-width: 420px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.18)); }

/* ============================ Секции ============================ */
.section { padding: 60px 0; }
.section-player { background: #fff; }
.section-news { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.section-title { font-size: 30px; margin: 0 0 24px; color: var(--pink-dark); }
.section-title--small { font-size: 22px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.section-all { font-weight: 600; color: var(--pink-dark); }

.two-col { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }

/* ============================ Плеер ============================ */
.player-wrap { position: sticky; top: 90px; }
.radio-player {
    background: linear-gradient(160deg, #fff 0%, #fff0f7 100%);
    border: 1px solid #ffe0ef; border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
}
.radio-player-top { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
.radio-cover {
    width: 140px; height: 140px; border-radius: var(--radius-sm);
    background: #f3e8f1 center/cover no-repeat; background-color: #f3e8f1;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
}
.radio-now-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); }
.radio-song { font-size: 20px; font-weight: 700; margin: 4px 0 8px; color: var(--text); min-height: 28px; }
.radio-meta { font-size: 14px; color: var(--text-soft); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.radio-meta b { color: var(--pink-dark); }
.radio-controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.play-btn {
    width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--pink); color: #fff; box-shadow: 0 6px 18px rgba(230,57,153,.4);
    display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, background .15s;
}
.play-btn:hover { transform: scale(1.06); background: var(--pink-dark); }
.play-icon { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff; margin-left: 4px; }
.play-btn.is-playing { background: var(--green); }
.play-btn.is-playing .play-icon { width: 16px; height: 16px; border: none; margin: 0;
    background: linear-gradient(to right, #fff 0 5px, transparent 5px 11px, #fff 11px 16px); }
.radio-link { font-size: 13px; color: var(--text-soft); border: 1px solid #eee; padding: 6px 10px; border-radius: 8px; }
.radio-link:hover { background: #fafafa; }

.radio-visualizer-wrap { margin: 18px 0 6px; border-radius: var(--radius-sm); overflow: hidden;
    background: linear-gradient(180deg, #2b1a3a, #45105f); }
.radio-visualizer { display: block; width: 100%; height: 80px; }

.radio-lastsongs { margin-top: 14px; }
.radio-lastsongs-title { font-weight: 700; margin-bottom: 8px; color: var(--pink-dark); }
.my_lastsongs { max-height: 230px; overflow-y: auto; }
.lastsong-row { display: flex; gap: 10px; align-items: center; padding: 6px 4px; border-bottom: 1px dashed #f3e0ec; }
.lastsong-row .my_lastsong_cover { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background:#eee; }
.lastsong-time { color: var(--text-soft); font-size: 13px; min-width: 42px; }
.lastsong-name { color: var(--text); font-weight: 500; }
.lastsong-name:hover { color: var(--pink-dark); }

/* ============================ Программы (карточки) ============================ */
.programs-aside .section-title { font-size: 24px; }
.program-cards { display: flex; flex-direction: column; gap: 14px; }
.program-cards--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card {
    display: flex; gap: 14px; align-items: center;
    background: #fff; border-radius: var(--radius-sm); padding: 14px;
    box-shadow: var(--shadow); border: 1px solid #fde6f3;
    color: var(--text); transition: transform .15s; text-decoration: none;
    border-left: 6px solid var(--card-color, var(--pink));
}
.program-card:hover { transform: translateY(-3px); text-decoration: none; }
.program-card-img { flex: 0 0 70px; width: 70px; height: 70px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(135deg, var(--card-color, var(--pink)), color-mix(in srgb, var(--card-color, var(--pink)) 60%, #000)); }
.program-card-img img { width: 100%; height: 100%; object-fit: cover; }
.program-card-body { display: flex; flex-direction: column; }
.program-card-title { font-weight: 800; font-size: 17px; color: var(--card-color, var(--pink-dark)); }
.program-card-time { font-size: 13px; color: var(--text-soft); }
.program-card-desc { font-size: 14px; color: var(--text); margin-top: 4px; }

.aside-cta { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.aside-cta .btn { padding: 10px 18px; font-size: 14px; }

.program-single-badge {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: var(--card-color, var(--pink)); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 10px;
}
.program-host { margin-top: 18px; padding: 14px; background: #fff5fa; border-radius: var(--radius-sm); }
.program-host a { font-weight: 700; }
.chip {
    display: inline-block; padding: 7px 14px; border-radius: 999px; margin: 4px 6px 0 0;
    background: var(--card-color, var(--pink)); color: #fff; font-weight: 600; font-size: 14px;
    border-left: 0;
}

/* ============================ Новости ============================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid--full { grid-template-columns: repeat(3, 1fr); }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid #fde6f3; transition: transform .15s; }
.news-card:hover { transform: translateY(-4px); }
.news-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #f3e8f1; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 18px; }
.news-card-date { font-size: 13px; color: var(--text-soft); }
.news-card-title { margin: 6px 0 8px; font-size: 19px; }
.news-card-title a { color: var(--text); }
.news-card-title a:hover { color: var(--pink-dark); }
.news-card-excerpt { color: var(--text-soft); font-size: 15px; margin: 0 0 12px; }
.news-card-more { font-weight: 700; color: var(--pink-dark); }

/* ============================ Ведущие ============================ */
.hosts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.host-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid #fde6f3; color: var(--text);
    transition: transform .15s; text-decoration: none; display: block;
}
.host-card:hover { transform: translateY(-4px); text-decoration: none; }
.host-card-photo { display: block; aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(135deg, var(--pink-light), var(--purple)); }
.host-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.host-card-body { padding: 14px; }
.host-card-name { font-weight: 800; font-size: 17px; color: var(--pink-dark); }
.host-card-bio { font-size: 14px; color: var(--text-soft); }

.host-single-photo { width: 220px; height: 220px; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); background: linear-gradient(135deg, var(--pink-light), var(--purple)); margin-bottom: 18px; }
.host-single-photo img { width: 100%; height: 100%; object-fit: cover; }
.host-programs { margin-top: 8px; }

/* ============================ Статья/страницы ============================ */
.page-title { font-size: clamp(28px, 4vw, 40px); color: var(--pink-dark); margin: 0 0 14px; }
.page-lead { color: var(--text-soft); font-size: 18px; margin: 0 0 26px; }
.article { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid #fde6f3; }
.article-meta { color: var(--text-soft); font-size: 14px; margin-bottom: 14px; }
.article-img { width: 100%; border-radius: var(--radius-sm); margin: 14px 0; }
.article-lead { font-size: 19px; color: var(--text); font-weight: 500; margin: 12px 0 18px; }
.article-content { font-size: 17px; line-height: 1.8; }
.article-back { margin-top: 24px; font-weight: 700; }

.about-schedule { margin-top: 30px; padding-top: 20px; border-top: 2px dashed #f3d5e6; }

/* ============================ Стол заказов ============================ */
.order-panel { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid #fde6f3; }
.order-off { padding: 20px; background: #fff0f0; border-radius: var(--radius-sm); color: #c0392b; }
.order-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label, .order-form label { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.form-field input, .order-form input[type=text], .order-textarea {
    padding: 11px 13px; border: 1px solid #eee; border-radius: 10px; font-family: var(--font); font-size: 15px;
    background: #fafafa;
}
.form-field input:focus, .order-textarea:focus, .order-search input:focus {
    outline: 2px solid var(--pink-light); border-color: var(--pink); background: #fff;
}
.order-textarea { width: 100%; margin-bottom: 8px; resize: vertical; }
.form-hint { color: var(--text-soft); font-size: 13px; margin: 0 0 16px; }
.order-queue { margin: 22px 0; padding: 14px; background: #f7fcfa; border-radius: var(--radius-sm); border: 1px dashed #b7ebda; }
.order-search { display: flex; gap: 10px; margin: 16px 0; }
.order-search input { flex: 1; padding: 11px 13px; border: 1px solid #eee; border-radius: 10px; background: #fafafa; }
.order-abc { margin: 10px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.order-results-title { margin: 16px 0 8px; }
.my_table_song.order-song { display: flex; align-items: center; gap: 12px; padding: 8px; cursor: pointer; }
.my_table_song_cover { border-radius: 8px; object-fit: cover; background: #eee; }
.my_table_song_length { color: var(--text-soft); font-size: 13px; min-width: 40px; }
.my_table_song_artist { color: var(--pink-dark); }
.my_table_order.order-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f3e0ec; }
.order-item-body { flex: 1; }

/* ============================ Контакты ============================ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-item { padding: 14px 0; border-bottom: 1px dashed #f3e0ec; }
.contact-label { display: block; color: var(--text-soft); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.contacts-social .footer-social { justify-content: flex-start; }
.contacts-order { margin-top: 24px; padding: 18px; background: #fff5fa; border-radius: var(--radius-sm); }

/* ============================ Футер ============================ */
.site-footer { position: relative; margin-top: 40px; color: #fff; }
.footer-grass {
    height: 26px;
    background:
        radial-gradient(circle at 10px -6px, var(--green) 9px, transparent 10px) repeat-x,
        radial-gradient(circle at 20px -6px, var(--green-dark) 7px, transparent 8px) repeat-x;
    background-size: 30px 26px, 30px 26px;
    background-position: 0 0, 15px 0;
    background-color: transparent;
}
.site-footer::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
    background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
    z-index: -1;
}
.footer-inner {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
    padding: 46px 20px 30px;
}
.footer-col h4 { margin: 0 0 12px; font-size: 16px; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #fff; opacity: .92; }
.footer-col a:hover { opacity: 1; }
.footer-tagline { margin-top: 10px; opacity: .9; }
.footer-contacts li { margin-bottom: 10px; }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18);
    display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.footer-social a:hover { background: rgba(255,255,255,.32); }
.footer-social img { width: 20px; height: 20px; }
.logo--footer .logo-img { height: 40px; }
.footer-bottom { padding: 16px 0; background: rgba(0,0,0,.15); }
.footer-bottom p { margin: 0; text-align: center; font-size: 14px; opacity: .92; }
.footer-bottom a { color: #fff; text-decoration: underline; }

/* ============================ Адаптив ============================ */
@media (max-width: 980px) {
    .two-col { grid-template-columns: 1fr; }
    .player-wrap { position: static; }
    .news-grid, .news-grid--full { grid-template-columns: repeat(2, 1fr); }
    .program-cards--grid { grid-template-columns: repeat(2, 1fr); }
    .hosts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .nav-toggle { display: block; order: 2; margin-left: auto; }
    .main-nav { order: 3; flex-basis: 100%; max-height: 0; overflow: hidden; transition: max-height .25s ease; margin-left: 0; }
    .main-nav.open { max-height: 600px; }
    .nav-list { flex-direction: column; gap: 0; padding: 8px 0; }
    .nav-list a { padding: 12px; border-radius: 0; }
    .header-social { order: 1; margin-left: auto; }
    .logo { order: 0; }
    .header-inner { gap: 12px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 40px 20px 50px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-illustration { order: -1; }
    .hero-illustration-img { max-width: 260px; }
    .radio-player-top { grid-template-columns: 1fr; text-align: center; }
    .radio-cover { margin: 0 auto; width: 160px; height: 160px; }
    .radio-controls { justify-content: center; }
    .news-grid, .news-grid--full { grid-template-columns: 1fr; }
    .program-cards--grid { grid-template-columns: 1fr; }
    .hosts-grid { grid-template-columns: 1fr 1fr; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 22px; }
    .order-form .form-row { grid-template-columns: 1fr; }
    .article, .order-panel { padding: 20px; }
}
@media (max-width: 480px) {
    .hosts-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
}
