/* css/style.css - Казино-стиль (тёмно-зелёный) */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #0a2f1f;
    color: #e8e6d9;
    line-height: 1.4;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(180, 140, 60, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 70%, rgba(180, 140, 60, 0.03) 0%, transparent 30%);
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

/* Шапка */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(10, 40, 20, 0.8);
    backdrop-filter: blur(5px);
    padding: 18px 25px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(200, 160, 80, 0.3);
}

@media (max-width: 480px) {
    .header {
        padding: 15px 20px;
        gap: 10px;
    }
}

.header-icon {
    width: 48px;
    height: 48px;
    background: #1a3a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #c8a050;
    box-shadow: 0 0 10px rgba(200, 160, 80, 0.3);
}

.header-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #f0e6d0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    max-width: calc(100% - 60px);
    text-align: center;
    text-transform: uppercase;
}

@media (min-width: 480px) {
    .header h1 {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .header h1 {
        font-size: 26px;
    }
}

/* Подзаголовок */
.subheader {
    margin-bottom: 20px;
    padding: 0 5px;
}

.subheader h2 {
    font-size: 16px;
    font-weight: 400;
    color: #c8b090;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.3px;
}

@media (min-width: 768px) {
    .subheader h2 {
        font-size: 18px;
    }
}

/* Список казино */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Карточка казино */
.casino-item {
    background: linear-gradient(145deg, #1a3a2a, #0f2f20);
    border-radius: 25px;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 215, 140, 0.2);
    border: 1px solid #c8a050;
    transition: all 0.2s ease;
    position: relative;
}

.casino-item:hover {
    border-color: #e5c280;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), inset 0 1px 3px rgba(255, 225, 140, 0.3);
    transform: translateY(-2px);
}

/* Иконка казино */
.casino-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: #1e422e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #c8a050;
    overflow: hidden;
    box-shadow: inset 0 0 0 2px rgba(200, 160, 80, 0.3), 0 5px 10px rgba(0, 0, 0, 0.4);
}

.casino-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
    border-radius: 50%;
}

/* Контент */
.casino-content {
    flex: 1;
    min-width: 0;
}

/* Заголовок с номером */
.casino-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

/* Кружок с номером рейтинга (уменьшенный) */
.casino-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #c8a050;
    color: #0a2f1f;
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid #f0e6d0;
    flex-shrink: 0;
}

/* Название казино */
.casino-name {
    font-size: 18px;
    font-weight: 700;
    color: #f0e6d0;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

/* Бонус (уменьшенный шрифт) */
.casino-bonus {
    font-size: 15px;
    font-weight: 700;
    color: #e5c280;
    line-height: 1.3;
    word-break: break-word;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 3px;
}

/* Мин. депозит в карточке */
.casino-min-deposit {
    font-size: 13px;
    color: #b0a890;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

/* Платёжные системы в карточке */
.casino-payment {
    font-size: 12px;
    color: #b0a890;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    flex-wrap: wrap;
}

.payment-more {
    color: #c8a050;
    font-weight: 500;
    background: rgba(200, 160, 80, 0.15);
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 11px;
    white-space: nowrap;
}

/* Кнопки */
.buttons-wrapper {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-self: flex-start;
}

.info-btn {
    flex-shrink: 0;
    background: transparent;
    color: #c8a050;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 18px;
    border-radius: 40px;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    border: 1.5px solid #c8a050;
    cursor: pointer;
    display: inline-block;
    letter-spacing: 0.5px;
    background-color: rgba(10, 40, 20, 0.6);
    backdrop-filter: blur(2px);
    text-transform: uppercase;
}

.info-btn:hover {
    background-color: #c8a050;
    color: #0a2f1f;
    border-color: #e5c280;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(200, 160, 80, 0.3);
}

.info-btn:active {
    transform: translateY(1px);
}

.play-btn {
    flex-shrink: 0;
    background: linear-gradient(145deg, #c8a050, #b8862e);
    color: #0a2f1f;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 25px;
    border-radius: 40px;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 6px 15px rgba(200, 160, 80, 0.3);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 215, 140, 0.3);
    text-transform: uppercase;
}

.play-btn:hover {
    background: linear-gradient(145deg, #dbb260, #c89a3e);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(200, 160, 80, 0.4);
}

.play-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(200, 160, 80, 0.3);
}

/* Выпадающая панель */
.info-panel {
    display: none;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #c8a050;
}

.casino-item.expanded .info-panel {
    display: block;
}

/* Стили для строк информации (исправленные) */
.info-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 14px;
    padding: 0 5px;
    flex-wrap: nowrap;
    align-items: baseline;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 700;
    color: #e5c280;
    width: 145px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.info-value {
    font-weight: 400;
    color: #d8d0c0;
    flex: 1;
}

/* Стиль для "и ещё X" */
.lang-more {
    color: #c8a050;
    font-weight: 500;
    background: rgba(200, 160, 80, 0.15);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    display: inline-block;
    margin-left: 4px;
}

/* Десктоп версия */
@media (min-width: 768px) {
    body {
        padding: 30px 40px;
    }

    .header {
        padding: 22px 30px;
        margin-bottom: 30px;
    }

    .header h1 {
        font-size: 30px;
    }

    .subheader h2 {
        font-size: 18px;
    }

    .casino-item {
        padding: 20px 25px;
        gap: 20px;
    }

    .casino-icon {
        width: 80px;
        height: 80px;
    }

    .casino-rank {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .casino-name {
        font-size: 20px;
    }

    .casino-bonus {
        font-size: 16px;
    }

    .casino-min-deposit {
        font-size: 14px;
    }

    .casino-payment {
        font-size: 13px;
    }

    .payment-more {
        font-size: 12px;
    }

    .buttons-wrapper {
        align-self: center;
    }

    .info-btn {
        font-size: 16px;
        padding: 14px 22px;
    }

    .play-btn {
        font-size: 16px;
        padding: 14px 30px;
    }

    .info-panel {
        margin-left: 96px;
        width: calc(100% - 96px);
    }

    .info-row {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .info-label {
        width: 160px;
    }
}

/* Большие десктопы */
@media (min-width: 1200px) {
    .container {
        max-width: 900px;
    }

    .casino-item {
        padding: 22px 28px;
    }

    .casino-icon {
        width: 85px;
        height: 85px;
    }

    .info-panel {
        margin-left: 101px;
        width: calc(100% - 101px);
    }
}

/* Адаптация для маленьких экранов */
@media (max-width: 480px) {
    .casino-item {
        flex-wrap: wrap;
        padding: 16px;
    }

    .casino-content {
        min-width: calc(100% - 86px);
    }

    .casino-rank {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .casino-name {
        font-size: 16px;
    }

    .casino-bonus {
        font-size: 14px;
    }

    .casino-min-deposit {
        font-size: 12px;
    }

    .casino-payment {
        font-size: 11px;
    }

    .payment-more {
        font-size: 10px;
    }

    .buttons-wrapper {
        width: 100%;
        margin-top: 10px;
    }

    .play-btn, .info-btn {
        flex: 1;
        text-align: center;
        padding: 12px 10px;
        font-size: 14px;
    }

    .info-row {
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .info-label {
        width: 135px;
        margin-bottom: 0;
    }

    .info-value {
        flex: 1;
    }
}

/* Еще меньше */
@media (max-width: 360px) {
    .header h1 {
        font-size: 16px;
    }

    .casino-name {
        font-size: 15px;
    }

    .casino-bonus {
        font-size: 13px;
    }

    .info-label {
        width: 120px;
    }
}

/* Текстовый блок */
.content-block {
    width: 100%;
    margin: 30px 0 20px;
    background: linear-gradient(145deg, #1a3a2a, #0f2f20);
    border-radius: 25px;
    border: 1px solid #c8a050;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.content-block .container {
    max-width: 800px;
    padding: 25px;
}

.content-section {
    margin-bottom: 20px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #e5c280;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.content-section p {
    font-size: 15px;
    line-height: 1.5;
    color: #d0c8b8;
    margin: 0;
}

@media (min-width: 768px) {
    .content-block {
        margin: 40px 0 30px;
    }

    .content-block .container {
        padding: 30px;
    }

    .content-section h2 {
        font-size: 22px;
    }

    .content-section p {
        font-size: 16px;
    }
}

/* FAQ блок */
.faq-block {
    width: 100%;
    margin: 30px 0 20px;
    background: linear-gradient(145deg, #1a3a2a, #0f2f20);
    border-radius: 25px;
    border: 1px solid #c8a050;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.faq-block .container {
    max-width: 800px;
    padding: 25px;
}

.faq-title {
    font-size: 22px;
    font-weight: 600;
    color: #e5c280;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(10, 40, 20, 0.6);
    border-radius: 20px;
    border: 1px solid #c8a050;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #f0e6d0;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: rgba(200, 160, 80, 0.1);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 15px;
    line-height: 1.4;
}

.faq-icon {
    font-size: 12px;
    color: #c8a050;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px 20px 20px 20px;
    color: #d0c8b8;
    font-size: 15px;
    line-height: 1.5;
    border-top: 1px solid #c8a050;
    background: rgba(10, 40, 20, 0.4);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
}

@media (min-width: 768px) {
    .faq-block {
        margin: 40px 0 30px;
    }

    .faq-block .container {
        padding: 30px;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 18px 25px;
        font-size: 17px;
    }

    .faq-answer {
        padding: 25px 25px 25px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .faq-block .container {
        padding: 20px;
    }

    .faq-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .faq-question {
        padding: 12px 16px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 16px 16px 16px 16px;
        font-size: 14px;
    }
}

/* Футер */
.footer {
    width: 100%;
    margin-top: 30px;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 25px;
    text-align: center;
    border-top: 1px solid #c8a050;
}

.footer-copyright {
    color: #a09078;
    font-size: 13px;
}

@media (min-width: 768px) {
    .footer {
        margin-top: 40px;
    }

    .footer-container {
        padding: 25px 30px;
    }

    .footer-copyright {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    .footer-container {
        max-width: 900px;
    }
}

/* Сравнительные таблицы */
.comparison-tables {
    margin: 40px 0 30px;
}

.comparison-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.comparison-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #e5c280;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #c8a050;
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #1a3a2a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #c8a050;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #2a5a3a;
    font-size: 15px;
    vertical-align: top;
}

.comparison-table th {
    background: #0f2f20;
    color: #e5c280;
    font-weight: 700;
    font-size: 16px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td {
    color: #e8e6d9;
}

.comparison-table strong {
    color: #e5c280;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .comparison-title {
        font-size: 22px;
    }
    .comparison-subtitle {
        font-size: 18px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Блок автора */
.author-block {
    margin: 30px 0 20px;
}

.author-block .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.author-content {
    background: #1e3a2a;
    border-radius: 20px;
    padding: 16px 20px;
    border: 1px solid #c8a050;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-label {
    font-weight: 400;
    color: #c8b090;
    font-size: 15px;
}

.author-name {
    font-weight: 600;
    color: #e5c280;
    font-size: 16px;
}

.author-description {
    font-weight: 400;
    color: #e8e6d9;
    font-size: 15px;
}

@media (min-width: 768px) {
    .author-block {
        margin: 40px 0 30px;
    }
    .author-content {
        padding: 20px 25px;
        gap: 8px;
    }
    .author-label {
        font-size: 16px;
    }
    .author-name {
        font-size: 18px;
    }
    .author-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .author-content {
        padding: 14px 16px;
        gap: 4px;
    }
    .author-label, .author-name, .author-description {
        font-size: 14px;
    }
}