/* Casino Welcome Bonus Widget Styles */

/* Extra ikon méret korlátozás minden esetére */
.bonus-header-icon,
.bonus-header .bonus-header-icon,
.elementor-widget-casibonus .bonus-header-icon {
    font-size: 1.2rem !important;
    width: 1.2rem !important;
    height: 1.2rem !important;
    max-width: 1.2rem !important;
    max-height: 1.2rem !important;
    line-height: 1.2rem !important;
    display: inline-block !important;
}

.bonus-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-color, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.bonus-header {
    background: linear-gradient(135deg, var(--primary-color, #8b5cf6) 0%, #7c3aed 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.bonus-header-icon {
    font-size: 1.2rem !important;
    flex-shrink: 0;
    width: 1.2rem !important;
    height: 1.2rem !important;
    line-height: 1.2rem !important;
}

.bonus-header-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.main-offer {
    padding: 12px;
    text-align: center;
    background: linear-gradient(135deg, #fef9e7 0%, #fdf4e0 100%);
    border-bottom: 3px solid var(--accent-color, #f59e0b);
}

.offer-label {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 5px;
    font-weight: 500;
}

    .offer-amount {
        font-size: 2.4rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 7px;
    line-height: 1.1;
}

.free-spins-btn {
    background: linear-gradient(135deg, var(--accent-color, #f59e0b) 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 7px;
}

.free-spins-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.4);
}

.min-deposit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    font-size: 1rem;
}

.min-deposit i {
    color: #9ca3af;
}

.other-bonuses {
    padding: 12px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bonus-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #8b5cf6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.bonus-item:hover {
    background: #f3f4f6;
    transform: translateX(5px);
}

.bonus-info {
    flex: 1;
}

.bonus-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.bonus-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.4;
}

.bonus-arrow {
    color: var(--primary-color, #8b5cf6);
    font-size: 1.2rem;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.bonus-arrow .bonus-icon,
.bonus-arrow i {
    color: inherit;
    font-size: inherit;
}

.claim-section {
    padding: 12px;
    text-align: center;
    background: #f9fafb;
}

.claim-btn {
    background: linear-gradient(135deg, var(--primary-color, #8b5cf6) 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 7px 16px;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 7px;
    width: 100%;
    max-width: 300px;
    text-decoration: none;
    display: inline-block;
}

.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(139, 92, 246, 0.4);
    text-decoration: none;
    color: white;
}

.terms-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

/* Desktop Responsive */
@media (max-width: 1024px) {
    .bonus-container {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .bonus-container {
        border-radius: 15px;
        max-width: 95%;
    }

    .bonus-header {
        padding: 12px 15px;
        flex-direction: row;
        text-align: center;
        gap: 10px;
        justify-content: center;
    }

    .bonus-header-icon {
        font-size: 1.1rem !important;
        width: 1.1rem !important;
        height: 1.1rem !important;
        line-height: 1.1rem !important;
    }

    .bonus-header-title {
        font-size: 1.8rem;
    }

    .main-offer {
        padding: 8px 7px;
    }

    .offer-amount {
        font-size: 2.5rem;
    }

    .other-bonuses,
    .claim-section {
        padding: 8px 7px;
    }

    .bonus-item {
        padding: 5px;
    }

    .claim-btn {
        padding: 5px 13px;
        font-size: 1.1rem;
    }
}

/* Mobile App Style */
@media (max-width: 600px) {
    .elementor-widget-casibonus {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .elementor-widget-casibonus .elementor-widget-container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .bonus-container {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        margin: 0 !important;
        border-radius: 0;
        box-shadow: none;
        border: none;
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .bonus-header {
        background: linear-gradient(135deg, var(--primary-color, #8b5cf6) 0%, #7c3aed 100%);
        padding: 15px 15px;
        text-align: center;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .bonus-header-icon {
        font-size: 1.3rem !important;
        flex-shrink: 0;
        display: block;
        width: 1.3rem !important;
        height: 1.3rem !important;
        line-height: 1.3rem !important;
    }

    .bonus-header-title {
        font-size: 1.8rem;
        font-weight: 800;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        margin: 0;
        line-height: 1.1;
    }

    .main-offer {
        padding: 15px 15px;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-bottom: 4px solid var(--accent-color, #f59e0b);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .offer-label {
        font-size: 1.1rem;
        margin-bottom: 8px;
        font-weight: 600;
        color: #475569;
    }

    .offer-amount {
        font-size: 2.8rem;
        font-weight: 900;
        margin-bottom: 10px;
        color: #1e293b;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .free-spins-btn {
        padding: 8px 18px;
        font-size: 1.2rem;
        border-radius: 30px;
        margin-bottom: 10px;
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .free-spins-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
    }

    .min-deposit {
        font-size: 1.1rem;
        gap: 10px;
        color: #64748b;
    }

    .min-deposit i {
        font-size: 1.2rem;
        color: #94a3b8;
    }

    .other-bonuses {
        padding: 15px 15px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin: 8px 0;
        border-radius: 0;
    }

    .section-title {
        font-size: 1.5rem;
        font-weight: 800;
        color: #1e293b;
        margin-bottom: 12px;
        text-align: center;
        text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }

    .bonus-list {
        gap: 8px;
    }

    .bonus-item {
        padding: 10px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 12px;
        border-left: 4px solid var(--primary-color, #8b5cf6);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .bonus-item:hover {
        transform: translateX(8px) translateY(-2px);
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
        background: rgba(255, 255, 255, 0.95);
    }

    .bonus-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 3px;
    }

    .bonus-description {
        font-size: 0.95rem;
        color: #64748b;
        line-height: 1.4;
    }

    .bonus-arrow {
        font-size: 1.4rem;
        color: var(--primary-color, #8b5cf6);
        margin-left: 10px;
        min-width: 28px;
    }

    .claim-section {
        padding: 18px 15px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        margin-top: auto;
    }

    .claim-btn {
        padding: 12px 24px;
        font-size: 1.3rem;
        border-radius: 12px;
        margin-bottom: 10px;
        max-width: none;
        width: 100%;
        box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
        font-weight: 800;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .claim-btn:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
    }

    .terms-text {
        font-size: 1rem;
        line-height: 1.6;
        color: #64748b;
        text-align: left;
        max-width: none;
    }

    /* Touch improvements */
    .bonus-item,
    .free-spins-btn,
    .claim-btn {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        touch-action: manipulation;
    }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
    .bonus-header {
        padding: 15px 12px;
        gap: 6px;
        border-radius: 15px 15px 0 0;
    }
    
    .bonus-header-icon {
        font-size: 1rem !important;
        width: 1rem !important;
        height: 1rem !important;
        line-height: 1rem !important;
    }
    
    .bonus-header-title {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    .main-offer {
        padding: 15px 12px;
    }
    
    .offer-amount {
        font-size: 3.2rem;
    }
    
    .other-bonuses,
    .claim-section {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .claim-btn {
        font-size: 1.3rem;
        padding: 12px 20px;
    }
}

/* Animation Controls */
.bonus-container.animations-enabled .bonus-item {
    animation: slideInLeft 0.6s ease-out forwards;
    opacity: 0;
}

.bonus-container.animations-enabled .bonus-item:nth-child(1) { animation-delay: 0.1s; }
.bonus-container.animations-enabled .bonus-item:nth-child(2) { animation-delay: 0.2s; }
.bonus-container.animations-enabled .bonus-item:nth-child(3) { animation-delay: 0.3s; }
.bonus-container.animations-enabled .bonus-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bonus-container.animations-enabled .main-offer {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .bonus-item,
    .free-spins-btn,
    .claim-btn,
    .bonus-container.animations-enabled * {
        transition: none !important;
        animation: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .bonus-container {
        border: 2px solid #2d3748;
    }
    
    .bonus-item {
        border: 2px solid var(--primary-color, #8b5cf6);
    }
    
    .claim-btn,
    .free-spins-btn {
        border: 2px solid transparent;
    }
} 