* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF9933;
    --primary-dark: #CC7A29;
    --dark: #0a0a0a;
    --dark-2: #1a1a1a;
    --dark-3: #2a2a2a;
    --gray: #9CA3AF;
    --light: #F3F4F6;
    --success: #10B981;
    --warning: #F59E0B;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    animation: fadeOut 0.5s ease-out 2s forwards;
}

.loading-logo {
    width: 120px;
    height: 120px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: var(--dark-3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #FFB366);
    animation: loadProgress 2s ease-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 153, 51, 0.5));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 40px rgba(255, 153, 51, 0.8));
    }
}

@keyframes loadProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.server-status-widget {
    position: absolute;
    top: 100px;
    right: 2rem;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.2);
    animation: slideInRight 0.5s ease-out 2.5s both;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-players {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #FFB366);
    z-index: 9999;
    transition: width 0.1s ease;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 153, 51, 0.1);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), #FFB366);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(26, 26, 26, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FF9933" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 153, 51, 0.1), transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), #FFB366);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(255, 153, 51, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s;
}

.badge:hover {
    background: rgba(255, 153, 51, 0.2);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 153, 51, 0.5);
}

.btn-secondary {
    background: var(--dark-3);
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

.section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--light), var(--gray));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title span {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 153, 51, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1), transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s;
    border-radius: 50%;
    z-index: 0;
}

.feature-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.2);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.feature-desc {
    color: var(--gray);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--dark-2);
    border-radius: 12px;
    border: 1px solid rgba(255, 153, 51, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 153, 51, 0.1), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.stat-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: var(--gray);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.factions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faction-card {
    background: var(--dark-2);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.faction-card:hover {
    transform: translateX(8px);
    background: var(--dark-3);
}

.faction-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.faction-type {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.faction-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--success);
    margin-top: 0.5rem;
}

.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rule-category {
    background: var(--dark-2);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.rule-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--dark-3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 153, 51, 0.05);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--light);
    user-select: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.6;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.staff-card {
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 153, 51, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.2);
}

.staff-avatar {
    width: 8rem;
    border-radius: 80px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.staff-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.staff-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.staff-bio {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.join-staff {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--dark-3);
    border-radius: 16px;
    border: 2px dashed var(--primary);
}

.join-staff h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.join-staff p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.roadmap-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.roadmap-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--dark-2);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
}

.roadmap-item.completed .roadmap-badge {
    background: var(--primary);
    border-color: var(--primary);
}

.roadmap-item.active .roadmap-badge {
    animation: pulse 2s ease-in-out infinite;
}

.roadmap-item.upcoming .roadmap-badge {
    opacity: 0.5;
}

.roadmap-content {
    flex: 1;
    background: var(--dark-2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 153, 51, 0.1);
}

.roadmap-content h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.roadmap-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.roadmap-date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--primary);
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.screenshot-card {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.screenshot-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 153, 51, 0.3);
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.screenshot-card:hover img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.footer {
    background: var(--dark-2);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 153, 51, 0.1);
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 153, 51, 0.1);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .server-status-widget {
        right: 1rem;
        top: 80px;
        font-size: 0.85rem;
    }

    .roadmap-timeline::before {
        left: 20px;
    }

    .roadmap-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.category-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    border-radius: 16px;
    border: 1px solid rgba(255, 153, 51, 0.1);
    transition: all 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.2);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1), transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.feature-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.feature-card a.btn {
    position: relative;
    z-index: 2;
}

.product-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.feature-desc {
    color: var(--gray);
    margin-bottom: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 153, 51, 0.5);
}

#discordStatus {
    position: absolute;
    top: 180px;
    right: 2rem;

    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(255, 153, 51, 0.2);
    animation: slideInRight 0.5s ease-out 2.5s both;
}

#discordStatus .status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    flex-shrink: 0;
    box-shadow: 0 0 8px #7289da;
}

#discordStatus .status-info {
    display: flex;
    flex-direction: column;
}

#discordStatus .status-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #7289da;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

#discordStatus .status-players {
    font-size: 0.85rem;
    color: #b9bbbe;
}