/* Casino FAQs Widget Styles */
.casinofaqs-widget {
    width: 100%;
    max-width: 100%;
}

.casinofaqs-container {
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 
        0 40px 80px rgba(15, 23, 42, 0.06),
        0 20px 40px rgba(15, 23, 42, 0.04),
        0 10px 20px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(148, 163, 184, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0;
    box-sizing: border-box;
}

.casinofaqs-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899, #f97316, #fbbf24, #7c3aed);
    background-size: 500% 100%;
    animation: casinofaqs-luxuryShimmer 8s ease-in-out infinite;
    border-radius: 32px 32px 0 0;
    opacity: 0.9;
}

.casinofaqs-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(600px circle at 30% 20%, rgba(124, 58, 237, 0.03), transparent 50%),
        radial-gradient(800px circle at 70% 80%, rgba(236, 72, 153, 0.02), transparent 50%);
    pointer-events: none;
    border-radius: 32px;
    z-index: 1;
}

@keyframes casinofaqs-luxuryShimmer {
    0%, 100% { 
        background-position: -200% 0;
        opacity: 0.7;
    }
    50% { 
        background-position: 300% 0;
        opacity: 1;
    }
}

.casinofaqs-header-section {
    background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(15, 23, 42, 0.15),
        0 12px 24px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.casinofaqs-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.15), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.12), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.casinofaqs-header-title {
    font-size: 38px;
    font-weight: 600;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.casinofaqs-faq-icon {
    font-size: 42px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 6px 12px rgba(249, 115, 22, 0.4));
    animation: casinofaqs-trophyGlow 4s ease-in-out infinite;
}

@keyframes casinofaqs-trophyGlow {
    0%, 100% { 
        filter: drop-shadow(0 6px 12px rgba(249, 115, 22, 0.4));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 8px 16px rgba(249, 115, 22, 0.6));
        transform: scale(1.05);
    }
}

.casinofaqs-faq-text {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.casinofaqs-color-divider {
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
    margin: 25px 0;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.casinofaqs-color-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: casinofaqs-dividerShine 3s ease-in-out infinite;
}

@keyframes casinofaqs-dividerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.casinofaqs-intro-section {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.casinofaqs-intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
    width: 100%;
    text-align: left;
}

.casinofaqs-faq-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Grid Layout Styles */
.casinofaqs-faq-container.grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.casinofaqs-faq-container.grid-layout .casinofaqs-faq-item {
    height: fit-content;
    margin-bottom: 0;
}

.casinofaqs-faq-container.grid-layout .casinofaqs-faq-item .casinofaqs-faq-answer {
    position: relative;
}

.casinofaqs-faq-container.grid-layout .casinofaqs-faq-item.active .casinofaqs-faq-answer {
    max-height: none;
    height: auto;
}

/* List Layout Styles (Default) */
.casinofaqs-faq-container.list-layout {
    display: block;
}

.casinofaqs-faq-container.list-layout .casinofaqs-faq-item {
    margin-bottom: 15px;
}

.casinofaqs-faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 16px rgba(15, 23, 42, 0.05),
        0 4px 8px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.casinofaqs-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 24px rgba(15, 23, 42, 0.08),
        0 6px 12px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.casinofaqs-faq-question {
    padding: 20px 25px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.casinofaqs-faq-question:hover {
    color: #f97316;
}

.casinofaqs-question-text {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

.casinofaqs-faq-arrow {
    font-size: 20px;
    color: #6b7280;
    transition: all 0.3s ease;
    transform-origin: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.casinofaqs-faq-item.active .casinofaqs-faq-arrow {
    transform: rotate(180deg);
    color: #f97316;
}

.casinofaqs-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.casinofaqs-faq-answer.active {
    max-height: 300px;
}

.casinofaqs-faq-answer-content {
    padding: 0 25px 20px 25px;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.casinofaqs-faq-answer-content > * {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: inherit;
}



/* Mobile Responsive Design */
@media (max-width: 768px) {
    .casinofaqs-container {
        padding: 20px 15px;
        border-radius: 16px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .casinofaqs-header-section {
        padding: 20px 15px;
        border-radius: 12px;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #1e293b, #334155);
    }

    .casinofaqs-header-title {
        font-size: 22px;
        font-weight: 400;
        gap: 8px;
        line-height: 1.3;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .casinofaqs-faq-icon {
        font-size: 20px;
    }

    .casinofaqs-color-divider {
        margin: 15px 0;
        height: 2px;
    }

    .casinofaqs-intro-section {
        margin-bottom: 20px;
        width: 100%;
    }

    .casinofaqs-intro-text {
        font-size: 14px;
        width: 100%;
        text-align: left;
        line-height: 1.5;
    }

    /* Grid responsive on tablet */
    .casinofaqs-faq-container.grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .casinofaqs-faq-item {
        border-radius: 12px;
        margin-bottom: 12px;
        width: 100%;
    }

    .casinofaqs-faq-question {
        padding: 16px 20px;
        font-size: 14px;
        width: 100%;
        text-align: left;
    }

    .casinofaqs-question-text {
        text-align: left;
        width: 100%;
    }

    .casinofaqs-faq-arrow {
        font-size: 16px;
    }

    .casinofaqs-faq-answer-content {
        padding: 0 20px 16px 20px;
        font-size: 13px;
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .casinofaqs-container {
        padding: 15px 12px;
        border-radius: 12px;
    }

    .casinofaqs-header-section {
        padding: 15px 12px;
        border-radius: 10px;
    }

    .casinofaqs-header-title {
        font-size: 18px;
        font-weight: 300;
        gap: 6px;
        letter-spacing: 0.5px;
    }

    .casinofaqs-faq-icon {
        font-size: 16px;
    }

    .casinofaqs-intro-text {
        font-size: 13px;
        text-align: left;
        width: 100%;
    }

    /* Grid responsive on mobile - force single column */
    .casinofaqs-faq-container.grid-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .casinofaqs-faq-question {
        padding: 14px 16px;
        font-size: 13px;
        text-align: left;
    }

    .casinofaqs-question-text {
        text-align: left;
    }

    .casinofaqs-faq-answer-content {
        padding: 0 16px 14px 16px;
        font-size: 12px;
        text-align: left;
    }
}

/* Elementor Editor Styles */
.elementor-editor-active .casinofaqs-widget {
    min-height: 200px;
}

.elementor-editor-active .casinofaqs-faq-item.active .casinofaqs-faq-answer {
    max-height: 200px;
}

/* Full width adaptability */
.casinofaqs-widget,
.casinofaqs-container,
.casinofaqs-faq-container,
.casinofaqs-faq-item,
.casinofaqs-intro-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.casinofaqs-intro-text,
.casinofaqs-faq-answer-content,
.casinofaqs-question-text {
    text-align: left !important;
    width: 100% !important;
}

/* Ensure text doesn't center align on mobile */
@media (max-width: 768px) {
    .casinofaqs-intro-text,
    .casinofaqs-faq-answer-content,
    .casinofaqs-question-text,
    .casinofaqs-faq-question {
        text-align: left !important;
    }
} 