/* =================================================================
   ШРИФТЫ
   ================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700;800&display=swap');

/* =================================================================
   ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ ТЕКСТОВЫХ ЭЛЕМЕНТОВ
   ================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000080;
    background-color: #b9b5b6;
}

/* Глобальные стили для заголовков */
h1 {
    font-family: 'Lato', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    color: #000080;
    margin: 0 0 16px 0;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #000080;
    margin: 32px 0 16px 0;
}

h3 {
    font-family: 'Lato', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #000080;
    margin: 24px 0 12px 0;
}

h4 {
    font-family: 'Lato', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    color: #000080;
    margin: 20px 0 10px 0;
}

h5 {
    font-family: 'Lato', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: #000080;
    margin: 16px 0 8px 0;
}

h6 {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #000080;
    margin: 14px 0 8px 0;
}

/* Глобальные стили для параграфов */
p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #000;
    margin-bottom: 16px;
}

/* Глобальные стили для span */
span {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Глобальные стили для ссылок */
a {
    color: #0000A0;
    text-decoration: underline;
    font-weight: 400;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Глобальные стили для списков */
ul, ol {
    margin: 16px 0;
    padding-left: 28px;
}

li {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 10px;
}

/* Глобальные стили для таблиц */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
}

thead {
    background-color: #000080;
}

th {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid #DDD;
}

td {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
}

tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Глобальные стили для strong/bold */
strong, b {
    font-weight: 700;
}

/* Глобальные стили для em/italic */
em, i {
    font-style: italic;
}

.cruksimg{
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    max-width: 500px;
    width: 100%;
    border-radius: 8px;
}

/* Table Wrapper */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}

.table-wrapper table {
    margin: 0;
    min-width: 600px;
}

.table-wrapper td p,
.table-wrapper th p {
    margin: 0;
}

/* =================================================================
   HEADER
   ================================================================= */

.site-header {
    background-color: #000080;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-logo img {
    display: block;
    max-width: 80px;
    height: auto;
}

/* =================================================================
   CONTAINER
   ================================================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================================================
   HERO BANNER
   ================================================================= */

.hero-banner {
    padding: 24px 0 40px;
    background-color: #ffffff;
}

/* Breadcrumbs */
.breadcrumb-navigation ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
}

.breadcrumb-navigation li {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

.breadcrumb-navigation li a {
    color: #000080;
    text-decoration: none;
    font-weight: 400;
}

.breadcrumb-navigation li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path d="M4 2l4 4-4 4" stroke="%23000080" stroke-width="1.5" fill="none"/></svg>') center center no-repeat;
}

/* Author Meta */
.author-meta {
    margin: 24px 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
}

.author-info-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.author-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-full-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #000080;
}

.author-role {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #555;
}

.publication-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1.4;
    color: #555;
}

.date-icon {
    width: 16px;
    height: 16px;
}

/* Disclaimer Box */
.disclaimer-box {
    border-top: 1px solid #DDD;
    padding-top: 16px;
    margin-top: 24px;
}

.disclaimer-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* =================================================================
   CASINO OFFERS SECTION (новая структура)
   ================================================================= */

.casino-offers-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.offers-grid {
    display: flex;
    flex-direction: column;
    counter-reset: casino-counter 0;
    gap: 8px;
}

.casino-offer-item {
    position: relative;
    display: grid;
    align-items: center;
    padding-left: 46px;
    counter-increment: casino-counter 1;
    border-radius: 4px;
    background-color: #000;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.24), 0 4px 16px 0 rgba(0, 0, 0, 0.36);
    gap: 16px;
    grid-template-areas: 'logo rating main';
    grid-template-columns: 187px 162px auto;
    grid-template-rows: 1fr;
    transition: transform 0.2s, box-shadow 0.2s;
}

.casino-offer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 8px 20px 0 rgba(0, 0, 0, 0.4);
}

.casino-offer-item::before {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 100%;
    content: counter(casino-counter);
    color: #fff;
    border-radius: 4px 2px 2px 4px;
    background: #232323;
}

.casino-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 187px;
    height: 90px;
    grid-area: logo;
}

.casino-brand-logo img {
    width: 127px;
    height: 52px;
    object-fit: contain;
}

.casino-score-block {
    display: flex;
    align-items: center;
    gap: 16px;
    grid-area: rating;
}

.score-value {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    text-align: center;
    color: #fff;
    border: 2px solid #464646;
    border-radius: 2px;
    background: #232323;
}

.score-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.star-rating-visual img {
    height: 18px;
}

.casino-brand-title {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #fff;
}

.casino-offer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 8px 8px 16px;
    padding: 16px 32px;
    background: #232323;
    gap: 16px;
    grid-area: main;
    border-radius: 4px;
}

.bonus-description {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 26px;
    color: #fff;
}

.claim-bonus-button {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 21.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    min-width: 190px;
    height: 48px;
    text-align: center;
    color: #fff !important;
    border-radius: 8px;
    background: radial-gradient(83.94% 83.94% at 26.39% 20.83%, rgba(255, 255, 255, 0.41) 0%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%), #000080;
    text-decoration: none;
    transition: background 0.3s;
}

.claim-bonus-button:hover {
    background: #DC143C;
    opacity: 1;
}

.claim-bonus-button::before {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M11.4552 1.90791L3.12187 11.9079H10.6219L9.78854 18.5746L18.1219 8.57458H10.6219L11.4552 1.90791Z' fill='white'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.7207 1.29638C11.9921 1.41423 12.1534 1.69694 12.1167 1.9906L11.3771 7.90792H18.1219C18.3806 7.90792 18.6159 8.05756 18.7256 8.29181C18.8353 8.52607 18.7996 8.80265 18.634 9.00137L10.3007 19.0014C10.1112 19.2287 9.79456 19.304 9.52308 19.1861C9.2516 19.0683 9.09031 18.7856 9.12702 18.4919L9.86669 12.5746H3.12187C2.8632 12.5746 2.62787 12.4249 2.51815 12.1907C2.40843 11.9564 2.44413 11.6798 2.60973 11.4811L10.9431 1.48113C11.1325 1.25377 11.4492 1.17853 11.7207 1.29638ZM4.54524 11.2412H10.6219C10.8131 11.2412 10.9951 11.3234 11.1217 11.4667C11.2482 11.6101 11.3071 11.8009 11.2834 11.9906L10.7321 16.4009L16.6985 9.24125H10.6219C10.4307 9.24125 10.2486 9.15914 10.1221 9.01578C9.99554 8.87243 9.93664 8.68164 9.96036 8.49189L10.5116 4.08155L4.54524 11.2412Z' fill='white'/%3E%3C/svg%3E");
}

/* =================================================================
   COMPARISON TABLE
   ================================================================= */

.comparison-table-section {
    padding: 40px 0;
    background-color: #ffffff;
}

/* =================================================================
   MAIN CONTENT
   ================================================================= */

.main-content-area {
    padding: 40px 0;
    background-color: #ffffff;
}

/* Warning Notification */
.warning-notification {
    display: grid;
    grid-template-areas: "icon content";
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px 24px;
    border: 2px solid #DC143C;
    border-radius: 8px;
    margin: 32px 0;
    background-color: #fff5f5;
    align-items: start;
}

.warning-icon {
    grid-area: icon;
    width: 28px;
    height: 28px;
}

.warning-text-content {
    grid-area: content;
}

.warning-message {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

.warning-readmore {
    font-weight: 700;
    text-decoration: underline;
    color: #DC143C;
}

/* =================================================================
   FAQ SECTION
   ================================================================= */

.faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #000080;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question-text {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #000080;
    padding-right: 20px;
}

.faq-toggle-icon {
    font-size: 28px;
    font-weight: 300;
    color: #DC143C;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 24px;
    border-top: 1px solid #f0f0f0;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 16px 0 0 0;
}

/* =================================================================
   AUTHOR BIOGRAPHY
   ================================================================= */

.author-biography {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.biography-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.biography-image-area {
    flex: 0 0 200px;
    text-align: center;
}

.biography-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #000080;
}

.biography-text-area {
    flex: 1;
    min-width: 300px;
}

.biography-text-area h3 {
    margin-top: 0;
    color: #000080;
}

/* =================================================================
   FOOTER
   ================================================================= */

.page-footer {
    padding: 40px 0;
    background-color: #000080;
    color: #fff;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.footer-copyright {
    color: #fff;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-separator {
    color: #fff;
    font-size: 14px;
    margin: 0 4px;
}

/* =================================================================
   DARK MODE SUPPORT
   ================================================================= */

@media (prefers-color-scheme: dark) {
    body.auto-dark-mode {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    body.auto-dark-mode h1,
    body.auto-dark-mode h2,
    body.auto-dark-mode h3,
    body.auto-dark-mode h4,
    body.auto-dark-mode h5,
    body.auto-dark-mode h6 {
        color: #f0f0f0;
    }
    
    body.auto-dark-mode p,
    body.auto-dark-mode li,
    body.auto-dark-mode td {
        color: #e0e0e0;
    }
}

/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */

/* Tablets (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 26px;
    }
    
    h4 {
        font-size: 24px;
    }
}

/* Mobile devices (до 991px) */
@media screen and (max-width: 991px) {
    .offers-grid {
        gap: 16px;
    }
    
    .casino-offer-item {
        padding-top: 8px;
        padding-left: 0;
        gap: 8px 16px;
        grid-template-areas: 'logo rating' 'main main';
        grid-template-columns: 176px auto;
    }
    
    .casino-offer-item::before {
        top: 0;
        width: 30px;
        height: 22px;
        border-radius: 4px 2px 2px;
    }
    
    .casino-brand-logo {
        width: 176px;
        height: 70px;
        padding-left: 31px;
    }
    
    .casino-brand-logo img {
        width: 127px;
        height: 52px;
    }
    
    .casino-score-block {
        gap: 12px;
    }
    
    .score-value {
        font-size: 16px;
        width: 34px;
        min-width: 34px;
        height: 34px;
    }
    
    .star-rating-visual img {
        height: 16px;
    }
    
    .casino-brand-title {
        font-size: 10px;
    }
    
    .casino-offer-content {
        flex-direction: column;
        margin: 8px;
        padding: 16px 24px;
        gap: 16px;
    }
    
    .bonus-description {
        font-size: 20px;
        line-height: 26px;
        text-align: center;
    }
    
    .claim-bonus-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile devices (до 767px) */
@media screen and (max-width: 767px) {
    .hero-banner {
        padding: 16px 0 32px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .breadcrumb-navigation ul {
        margin-bottom: 18px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    h5, h6 {
        font-size: 16px;
    }
    
    p, li {
        font-size: 16px;
        line-height: 1.75;
    }
    
    .author-meta {
        margin: 16px 0 24px 0;
        flex-direction: column;
        gap: 12px;
    }
    
    .author-avatar-img {
        width: 28px;
        height: 28px;
    }
    
    .author-full-name,
    .author-role,
    .publication-date {
        font-size: 14px;
    }
    
    .disclaimer-box {
        padding-top: 12px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .warning-notification {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "icon"
            "content";
        gap: 12px;
        padding: 16px 20px;
    }
    
    .warning-icon {
        justify-self: center;
        width: 24px;
        height: 24px;
    }
    
    .warning-message {
        font-size: 15px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
    
    .biography-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    
    .biography-image-area {
        flex: 0 0 auto;
    }
    
    .biography-photo {
        width: 100px;
        height: 100px;
    }
    
    .footer-links {
        gap: 6px;
    }
    
    .footer-links a,
    .footer-separator {
        font-size: 13px;
    }
    
    .footer-separator {
        margin: 0 3px;
    }
}

/* Very small screens (до 400px) */
@media screen and (max-width: 400px) {
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    p, li {
        font-size: 15px;
    }
    
    .claim-bonus-button {
        font-size: 16px;
        padding: 12px 20px;
    }
}