/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #000000 0%, #1a0a1a 50%, #000000 100%);
    border-bottom: 2px solid #6a0dad;
    box-shadow: 0 4px 20px rgba(106, 13, 173, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: linear-gradient(135deg, #6a0dad, #8a2be2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login, .btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: #ffffff;
    border: 2px solid #6a0dad;
}

.btn-login:hover {
    background: #6a0dad;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
}

.btn-register {
    background: linear-gradient(135deg, #6a0dad, #8a2be2);
    color: #ffffff;
}

.btn-register:hover {
    background: linear-gradient(135deg, #8a2be2, #6a0dad);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

.banner-container {
    width: 100%;
    margin: 20px auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(106, 13, 173, 0.3);
    transition: transform 0.3s ease;
}

.banner-img:hover {
    transform: scale(1.02);
}

/* Banner Carousel Styles */
.banner-carousel {
    width: 100%;
    margin: 20px auto 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(106, 13, 173, 0.3);
}

.banner-carousel-link {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: block;
    text-decoration: none;
}

.banner-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    visibility: hidden;
    z-index: 1;
}

.banner-carousel-slide:first-child {
    position: relative;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
}

.banner-carousel-slide.active {
    position: absolute;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.banner-carousel-slide:first-child.active {
    position: relative;
    z-index: 2;
}

.banner-carousel-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}

.content-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(26, 10, 26, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 15px;
    border: 1px solid rgba(106, 13, 173, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.content-section h1 {
    color: #8a2be2;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.content-section h2 {
    color: #6a0dad;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #6a0dad;
    padding-bottom: 10px;
}

.content-section p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.content-section strong {
    color: #8a2be2;
    font-weight: 600;
}

.content-section dt {
    color: #6a0dad;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.content-section dd {
    margin-bottom: 15px;
    padding-left: 20px;
    font-size: 1.1rem;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a0a1a 50%, #000000 100%);
    border-top: 2px solid #6a0dad;
    margin-top: 60px;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    color: #ffffff;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-title {
    color: #8a2be2;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #8a2be2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(106, 13, 173, 0.3);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #8a2be2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .faq-item.active .faq-answer {
        max-height: 600px;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #000000 0%, #1a0a1a 50%, #000000 100%);
        border-top: 2px solid #6a0dad;
        box-shadow: 0 4px 20px rgba(106, 13, 173, 0.3);
        display: none;
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .nav.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        margin: 0;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(106, 13, 173, 0.2);
    }
    
    .nav-link:hover {
        background: linear-gradient(135deg, #6a0dad, #8a2be2);
        transform: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .banner-carousel {
        margin: 15px auto 30px;
        border-radius: 8px;
    }
    
    .banner-carousel-img {
        border-radius: 8px;
    }
    
    .content-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .content-section h1 {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 15px;
    }
    
    .content-section h1 {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-icon {
        font-size: 1.3rem;
        min-width: 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px 20px;
        max-height: 700px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Small mobile devices */
@media (max-width: 425px) {
    .faq-item.active .faq-answer {
        max-height: 900px;
    }
    
    .faq-question {
        padding: 15px 18px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .faq-question {
        padding: 12px 15px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 12px 15px;
        max-height: 1000px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

/* FAQ Accordion Styles */
.faq-container {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(106, 13, 173, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 10, 26, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(106, 13, 173, 0.6);
    box-shadow: 0 4px 20px rgba(106, 13, 173, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.1) 0%, rgba(138, 43, 226, 0.05) 100%);
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.2) 0%, rgba(138, 43, 226, 0.1) 100%);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 15px;
    line-height: 1.4;
}

.faq-icon {
    color: #8a2be2;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #6a0dad;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 10, 26, 0.6) 100%);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    padding-top: 15px;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6a0dad, #8a2be2);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(106, 13, 173, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #8a2be2, #6a0dad);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(106, 13, 173, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

.scroll-cta-wrapper {
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

.scroll-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff2d6f, #b8004b);
    color: #ffffff;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(184, 0, 75, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.3px;
}

.scroll-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(255, 45, 111, 0.45);
}

.scroll-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(184, 0, 75, 0.3);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6a0dad, #8a2be2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8a2be2, #6a0dad);
}
