@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Rust Inspired */
    --bg-dark: #0D0D0D;
    /* Charcoal */
    --bg-card: #1A1A1A;
    /* Steel Grey */
    --bg-nav: rgba(13, 13, 13, 0.9);

    --accent: #D6402B;
    /* Rust Red */
    --accent-glow: rgba(214, 64, 43, 0.3);
    --accent-hover: #E85A47;

    --sand: #C2A878;
    /* Sand Accent */
    --sand-glow: rgba(194, 168, 120, 0.2);

    --text-main: #FFFFFF;
    --text-muted: #A0A0A8;
    --text-dim: #6B6B75;

    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(214, 64, 43, 0.2);
    --glass: rgba(255, 255, 255, 0.03);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-width: 1200px;
    --section-padding: 100px 20px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Typography Customization */
h1,
h2,
h3,
h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-gradient {
    background: linear-gradient(135deg, #FFF 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--accent);
}

/* Reusable Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: 4px;
    /* More industrial/square corners */
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #FFF;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--border);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.5rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent);
    /* Rust accent line */
    height: 80px;
    display: flex;
    align-items: center;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.logo span {
    color: var(--accent) !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    margin-right: 15px;
    border-right: 1px solid var(--border);
    padding-right: 20px;
}

.lang-btn {
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    font-size: 1.1rem;
    padding: 4px 6px;
    opacity: 0.4;
    transition: var(--transition);
    filter: grayscale(100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: var(--accent);
    background: rgba(214, 64, 43, 0.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 45px;
    height: 45px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--bg-dark);
    clip-path: inherit;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 20px 80px 20px;
    background-image: linear-gradient(to bottom, rgba(13, 13, 13, 0.7), var(--bg-dark)), url('../img/vorx-bg-1920.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(214, 64, 43, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(4rem, 15vw, 8rem);
    line-height: 0.85;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    background: rgba(214, 64, 43, 0.1);
    border: 1px solid var(--accent);
    padding: 8px 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.2em;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.ip-group {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.server-ip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', monospace;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.console-copy {
    background: var(--bg-dark);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px 20px;
    border-radius: 4px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.console-copy:hover {
    background: var(--accent);
    color: #FFF;
}

.server-ip:hover {
    border-color: var(--accent);
    background: #222;
}

.ip-text {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
}

.copy-hint {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Stats Banner */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 30px;
    margin-top: 60px;
    gap: 20px;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #33ff33;
    border-radius: 50%;
    box-shadow: 0 0 10px #33ff33;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.header-accent {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 20px auto;
}

.section-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(225deg, var(--border-accent) 0%, transparent 50%);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Rules Section */
.rules {
    padding: var(--section-padding);
    background: #0D0D0D;
}

.rules-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.rule-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.rule-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

.rule-content h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.rule-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* Community Section */
.community {
    padding: var(--section-padding);
}

.community-box {
    background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
    border: 1px solid var(--border);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent);
}

.community-box h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 100px 0 40px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-info .logo {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-links h5 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Sticky Mobile Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent);
    display: none;
    z-index: 999;
}

.sticky-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 60px;
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
}

.sticky-btn i {
    color: var(--accent);
}

.sticky-btn:first-child {
    border-right: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-play-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-nav);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px;
        gap: 25px;
        border-bottom: 2px solid var(--accent);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
        display: flex;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: 4rem;
    }

    .stats-banner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .sticky-bar {
        display: block;
    }

    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 500px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info,
    .footer-links {
        align-items: center;
        text-align: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html.js .js-animatable {
    opacity: 0;
}

.animate-up {
    animation: fadeInUp 0.8s ease both;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}