:root {
    --primary-green: #22c55e;
    --primary-green-light: #4ade80;
    --primary-green-dark: #16a34a;
    --accent-cyan: #06b6d4;
    --combat-color: #ef4444;
    --crystal-color: #06b6d4;
    --misc-color: #a855f7;
    --render-color: #eab308;
    --client-color: #ec4899;
    --bg-primary: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Consolas', 'Monaco', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

.global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(34, 197, 94, 0.12);
    top: -200px;
    left: -100px;
    animation: orb-move-1 25s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(6, 182, 212, 0.1);
    top: 30%;
    right: -150px;
    animation: orb-move-2 30s ease-in-out infinite;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: rgba(168, 85, 247, 0.08);
    top: 60%;
    left: 10%;
    animation: orb-move-3 28s ease-in-out infinite;
}

.orb-4 {
    width: 400px;
    height: 400px;
    background: rgba(34, 197, 94, 0.1);
    bottom: -100px;
    right: 20%;
    animation: orb-move-4 22s ease-in-out infinite;
}

.orb-5 {
    width: 350px;
    height: 350px;
    background: rgba(236, 72, 153, 0.06);
    top: 80%;
    left: 50%;
    animation: orb-move-5 35s ease-in-out infinite;
}

@keyframes orb-move-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, 50px) scale(1.1); }
    50% { transform: translate(50px, 100px) scale(0.95); }
    75% { transform: translate(-50px, 50px) scale(1.05); }
}

@keyframes orb-move-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-80px, 60px) scale(1.05); }
    50% { transform: translate(-40px, -80px) scale(1.1); }
    75% { transform: translate(40px, -40px) scale(0.95); }
}

@keyframes orb-move-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.08); }
    66% { transform: translate(-40px, 60px) scale(0.92); }
}

@keyframes orb-move-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, -80px) scale(1.15); }
}

@keyframes orb-move-5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-100px, -50px) scale(1.1); }
    75% { transform: translate(80px, 30px) scale(0.9); }
}

a {
    color: var(--primary-green);
    text-decoration: none;
}

a:hover {
    color: var(--primary-green-light);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(15, 15, 15, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.nav-brand:hover .brand-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-brand:hover .brand-text {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-buttons .btn {
    padding: 10px 24px;
    background: var(--primary-green);
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-buttons .btn:hover {
    background: var(--primary-green-light);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 8s ease-in-out infinite;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

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

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight {
    color: var(--primary-green);
    text-shadow: 0 0 40px rgba(34, 197, 94, 0.5);
    animation: glow-text 3s ease-in-out infinite;
}

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

@keyframes glow-text {
    0%, 100% { text-shadow: 0 0 40px rgba(34, 197, 94, 0.5); }
    50% { text-shadow: 0 0 60px rgba(34, 197, 94, 0.8), 0 0 80px rgba(34, 197, 94, 0.4); }
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.hero-feature .icon {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.hero-feature:hover .icon {
    transform: scale(1.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-green-light);
    transform: translateY(-3px);
    color: var(--bg-primary);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    background: rgba(34, 197, 94, 0.1);
}

.supported-launchers {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.launchers-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.launcher-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.launcher-item {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.launcher-item:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.features {
    padding: 100px 40px;
    background: rgba(15, 15, 15, 0.4);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.section-title .highlight {
    color: var(--primary-green);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-cyan));
    border-radius: 2px;
    transform: scaleX(0);
    animation: underline-grow 0.8s ease-out 0.5s forwards;
}

@keyframes underline-grow {
    to { transform: scaleX(1); }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-category {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.category-header {
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 3px solid;
}

.category-header.combat {
    color: var(--combat-color);
    border-color: var(--combat-color);
    background: rgba(239, 68, 68, 0.1);
}

.feature-category:hover .category-header.combat {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.category-header.crystal {
    color: var(--crystal-color);
    border-color: var(--crystal-color);
    background: rgba(6, 182, 212, 0.1);
}

.feature-category:hover .category-header.crystal {
    background: rgba(6, 182, 212, 0.2);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.category-header.misc {
    color: var(--misc-color);
    border-color: var(--misc-color);
    background: rgba(168, 85, 247, 0.1);
}

.feature-category:hover .category-header.misc {
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.category-header.render {
    color: var(--render-color);
    border-color: var(--render-color);
    background: rgba(234, 179, 8, 0.1);
}

.feature-category:hover .category-header.render {
    background: rgba(234, 179, 8, 0.2);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.3);
}

.category-header.client {
    color: var(--client-color);
    border-color: var(--client-color);
    background: rgba(236, 72, 153, 0.1);
}

.feature-category:hover .category-header.client {
    background: rgba(236, 72, 153, 0.2);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.feature-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    padding: 10px 14px;
    background: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    padding-left: 18px;
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.installation {
    padding: 100px 40px;
    background: rgba(10, 15, 12, 0.5);
    position: relative;
}

.install-container {
    max-width: 900px;
    margin: 0 auto;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.install-step {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.install-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.install-step:hover {
    border-color: var(--primary-green);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.install-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-cyan);
    font-weight: 500;
    font-size: 0.95rem;
}

.step-link:hover {
    color: var(--text-primary);
}

.folder-path {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.folder-path code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary-green-light);
}

.copy-btn {
    padding: 6px 12px;
    background: var(--border-color);
    border: none;
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--primary-green);
    color: var(--bg-primary);
}

.tip {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.footer {
    padding: 40px;
    background: rgba(20, 20, 20, 0.8);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.disclaimer {
    margin-top: 8px;
    opacity: 0.6;
}

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

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

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary);
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features {
        padding: 60px 20px;
    }

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

    .installation {
        padding: 60px 20px;
    }

    .install-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
