@font-face {
    font-family: 'domkrat';
    src: url('domkrat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #FD940A;
    background-image: radial-gradient(circle, #ca4904 0%, #FA9026 70%, #f9b82b 100%);
    color: #1a1a1a;
    font-family: 'Fredoka', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

div.image-block img {
    position: relative;
    width: auto;
}
div.image-block div.image {
    position: relative;
    text-align: center;
}
div.image-shadow {
    position: absolute;
    top: 15%;
    left: 5%;
    right: 5%;
    height: 90%;
    background-size: auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    border-radius: inherit;
    -webkit-filter: blur(25px);
    filter: blur(25px);
}
.nav-link > svg {
    font-size: 25px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}
.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}
.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}
.bi {
    vertical-align: -.125em;
    fill: currentColor;
}
.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}
.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}
.bd-mode-toggle {
    z-index: 1500;
}
.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}
.table_custom { --bs-table-bg: rgba(255, 255, 255, 0.15) !important; --bs-table-color-state: #000; }
.table_custom thead { --bs-table-bg: white !important; --bs-table-color-state: #000; }

:root {
    --calambur-orange: #FD940A;
    --calambur-dark-orange: #ca4904;
    --calambur-yellow: #f9b82b;
    --calambur-text: #1a1a1a;
}

/* === Логотип и шапка === */
.main-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.2));
}

.site-subtitle {
    font-family: 'domkrat', cursive;
    color: rgba(255,255,255,0.95);
    font-size: 2rem;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: 'domkrat', cursive;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2a2a2a;
}

.calambur-nav {
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.nav-letter {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    background: rgba(255,255,255,0.08);
    gap: 0.05em;
}

.nav-letter:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    color: #fff;
}

.nav-letter .big-letter {
    font-family: 'domkrat', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
    color: var(--calambur-yellow);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-right: 0.05em;
}

.nav-letter .rest-letters {
    font-family: 'domkrat', cursive;
    font-size: 1.7rem;
    font-weight: 400;
    text-transform: lowercase;
    opacity: 0.95;
    line-height: 1;
}

.player-section {
    background: rgba(0,0,0,0.05);
}

.player-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.player-placeholder {
    background: #1a1a1a;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.player-placeholder i {
    font-size: 4rem;
    color: var(--calambur-orange);
}

.rubric-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.rubric-title {
    font-family: 'domkrat', cursive;
    font-size: 3rem;
    color: var(--calambur-dark-orange);
    margin-bottom: 1rem;
}

.tg-link {
    display: inline-block;
    color: #0088cc;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(0, 136, 204, 0.08);
    transition: all 0.2s;
}

.tg-link:hover {
    background: rgba(0, 136, 204, 0.15);
    color: #006699;
}

.btn-youtube {
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-youtube:hover {
    background: #cc0000;
    color: #fff;
    transform: translateY(-1px);
}

.btn-vk {
    background: #0077ff;
    color: #fff;
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-vk:hover {
    background: #0059cc;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-dark {
    border-width: 2px;
    font-weight: 600;
    padding: 0.6rem 1.3rem;
    border-radius: 10px;
}

.broadcast-block {
    margin-top: 1rem;
}

.broadcast-text {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.4;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.channel-link:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

.channel-logo {
    height: 35px;
    width: auto;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@media (min-width: 768px) {
    .broadcast-text {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
    .channel-logo {
        height: 45px;
    }
    .logo-gn {
        height: 55px;
    }
}

@media (max-width: 576px) {
    .broadcast-text {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
        gap: 0.4rem;
    }
    .channel-logo {
        height: 28px;
    }
    .logo-gn {
        height: 38px;
    }
}

footer {
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.9);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .rubric-card { padding: 1.5rem; }
    .rubric-title { font-size: 2.2rem; }
    .site-subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 576px) {
    .main-logo { max-width: 250px; }
    .nav-letter .big-letter { font-size: 2.2rem; }
    .nav-letter .rest-letters { font-size: 1.1rem; }
    .nav-letter { padding: 0.3rem 0.5rem; }
}