/* ============================================
   DIOR INDUSTRIAL TROPICAL-SUMMER OCHRE COMPONENTS
   Кремово-охристая тема в стиле сайта
   ============================================ */

/* Цветовая схема Dior Industrial */
:root {
    /* Ochre palette */
    --dior-ochre: #CC7722;
    --dior-amber: #E69500;
    --dior-bronze: #A86523;
    --dior-sand: #D4A76A;
    --dior-gold: #B8860B;
    
    /* Industrial palette */
    --industrial-graphite: #2D2D2D;
    --industrial-charcoal: #1A1A1A;
    --industrial-steel: #4A4A4A;
    --industrial-concrete: #6B6B6B;
    
    /* Tropical-Summer palette */
    --tropical-cream: #FFF8F0;
    --tropical-sand: #F5E6D3;
    --tropical-warm: #FFE4C4;
    --tropical-sunset: #FFD7A8;
}

/* ============================================
   ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ КОМПОНЕНТОВ
   ============================================ */

.component-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(145deg, #ffffff 0%, var(--tropical-cream) 50%, var(--tropical-sand) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(45, 45, 45, 0.12),
        0 2px 8px rgba(204, 119, 34, 0.08);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--dior-ochre), var(--dior-sand), var(--dior-ochre)) 1;
}

.component-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--dior-bronze), 
        var(--dior-ochre), 
        var(--dior-amber), 
        var(--dior-ochre), 
        var(--dior-bronze)
    );
    border-radius: 20px 20px 0 0;
}

.component-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(204, 119, 34, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ============================================
   COMPONENT 1: BONUS HIGHLIGHT (DIOR STYLE)
   ============================================ */

.component-section.component-1 {
    padding: 50px 40px;
    background: linear-gradient(145deg, var(--tropical-cream) 0%, #ffffff 50%, var(--tropical-sand) 100%);
}

.component-section.component-1::before {
    background: linear-gradient(90deg, 
        var(--dior-bronze), 
        var(--dior-ochre), 
        var(--dior-gold),
        var(--dior-ochre), 
        var(--dior-bronze)
    );
}

.component-section.component-1 .bonus-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(45, 45, 45, 0.1),
        0 4px 12px rgba(204, 119, 34, 0.08);
    border: 1px solid rgba(204, 119, 34, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 500px;
    margin: 0 auto;
}

.component-section.component-1 .bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(45, 45, 45, 0.15),
        0 8px 24px rgba(204, 119, 34, 0.12);
    border-color: var(--dior-ochre);
}

.component-section.component-1 .bonus-card__header {
    background: linear-gradient(135deg, var(--industrial-charcoal) 0%, var(--industrial-graphite) 100%);
    padding: 30px 25px;
    text-align: center;
    position: relative;
}

.component-section.component-1 .bonus-tag {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.component-section.component-1 .bonus-title {
    margin: 0.5rem 0 0 0;
    font-size: 1.5rem;
    color: #ffffff;
}

.component-section.component-1 .bonus-card__main {
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--tropical-cream) 100%);
}

.component-section.component-1 .bonus-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.component-section.component-1 .bonus-percentage {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dior-ochre);
}

.component-section.component-1 .bonus-up-to {
    font-size: 1rem;
    color: #666;
}

.component-section.component-1 .bonus-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.component-section.component-1 .bonus-extra {
    font-size: 1.125rem;
    color: #4CAF50;
    font-weight: 600;
}

.component-section.component-1 .bonus-card__details {
    padding: 1.5rem;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

.component-section.component-1 .bonus-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.component-section.component-1 .detail-label {
    color: #666;
    font-size: 0.875rem;
}

.component-section.component-1 .detail-value {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

.component-section.component-1 .bonus-card__footer {
    padding: 1.5rem;
    background: white;
}

.component-section.component-1 .bonus-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--dior-ochre) 0%, var(--dior-bronze) 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.component-section.component-1 .bonus-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 119, 34, 0.4);
}

.component-section.component-1 .bonus-terms {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
    color: #999;
}

.component-section.component-1 .bonus-terms a {
    color: #999;
    text-decoration: underline;
}

/* ============================================
   COMPONENT 2: РЕЙТИНГ (DIOR STYLE)
   ============================================ */

.component-section.component-2 {
    padding: 50px 40px;
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, var(--tropical-cream) 100%);
}

.component-section.component-2 .rating-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 50px 70px;
    background: linear-gradient(135deg, var(--industrial-charcoal) 0%, var(--industrial-graphite) 100%);
    border-radius: 24px;
    position: relative;
    z-index: 5;
    box-shadow: 
        0 15px 50px rgba(45, 45, 45, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 3px solid var(--dior-ochre);
}

.component-section.component-2 .rating-container::before {
    content: '★ VALUTAZIONE PREMIUM ★';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--dior-ochre), var(--dior-amber));
    color: #ffffff;
    padding: 8px 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(204, 119, 34, 0.4);
}

.component-section.component-2 .stars-container {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.component-section.component-2 .star-icon {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5));
    animation: starPulse 2.5s ease-in-out infinite;
}

.component-section.component-2 .star-icon:nth-child(1) { animation-delay: 0s; }
.component-section.component-2 .star-icon:nth-child(2) { animation-delay: 0.1s; }
.component-section.component-2 .star-icon:nth-child(3) { animation-delay: 0.2s; }
.component-section.component-2 .star-icon:nth-child(4) { animation-delay: 0.3s; }
.component-section.component-2 .star-icon:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
    0%, 100% { 
        filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5)); 
        transform: scale(1); 
    }
    50% { 
        filter: drop-shadow(0 6px 20px rgba(255, 215, 0, 0.8)); 
        transform: scale(1.08); 
    }
}

.component-section.component-2 .rating-text {
    font-size: 48px;
    font-weight: 800;
    color: var(--dior-ochre);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
    font-family: 'Georgia', serif;
}

/* ============================================
   COMPONENT 3: FEATURES LIST (DIOR STYLE)
   ============================================ */

.component-section.component-3 {
    padding: 50px 40px;
    background: linear-gradient(145deg, var(--tropical-cream) 0%, #ffffff 100%);
}

.component-section.component-3 .features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 5;
}

.component-section.component-3 .feature-item {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--industrial-graphite);
    text-align: center;
    border: 2px solid var(--tropical-sand);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(45, 45, 45, 0.06);
}

.component-section.component-3 .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--dior-ochre), var(--dior-amber), var(--dior-ochre));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.component-section.component-3 .feature-item:hover {
    border-color: var(--dior-ochre);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(204, 119, 34, 0.15);
}

.component-section.component-3 .feature-item:hover::before {
    transform: scaleX(1);
}

/* ============================================
   COMPONENT 4: FAQ ACCORDION (DIOR STYLE)
   ============================================ */

.component-section.component-4 {
    padding: 50px 40px;
    background: linear-gradient(145deg, #ffffff 0%, var(--tropical-cream) 50%, var(--tropical-sand) 100%);
}

.component-section.component-4 .grid-medium {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 5;
}

.component-section.component-4 .content-padding {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--tropical-sand);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.06);
}

.component-section.component-4 .content-padding:hover {
    border-color: var(--dior-ochre);
    box-shadow: 0 6px 20px rgba(204, 119, 34, 0.15);
}

.component-section.component-4 .spacing-medium {
    padding: 20px 55px 20px 24px;
    background: linear-gradient(135deg, #ffffff 0%, var(--tropical-cream) 100%);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--tropical-sand);
}

.component-section.component-4 .spacing-medium:hover {
    background: linear-gradient(135deg, var(--tropical-cream) 0%, var(--tropical-warm) 100%);
}

.component-section.component-4 .spacing-medium::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--dior-ochre);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tropical-warm);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.component-section.component-4 .spacing-medium.active {
    background: linear-gradient(135deg, var(--tropical-cream) 0%, var(--tropical-warm) 100%);
    border-bottom-color: transparent;
}

.component-section.component-4 .spacing-medium.active::after {
    transform: translateY(-50%) rotate(45deg);
    background: var(--dior-ochre);
    color: white;
}

.component-section.component-4 .spacing-small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--industrial-graphite);
    margin: 0;
    padding: 0;
    border: none;
    letter-spacing: 0.3px;
}

.component-section.component-4 .spacing-medium:hover .spacing-small {
    color: var(--dior-ochre);
}

.component-section.component-4 .spacing-large {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    padding: 0 28px;
    background: white;
}

.component-section.component-4 .spacing-large.active {
    max-height: 1000px;
    padding: 24px 28px;
}

.component-section.component-4 .grid-large {
    padding: 0;
}

.component-section.component-4 .grid-extra {
    font-size: 15px;
    line-height: 1.8;
    color: var(--industrial-steel);
    margin: 0;
    border-top: 1px dashed var(--tropical-sand);
    padding-top: 16px;
}

.component-section.component-4 .button-hover {
    display: none;
}

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

@media (max-width: 768px) {
    .component-section {
        margin: 30px 0;
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .component-section.component-1 {
        padding: 35px 20px;
    }
    
    .component-section.component-1 .bonus-card {
        max-width: 100%;
    }
    
    .component-section.component-1 .bonus-percentage {
        font-size: 2.5rem;
    }
    
    .component-section.component-1 .bonus-value {
        font-size: 2rem;
    }
    
    .component-section.component-2 {
        padding: 35px 20px;
    }
    
    .component-section.component-2 .rating-container {
        padding: 40px 35px;
    }
    
    .component-section.component-2 .star-icon {
        width: 24px;
        height: 24px;
    }
    
    .component-section.component-2 .rating-text {
        font-size: 36px;
    }
    
    .component-section.component-3 {
        padding: 35px 20px;
    }
    
    .component-section.component-3 .features-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .component-section.component-4 {
        padding: 35px 20px;
    }
    
    .component-section.component-4 .spacing-medium {
        padding: 18px 20px;
    }
    
    .component-section.component-4 .spacing-small {
        font-size: 15px;
        padding-right: 45px;
    }
}

@media (max-width: 480px) {
    .component-section.component-1 .bonus-card__header {
        padding: 20px 15px;
    }
    
    .component-section.component-1 .bonus-card__main {
        padding: 1.5rem 1rem;
    }
    
    .component-section.component-1 .bonus-percentage {
        font-size: 2rem;
    }
    
    .component-section.component-1 .bonus-value {
        font-size: 1.75rem;
    }
    
    .component-section.component-2 .rating-container::before {
        font-size: 9px;
        padding: 6px 18px;
    }
    
    .component-section.component-2 .rating-container {
        padding: 35px 25px;
    }
}

/* === HIDE CASINO NAMES UNDER LOGOS === */
[class*="-casino-name"], .casino-name, .dl-casino-name, .gb-casino-name { display: none !important; }


/* exit-popup-text-white-20260512: ensure exit-popup headlines/text are white with black shadow for readability across all sites */
.exit-popup h1, .exit-popup h2, .exit-popup h3,
.exit-popup p,
.exit-popup .exit-popup-badge,
[class*="exit-popup"] > h1,
[class*="exit-popup"] > h2,
[class*="exit-popup"] > h3,
.exit-popup-overlay h1, .exit-popup-overlay h2, .exit-popup-overlay h3,
.exit-popup-overlay > p,
.kt-exit-popup h1, .kt-exit-popup h2, .kt-exit-popup h3,
.kt-exit-popup-header, .kt-exit-popup p {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.6) !important;
}


/* sticky-footer-center-group-20260512: prevent .sticky-footer-info flex-grow so logo+info+cta group in center */
.sticky-footer-inner, .sticky-footer-bar-inner, #stickyFooter > div, #stickyFooterBar > div {
  justify-content: center !important;
  gap: 14px !important;
}
.sticky-footer-info, .sticky-footer-bar-info, .sticky-footer-text {
  flex: 0 0 auto !important;
}


/* sticky-footer-borderbox-20260512: enforce border-box so width:100%+padding doesn't overflow viewport */
.sticky-footer-bar, #stickyFooterBar, #stickyFooter, .sticky-footer, .sticky-footer-bar-inner, .sticky-footer-inner {
  box-sizing: border-box !important;
  max-width: 100vw !important;
}


/* sticky-footer-close-static-20260513: make close button flow as flex item (was absolute, overlapped CTA when inner narrowed by group-center fix) */
.sticky-footer-close, .sticky-footer-bar-close,
#stickyFooter .sticky-footer-close, #stickyFooterBar .sticky-footer-close,
#stickyFooterBar .sticky-footer-bar-close, .sticky-footer-bar .sticky-footer-bar-close,
.sticky-footer-bar .sticky-footer-close {
  position: static !important;
  transform: none !important;
  right: auto !important;
  top: auto !important;
  margin: 0 !important;
}
