:root {
    --secondary-color: #ffffff3b;
    --discord-color: #5865F2;
    --light-text: #ffffff;
    --overlay-bg: rgba(0, 0, 0, 0.8);
  
    --logo-margin-top: -20px;
    --logo-margin-right: 0;
    --logo-margin-bottom: 0;
    --logo-margin-left: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: var(--light-text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background-color: #000;
}

.tos-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.tos-popup {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease-out;
}

.tos-popup h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--light-text);
}

.tos-content {
    margin-bottom: 2rem;
}

.tos-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tos-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.tos-content li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.tos-accept-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: rgba(146, 146, 146, 0);
    border: none;
    border-radius: 5px;
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tos-accept-btn:hover {
    background: rgba(90, 90, 90, 0.3);
    transform: translateY(-2px);
}

/* Trailer Page Styles */
.trailer-container {
    max-width: 1200px;
    margin: 6rem auto 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.trailer-video {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.trailer-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Events Page Styles */
.events-container {
    max-width: 1200px;
    margin: 6rem auto 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.event-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.event-date {
    font-size: 1.2rem;
    color: var(--discord-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.event-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.event-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.event-details {
    list-style: none;
    padding: 0;
}

.event-details li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.event-details i {
    margin-right: 0.5rem;
    color: var(--discord-color);
}

.event-card:nth-child(1) { animation-delay: 0.2s; }
.event-card:nth-child(2) { animation-delay: 0.4s; }
.event-card:nth-child(3) { animation-delay: 0.6s; }

.swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.swiper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.swiper-slide {
    width: 100%;
    aspect-ratio: 16/9;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    text-align: center;
    margin: 2rem 0;
    font-size: 2rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 50%;
    transform: scale(0.7);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(0.8);
}

.swiper-pagination-bullet {
    background: var(--light-text);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Accordion Styles */
.faq-accordion {
    margin: 2rem 0;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item:nth-child(1) { animation-delay: 0.2s; }
.accordion-item:nth-child(2) { animation-delay: 0.4s; }
.accordion-item:nth-child(3) { animation-delay: 0.6s; }
.accordion-item:nth-child(4) { animation-delay: 0.8s; }

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-weight: bold;
    position: relative;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.accordion-content p {
    margin: 0;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 300px;
    opacity: 1;
}

.cont.faq-section {
    margin-bottom: 2rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out 0.5s forwards;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-group {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.form-group:nth-child(1) { animation-delay: 0.2s; }
.form-group:nth-child(2) { animation-delay: 0.3s; }
.form-group:nth-child(3) { animation-delay: 0.4s; }
.form-group:nth-child(4) { animation-delay: 0.5s; }

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.support-form textarea {
    height: 150px;
    resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.2);
}

.submit-btn {
    background: var(--secondary-color);
    color: var(--light-text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

.submit-btn:hover {
    background: rgb(42, 43, 69, 0.1);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    margin-top: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 1);
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
    transform: scale(1.1);
    transition: filter 0.3s ease-in-out;
}

.video-background.loaded {
    opacity: 1;
}

.top-bar {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: relative;
}

.logo-container {
    position: fixed;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 11;
}

.site-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.1);
}

.site-name {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--light-text);
    text-transform: uppercase;
}

.logo {
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: var(--logo-margin-top) var(--logo-margin-right) var(--logo-margin-bottom) var(--logo-margin-left);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    cursor: pointer;
    position: relative;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}



nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li:hover a::after,
nav ul li.active a::after {
    width: 100%;
}

nav ul li.active a::after {
    transform: scaleX(1);
}

nav ul li.active {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right input {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.login-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-btn:hover {
    opacity: 0.9;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    animation: fadeIn 0.8s ease-out;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-btn {
    background: transparent;
    color: white;
    border: 2px solid var(--button-color);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: var(--button-color);
    transform: scale(1.05);
}

.platforms {
    margin-top: 1rem;
    opacity: 0.7;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 800px;
    margin: 5rem auto 0;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(0, 0, 0, 0.15);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSequence 0.5s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--light-text);
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
    opacity: 0.9;
}

.fps-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fps-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fps-bar .bar {
    flex-grow: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.fps-bar .bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
}

.fps-bar.badlion .bar::after {
    width: 100%;
}

.fps-bar.other .bar::after {
    width: 70%;
}

.fps-bar.vanilla .bar::after {
    width: 30%;
}

.mod-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    font-size: 2rem;
    margin-top: 1rem;
}

.versions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.version-major {
    font-size: 1.5rem;
    font-weight: bold;
}

.version-minor {
    opacity: 0.7;
}

.footer-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--button-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.footer-toggle:hover {
    transform: scale(1.05);
}

.footer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    transition: bottom 0.5s ease;
    z-index: 999;
}

.footer.open {
    bottom: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--light-text);
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.header-controls {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 11;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.volume-btn {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.volume-btn:hover {
    transform: scale(1.1);
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--light-text);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider:hover {
    background: rgba(255, 255, 255, 0.4);
}

.discord-icon {
    color: var(--discord-color);
    font-size: 24px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: rgba(88, 101, 242, 0.1);
}

.discord-icon:hover {
    background: rgba(88, 101, 242, 0.2);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSequence {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none;
    }
    
    .nav-right {
        margin-left: auto;
    }
}