@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto+Condensed:wght@700&display=swap');

:root {
    --bg: #e9edf2;
    --panel: #ffffff;
    --panel-soft: #f6f8fa;
    --ink: #202734;
    --muted: #7b8491;
    --line: #dce2e8;
    --green: #61b63c;
    --green-dark: #459328;
    --blue: #2a91d6;
    --orange: #ff8a22;
    --imdb-color: #f5c518;
    --kp-color: #ff7a1a;
    --shadow: 0 12px 34px rgba(23, 35, 51, 0.12);
    --radius: 12px;
    --radius-lg: 18px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-dark); }

.container { max-width: 1180px; }
.page-content { padding: 20px 0 36px; }

.lrd2-top-art {
    min-height: 235px;
    color: #dff8d6;
    background:
        radial-gradient(circle at 55% 8%, rgba(130, 180, 110, 0.32), transparent 20%),
        radial-gradient(circle at 70% 15%, rgba(255, 255, 255, 0.13), transparent 9%),
        linear-gradient(90deg, rgba(7, 10, 16, 0.96), rgba(8, 11, 16, 0.62) 45%, rgba(7, 10, 16, 0.96)),
        linear-gradient(135deg, #070b12, #1e2632 46%, #090c11);
    position: relative;
    overflow: hidden;
}

.lrd2-top-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,0.055) 8.3% 8.7%, transparent 9% 20%, rgba(255,255,255,0.04) 20.2% 20.6%, transparent 21%),
        repeating-linear-gradient(90deg, transparent 0 88px, rgba(255,255,255,0.035) 89px 91px),
        repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,0.026) 43px 44px);
    opacity: 0.72;
}

.lrd2-top-art::after {
    content: '';
    position: absolute;
    left: 42%;
    bottom: -28px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(113, 188, 70, 0.35), transparent 62%);
    filter: blur(18px);
}

.lrd2-top-art__inner {
    min-height: 235px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lrd2-neon-sign {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
    align-items: center;
    padding: 22px 28px;
    border: 2px solid rgba(134, 230, 99, 0.62);
    border-radius: 6px 28px 6px 28px;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(100, 209, 62, 0.42), inset 0 0 20px rgba(100, 209, 62, 0.16);
    transform: rotate(-2deg);
}

.lrd2-sign-icon { grid-row: span 2; font-size: 42px; color: #8cff68; text-shadow: 0 0 18px #74e250; }
.lrd2-sign-main { font: 800 42px/1 Roboto Condensed, sans-serif; letter-spacing: 0.08em; text-shadow: 0 0 14px #78dd5b; }
.lrd2-sign-sub { color: #d4ffd0; letter-spacing: 0.42em; font-weight: 700; }

.lrd2-header {
    background: #fff;
    border: 0;
    box-shadow: 0 8px 26px rgba(15, 24, 38, 0.12);
    position: sticky;
    top: 0;
    z-index: 50;
}

.lrd2-header__inner {
    min-height: 58px;
    gap: 22px;
    padding: 0;
}

.lrd2-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-dark);
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.lrd2-logo__mark {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #fff;
    background: var(--green);
    border-radius: 8px 3px 8px 3px;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12);
}

.lrd2-logo strong { display: block; font-weight: 900; letter-spacing: 0.04em; }
.lrd2-logo small { display: block; margin-top: 3px; font-size: 0.64rem; letter-spacing: 0.18em; color: var(--green); }

.lrd2-nav { gap: 2px; overflow-x: auto; flex-wrap: nowrap; }
.lrd2-nav a {
    padding: 20px 10px;
    border-radius: 0;
    color: #27313e;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}
.lrd2-nav a:hover,
.lrd2-nav .is-active { background: transparent; color: var(--green-dark); border-bottom-color: var(--green); }

.lrd2-search { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.lrd2-search input {
    height: 34px;
    border: 1px solid var(--line);
    background: #f7f8fa;
    color: var(--ink);
    border-radius: 8px;
    padding: 0 12px;
    outline: none;
}
.lrd2-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(97, 182, 60, 0.16); }
.lrd2-search button {
    height: 34px;
    min-width: 64px;
    border: 0;
    border-radius: 8px 3px 8px 3px;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    cursor: pointer;
    font-weight: 800;
}

.lrd2-home-lead,
.lrd2-item-card,
.lrd2-player-wrap,
.lrd2-vote-card,
.lrd2-comments,
.lrd2-text-block {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.lrd2-home-lead { padding: 24px; margin-bottom: 22px; }
.lrd2-pill { display: inline-flex; padding: 6px 10px; color: var(--green-dark); background: #edf8e9; border-radius: 8px 3px 8px 3px; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; }
.lrd2-home-lead h1 { margin: 12px 0 8px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lrd2-home-lead p { margin: 0; color: var(--muted); max-width: 760px; }
.lrd2-section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0 12px; }
.lrd2-section-title h2 { margin: 0; font: 800 1rem/1.1 Inter, sans-serif; text-transform: uppercase; }
.lrd2-section-title h2 a,
.lrd2-section-title h2 { display: inline-flex; align-items: center; gap: 8px; }
.lrd2-section-title h2::after { content: '›'; display: grid; place-items: center; width: 22px; height: 22px; color: #fff; background: var(--green); border-radius: 6px 2px 6px 2px; }
.lrd2-arrows { display: flex; gap: 6px; }
.lrd2-arrows button { display: grid; place-items: center; width: 28px; height: 24px; border: 0; color: #fff; background: var(--green); border-radius: 6px 2px 6px 2px; font-weight: 900; cursor: pointer; }
.lrd2-tabs { display: flex; gap: 6px; margin-right: auto; }
.lrd2-tabs button { padding: 7px 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.lrd2-tabs .is-active { color: #fff; background: var(--green); border-color: var(--green); }

.lrd2-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 18px; }
.lrd2-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 150px); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; padding-bottom: 6px; }

.lrd2-card { background: transparent; border: 0; box-shadow: none; }
.lrd2-card__poster {
    aspect-ratio: 2 / 3;
    position: relative;
    overflow: hidden;
    background: #111827;
    border-radius: 10px 10px 5px 5px;
    box-shadow: 0 8px 18px rgba(21, 30, 42, 0.18);
}
.lrd2-card__poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease, filter 0.25s ease; }
.lrd2-card__poster::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,0.48); opacity: 0; transition: opacity 0.2s ease; font-size: 2rem; }
.lrd2-card:hover .lrd2-card__poster img { transform: scale(1.045); filter: brightness(0.8); }
.lrd2-card:hover .lrd2-card__poster::after { opacity: 1; }
.lrd2-card h3 { margin: 8px 0 0; color: #101722; font-size: 0.9rem; font-weight: 800; line-height: 1.25; }
.lrd2-card__season { position: absolute; z-index: 2; top: 6px; left: 6px; padding: 4px 7px; color: #fff; background: var(--green); border-radius: 5px; font-size: 0.68rem; font-weight: 800; }
.lrd2-card__rating { position: absolute; z-index: 2; right: 6px; bottom: 6px; padding: 3px 6px; color: #ffd95a; background: rgba(0,0,0,0.72); border-radius: 4px; font-size: 0.68rem; font-weight: 800; }
.lrd2-card__letter { display: grid; height: 100%; place-items: center; color: rgba(255,255,255,0.25); font-size: 3rem; }

.lrd2-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; color: var(--muted); font-size: 0.8rem; }
.lrd2-breadcrumb a { color: #6b7581; }

.lrd2-item-card { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding: 22px; }
.lrd2-item-side { display: flex; flex-direction: column; gap: 12px; }
.lrd2-item-poster { position: relative; overflow: hidden; border-radius: 13px 13px 5px 5px; background: #111827; box-shadow: 0 12px 24px rgba(0,0,0,0.18); }
.lrd2-item-poster img { width: 100%; display: block; aspect-ratio: 2 / 3; object-fit: cover; }
.lrd2-item-poster > span { display: grid; aspect-ratio: 2 / 3; place-items: center; color: #fff; font-size: 4rem; }
.lrd2-poster-rate { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 7px 18px; background: #fff; border-radius: 999px; color: #151b24; font-weight: 900; box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.lrd2-item-main h1 { margin: 0 0 10px; font: 800 clamp(1.55rem, 3vw, 2.25rem)/1.1 Roboto Condensed, sans-serif; color: #151b24; }
.lrd2-description { margin: 0 0 14px; color: #596575; line-height: 1.7; }
.lrd2-rating-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.lrd2-rating-row span { padding: 5px 10px; border-radius: 999px; background: #f3f6f8; font-size: 0.78rem; }
.lrd2-rating-row .kp strong { color: var(--kp-color); }
.lrd2-rating-row .imdb strong { color: #8c7400; }
.lrd2-rating-row .status { color: var(--green-dark); background: #edf8e9; }
.lrd2-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 26px; color: #596575; font-size: 0.92rem; }
.lrd2-info-grid b { color: #7c8795; }
.lrd2-info-grid .wide { grid-column: 1 / -1; }

.lrd2-player-wrap { margin-top: 20px; overflow: hidden; padding: 0; }
.lrd2-player-tabs { display: flex; align-items: center; background: #f8fafb; border-bottom: 1px solid var(--line); }
.lrd2-player-tabs button { padding: 13px 22px; border: 0; background: transparent; color: #53606f; font-weight: 800; cursor: pointer; border-radius: 0; }
.lrd2-player-tabs .is-active { color: #fff; background: var(--green); }
.lrd2-player-pane { display: none; }
.lrd2-player-pane.is-active { display: block; }
.lrd2-player-frame { aspect-ratio: 16 / 9; background: #080b10; }
.lrd2-player-frame iframe,
.lrd2-player-frame .rendex-player,
.lrd2-player-frame .rendex-player iframe,
.lrd2-player-frame .rendex-player video,
.lrd2-player-frame .rendex-player div { width: 100%; height: 100%; display: block; border: 0; }

.lrd2-vote-card,
.lrd2-comments,
.lrd2-text-block { margin-top: 22px; padding: 24px; }
.lrd2-vote-card { display: grid; gap: 18px; }
.lrd2-vote-card span { color: var(--green); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.lrd2-vote-card h2 { margin: 4px 0 0; }
.lrd2-votes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lrd2-votes button { min-height: 82px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; font-size: 1.5rem; transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease; }
.lrd2-votes button:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 8px 18px rgba(97, 182, 60, 0.16); }
.lrd2-votes button.is-clicked { transform: scale(0.94); }
.lrd2-votes button.is-selected { transform: none; border-color: var(--green); background: #edf8e9; box-shadow: inset 0 0 0 2px rgba(97, 182, 60, 0.2); }
.lrd2-votes.is-voted button:not(.is-selected) { opacity: 0.55; cursor: default; }
.lrd2-votes button:disabled { cursor: default; }
.lrd2-votes small { display: block; margin-top: 7px; color: #46515f; font-size: 0.75rem; font-weight: 800; }
.comment-item { background: #f8fafb; border: 1px solid var(--line); border-radius: 12px; }
.comment-item__meta { color: var(--muted); }

.lrd2-text-block { color: #4d5967; }
.lrd2-text-block h2 { color: #151b24; }
.lrd2-text-block li { margin: 7px 0; }

.lrd2-pagination { margin: 26px 0; }
.pagination__btn { border-radius: 8px 3px 8px 3px; }
.pagination__btn--active { background: var(--green); color: #fff; }

.lrd2-footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
.lrd2-footer__inner { display: flex; align-items: center; gap: 20px; padding: 22px 0; }
.lrd2-logo--footer { margin-right: 8px; }

@media (max-width: 900px) {
    .lrd2-top-art { min-height: 160px; }
    .lrd2-top-art__inner { min-height: 160px; justify-content: center; }
    .lrd2-neon-sign { transform: none; padding: 16px 18px; }
    .lrd2-sign-main { font-size: 28px; }
    .lrd2-header__inner { flex-wrap: wrap; padding: 10px 0; }
    .lrd2-search { width: 100%; margin-left: 0; }
    .lrd2-search input { width: 100%; }
    .lrd2-item-card { grid-template-columns: 1fr; }
    .lrd2-item-side { max-width: 260px; margin: 0 auto; }
    .lrd2-info-grid { grid-template-columns: 1fr; }
    .lrd2-votes { grid-template-columns: repeat(2, 1fr); }
    .lrd2-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
    body { font-size: 13px; }
    .page-content { padding-top: 12px; }
    .lrd2-card-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .lrd2-section-title--tabs { align-items: flex-start; flex-direction: column; }
    .lrd2-tabs { max-width: 100%; overflow-x: auto; }
    .lrd2-tabs button { white-space: nowrap; }
    .lrd2-player-tabs { overflow-x: auto; }
    .lrd2-player-tabs button { white-space: nowrap; }
}
