/**
 * Turuncu Fal - Mystical FAQ Styles
 * Bu dosya, FAQ bölümüne mistik efektler ekler
 */

/* Mystical FAQ Container */
.faq-content-section {
    position: relative;
    background: linear-gradient(135deg, #0c0c1d, #1a1a2e);
    overflow: hidden;
}

/* Mystical Background Elements */
.faq-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mystical-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

/* Floating Mystical Elements */
.faq-content-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 30%);
    z-index: 0;
    /* Animasyonu kaldırıyoruz */
}

/* Mystical Background Elements */
.mystical-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.mystical-bg-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(30px);
    z-index: 0;
    /* Animasyonu kaldırıyoruz */
}

.mystical-bg-element.element-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    /* Animasyonu kaldırıyoruz */
}

.mystical-bg-element.element-2 {
    top: 60%;
    right: 10%;
    width: 250px;
    height: 250px;
    /* Animasyonu kaldırıyoruz */
}

.mystical-bg-element.element-3 {
    bottom: 20%;
    left: 15%;
    width: 200px;
    height: 200px;
    /* Animasyonu kaldırıyoruz */
}

.mystical-bg-element.element-4 {
    top: 30%;
    right: 20%;
    width: 180px;
    height: 180px;
    /* Animasyonu kaldırıyoruz */
}

.mystical-bg-element.element-5 {
    bottom: 10%;
    right: 30%;
    width: 220px;
    height: 220px;
    /* Animasyonu kaldırıyoruz */
}

@keyframes floatElement {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: translate(var(--tx, 50px), var(--ty, -50px)) scale(var(--scale, 1.2));
        opacity: 0.1;
    }
}

@keyframes backgroundShift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Mystical Category Navigation */
.faq-category-nav {
    position: relative;
    z-index: 1;
}

.faq-category-title {
    position: relative;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 25px;
    color: #FF6B00;
    padding-bottom: 15px;
    border-bottom: 3px solid #FF6B00;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.faq-category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, transparent);
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(255, 107, 0, 0.3);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 107, 0, 0.7);
    }
}

.faq-category-link {
    position: relative;
    border: none;
    border-left: 4px solid transparent;
    padding: 15px 20px;
    font-weight: 500;
    color: #ccc;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(30, 30, 60, 0.8));
    margin-bottom: 8px;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
    z-index: 1;
}

.faq-category-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.faq-category-link:hover, .faq-category-link.active {
    color: #FF6B00;
    border-left-color: #FF6B00;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
    transform: translateX(5px);
}

.faq-category-link:hover::before, .faq-category-link.active::before {
    opacity: 1;
}

.faq-category-link.active::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FF6B00;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: translateY(-50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(0.8);
        opacity: 0.5;
    }
}

/* Mystical Support Card */
.faq-support-card {
    position: relative;
    background: linear-gradient(135deg, #1A1A1A, #2D2D2D);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/mystical-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.faq-support-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2), transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 0;
}

.faq-support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 0, 0.2);
    border-color: rgba(255, 107, 0, 0.4);
}

.faq-support-card:hover::after {
    opacity: 0.3;
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.faq-support-icon {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B00, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

.faq-support-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 0, 0.3);
    animation: spin 20s linear infinite;
    z-index: -1;
}

.faq-support-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 107, 0, 0.2);
    animation: spin 30s linear infinite reverse;
    z-index: -1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.faq-support-title {
    position: relative;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    margin-bottom: 15px;
    color: #FF6B00;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
    z-index: 1;
}

.faq-support-text {
    position: relative;
    font-size: 15px;
    color: #ccc;
    margin-bottom: 20px;
    z-index: 1;
}

.faq-support-btn {
    position: relative;
    background: linear-gradient(45deg, #FF6B00, #FF8533);
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.faq-support-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.faq-support-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.faq-support-btn:hover::before {
    left: 100%;
}

/* Mystical FAQ Content */
.faq-category-content {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(30, 30, 60, 0.9));
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.1);
    z-index: 1;
    overflow: hidden;
}

.faq-category-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mystical-pattern.png');
    opacity: 0.05;
    z-index: -1;
}

.faq-category-heading {
    position: relative;
    font-family: 'Cinzel', serif;
    font-size: 28px;
    margin-bottom: 25px;
    color: #FF6B00;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 107, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.faq-category-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: #FF6B00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    animation: widthPulse 3s ease-in-out infinite alternate;
}

@keyframes widthPulse {
    0% {
        width: 50px;
        opacity: 0.7;
    }
    100% {
        width: 150px;
        opacity: 1;
    }
}

/* Mystical Accordion Items */
.faq-accordion .accordion-item {
    position: relative;
    border: none;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.7), rgba(30, 30, 60, 0.7));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.faq-accordion .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 15px rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
}

.faq-accordion .accordion-item:hover::before {
    opacity: 1;
}

.faq-accordion .accordion-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FF6B00, transparent);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover::after {
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}

.faq-accordion .accordion-button {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 20px;
    background: transparent;
    color: #fff;
    box-shadow: none;
    transition: all 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
}

.faq-accordion .accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #FF6B00;
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:hover {
    color: #FF6B00;
}

.faq-accordion .accordion-button:hover::before {
    opacity: 1;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.1), transparent);
    color: #FF6B00;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed)::before {
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FF6B00' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 1px rgba(255, 107, 0, 0.3));
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    filter: drop-shadow(0 0 2px rgba(255, 107, 0, 0.5));
}

/* Question Icon */
.question-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #FF6B00;
    position: relative;
    transition: all 0.3s ease;
}

.question-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 107, 0, 0.4);
    animation: spin 20s linear infinite;
}

.question-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 0, 0.2);
    animation: spin 30s linear infinite reverse;
}

.accordion-button:hover .question-icon,
.accordion-button:not(.collapsed) .question-icon {
    background: rgba(255, 107, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.question-text {
    font-size: 16px;
    transition: all 0.3s ease;
}

.accordion-button:hover .question-text,
.accordion-button:not(.collapsed) .question-text {
    color: #FF6B00;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.3);
}

.faq-accordion .accordion-body {
    padding: 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    background: rgba(20, 20, 40, 0.5);
    border-top: 1px solid rgba(255, 107, 0, 0.1);
    position: relative;
    z-index: 1;
}

.faq-accordion .accordion-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.05), transparent 70%);
    z-index: -1;
}

/* Answer Content */
.answer-content {
    display: flex;
    align-items: flex-start;
}

.answer-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    margin-top: 3px;
    color: #FF6B00;
    position: relative;
}

.answer-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 107, 0, 0.3);
    animation: spin 15s linear infinite reverse;
}

.answer-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* Mystical Accordion Animation */
.accordion-collapse.collapsing {
    overflow: hidden;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-collapse.collapse.show {
    animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% {
        box-shadow: inset 0 0 5px rgba(255, 107, 0, 0.1);
    }
    100% {
        box-shadow: inset 0 0 15px rgba(255, 107, 0, 0.2);
    }
}

/* Mystical Particles */
.mystical-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 107, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.8);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    animation: particleFade 3s ease-out forwards;
}

@keyframes particleFade {
    0% {
        transform: translate(0, 0) scale(0.2);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx, 50px), var(--ty, -50px)) scale(0);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .faq-category-nav {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .faq-category-content {
        padding: 20px;
    }

    .faq-category-heading {
        font-size: 24px;
    }

    .faq-accordion .accordion-button {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .faq-support-card {
        padding: 20px;
    }

    .faq-support-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .faq-support-title {
        font-size: 18px;
    }

    .faq-accordion .accordion-body {
        padding: 15px;
    }
}
