/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0f2535 0%, #193D50 60%, #2a5a78 100%);
    padding: 125px 114px 90px;
    margin-top: -25px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
}

.hero-content {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.hero-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.2s;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-primary {
    background-color: #ffffff;
    color: #193D50;
}

.hero-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* ===== БЕГУЩАЯ СТРОКА ===== */
.landing-marquee {
    background-color: #0f2535;
    overflow: hidden;
    padding: 18px 0;
    border-top: 3px solid #193D50;
    border-bottom: 3px solid #193D50;
}

.landing-marquee-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marquee-scroll 22s linear infinite;
    width: max-content;
}

.landing-marquee-track span {
    color: white;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== СЕКЦИИ ===== */
.landing-section {
    padding: 70px 114px;
}

.landing-section-grey {
    background-color: #f2f2f2;
}

.landing-section-label {
    text-align: center;
    color: #888;
    font-size: 14px;
    letter-spacing: 6px;
    margin-bottom: 40px;
}

/* ===== О ПРОЕКТЕ ===== */
.landing-about {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.landing-about-text h2 {
    color: #193D50;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 22px;
}

.landing-about-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.landing-about-stats {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.landing-stat {
    background-color: #f7f9fa;
    border-radius: 16px;
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
}

.landing-stat-number {
    color: #193D50;
    font-size: 38px;
    font-weight: 800;
}

.landing-stat-label {
    color: #888;
    font-size: 14.5px;
    margin-top: 4px;
}

/* ===== ПРЕВЬЮ РЕЙТИНГА ===== */
.landing-rating-preview {
    max-width: 760px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landing-rating-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: white;
    border-radius: 12px;
    padding: 16px 24px;
    border: 1px solid #e0e0e0;
}

 .landing-rating-place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    flex: 0 0 36px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #eef1f4;
    color: #193D50;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(25,61,80,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.landing-rating-row:hover .landing-rating-place {
    transform: scale(1.08);
}

.landing-rating-place.rank-gold {
    background: linear-gradient(135deg, #ffe08a, #f5a623);
    color: #5a3d00;
    box-shadow: 0 3px 10px rgba(245,166,35,.45);
}

.landing-rating-place.rank-silver {
    background: linear-gradient(135deg, #eef1f4, #b9c1c9);
    color: #33414a;
    box-shadow: 0 3px 10px rgba(150,160,170,.4);
}

.landing-rating-place.rank-bronze {
    background: linear-gradient(135deg, #e6ac74, #b9702f);
    color: #3a1f00;
    box-shadow: 0 3px 10px rgba(180,120,50,.4);
}

.landing-rating-place.rank-other {
    background: #eef1f4;
    color: #193D50;
}

@media (max-width: 600px) {
    .landing-rating-row { gap: 12px; padding: 13px 16px; }
    .landing-rating-place { width: 34px; height: 34px; flex-basis: 34px; }
    .landing-rating-name { font-size: 14px; }
    .landing-rating-points { font-size: 13px; }
}

.landing-rating-name {
    flex-grow: 1;
    font-size: 17px;
    color: #222;
}

.landing-rating-points {
    color: #193D50;
    font-weight: 600;
}

/* ===== ПРЕВЬЮ НОВОСТЕЙ ===== */
.landing-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.landing-news-card {
    position: relative;
    background-color: white;
    border: 2px solid #e4e4e4;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: #193D50;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.landing-news-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #193D50;
    transform: translateY(-4px);
}

.landing-news-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.landing-news-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 14px;
}

.landing-news-thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 14px;
    background-color: #f0f4f7;
}

.landing-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-news-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    border: 1px dashed #ced4da;
}

.landing-news-thumb-fallback span {
    font-size: 13px;
    color: #8c9ba5;
    font-style: italic;
    padding: 0 12px;
    text-align: center;
}

.landing-news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.landing-news-tag {
    display: inline-block;
    background-color: #f0f4f7;
    color: #193D50;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 50px;
}

.landing-news-tag::before {
    content: '#';
}

.landing-news-date {
    font-size: 13px;
    color: #999;
    margin-top: auto;
}

/* ===== ОБЩАЯ ССЫЛКА "СМОТРЕТЬ ВСЕ" =====
   Раньше — обычный подчёркиваемый текст. Теперь — аккуратная кнопка-пилюля,
   как остальные акцентные элементы на сайте. */
.landing-link {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin: 32px auto 0;
    padding: 12px 28px;
    background-color: #193D50;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    border-radius: 50px;
    transition: background-color 0.2s, transform 0.2s;
}

.landing-link:hover {
    background-color: #10222e;
    transform: translateY(-2px);
    text-decoration: none;
}
