.main-title {
    color: var(--text-light);
    text-align: center;
    margin: 2rem 0;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.casino-table-header {
    display: grid;
    grid-template-columns: 50px 200px 1fr auto 150px;
    gap: 20px;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px 8px 0 0;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.header-cell {
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
}

.header-cell:first-child {
    text-align: left;
}

.casino-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.casino-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 45px auto 1fr auto;
    gap: 15px;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: auto;
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .casino-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
}

.casino-rank {
    font-size: 20px;
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 50%;
    color: white;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
    .casino-item:hover .casino-rank {
        transform: scale(1.1) rotate(360deg);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
}

/* Logo */
.casino-logo {
    width: 120px;
    height: 60px;
}

.casino-logo img {
    max-width: 120px;
    height: 50px;
    padding: 5px;
    border-width: 1px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    background: white;
}

@media (min-width: 769px) {
    .casino-item:hover .casino-logo img {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
        transform: scale(1.02);
    }
}

.casino-features {
    display: none;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.feature-icon {
    color: #FFD700;
    font-size: 1.1rem;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-dark);
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.feature-icon.check-circle {
    font-size: 1.2rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

.bonus-info {
    text-align: center;
    padding: 0 1rem;
}

.bonus-percentage {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.bonus-amount {
    font-size: 1rem;
}

.bonus-amount strong {
    font-size: 1.4rem;
}

.bonus-extra {
    font-size: 0.8rem;
    margin-top: 0.2rem;
    padding-top: 0.2rem;
}

.casino-item:hover .bonus-info {
    transform: scale(1.02);
   /* background: rgba(0, 0, 0, 0.05);*/
}

.casino-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn-register,
.btn-visit {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: 140px;
}

.btn-register {
    width: 100%;
    white-space: nowrap;
    background: #e65c00;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background: #ff6600;
}

.btn-visit {
    color: var(--text-dark);
    text-decoration: none;
    text-align: center;
}

.offer-label {
    position: absolute;
    top: -10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: white;
}

.offer-label.new {
    background: #0099ff;
}

.offer-label.exclusive {
    background: #00cc66;
}

.offer-label.exceptional {
    background: #ff9900;
}

@media (max-width: 1199px) {
    .casino-table-header,
    .casino-item {
        grid-template-columns: 50px 150px 1fr auto 150px;
    }
}

@media (max-width: 768px) {
    .casino-table-header {
        display: none;
    }

    .casino-item {
        grid-template-columns: 32px auto 1fr auto;
        padding: 0.5rem;
    }

    .casino-logo,
    .features-list,
    .bonus-info,
    .casino-actions,
    .remboursement {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .casino-rank {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .casino-logo img {
        max-width: 80px;
        height: 35px;
    }

    .casino-features {
        width: 100%;
        padding: 0 0.5rem;
    }

    .features-list {
        align-items: center;
    }

    .feature-item {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    .bonus-info {
        padding: 0 0.3rem;
    }

    .btn-register,
    .btn-visit {
        min-width: 100px;
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }

    .remboursement {
        display: none;
    }

    .remboursement-text {
        color: var(--accent-green);
        font-size: 0.9rem;
        font-weight: 500;
    }

    .action-button {
        background: transparent;
        backdrop-filter: none;
        padding: 0.5rem;
        min-width: auto;
        width: auto;
        justify-content: flex-start;
    }

    .action-button::after {
        display: none;
    }

    .action-buttons-list {
        align-items: flex-start;
        padding-left: 1rem;
    }

    .button-icon {
        font-size: 1.6rem;
    }

    .action-button:hover {
        transform: none;
        background: transparent;
    }

    /* Фиксируем ширину контейнера */
    .main-container {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        overflow: hidden;
    }

    /* Убираем горизонтальную прокрутку */
    .casino-block {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Делаем grid для мобильной версии в два столбца */
    @media (min-width: 480px) {
        .casino-block {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
    }
}

/* Для очень маленьких экранов */
@media (max-width: 479px) {
    .casino-item {
        margin-bottom: 8px;
    }
}

.action-text {
    padding-right: 2rem;
}

.action-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.action-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.action-buttons {
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.action-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    min-width: 200px;
    cursor: default;
    user-select: none;
    position: relative;
    margin-bottom: 3px;
}

.action-button::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-green));
    border-radius: 0 0 4px 4px;
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(60, 179, 113, 0.3);
    transition: all 0.3s ease;
}

.action-button:hover::after {
    opacity: 1;
    box-shadow: 0 0 15px rgba(60, 179, 113, 0.5);
    transform: scaleX(1.02);
}

.action-button span {
    order: 1;
}

.button-icon {
    order: 2;
    font-size: 1.4rem;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.8);
}

.action-button:hover .button-icon {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

@media (max-width: 768px) {
    .action-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .action-buttons-list {
        align-items: center;
    }
    
    .action-button {
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }
}

.advantages-section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    border: 2px solid #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.section-title {
    color: var(--text-light);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.advantages-intro {
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.advantage-item h3 {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.advantage-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.sports-page {
    margin-top: 2rem;
}

.sports-header {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(5px);
}

.sports-title {
    color: var(--text-light);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sports-description {
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .sports-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .sports-title {
        font-size: 2rem;
    }

    .sports-description {
        font-size: 1rem;
    }
}

.warning-banner {
    background: transparent;
    color: white;
    text-align: right;
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.warning-banner.home {
    margin-top: 0; 
}

.warning-banner.page {
    margin-top: 85px; 
}

.warning-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 1000px;
    margin-left: auto;
}

.main-container {
    max-width: 1017px;
    margin: 0 auto;
    padding: 1rem;
    padding-top: 70px;
}

.page-container {
    max-width: 1017px;
    margin: 0 auto;
    padding: 1rem;
    padding-top: 85px; 
}

@media (max-width: 768px) {
    .warning-banner {
        padding: 0.5rem 0;
        margin-bottom: 1.5rem;
    }

    .warning-text {
        font-size: 0.85rem;
    }
}

.betting-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.betting-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    min-width: 120px;
    transition: all 0.3s ease;
}

.betting-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.betting-icon .icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: invert(1); 
}

.icon-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .betting-icons {
        gap: 1rem;
    }

    .betting-icon {
        min-width: 100px;
        padding: 0.75rem;
    }

    .betting-icon .icon {
        width: 30px;
        height: 30px;
    }

    .icon-label {
        font-size: 0.8rem;
    }
}

.age-warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-warning-content {
    background: linear-gradient(to bottom, var(--primary-green), var(--secondary-green));
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.age-warning-content h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.age-warning-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-warning-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-confirm {
    padding: 0.75rem 1.5rem;
    background: #e65c00;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm:hover {
    background: #ff6600;
    transform: translateY(-2px);
}

.btn-leave {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-leave:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .age-warning-content {
        padding: 1.5rem;
    }

    .age-warning-content h2 {
        font-size: 1.5rem;
    }

    .age-warning-content p {
        font-size: 1rem;
    }

    .btn-confirm, .btn-leave {
        width: 100%;
    }
}

.slanted-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 2rem 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.features-overview {
    margin: 3rem 0;
    padding: 2rem 0;
}

.features-title {
    color: var(--text-light);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature-box {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-title {
        font-size: 1.5rem;
    }
}

.legal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.legal-title {
    color: var(--primary-green);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--secondary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.legal-section p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-section li {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section p, 
    .legal-section li {
        font-size: 1rem;
    }
}

.betting-guide {
    margin: 3rem auto;
    padding: 2rem;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #FFD700;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.guide-title {
    color: var(--text-dark);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.guide-content {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

.guide-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

@media (max-width: 768px) {
    .betting-guide {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .guide-title {
        font-size: 1.5rem;
    }

    .guide-content {
        font-size: 1rem;
    }
}

.guide-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    padding: 0 1rem;
}

.guide-text p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .guide-text {
        font-size: 1rem;
        padding: 0;
    }
}

/* Стили для remboursement на десктопе */
.remboursement {
    position: absolute;
    right: auto;
    left: 220px;
    top: 20px;
    background: rgba(60, 179, 113, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.remboursement-text {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Добавляем эффект при наведении */
.casino-item:hover .remboursement {
    background: rgba(60, 179, 113, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(60, 179, 113, 0.2);
}

/* Скрываем на мобильных устройствах */
@media (max-width: 768px) {
    .remboursement {
        display: none;
    }
}

/* Добавляем эффект при наведении */
.casino-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Для планшетов и больших мобильных */
@media (min-width: 480px) and (max-width: 768px) {
    .casino-block {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
} 