/* Bonus Template Styles - Стили для шаблона бонусных страниц */

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 20px;
    background: linear-gradient(135deg, #0f4c75 0%, #1e5f8e 50%, #2a7fb8 100%);
}

.editable-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.editable-area h1,
.editable-area h2,
.editable-area h3,
.editable-area h4,
.editable-area h5,
.editable-area h6 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.editable-area p {
    margin-bottom: 1rem;
    color: #555;
}

.editable-area ul,
.editable-area ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.editable-area li {
    margin-bottom: 0.5rem;
    color: #555;
}

.editable-area a,
.content-area a {
    color: #0066cc;
    text-decoration: none;
}

.editable-area a:hover,
.content-area a:hover {
    color: #004499;
    text-decoration: underline;
}

.content-area {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4,
.content-area h5,
.content-area h6 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-area p {
    margin-bottom: 1rem;
    color: #555;
}

.content-area ul,
.content-area ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-area li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Hero Section Styles */
.hero-section {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
    min-height: 300px;
}

.slider-container {
    display: flex;
    justify-content: center;
    align-self: start;
    margin-top: 0;
    height: 100%;
}

.match-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 560px;
    width: 100%;
    height: fit-content;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bonus-info {
    text-align: center;
}

.bonus-title-large {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.get-bonus-btn {
    background: #8bc34a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.get-bonus-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

.bonus-cards {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.bonus-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    max-width: 480px;
}

.bonus-card:hover {
    background: white;
    transform: translateY(-2px);
}

.bonus-card.active {
    border-color: #00a6ff;
    background: rgba(0, 166, 255, 0.1);
}

.bonus-icon {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    text-align: center;
}

.bonus-title {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 0.05rem;
    line-height: 1.1;
}

.bonus-description {
    font-size: 0.85rem;
    color: #dddddd;
    line-height: 1.1;
    margin-bottom: 0.05rem;
}

/* Prevent long words from overflowing in bonus card titles/descriptions */
.bonus-title, .bonus-description {
    overflow-wrap: anywhere;
}

.bonus-amount {
    color: #00a6ff !important;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.1;
    text-shadow: 0 0 3px rgba(0, 166, 255, 0.5);
    opacity: 1;
    visibility: visible;
}

/* Bonus content is now vertical layout - no need for horizontal flex */

/* Make all headings black in bonus pages */
h1, h2, h3, h4, h5, h6 {
    color: #333 !important;
}

/* Keep main bonus title white (above GET BONUS button) */
.bonus-title-large {
    color: #ffffff !important;
}

/* Keep headings blue in bonus steps section */
.bonus-steps-section h3 {
    color: #00a6ff !important;
}

/* Keep step titles blue in bonus steps */
.step-content h4 {
    color: #00a6ff !important;
}

/* Right Buttons - Bonus Conditions */
.right-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
    margin-top: 0;
    height: 100%;
    justify-content: start;
    align-items: flex-start;
}

.bonus-conditions-short {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    max-width: 400px;
    margin: 0;
}

.condition-card {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 80px;
    justify-content: center;
}

.condition-card:hover {
    background: rgba(0, 166, 255, 0.2);
    border-color: #00a6ff;
    transform: translateY(-2px);
}

.condition-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.condition-content {
    text-align: center;
}

.condition-title {
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: #cccccc;
}

.condition-value {
    font-size: 1rem;
    font-weight: bold;
    color: #00a6ff;
}

/* Sports Filter */
.sports-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sport-btn {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.sport-btn:hover {
    background: rgba(0, 166, 255, 0.2);
    border-color: #00a6ff;
    transform: translateY(-2px);
}

.sport-btn.active {
    background: #00a6ff;
    border-color: #00a6ff;
}

/* Content Area */
.content-area {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bonus Hero Image */
.bonus-hero-image {
    text-align: center;
    margin-bottom: 2rem;
}

.bonus-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Bonus Intro */
.bonus-intro {
    margin-bottom: 3rem;
}

.bonus-intro h2 {
    color: #00a6ff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 166, 255, 0.3);
}

.bonus-intro p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid #00a6ff;
}

.highlight-box p {
    margin-bottom: 0.5rem;
    color: #1976d2;
    font-weight: 500;
}

/* Bonus Description */
.bonus-description {
    margin-bottom: 3rem;
}

.bonus-description h3 {
    color: #00a6ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 166, 255, 0.3);
}

.bonus-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-content h4 {
    color: #00a6ff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Three Steps Section */
.bonus-steps-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bonus-steps-section h3 {
    color: #00a6ff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 166, 255, 0.3);
}

.bonus-steps-section p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.1rem;
}

.steps-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    background: linear-gradient(135deg, #00a6ff 0%, #0084d1 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 166, 255, 0.3);
}

.step-content h4 {
    color: #00a6ff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    font-size: 1rem;
}

/* Bonus Conditions */
.bonus-conditions {
    margin-bottom: 3rem;
}

.bonus-conditions h3 {
    color: #00a6ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 166, 255, 0.3);
}

.bonus-conditions p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Bonus Wagering */
.bonus-wagering {
    margin-bottom: 3rem;
}

.bonus-wagering h3 {
    color: #00a6ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 166, 255, 0.3);
}

.wagering-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.rule-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #00a6ff;
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rule-card h4 {
    color: #00a6ff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.rule-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
}

/* Bonus CTA */
.bonus-cta {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #00a6ff 0%, #0084d1 100%);
    border-radius: 15px;
    color: white;
}

.bonus-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.cta-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn.primary {
    background: #8bc34a;
    color: white;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.cta-btn.primary:hover {
    background: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    text-align: center;
    color: #00a6ff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 166, 255, 0.3);
}

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

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: linear-gradient(135deg, #00a6ff 0%, #0084d1 100%);
    color: #fff;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #0084d1 0%, #006bb3 100%);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 500;
}

/* Links */
a {
    color: #00a6ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffa500;
    text-decoration: underline;
}

/* Breadcrumbs removed */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }
    
    .right-buttons {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .match-card {
        padding: 1rem;
    }
    
    .content-area {
        padding: 1rem;
    }
    
    .bonus-intro h2 {
        font-size: 1.5rem;
    }
    
    .bonus-description h3,
    .bonus-conditions h3,
    .bonus-wagering h3 {
        font-size: 1.2rem;
    }
    
    .bonus-features {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-item {
        min-width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .wagering-rules {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .faq-section {
        margin: 2rem 0;
        padding: 1rem;
    }
    
    .faq-section h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .bonus-conditions-short {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        gap: 0.6rem;
    }
    
    .condition-card {
        min-height: 70px;
        padding: 0.6rem;
    }
    
    .condition-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .condition-title {
        font-size: 0.7rem;
    }
    
    .condition-value {
        font-size: 0.9rem;
    }
}

/* Рекомендуемые бонусы */
.recommended-bonuses {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(139, 195, 74, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(139, 195, 74, 0.2);
}

.recommended-bonuses h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.recommended-bonuses p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.bonus-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #8bc34a;
}

.bonus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.bonus-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.bonus-card h4 a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.bonus-card h4 a:hover {
    color: #8bc34a;
    text-decoration: underline;
}

.bonus-card p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Секция всех бонусов на главной странице */
.all-bonuses-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(139, 195, 74, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(139, 195, 74, 0.1);
}

.all-bonuses-section h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .bonus-card {
        padding: 1rem;
    }
    
    .recommended-bonuses {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .all-bonuses-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .all-bonuses-section h2 {
        font-size: 1.5rem;
    }
}
