/* Новые стили баннеров согласно макету */

/* Золотое облачко-рамка вокруг первого (топового) оффера.
   Реализовано исключительно через box-shadow (GPU-композитинг,
   нагрузки на CPU и rendering pipeline нет). */
.main .banners > .banner:first-child {
    box-shadow:
        0 0 0 1.5px rgba(255, 215, 110, 0.85),
        0 0 14px 1px rgba(255, 198, 70, 0.55),
        0 0 36px 6px rgba(255, 180, 50, 0.30),
        0 0 80px 12px rgba(255, 170, 40, 0.16),
        0 6px 24px rgba(0, 0, 0, 0.45);
}

/* Тонкая белая рамка для остальных офферов — без светящегося halo,
   чтобы они не сливались с тёмным фоном страницы. */
.main .banners > .banner:not(:first-child) {
    box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, 0.35),
        0 4px 20px rgba(0, 0, 0, 0.35);
}

.banner {
    width: 100%;
    max-width: 1200px;
    background: transparent;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 200px 1fr;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    min-height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Banner Style 2 with gradient border */
.banner-style2 {
    border: 1px solid transparent;
    background: linear-gradient(#0C173B, #0C173B) padding-box,
                linear-gradient(180deg, rgba(0, 149, 255, 0.4) 0%, rgba(255, 0, 229, 0.4) 100%) border-box;
}

.banner-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d1117;
    padding: 0;
    overflow: hidden;
}

.best-choice-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    padding: 4px 18px 4px 8px;
    font-size: 1em;
    font-weight: 600;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    gap: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    border-bottom-right-radius: 30px;
}

.banner-image-overlay {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

/* Clickable wrapper around banner logo */
.banner-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    line-height: 0;
    cursor: pointer;
}

/* Clickable wrapper around each payment method icon */
.payment-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.payment-logo-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    padding: 20px 24px;
    background: #0C173B;
    gap: 50px;
}

.banner-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.banner-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #4caf50;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-date {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    text-align: right;
}

.banner-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
    justify-content: flex-start;
}

.banner-right-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.banner-date-right {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

.bonus-badge-top {
    background: transparent;
    color: #4db8ff;
    padding: 0;
    border-radius: 0;
    font-size: 0.75em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    max-width: 100%;
}

.banner-rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.banner-rating .star {
    color: #FFB800;
    font-size: 0.9em;
}

.banner-rating .rating-value {
    color: #FFB800;
    font-weight: 700;
    font-size: 1.3em;
}

.banner-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tag-green {
    background: rgba(76, 175, 80, 0.15);
    color: #66bb6a;
    border: 1px solid #66bb6a;
}

.banner-description {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.banner-bonus-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.bonus-highlight-icon {
    font-size: 1.1em;
}

.bonus-highlight-text {
    font-size: 0.8em;
    color: #ffa726;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.payment-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-logo:hover {
    opacity: 1;
}

/* Style 2 Payment Methods */
.payment-methods-style2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.payment-logo-style2 {
    height: 15px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.2s;
    flex: 0 1 auto;
}

.payment-logo-style2:hover {
    opacity: 1;
    transform: scale(1.05);
}

.play-button {
    background: linear-gradient(135deg, #e91e63 0%, #ff9800 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9em;
    padding: 13px 36px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 15px;
    white-space: nowrap;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(233, 30, 99, 0.5);
}

.play-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.4);
}

/* Banner Style 2: Poker with Stats */
.banner-style2 .banner-content {
    background: #0C173B;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.banner-style2 .banner-left {
    gap: 14px;
}

.banner-style2 .banner-title {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: #66bb6a;
}

.banner-style2 .banner-rating {
    justify-content: flex-start;
    margin-bottom: 10px;
}

.banner-style2 .banner-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9em;
    line-height: 1.6;
}

.banner-style2 .banner-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.banner-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 8px;
}

.stat-box {
    background: transparent;
    border-radius: 0;
    padding: 8px 4px;
    text-align: center;
    border: none;
}

.stat-label {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2;
}

.stat-yellow {
    color: #FFD700;
}

.play-button-style2 {
    background: linear-gradient(90deg, #0095FF 0%, #FF00E5 100%);
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 149, 255, 0.4);
    padding: 14px 24px;
    font-size: 0.95em;
}

.play-button-style2:hover {
    box-shadow: 0 6px 16px rgba(0, 149, 255, 0.5);
}

.play-button-style2:active {
    box-shadow: 0 3px 10px rgba(0, 149, 255, 0.4);
}

/* Why Players Choose Us Section */
.why-choose-us {
    margin: 60px 0 40px 0;
    padding: 40px;
    background: rgba(0, 149, 255, 0.16);
    border-radius: 25px;
    border: 1px solid rgba(0, 149, 255, 0.2);
}

.why-choose-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #4db8ff;
    text-align: center;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-choose-item {
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 15px;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-choose-item-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-choose-item-text {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

/* Payment Systems Section */
.payment-systems-section {
    margin: 40px 0 60px 0;
    padding: 40px;
    background: rgba(191, 0, 255, 0.16);
    border-radius: 25px;
    border: 1px solid rgba(255, 0, 229, 0.2);
}

.payment-systems-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #ff00e5;
    text-align: center;
    margin: 0 0 35px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-systems-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.payment-system-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

.payment-system-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Play Responsibly Section */
.play-responsibly-section {
    margin: 40px 0 60px 0;
    padding: 40px 45px;
    background: linear-gradient(135deg, #3a2a1a 0%, #4a3622 100%);
    border-radius: 25px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.play-responsibly-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffaa33;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-responsibly-intro {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0 0 30px 0;
}

.play-responsibly-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.play-responsibly-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.play-responsibly-icon {
    font-size: 1.2em;
    color: #ffaa33;
    flex-shrink: 0;
    margin-top: 2px;
}

.play-responsibly-text {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.play-responsibly-text strong {
    color: #ffffff;
    font-weight: 600;
}

.play-responsibly-footer {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-style: italic;
}

/* New Footer */
.new-footer {
    background: #000000;
    padding: 50px 20px 40px 20px;
}

.footer-age-badge-wrapper {
    text-align: center;
    margin-bottom: 35px;
}

.footer-age-icon {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-org-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.footer-org-logo:hover {
    opacity: 1;
}

.footer-text-content {
    text-align: center;
}

.footer-copyright-text {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px 0;
}

.footer-disclaimer-text {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Mobile Styles for New Sections */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 30px 20px;
        margin: 40px 0 30px 0;
    }
    
    .why-choose-title {
        font-size: 1.3em;
        margin-bottom: 30px;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .payment-systems-section {
        padding: 30px 20px;
        margin: 30px 0 40px 0;
    }
    
    .payment-systems-title {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    
    .payment-systems-grid {
        gap: 20px;
    }
    
    .payment-system-logo {
        height: 28px;
    }
    
    .play-responsibly-section {
        padding: 30px 25px;
        margin: 30px 0 40px 0;
    }
    
    .play-responsibly-title {
        font-size: 1.3em;
        margin-bottom: 18px;
    }
    
    .play-responsibly-intro {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    
    .play-responsibly-item {
        margin-bottom: 16px;
    }
    
    .new-footer {
        padding: 40px 20px 30px 20px;
    }
    
    .footer-age-badge-wrapper {
        margin-bottom: 30px;
    }
    
    .footer-age-icon {
        height: 40px;
    }
    
    .footer-logos {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-org-logo {
        height: 32px;
    }
    
    .footer-copyright-text {
        font-size: 0.85em;
    }
    
    .footer-disclaimer-text {
        font-size: 0.8em;
    }
}

/* Dark Theme Variations */
.banner.dark-theme .banner-content {
    background: linear-gradient(135deg, #0d1520 0%, #1a2332 100%);
}

.banner.dark-theme .banner-image-container {
    background: #000000;
}

/* Style 2 specific dark theme */
.banner-style2.dark-theme .banner-content {
    background: #0C173B;
}

.banner-style2.dark-theme .banner-image-container {
    background: #000000;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .banner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .banner-image-container {
        min-height: 100px;
        padding: 0;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        padding: 14px 16px;
        gap: 12px;
    }
    
    .banner-style2 .banner-content {
        grid-template-columns: 1fr;
    }
    
    .banner-left {
        gap: 10px;
    }
    
    .banner-right {
        align-items: center;
        gap: 10px;
    }
    
    .banner-right-bottom {
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    
    .play-button {
        width: 100%;
        padding: 11px 24px;
    }
    
    .play-button-style2 {
        width: 100%;
    }
    
    .bonus-badge-top {
        text-align: center;
        justify-content: center;
    }
    
    .banner-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
    }
    
    .stat-box {
        padding: 8px 4px;
    }
    
    .stat-label {
        font-size: 0.65em;
    }
    
    .stat-value {
        font-size: 1.2em;
    }
    
    .payment-methods-style2 {
        gap: 8px;
    }
    
    .payment-logo-style2 {
        height: 16px;
    }
}
