:root {
    --primary-green: #00ff00;
    --primary-blue: #4d88ff;
    --dark-bg: #000000;
    --border-color: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 10px;
    border: 3px solid var(--dark-bg);
}
::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #444 var(--dark-bg);
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 0;
    transition: padding-top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header.scrolled {
    padding-top: 20px;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header.scrolled .header-content {
    max-width: 900px;
    padding: 0.7rem 1.5rem;
    background: rgba(0, 0, 0, 0);
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#header-trigger {
    position: absolute;
    top: 50px;
    height: 1px;
    width: 100%;
}

.nav-links {
    display: flex;
}

nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.logo-container-link {
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 40px;
    width: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.discord-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background-color: rgba(30, 30, 30, 0.5);
    border: 2px solid #2a2a2a;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.discord-link:hover {
    transform: scale(1.05);
    background-color: #222;
}

.discord-link img {
    height: 20px;
    opacity: 0.8;
}

.discord-link span {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
}

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    width: 24px;
    height: 24px;
}

.hamburger-menu svg {
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hamburger-menu .close-icon {
    opacity: 0;
    transform: rotate(-45deg);
}

header.nav-open .hamburger-menu .open-icon {
    opacity: 0;
    transform: rotate(45deg);
}

header.nav-open .hamburger-menu .close-icon {
    opacity: 1;
    transform: rotate(0);
}

.mobile-nav-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

header.nav-open .mobile-nav-container {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}

.mobile-nav {
    background: rgb(0, 0, 0);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 16px 68px rgba(0, 0, 0, 0.3);
}

.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav a:hover {
    background-color: #222;
    color: var(--text-primary);
}

.mobile-nav .discord-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background-color: #111;
}

.mobile-nav .discord-link:hover {
    background-color: #222;
}

.mobile-nav .discord-link img {
    width: 20px;
    height: 20px;
}

main {
    padding: 20px 50px;
    text-align: center;
}

.showcase-container {
    padding-top: 120px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
}

.showcase-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.tilt-target {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    border-radius: 12px;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--text-primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: #121212;
    color: var(--text-primary);
    border: 2px solid #121212;
}

.btn-secondary:hover {
    background-color: #1f1f1f;
    transform: translateY(-3px);
}

.showcase-subtext {
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 16px;
}

.downloads-section {
    padding: 80px 0 40px 0;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: -30px auto 50px auto;
    max-width: 800px;
    line-height: 1.6;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.download-card {
    background-color: #080808;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header svg {
    width: 28px;
    height: 28px;
    color: var(--primary-green);
}

.card-header h3 {
    margin: 0;
    font-size: 22px;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.card-details {
    margin: 20px 0;
    font-size: 14px;
    color: #888;
}

.card-details span {
    display: block;
    margin-bottom: 5px;
}

.status-safe {
    color: var(--primary-green);
    font-weight: 700;
}

.btn-download {
    background-color: var(--primary-green);
    color: var(--dark-bg);
    border: 2px solid var(--primary-green);
    text-align: center;
    margin-top: auto;
}

.btn-download:hover {
    background-color: #33ff33;
    border-color: #33ff33;
}

.about-section {
    padding: 50px 20px 0px 0;
    background-color: transparent;
    border: none;
}
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 70px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.pillar-item {
    padding: 20px;
}

.pillar-item svg {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.pillar-item h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
}

.pillar-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #ccc, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-item {
    background-color: transparent;
    border: 2px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 0fr;
    transition: grid-template-rows 0.4s ease-in-out, background-color 0.3s, border-color 0.3s;
}

.faq-item:hover {
    border-color: #444;
    background-color: #080808;
}

.faq-item.active {
    grid-template-rows: auto 1fr;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    color: #888;
}

.faq-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-icon .icon-x {
    opacity: 0;
    transform: rotate(-90deg);
}

.faq-item.active .faq-icon .icon-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-item.active .faq-icon .icon-x {
    opacity: 1;
    transform: rotate(0deg);
}

.faq-item.active .faq-icon {
    color: var(--text-primary);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer-content {
    padding: 0 25px 20px 25px;
}

.faq-answer-content p {
    border-left: 3px solid var(--primary-green);
    padding: 0 0 0 20px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.discord-widget-section {
    padding: 60px 0;
}

.discord-widget-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #000000c5;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.server-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.server-info .logo-text {
    font-size: 24px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.server-info p {
    margin: 2px 0 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.btn-join-discord {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #0a0a0a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #282a2e;
    transition: background-color 0.2s;
}

.btn-join-discord:hover {
    background-color: #2c2f33;
}

.btn-join-discord img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-join-discord:hover img {
    transform: scale(1.1) rotate(-10deg);
}

.widget-member-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.widget-member-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 5px;
    border-bottom: 1px solid #1a1a1a;
}

.widget-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.member-details {
    display: flex;
    flex-direction: column;
}

.member-username {
    font-weight: 600;
    color: #ffffff;
}

.member-status {
    font-size: 12px;
    color: #888;
}

.status-online { color: #23a559; }
.status-idle { color: #f0b232; }
.status-dnd { color: #f23f43; }

.animate-on-load {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

header.animate-on-load {
    transform: translateY(-100%);
}

.showcase-card.animate-on-load {
    transform: translateY(50px);
}

.button-container.animate-on-load,
.showcase-subtext.animate-on-load,
.faq.animate-on-load {
    transform: translateY(50px);
}

.showcase-card.animate-on-load:nth-child(2) {
    transition-delay: 0.2s;
}

.showcase-card.animate-on-load:nth-child(3) {
    transition-delay: 0.4s;
}

.animate-on-load.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    color: #555;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.close-menu-btn {
    background: #333;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    gap: 10px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 600;
    font-size: 18px;
    border-radius: 12px;
    transition: color 0.2s, background-color 0.2s;
}

.mobile-nav-links a:hover {
    color: #ffffff;
    background-color: #222;
}

.mobile-nav-links a:first-of-type {
    background-color: #252525;
    color: #ffffff;
}

.mobile-nav-links a svg.lucide-arrow-right {
    width: 20px;
    height: 20px;
    color: #888;
}

.mobile-link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discord-icon-mobile {
    width: 24px;
    height: 24px;
}


nav.desktop-nav a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

nav.desktop-nav a:hover {
    color: var(--text-primary);
}

nav.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-green);
    transform-origin: bottom right;
    transition: transform 0.2s ease-out;
}

nav.desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media (max-width: 768px) {
    nav.desktop-nav, .discord-link.desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }
    
    .mobile-nav-container {
        display: block;
    }

    header {
        padding: 15px;
    }

    .header-content {
    width: 95%;
    max-width: 1200px;
    margin: 0 -5px;
    }

    nav {
        justify-content: space-between;
    }

    .nav-links,
    .desktop-only {
        display: none;
    }

    .hamburger-btn {
        display: flex;
        align-items: center;
    }

    .button-container {
        flex-direction: column;
        gap: 15px;
    }

    .showcase-grid,
    .downloads-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-content h2,
    .faq h2,
    .downloads-section h2 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 18px;
        color: var(--text-secondary);
        margin: 30px auto 50px auto;
        max-width: 800px;
        line-height: 1.6;
    }

    .discord-widget-container {
        padding: 20px;
    }

    .widget-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}