.rules-title {
    position: relative;
    padding-top: 220px;
    padding-bottom: 100px;
    background: #000000 url("../img/background.webp") top right no-repeat;
    background-size: cover;
}

.rules-title::before {
    content: "";
    background: linear-gradient(transparent 0, rgba(0, 0, 0, 0) 1%, #151216FF 100%);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.rules-title .feature-box {
    height: 100%;
    border-radius: 10px;
    text-align: center;
}

.rules-title .feature-box i {
    font-size: 16px;
    display: inline-block;
    line-height: 0;
    margin-left: 5px;
    color: rgba(243, 205, 255, 0.75);
}

.rules-title .feature-box h4 {
    background: linear-gradient(90deg, rgba(180, 61, 239, 0.97) 0%, #ffffff 57.96%, rgb(183, 0, 255) 128.94%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
    letter-spacing: 2px;
    font-size: 65px;
    font-weight: 700;
    font-family: 'Prompt', serif;
    text-transform: uppercase;
}

.rules-title .feature-box .support-rules-button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(206, 61, 239, 0.65);
    align-items: center;
    border-radius: 10px;
    justify-content: center;
    display: flex;
    color: #ffff;
    font-weight: bold;
    padding: 5px 0 5px 0;
    border: 4px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    cursor: pointer;
}

.rules-title .feature-box .support-rules-button:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.rules-title .feature-box .support-rules-button::before {
    animation: shine 1.5s ease-out infinite;
}

.rules-title .feature-box .support-rules-button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.features {
    padding-top: 50px;
    padding-bottom: 100px;
}

.features .nav-tabs {
    background: rgba(147, 84, 206, 0.82);
    border: 4px solid #ffffff4d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 6px;
    width: auto;
}

.features .nav-item {
    margin: 0;
    padding: 0 5px 0 0;
}

.features .nav-item:last-child {
    padding-right: 0;
}

.features .nav-link {
    color: #ffffff;
    padding: 10px 30px;
    transition: 0.3s;
    border-radius: 50px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    border: 0;
    margin: 0;
}

@media (max-width: 468px) {
    .features .nav-link {
        padding: 8px 20px;
    }
}

.features .nav-link i {
    padding-right: 15px;
    font-size: 48px;
}

.features .nav-link h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    margin: 0;
}

.features .nav-link:hover {
    background: #a154ce;
    transition: 0.3s;
    transform: scale(0.9);
}

.features .nav-link:hover h4 {
    color: #ffffff;
    transition: 0.3s;
}

.features .nav-link.active {
    background: #8f54ce;
    transition: 0.3s;
    transform: scale(0.9);
}

.features .nav-link.active h4 {
    color: #ffffff;
}

.faq .faq-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;

}

.faq .faq-description {
    margin-bottom: 3px;
    color: #ececec;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
}

.faq .faq-arrow {
    text-align: center;
    color: yellow;
    margin: 0;
    padding: 0;
    animation: arrow-move 0.40s infinite alternate;
}

@keyframes arrow-move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(40px);
    }
}

.faq .faq-container .faq-item {
    --clr-font-main: hsla(0 0% 20% / 100);
    --btn-bg-1: hsl(287, 77%, 61%);
    --btn-bg-2: hsl(276, 44%, 47%);
    --btn-bg-color: hsla(360 100% 100% / 1);
    cursor: pointer;
    margin-bottom: 15px;
    padding: 0.9em 1.4em;
    min-width: 120px;
    min-height: 44px;
    font-size: var(--size, 1rem);
    font-weight: 500;
    transition: 0.3s;
    background-size: 280% auto;
    background-image: linear-gradient(
            325deg,
            var(--btn-bg-2) 0%,
            var(--btn-bg-1) 55%,
            var(--btn-bg-2) 90%
    );
    border: none;
    border-radius: 10px;
    border: 4px solid #ffffff4d;
    color: var(--btn-bg-color);
}

.faq .faq-container .faq-item {
    animation: backgroundAnimation 3s infinite;
}

@keyframes backgroundAnimation {
    0% {
        background-position: left top;
    }
    20% {
        background-position: right top;
    }
}

.faq .faq-container .faq-item:active {
    box-shadow: #a666cb 0px 10px 0px 0px;
    transform: translateY(5px);
    transition: 200ms;
}

.faq .faq-container .faq-item:hover {
    transform: scale(0.98);
    transition: 0.3s;
}


.faq .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
    font-weight: 700;
    font-size: 16px;
    padding-top: 5px;
    transition: 0.3s;
    margin: 0;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.faq-item i {
    font-size: 24px;
    margin-right: 6px;
    color: #ffffff;
}

.faq .faq-container .faq-item h3 .num {
    color: #532f6b;
    padding-right: 5px;
}

.faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}


.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    color: white;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
    color: mistyrose;
}

.faq .faq-container .faq-active h3 {
    color: white;
}

.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: lightgoldenrodyellow;
}
