/* Rules Section Styles */
.rules-section {
    padding: 4rem 0;
    background-color: #141414;
    overflow: hidden;
}

.rules-title {
    background-color: rgba(75, 75, 75, 0.3);
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s ease;
    padding: 1rem;
}

.rules-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.rules-card {
    max-width: 1200px;
    margin: 0 auto 2rem;
    background-color: rgba(75, 75, 75, 0.1);
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rules-card:last-child {
    margin-bottom: 0;
}

.rules-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.rules-card-title {
    background-color: rgba(75, 75, 75, 0.3);
    color: white;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.rules-card-content {
    padding: 2rem;
    color: white;
}

.rules-card-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 15px;
    background-color: rgba(75, 75, 75, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: var(--primary-bg);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .rules-card {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .rules-title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .rules-section {
        padding: 3rem 0;
    }

    .rules-card-title {
        font-size: 1.3rem;
        padding: 1.25rem 1.5rem;
    }

    .rules-card-content {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .rules-card {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .rules-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .rules-card-title {
        font-size: 1.2rem;
        padding: 1rem 1.25rem;
    }

    .rules-card-content {
        padding: 1.25rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
}
