/**
 * Slots Gamblers FAQ Static Widget Styles
 * 
 * @package SlotsgamblersFaqStatic
 * @version 3.0.0
 * 
 * Architecture: BEM with widget-specific namespace
 * Mobile-first responsive design
 * No conflicts with other Elementor widgets
 */

/* ============================================
   CSS Custom Properties (Variables)
   ============================================ */
:root {
    --slotsgamblersfaqstatic-color-purple: #9333EA;
    --slotsgamblersfaqstatic-color-orange: #FF8C42;
    --slotsgamblersfaqstatic-color-orange-light: #FFF4E6;
    --slotsgamblersfaqstatic-color-white: #FFFFFF;
    --slotsgamblersfaqstatic-color-gray-light: #F3F4F6;
    --slotsgamblersfaqstatic-text-primary: rgb(17, 17, 17);
    --slotsgamblersfaqstatic-text-secondary: #4B5563;
    --slotsgamblersfaqstatic-border-color: #E5E7EB;
    --slotsgamblersfaqstatic-brand-gradient: linear-gradient(135deg, #9333EA 0%, #FF8C42 50%, #10B981 100%);
    --slotsgamblersfaqstatic-bg-main: #F9FAFB;
    --slotsgamblersfaqstatic-spacing-sm: clamp(0.5rem, 0.6vw, 0.75rem);
    --slotsgamblersfaqstatic-spacing-md: clamp(0.75rem, 0.9vw, 1rem);
    --slotsgamblersfaqstatic-spacing-lg: clamp(1rem, 1.2vw, 1.5rem);
    --slotsgamblersfaqstatic-spacing-xl: clamp(1.25rem, 1.5vw, 2rem);
    --slotsgamblersfaqstatic-radius-lg: clamp(0.75rem, 0.9vw, 1rem);
    --slotsgamblersfaqstatic-radius-xl: clamp(1rem, 1.2vw, 1.5rem);
    --slotsgamblersfaqstatic-font-family: 'Inter', sans-serif;
    --slotsgamblersfaqstatic-font-weight: 400;
    --slotsgamblersfaqstatic-font-size: 16px;
    --slotsgamblersfaqstatic-line-height: 27px;
}

/* ============================================
   Widget Wrapper & Container
   ============================================ */
.slotsgamblersfaqstatic__wrapper {
    width: 100%;
    margin: 0 auto;
    font-family: var(--slotsgamblersfaqstatic-font-family);
    font-weight: var(--slotsgamblersfaqstatic-font-weight);
    font-size: var(--slotsgamblersfaqstatic-font-size);
    line-height: var(--slotsgamblersfaqstatic-line-height);
    color: var(--slotsgamblersfaqstatic-text-primary);
}

.slotsgamblersfaqstatic__container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   Mobile Full-Width Support
   Edge-to-edge design on mobile devices
   ============================================ */
@media (max-width: 768px) {
    .slotsgamblersfaqstatic--full-width-mobile {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .slotsgamblersfaqstatic--full-width-mobile .slotsgamblersfaqstatic__container {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .slotsgamblersfaqstatic--full-width-mobile .slotsgamblersfaqstatic__section {
        border-radius: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ============================================
   Section Container
   ============================================ */
.slotsgamblersfaqstatic__section {
    background: var(--slotsgamblersfaqstatic-color-white);
    border: 1px solid #E0E0E0;
    border-radius: var(--slotsgamblersfaqstatic-radius-xl);
    padding: var(--slotsgamblersfaqstatic-spacing-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.slotsgamblersfaqstatic__section:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: #D0D0D0;
}

/* ============================================
   Section Header
   ============================================ */
.slotsgamblersfaqstatic__header {
    margin-bottom: var(--slotsgamblersfaqstatic-spacing-xl);
}

/* Section Tag (Badge) */
.slotsgamblersfaqstatic__tag {
    display: inline-flex;
    float: right;
    background: var(--slotsgamblersfaqstatic-color-orange-light);
    color: var(--slotsgamblersfaqstatic-color-orange);
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--slotsgamblersfaqstatic-spacing-sm);
    margin-left: 1rem;
    border: 1px solid var(--slotsgamblersfaqstatic-color-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* Section Title */
.slotsgamblersfaqstatic__title {
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 2rem);
    font-weight: 800;
    margin-bottom: var(--slotsgamblersfaqstatic-spacing-sm);
    margin-top: 0;
    color: var(--slotsgamblersfaqstatic-text-primary);
    line-height: 1.3;
}

/* Title Link */
.slotsgamblersfaqstatic__title a {
    color: #DC2626;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.slotsgamblersfaqstatic__title a:hover {
    color: #EF4444;
    text-decoration: underline;
}

.slotsgamblersfaqstatic__title a:focus {
    outline: 2px solid #DC2626;
    outline-offset: 2px;
}

/* Section Description */
.slotsgamblersfaqstatic__description {
    font-family: var(--slotsgamblersfaqstatic-font-family);
    font-size: var(--slotsgamblersfaqstatic-font-size);
    font-weight: var(--slotsgamblersfaqstatic-font-weight);
    line-height: var(--slotsgamblersfaqstatic-line-height);
    color: var(--slotsgamblersfaqstatic-text-primary);
    max-width: 50rem;
    margin: 0;
}

/* ============================================
   FAQ Grid Layout
   ============================================ */
.slotsgamblersfaqstatic__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--slotsgamblersfaqstatic-spacing-lg);
    margin-top: var(--slotsgamblersfaqstatic-spacing-lg);
}

/* ============================================
   FAQ Item
   ============================================ */
.slotsgamblersfaqstatic__item {
    background: var(--slotsgamblersfaqstatic-color-gray-light);
    border: 2px solid var(--slotsgamblersfaqstatic-border-color);
    border-radius: var(--slotsgamblersfaqstatic-radius-lg);
    padding: var(--slotsgamblersfaqstatic-spacing-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient accent bar on the left */
.slotsgamblersfaqstatic__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--slotsgamblersfaqstatic-brand-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effects */
.slotsgamblersfaqstatic__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--slotsgamblersfaqstatic-color-purple);
}

.slotsgamblersfaqstatic__item:hover::before {
    opacity: 1;
}

/* ============================================
   FAQ Question Section
   ============================================ */
.slotsgamblersfaqstatic__question-wrapper {
    display: flex;
    align-items: flex-start;
    gap: var(--slotsgamblersfaqstatic-spacing-sm);
    margin-bottom: var(--slotsgamblersfaqstatic-spacing-md);
}

/* Icon Wrapper */
.slotsgamblersfaqstatic__icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.slotsgamblersfaqstatic__item:hover .slotsgamblersfaqstatic__icon-wrapper {
    transform: scale(1.1);
}

/* Icon */
.slotsgamblersfaqstatic__icon {
    width: 24px;
    height: 24px;
    color: var(--slotsgamblersfaqstatic-color-purple);
    fill: currentColor;
}

/* Question Text */
.slotsgamblersfaqstatic__question {
    font-size: clamp(0.9375rem, 0.95vw + 0.3rem, 1.0625rem);
    font-weight: 700;
    color: var(--slotsgamblersfaqstatic-text-primary);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

/* Question Link */
.slotsgamblersfaqstatic__question a {
    color: #DC2626;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.slotsgamblersfaqstatic__question a:hover {
    color: #EF4444;
    text-decoration: underline;
}

.slotsgamblersfaqstatic__question a:focus {
    outline: 2px solid #DC2626;
    outline-offset: 2px;
}

/* ============================================
   FAQ Answer Section
   ============================================ */
.slotsgamblersfaqstatic__answer {
    font-family: var(--slotsgamblersfaqstatic-font-family);
    font-size: var(--slotsgamblersfaqstatic-font-size);
    font-weight: var(--slotsgamblersfaqstatic-font-weight);
    line-height: var(--slotsgamblersfaqstatic-line-height);
    color: var(--slotsgamblersfaqstatic-text-primary);
    margin: 0;
    padding-left: calc(24px + var(--slotsgamblersfaqstatic-spacing-sm));
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large Screens (32" displays and above) */
@media (min-width: 1921px) {
    .slotsgamblersfaqstatic__container {
        max-width: 100%;
        padding: 0;
    }
    
    .slotsgamblersfaqstatic__section {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Desktop (1366px - 1920px) */
@media (min-width: 1366px) and (max-width: 1920px) {
    .slotsgamblersfaqstatic__container {
        max-width: 100%;
    }
}

/* Laptop (1024px - 1365px) */
@media (min-width: 1024px) and (max-width: 1365px) {
    .slotsgamblersfaqstatic__container {
        max-width: 100%;
    }
    
    .slotsgamblersfaqstatic__section {
        padding: clamp(1.5rem, 2vw, 2rem);
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .slotsgamblersfaqstatic__grid {
        grid-template-columns: 1fr;
    }
    
    .slotsgamblersfaqstatic__section {
        padding: var(--slotsgamblersfaqstatic-spacing-lg);
    }
}

/* Mobile (480px - 767px) */
@media (max-width: 767px) {
    /* Mobile Banner Style Header - Card with Accent Bar */
    .slotsgamblersfaqstatic__section {
        padding: var(--slotsgamblersfaqstatic-spacing-md);
        position: relative;
        overflow: hidden;
    }
    
    /* Gradient accent bar on the left side */
    .slotsgamblersfaqstatic__section::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(180deg, #9333EA 0%, #FF8C42 100%);
        z-index: 1;
    }
    
    /* Subtle gradient orb in top-right corner */
    .slotsgamblersfaqstatic__section::after {
        content: '';
        position: absolute;
        right: -20px;
        top: -20px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(147, 51, 234, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }
    
    .slotsgamblersfaqstatic__header {
        position: relative;
        z-index: 2;
    }
    
    /* Badge stays same as desktop - no style overrides, just positioning */
    .slotsgamblersfaqstatic__tag {
        /* Positioning only - all other styles inherited from desktop */
    }
    
    .slotsgamblersfaqstatic__item {
        padding: var(--slotsgamblersfaqstatic-spacing-md);
    }
    
    .slotsgamblersfaqstatic__answer {
        padding-left: 0;
        margin-top: var(--slotsgamblersfaqstatic-spacing-sm);
    }
    
    .slotsgamblersfaqstatic__question-wrapper {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--slotsgamblersfaqstatic-spacing-sm);
    }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .slotsgamblersfaqstatic__section {
        padding: 1rem;
    }
    
    .slotsgamblersfaqstatic__item {
        padding: 1rem;
    }
    
    .slotsgamblersfaqstatic__title {
        font-size: 1.25rem;
    }
    
    /* Badge stays same as desktop - no style overrides */
    .slotsgamblersfaqstatic__tag {
        /* All styles inherited from desktop */
    }
}

/* ============================================
   Accessibility & Performance
   ============================================ */

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .slotsgamblersfaqstatic__item,
    .slotsgamblersfaqstatic__item::before,
    .slotsgamblersfaqstatic__icon-wrapper,
    .slotsgamblersfaqstatic__section {
        transition: none;
    }
    
    .slotsgamblersfaqstatic__item:hover {
        transform: none;
    }
    
    .slotsgamblersfaqstatic__item:hover .slotsgamblersfaqstatic__icon-wrapper {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .slotsgamblersfaqstatic__item {
        border-width: 3px;
    }
    
    .slotsgamblersfaqstatic__section {
        border-width: 2px;
    }
}

/* Focus styles for keyboard navigation */
.slotsgamblersfaqstatic__item:focus-within {
    outline: 3px solid var(--slotsgamblersfaqstatic-color-purple);
    outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .slotsgamblersfaqstatic__section {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .slotsgamblersfaqstatic__item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .slotsgamblersfaqstatic__item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ============================================
   Elementor Editor Compatibility
   ============================================ */
.elementor-editor-active .slotsgamblersfaqstatic__wrapper {
    /* Ensure proper display in Elementor editor */
    min-height: 100px;
}

.elementor-editor-active .slotsgamblersfaqstatic__section {
    /* Prevent collapsing in editor */
    min-height: 200px;
}

/* ============================================
   RTL Support
   ============================================ */
[dir="rtl"] .slotsgamblersfaqstatic__item::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .slotsgamblersfaqstatic__answer {
    padding-left: 0;
    padding-right: calc(24px + var(--slotsgamblersfaqstatic-spacing-sm));
}

/* ============================================
   Dark Mode Support (Optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    .slotsgamblersfaqstatic__section {
        background: #1F2937;
        border-color: #374151;
    }
    
    .slotsgamblersfaqstatic__item {
        background: #111827;
        border-color: #374151;
    }
    
    .slotsgamblersfaqstatic__title,
    .slotsgamblersfaqstatic__question {
        color: #F9FAFB;
    }
    
    .slotsgamblersfaqstatic__description,
    .slotsgamblersfaqstatic__answer {
        color: #D1D5DB;
    }
}

/* ============================================
   Loading State
   ============================================ */
.slotsgamblersfaqstatic__wrapper.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.slotsgamblersfaqstatic__wrapper.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--slotsgamblersfaqstatic-color-purple);
    border-radius: 50%;
    border-top-color: transparent;
    animation: slotsgamblersfaqstatic-spin 0.8s linear infinite;
}

@keyframes slotsgamblersfaqstatic-spin {
    to { transform: rotate(360deg); }
}

