/* /css/key-sections.css */

:root {
    scroll-behavior: smooth;
}

.key-sections {
    background: #1c232b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.key-sections__inner {
    padding: 20px;
}

.key-sections__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #1f2730;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 14px 18px;
    color: #ffffff;
    cursor: pointer;
}

.key-sections__toggle:hover {
    background: #232c36;
}

.key-sections__toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

.key-sections__toggle[aria-expanded="false"] .key-sections__toggle-icon {
    transform: rotate(0deg);
}

.key-sections__menu-wrapper {
    margin-top: 14px;
    background: #1f2730;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.key-sections__menu-scroll {
    max-height: 260px;
    overflow-y: auto;
}

.key-sections__menu {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.key-sections__item {
    border-bottom: 1px solid rgba(0, 211, 187, 0.35);
}

.key-sections__item:last-child {
    border-bottom: none;
}

.key-sections__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    color: #e8edf2;
    font-size: 14px;
    text-decoration: none;
    border-radius: 12px;
}

.key-sections__link:hover {
    background: rgba(255, 255, 255, 0.04);
}

.key-sections__dot {
    width: 8px;
    height: 8px;
    background: #00d3bb;
    border-radius: 999px;
    flex-shrink: 0;
}

.key-sections__scroll-indicator {
    pointer-events: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    background: linear-gradient(
            to top,
            rgba(31, 39, 48, 0.92),
            rgba(31, 39, 48, 0)
    );
}

.key-sections__scroll-indicator svg {
    width: 16px;
    height: 16px;
}

.key-sections__content {
    margin-top: 22px;
}

.key-sections__section {
    padding: 0 2px;
}

.key-sections__section + .key-sections__section {
    margin-top: 26px;
}

.key-sections__heading {
    font-size: 24px;
    line-height: 1.15;
    margin: 48px 0 24px;
    color: #ffffff;
    scroll-margin-top: 110px;
}
@media(max-width: 575px) {
    margin: 36px 0 24px;
}

.key-sections__text h3 {
    font-size: 20px;
    font-weight: 900;
    margin: 20px 0 10px;
}

.key-sections__text p {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.4;
}

.key-sections__text ul {
    margin: 0 0 16px;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.4;
    color: #e8edf2;
    list-style-type: disc;
}

.key-sections__text ul li {
    margin-bottom: 10px;
}

.casino-compare {
    margin: 16px 0 0;
    background: #1f2730;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
}

.casino-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    line-height: 1.35;
    color: #e8edf2;
}

.casino-compare__table thead th {
    text-align: left;
    font-weight: 900;
    padding: 14px 16px;
    background: #232c36;
    border-bottom: 1px solid rgba(0, 211, 187, 0.35);
    white-space: nowrap;
}

.casino-compare__table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 211, 187, 0.18);
    vertical-align: top;
}

.casino-compare__table tbody tr:last-child td {
    border-bottom: none;
}

.casino-compare__table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

.casino-compare__table td:first-child {
    font-weight: 800;
    color: #ffffff;
}

@media (max-width: 768px) {
    .casino-compare {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .casino-compare__table {
        min-width: 720px;
    }
}
