:root {
    --bg-color: #050505;
    --card-bg: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff;
    --gray-dark: #151515;
    --gray-medium: #222222;
    --gray-light: #444444;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --container-width: 940px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 92%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 15, 15, 0.5);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 2.3rem;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-primary);
}

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

.nav-links li a,
.nav-btn-special {
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-medium);
    border: 1px solid var(--gray-light);
    color: #ffffff;
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-btn-special:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.youtube-link {
    background: #ff0000 !important;
    border-color: #ff3333 !important;
}

.discord-link {
    background: #5865F2 !important;
    border-color: #7289da !important;
}

.nav-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
}

.nav-links li a.active-link {
    background: rgba(255, 255, 255, 0.16);
}

.nav-btns {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discord-btn {
    background: var(--gray-medium);
    border: 1px solid var(--gray-light);
}

.youtube-btn {
    background: #ff0000;
    color: white !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* Hero Section */
#hero {
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 15vw, 8rem);
    letter-spacing: 10px;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-desc {
    margin-bottom: 3rem;
}

.hero-desc h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-desc p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    font-weight: 800;
    color: #00aaff;
    position: relative;
    padding: 0 5px;
    background: rgba(0, 170, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Enhanced Button States */
.btn:hover,
.nav-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
    filter: brightness(1.2);
}

.btn:active,
.nav-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Rainbow Border for Lootlabs */
.lootlabs-card {
    position: relative;
    background: #080808;
    z-index: 1;
}

.lootlabs-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    z-index: -1;
    animation: rainbow 20s linear infinite;
    border-radius: 22px;
}

.lootlabs-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: #080808;
    z-index: -1;
    border-radius: 20px;
    pointer-events: none;
}

@keyframes rainbow {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* Release Card */
#release {
    padding: 4rem 0;
}

.release-card {
    background: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.release-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.release-logo-box {
    background: #000;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.release-logo-box img {
    width: 50px;
    height: auto;
}

.about-card {
    background: #0a0a0a;
    border: 1px solid var(--gray-medium);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.about-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content strong {
    color: white;
    font-weight: 700;
}

.release-footer {
    margin-top: 3rem;
}

.release-card .feature-card {
    background: #111;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.release-card .feature-card:hover {
    background: #151515;
    border-color: var(--gray-medium);
}

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

.release-card .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.release-card .feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-download-dark {
    background: #050505;
    border: 1px solid #222;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-download-dark:hover {
    background: #111;
    border-color: #444;
    transform: translateY(-2px);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* More transparent */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(6px);
    /* Reduced blur for visibility */
}

.modal-content {
    background: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    padding: 3rem;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    z-index: 10;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.lootlabs-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lootlabs-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.recommended {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 1.5rem;
}

.lootlabs-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.lootlabs-features {
    text-align: left;
    margin: 0 auto 2.5rem;
    width: fit-content;
}

.lootlabs-features li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-lootlabs {
    background: white;
    color: black;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 800;
    display: block;
    width: 100%;
}

.btn-lootlabs:hover {
    background: #ddd;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--gray-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--text-primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .release-card .feature-grid {
        grid-template-columns: 1fr;
    }

    #hero h1 {
        font-size: 3rem;
    }
}

/* Hero GUI Preview */
#hero {
    min-height: 100vh;
    padding: 7rem 0 3.5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.hero-gui {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
}

.gui-preview {
    width: 100%;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 20%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(8, 8, 8, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.38), 0 0 90px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    animation: guiFloat 10s ease-in-out infinite;
}

@keyframes guiFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes featureRise {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(255, 255, 255, 0.08);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
    }
}

.gui-preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2.1rem 2rem 1.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gui-preview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    animation: iconPulse 4s ease-in-out infinite;
}

.gui-preview-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gui-preview-meta h3 {
    margin: 0 0 0.35rem;
    font-size: 1.55rem;
    font-weight: 900;
    color: #ffffff;
}

.gui-preview-meta p {
    margin: 0;
    font-size: 0.95rem;
    color: #cccccc;
}

.gui-preview-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.8rem 2rem 0;
}

.gui-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 132px;
    opacity: 0;
    transform: translateY(18px);
}

.hero-gui.reveal.active .gui-feature-card {
    animation: featureRise 0.65s ease-out forwards;
}

.hero-gui.reveal.active .gui-feature-card:nth-child(1) {
    animation-delay: 0.15s;
}

.hero-gui.reveal.active .gui-feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-gui.reveal.active .gui-feature-card:nth-child(3) {
    animation-delay: 0.45s;
}

.gui-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(255, 255, 255, 0.08);
}

.gui-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: transform 0.25s ease, background 0.25s ease;
}

.gui-feature-card:hover .gui-feature-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.14);
}

.gui-feature-text h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.gui-feature-text p {
    margin: 0;
    font-size: 0.92rem;
    color: #b6b6b6;
    line-height: 1.5;
}

.gui-download-row {
    padding: 1.8rem 2rem 2rem;
}

.gui-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.gui-download-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 24px 55px rgba(255, 255, 255, 0.12);
}

#about {
    padding: 4rem 0;
}

#features {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

/* Executor Mockup UI */
.executor-mockup {
    width: 100%;
    max-width: 54rem;
    border-radius: 2.5rem;
    border: 2px solid #fff;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: borderColorShift 6s infinite ease-in-out;
    will-change: transform;
    transform-style: preserve-3d;
}

@keyframes borderColorShift {
    0% { border-color: #ffffff; }
    33% { border-color: #888888; }
    66% { border-color: #111111; }
    100% { border-color: #ffffff; }
}

.mockup-body {
    display: flex;
    height: auto;
    /* Removed fixed height to prevent black bars */
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@keyframes pageEnter {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.98); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.page-animate {
    animation: pageEnter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Page Section Controls */
.page-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    padding: 7rem 0 3.5rem;
    /* Top padding for header, bottom for footer */
    background: transparent;
    /* Changed from var(--bg-color) to transparent */
}

#about .container {
    width: 100%;
}

.about-card {
    margin: 0 auto;
    max-width: 56.25rem;
    background: #0a0a0a;
    border: 1px solid var(--gray-medium);
    border-radius: 2.5rem;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
    transform-style: preserve-3d;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 4rem auto 0; /* Centered with top margin */
    max-width: 56.25rem;
}

.about-f-card {
    background: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about-f-card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

.about-f-card i {
    font-size: 1.5rem;
    color: #ffffff;
}

.about-f-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 850px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Slideshow Styles */
.mockup-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.mockup-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
}

.mockup-slide.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}

/* Xeno Download Page Styles (Matches Xeno-Download.png) */
.xeno-dl-container {
    max-width: 60rem;
    margin: 0 auto;
    padding: 3rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.02); /* Very subtle light tint */
    backdrop-filter: blur(10px);
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.dl-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dl-logo-circle {
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.dl-logo-circle img {
    width: 70%;
    height: auto;
}

.dl-title-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.dl-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.dl-status i {
    font-size: 0.8rem;
}

.dl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dl-feature-card {
    background: #111111;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dl-feature-card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

.dl-icon-box {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.dl-feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.8rem;
}

.dl-feature-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.dl-action {
    display: flex;
    justify-content: flex-start;
}

.dl-main-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    color: #fff;
    border: 1px solid #222;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dl-main-btn:hover {
    background: #080808;
    border-color: #444;
    transform: translateX(5px);
}

@media (max-width: 850px) {
    .dl-features-grid {
        grid-template-columns: 1fr;
    }
    .dl-header {
        flex-direction: column;
        text-align: center;
    }
    .dl-action {
        justify-content: center;
    }
}

@media (max-width: 820px) {
    .mockup-sidebar {
        display: none;
    }

    .gui-preview-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .mockup-body {
        height: 300px;
    }

    .mockup-tab:not(.active):not(.add-tab) {
        display: none;
    }
}