@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* KRITIKUS CSS VÉDELEM - Ne töröld ki! */
.headeroffers-widget {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    isolation: isolate !important;
}

/* Flexbox és Grid Védelem */
.headeroffers-widget .main-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}

.headeroffers-widget .regions-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Clearfix és Float Védelem */
.headeroffers-widget::before,
.headeroffers-widget::after,
.headeroffers-widget .main-content::before,
.headeroffers-widget .main-content::after {
    content: none !important;
    display: none !important;
}

.headeroffers-widget * {
    float: none !important;
    clear: none !important;
}

/* Widget Base Styles - Erős Reset */
.headeroffers-widget,
.headeroffers-widget * {
    box-sizing: border-box !important;
}

.headeroffers-widget .main-content,
.headeroffers-widget .left-column,
.headeroffers-widget .right-column,
.headeroffers-widget .regions-section,
.headeroffers-widget .regions-grid,
.headeroffers-widget .region-card {
    margin: 0 !important;
    padding: revert !important;
}

.headeroffers-widget *, 
.headeroffers-widget *::before, 
.headeroffers-widget *::after {
    box-sizing: border-box !important;
}

.headeroffers-widget {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    isolation: isolate !important;
}

/* Extra Theme Override Protection */
.headeroffers-widget .main-content > * {
    float: none !important;
    clear: none !important;
    position: relative !important;
}

.headeroffers-widget .left-column,
.headeroffers-widget .right-column {
    float: none !important;
    clear: none !important;
    display: block !important;
}

/* Hero Section */
.headeroffers-widget .hero-section {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    position: relative !important;
    overflow: visible !important;
    background: #ffffff !important;
    background-image: none !important;
    padding: 0px !important;
    margin: 0 !important;
    color: #2c3e50 !important;
}

/* Static Background Pattern */
.headeroffers-widget .bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
}

/* Content Container */
.headeroffers-widget .hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Top Bar */
.headeroffers-widget .top-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 20;
}

.headeroffers-widget .update-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.headeroffers-widget .update-badge::before {
    content: '🔄';
    font-size: 14px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.headeroffers-widget .new-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.headeroffers-widget .new-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.headeroffers-widget .country-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.headeroffers-widget .country-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: country-shine 3s infinite;
}

@keyframes country-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Main Content */
.headeroffers-widget .main-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    align-items: start !important;
    align-content: start !important;
    flex: 0 !important;
    padding-top: 0 !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Left Column */
.headeroffers-widget .left-column {
    animation: slideInLeft 0.8s ease forwards;
    padding-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    align-self: start !important;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.headeroffers-widget .main-title {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    margin-top: 0;
    background: linear-gradient(135deg, #ff6b35 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #2c3e50;
}

.headeroffers-widget .description {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 12px;
    max-width: 100%;
}

/* Search Bar */
.headeroffers-widget .search-container {
    position: relative;
    max-width: 100%;
    margin-bottom: 12px;
}

.headeroffers-widget .search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.headeroffers-widget .search-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.headeroffers-widget .search-input::placeholder {
    color: #6c757d;
}

.headeroffers-widget .search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.headeroffers-widget .search-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

/* Features */
.headeroffers-widget .features {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.headeroffers-widget .feature-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #2c3e50;
}

.headeroffers-widget .feature-badge:hover {
    background: #f8f9fa;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.headeroffers-widget .feature-badge::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 50%;
    font-size: 10px;
    color: white;
}

/* Regions Grid */
.headeroffers-widget .regions-section {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.headeroffers-widget .regions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.headeroffers-widget .regions-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.headeroffers-widget .regions-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #ff6b35;
}

.headeroffers-widget .regions-subtitle {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 10px;
}

.headeroffers-widget .regions-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.headeroffers-widget .region-card {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

.headeroffers-widget .region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.headeroffers-widget .region-card:hover {
    background: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.headeroffers-widget .region-card:hover::before {
    opacity: 1;
}

.headeroffers-widget .region-flag {
    font-size: 16px;
}

.headeroffers-widget .region-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.headeroffers-widget .region-code {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
}

.headeroffers-widget .region-name {
    font-size: 11px;
    color: #6c757d;
}

.headeroffers-widget .region-hot {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Region Link Styling */
.headeroffers-widget .region-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
}

.headeroffers-widget .region-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.headeroffers-widget .region-card-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.headeroffers-widget .region-card-link:active {
    transform: translateY(1px);
}

/* Right Column - Bonus Card */
.headeroffers-widget .right-column {
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    padding-top: 0px !important;
    position: relative !important;
    max-width: 572px !important;
    margin-left: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    align-self: start !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bonus Carousel Wrapper */
.headeroffers-widget .carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 50px;
}

/* Bonus Carousel Container */
.headeroffers-widget .bonus-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    margin: 0;
    height: auto;
}

.headeroffers-widget .bonus-cards-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    width: 300%;
}

.headeroffers-widget .bonus-card {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 16px !important;
    padding: 20px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    z-index: 1 !important;
    min-height: auto !important;
    height: auto !important;
}

.headeroffers-widget .bonus-card::before {
    content: none !important;
    display: none !important;
}

.headeroffers-widget .casino-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
    min-height: 35px;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.headeroffers-widget .casino-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.headeroffers-widget .casino-info > div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.headeroffers-widget .casino-logo {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white !important;
    font-weight: 900 !important;
}

/* Különböző színek minden kártyához */
.headeroffers-widget .bonus-card:nth-child(1) .casino-logo {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%) !important; /* Rózsaszín */
}

.headeroffers-widget .bonus-card:nth-child(2) .casino-logo {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important; /* Kék */
}

.headeroffers-widget .bonus-card:nth-child(3) .casino-logo {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important; /* Zöld */
}

.headeroffers-widget .bonus-card:nth-child(4) .casino-logo {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important; /* Narancs */
}

.headeroffers-widget .bonus-card:nth-child(5) .casino-logo {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important; /* Lila */
}

.headeroffers-widget .bonus-card:nth-child(6) .casino-logo {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important; /* Piros */
}

.headeroffers-widget .bonus-card:nth-child(7) .casino-logo {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important; /* Türkiz */
}

.headeroffers-widget .bonus-card:nth-child(8) .casino-logo {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%) !important; /* Lime */
}

.headeroffers-widget .casino-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.headeroffers-widget .casino-badges {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.headeroffers-widget .verified-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
}

.headeroffers-widget .country-badge-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    align-self: flex-start;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3) !important;
    white-space: nowrap;
}

.headeroffers-widget .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #ff6b35;
    flex-shrink: 0;
    white-space: nowrap;
    padding-right: 8px;
}

.headeroffers-widget .rating span {
    display: inline-block;
}

.headeroffers-widget .bonus-amount {
    font-size: 24px !important;
    font-weight: 900 !important;
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.02em !important;
    color: #ff6b35 !important;
}

.headeroffers-widget .bonus-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.headeroffers-widget .bonus-feature {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #2c3e50 !important;
}

.headeroffers-widget .bonus-feature::before {
    content: '✓';
    width: 14px;
    height: 14px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.headeroffers-widget .bonus-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.headeroffers-widget .claim-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.headeroffers-widget .claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.headeroffers-widget .compare-button {
    background: #f8f9fa !important;
    color: #2c3e50 !important;
    border: 1px solid #e9ecef !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.headeroffers-widget .compare-button:hover {
    background: #ffffff !important;
    border-color: #667eea !important;
    transform: translateY(-2px);
}

.headeroffers-widget .bonus-terms {
    margin-top: 10px;
    padding: 8px;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 6px;
    font-size: 9px;
    color: #6c757d !important;
    line-height: 1.3;
}

.headeroffers-widget .terms-icon {
    display: inline-block;
    margin-right: 8px;
    color: #f59e0b;
}

/* Carousel Navigation */
.headeroffers-widget .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff !important;
    backdrop-filter: none !important;
    border: 1px solid #e9ecef !important;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.headeroffers-widget .carousel-nav:hover {
    background: #ffffff !important;
    border-color: #667eea !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.headeroffers-widget .carousel-nav.prev {
    left: 5px;
}

.headeroffers-widget .carousel-nav.next {
    right: 5px;
}

.headeroffers-widget .carousel-nav svg {
    width: 16px;
    height: 16px;
    stroke: #1a1a2e;
    stroke-width: 3;
}

/* Pagination Dots */
.headeroffers-widget .pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.headeroffers-widget .dot {
    width: 5px;
    height: 5px;
    background: #e9ecef !important;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.headeroffers-widget .dot.active {
    width: 20px;
    border-radius: 2.5px;
    background: #ff6b35 !important;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .headeroffers-widget .hero-content {
        padding: 50px 40px 20px 40px;
    }

    .headeroffers-widget .main-title {
        font-size: 28px;
    }

    .headeroffers-widget .bonus-amount {
        font-size: 28px;
    }

    .headeroffers-widget .main-content {
        gap: 40px;
    }

    .headeroffers-widget .right-column {
        max-width: 533px;
    }
}

@media (max-width: 1200px) {
    .headeroffers-widget .hero-content {
        padding: 45px 30px 20px 30px;
    }

    .headeroffers-widget .main-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .headeroffers-widget .main-title {
        font-size: 26px;
    }

    .headeroffers-widget .description {
        font-size: 13px;
    }

    .headeroffers-widget .hero-section {
        padding-bottom: 20px !important;
        height: auto !important;
        min-height: auto !important;
    }

    .headeroffers-widget .hero-content {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
    }

    .headeroffers-widget .right-column {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .headeroffers-widget .hero-section {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 20px;
        overflow-x: hidden;
    }

    .headeroffers-widget .hero-content {
        padding: 40px 20px 20px 20px !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        justify-content: flex-start !important;
        overflow-x: hidden !important;
    }

    .headeroffers-widget .top-bar {
        margin-bottom: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .headeroffers-widget .country-badge,
    .headeroffers-widget .update-badge,
    .headeroffers-widget .new-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .headeroffers-widget .main-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .headeroffers-widget .left-column {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        text-align: left !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .headeroffers-widget .main-title {
        font-size: 22px;
        text-align: left;
    }

    .headeroffers-widget .description {
        font-size: 13px;
        margin-bottom: 14px;
        max-width: 100%;
        text-align: left;
    }

    .headeroffers-widget .search-container {
        margin-bottom: 14px;
        max-width: 100%;
    }

    .headeroffers-widget .search-input {
        padding: 12px 45px 12px 14px;
        font-size: 13px;
        width: 100%;
    }

    .headeroffers-widget .search-button {
        padding: 8px 14px;
        font-size: 13px;
        right: 4px;
    }

    .headeroffers-widget .features {
        gap: 8px;
        margin-bottom: 14px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .headeroffers-widget .feature-badge {
        padding: 6px 10px;
        font-size: 12px;
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }

    .headeroffers-widget .feature-badge::before {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }

    .headeroffers-widget .regions-section {
        padding: 12px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .headeroffers-widget .regions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        width: 100%;
    }

    .headeroffers-widget .region-card {
        padding: 8px;
        font-size: 12px;
        min-width: 0;
    }

    .headeroffers-widget .region-flag {
        font-size: 14px;
    }

    .headeroffers-widget .right-column {
        padding-top: 15px !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
        margin-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .headeroffers-widget .carousel-wrapper {
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .headeroffers-widget .bonus-carousel {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .headeroffers-widget .bonus-cards-wrapper {
        display: flex !important;
        transition: transform 0.3s ease !important;
    }

    .headeroffers-widget .bonus-card {
        padding: 16px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 0 !important;
        background: #ffffff !important;
        border: 1px solid #e9ecef !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .headeroffers-widget .bonus-amount {
        font-size: 22px !important;
        word-wrap: break-word !important;
    }

    .headeroffers-widget .bonus-features {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .headeroffers-widget .bonus-actions {
        grid-template-columns: 1fr;
    }

    .headeroffers-widget .casino-header {
        gap: 8px;
        flex-wrap: wrap;
    }

    .headeroffers-widget .casino-info {
        gap: 10px;
        min-width: 0;
        flex: 1;
    }

    .headeroffers-widget .casino-logo {
        width: 35px;
        height: 35px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .headeroffers-widget .casino-name {
        font-size: 16px;
    }

    .headeroffers-widget .country-badge-card {
        font-size: 8px;
        padding: 2px 6px;
    }

    .headeroffers-widget .rating {
        font-size: 13px;
        gap: 2px;
        flex-shrink: 0;
    }

    .headeroffers-widget .bonus-feature {
        font-size: 11px;
        padding: 6px;
        text-align: left;
    }

    .headeroffers-widget .claim-button {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
    }

    .headeroffers-widget .compare-button {
        padding: 10px 14px;
        font-size: 13px;
        width: 100%;
    }

    .headeroffers-widget .carousel-nav {
        width: 30px;
        height: 30px;
    }

    .headeroffers-widget .carousel-nav.prev {
        left: 0;
    }

    .headeroffers-widget .carousel-nav.next {
        right: 0;
    }

    .headeroffers-widget .carousel-nav svg {
        width: 14px;
        height: 14px;
    }

    .headeroffers-widget .pagination {
        margin-top: 16px;
    }

    /* Ensure no horizontal overflow on mobile */
    .headeroffers-widget .hero-section,
    .headeroffers-widget .hero-content,
    .headeroffers-widget .main-content,
    .headeroffers-widget .left-column,
    .headeroffers-widget .right-column,
    .headeroffers-widget .carousel-wrapper,
    .headeroffers-widget .bonus-carousel,
    .headeroffers-widget .bonus-card,
    .headeroffers-widget .regions-section {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

@media (max-width: 600px) and (min-width: 481px) {
    .headeroffers-widget .regions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
    }

    .headeroffers-widget .region-card {
        padding: 6px;
        font-size: 11px;
    }

    .headeroffers-widget .region-flag {
        font-size: 13px;
    }

    .headeroffers-widget .region-code {
        font-size: 12px;
    }

    .headeroffers-widget .region-name {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .headeroffers-widget .hero-section {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 20px !important;
        overflow-x: hidden !important;
    }

    .headeroffers-widget .hero-content {
        padding: 35px 15px 20px 15px !important;
        min-height: auto !important;
        height: auto !important;
        overflow-x: hidden !important;
    }

    .headeroffers-widget .top-bar {
        margin-bottom: 20px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .headeroffers-widget .country-badge,
    .headeroffers-widget .update-badge,
    .headeroffers-widget .new-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .headeroffers-widget .main-content {
        overflow-x: hidden !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .headeroffers-widget .left-column {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        text-align: left !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .headeroffers-widget .main-title {
        font-size: 20px;
        margin-bottom: 8px;
        word-wrap: break-word;
        text-align: left;
    }

    .headeroffers-widget .description {
        font-size: 12px;
        margin-bottom: 12px;
        max-width: 100%;
        text-align: left;
    }

    .headeroffers-widget .search-container {
        margin-bottom: 12px;
        max-width: 100%;
    }

    .headeroffers-widget .search-input {
        width: 100%;
        font-size: 12px;
        padding: 10px 40px 10px 12px;
    }

    .headeroffers-widget .search-button {
        font-size: 12px;
        padding: 6px 10px;
    }

    .headeroffers-widget .features {
        gap: 8px;
        margin-bottom: 12px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .headeroffers-widget .feature-badge {
        flex: 1 1 100%;
        text-align: left;
        font-size: 11px;
        padding: 5px 8px;
    }

    .headeroffers-widget .regions-section {
        padding: 10px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .headeroffers-widget .regions-title {
        font-size: 14px;
    }

    .headeroffers-widget .regions-subtitle {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .headeroffers-widget .regions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
    }

    .headeroffers-widget .region-card {
        padding: 10px;
        min-width: 0;
    }

    .headeroffers-widget .region-code {
        font-size: 13px;
    }

    .headeroffers-widget .region-name {
        font-size: 11px;
    }

    .headeroffers-widget .right-column {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-top: 10px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .headeroffers-widget .carousel-wrapper {
        padding: 0 10px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .headeroffers-widget .bonus-cards-wrapper {
        display: flex !important;
        transition: transform 0.3s ease !important;
    }

    .headeroffers-widget .bonus-card {
        padding: 16px;
        box-sizing: border-box;
        background: #ffffff !important;
        border: 1px solid #e9ecef !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .headeroffers-widget .bonus-amount {
        font-size: 20px;
        word-wrap: break-word;
    }

    .headeroffers-widget .casino-header {
        gap: 6px;
        flex-wrap: wrap;
    }

    .headeroffers-widget .casino-info {
        min-width: 0;
        flex: 1;
    }

    .headeroffers-widget .casino-logo {
        width: 35px;
        height: 35px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .headeroffers-widget .casino-name {
        font-size: 14px;
    }

    .headeroffers-widget .country-badge-card {
        font-size: 7px;
        padding: 2px 5px;
    }

    .headeroffers-widget .rating {
        font-size: 12px;
        flex-shrink: 0;
    }

    .headeroffers-widget .bonus-feature {
        text-align: left;
        font-size: 10px;
        padding: 5px;
    }

    .headeroffers-widget .claim-button {
        width: 100%;
        font-size: 12px;
        padding: 8px 16px;
    }

    .headeroffers-widget .compare-button {
        width: 100%;
        font-size: 12px;
        padding: 8px 12px;
    }

    .headeroffers-widget .carousel-nav {
        width: 28px;
        height: 28px;
    }

    .headeroffers-widget .carousel-nav svg {
        width: 14px;
        height: 14px;
    }

    .headeroffers-widget .pagination {
        margin-bottom: 20px;
        margin-top: 16px;
    }

    /* Ensure no horizontal overflow on small mobile */
    .headeroffers-widget .hero-section,
    .headeroffers-widget .hero-content,
    .headeroffers-widget .main-content,
    .headeroffers-widget .left-column,
    .headeroffers-widget .right-column,
    .headeroffers-widget .carousel-wrapper,
    .headeroffers-widget .bonus-carousel,
    .headeroffers-widget .bonus-card,
    .headeroffers-widget .regions-section,
    .headeroffers-widget .search-container,
    .headeroffers-widget .features,
    .headeroffers-widget .feature-badge {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

@media (min-width: 1600px) {
    .headeroffers-widget .main-content {
        gap: 100px;
    }
    
    .headeroffers-widget .hero-content {
        padding: 70px 80px 20px 80px;
    }
}

/* Additional Styles for Better Visual Appearance */
.headeroffers-widget .region-card.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.headeroffers-widget .region-card.selected .region-code {
    color: white;
}

.headeroffers-widget .region-card.selected .region-name {
    color: rgba(255, 255, 255, 0.8);
}

.headeroffers-widget .claim-button.claiming {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: scale(0.95);
}

.headeroffers-widget .compare-button.active {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #667eea;
}

/* Elementor Editor Specific Styles */
.elementor-editor-active .headeroffers-widget {
    min-height: 400px;
}

.elementor-editor-active .headeroffers-widget .hero-section {
    position: relative;
}

/* Loading Animation */
.headeroffers-widget .bonus-cards-wrapper {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects Removed */

/* Focus States for Accessibility */
.headeroffers-widget .search-input:focus,
.headeroffers-widget .region-card:focus,
.headeroffers-widget .claim-button:focus,
.headeroffers-widget .compare-button:focus,
.headeroffers-widget .carousel-nav:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .headeroffers-widget .carousel-nav,
    .headeroffers-widget .pagination {
        display: none;
    }
    
    .headeroffers-widget .bonus-cards-wrapper {
        display: block;
    }
    
    .headeroffers-widget .bonus-card {
        width: 100%;
        margin-bottom: 20px;
        break-inside: avoid;
    }
}

/* === VÉGSŐ CSS VÉDELEM === */
/* Ez mindig utoljára fut le, ezért felülírja a konfliktusokat */

.headeroffers-widget .main-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Mobilos layout javítások */
@media (max-width: 1200px) {
    .headeroffers-widget .main-content {
        grid-template-columns: 1fr !important;
    }
    
    .headeroffers-widget .hero-section {
        min-height: auto !important;
        height: auto !important;
    }
    
    .headeroffers-widget .hero-content {
        min-height: auto !important;
        height: auto !important;
    }
}

/* Extra mobilos védelem */
@media (max-width: 768px) {
    .headeroffers-widget * {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .headeroffers-widget .carousel-wrapper {
        padding: 0 10px !important;
    }
    
    .headeroffers-widget .bonus-cards-wrapper {
        display: flex !important;
        transition: transform 0.3s ease !important;
    }
    
    .headeroffers-widget .bonus-card {
        margin: 0 !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        border: 1px solid #e9ecef !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 16px !important;
    }
    
    .headeroffers-widget .bonus-carousel {
        overflow: hidden !important;
        width: 100% !important;
    }
}

.headeroffers-widget .left-column {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    float: none !important;
}

.headeroffers-widget .right-column {
    width: 100% !important;
    max-width: 572px !important;
    margin-left: auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    float: none !important;
}

.headeroffers-widget .regions-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.headeroffers-widget .regions-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.headeroffers-widget .region-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: none !important;
}

/* === BONUS KÁRTYA SÖTÉT HÁTTÉR VÉGLEGES MEGSZÜNTETÉS === */
.headeroffers-widget .bonus-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.headeroffers-widget .bonus-card::before,
.headeroffers-widget .bonus-card::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

/* MINDEN HÁTTÉR FEHÉR LEGYEN! */
.headeroffers-widget .hero-section,
.headeroffers-widget .hero-content,
.headeroffers-widget .main-content,
.headeroffers-widget .left-column,
.headeroffers-widget .right-column,
.headeroffers-widget .carousel-wrapper,
.headeroffers-widget .bonus-carousel {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

/* KÁRTYA ELEMEK HELYES SZÍNEKKEL */
.headeroffers-widget .casino-header {
    background: transparent !important;
    background-image: none !important;
}

.headeroffers-widget .casino-logo {
    color: white !important;
    font-weight: 900 !important;
}

.headeroffers-widget .verified-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
}

.headeroffers-widget .country-badge-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3) !important;
}

.headeroffers-widget .claim-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
}

.headeroffers-widget .bonus-feature {
    background: #f8f9fa !important;
}

.headeroffers-widget .compare-button {
    background: #f8f9fa !important;
}

.headeroffers-widget .bonus-terms {
    background: #f8f9fa !important;
}

/* === SZÖVEGSZÍNEK JAVÍTÁSA === */
.headeroffers-widget .casino-name {
    color: #2c3e50 !important;
}

.headeroffers-widget .bonus-amount {
    color: #ff6b35 !important;
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
}

.headeroffers-widget .bonus-feature {
    color: #2c3e50 !important;
    background: #f8f9fa !important;
}

.headeroffers-widget .compare-button {
    color: #2c3e50 !important;
    background: #f8f9fa !important;
}

.headeroffers-widget .bonus-terms {
    color: #6c757d !important;
    background: #f8f9fa !important;
}

.headeroffers-widget .rating {
    color: #ff6b35 !important;
}

.headeroffers-widget .verified-badge {
    color: #ffffff !important;
}

.headeroffers-widget .country-badge-card {
    color: #ffffff !important;
}

.headeroffers-widget .claim-button {
    color: #ffffff !important;
} 