:root {
    --primary: #00ff88;
    --primary-dim: #00b862;
    --secondary: #9d4edd;
    
    --bg-dark: #121214;
    --bg-card: #1c1c1f;
    
    --text-main: #f0f0f0;
    --text-muted: #888888;
    
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Noise Texture Overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Scanline Effect */
body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(18, 18, 20, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo i { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-login {
    background: var(--primary);
    color: #000 !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px; /* Less round, more tech */
    font-weight: 600 !important;
    transform: skew(-10deg); /* Asymmetric/Tech look */
    display: inline-block;
    transition: all 0.2s;
}

.btn-login i, .btn-login span {
    transform: skew(10deg); /* Unskew text */
}

.btn-login:hover {
    background: var(--primary-dim);
    transform: skew(-10deg) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.login-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
    position: relative;
    /* Organic gradient blob */
    background: radial-gradient(circle at 50% -20%, rgba(0, 255, 136, 0.08), transparent 60%);
}

.badge-new {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.text-gradient {
    color: var(--primary); /* Fallback */
    /* Subtle gradient, not too rainbow */
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.server-ip-box {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: all 0.3s;
    /* Hand-made feel: slightly rotated border radius */
    border-radius: 2px 10px 2px 10px;
}

.server-ip-box:hover {
    border-color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

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

.login-info {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-info code {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.1);
    padding: 0.2rem 0.5rem;
}

/* Login Box Styling */
.login-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 400px;
    margin: 3rem auto 0; /* Center horizontally */
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect for login box */
.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.login-box h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-align: center;
}

.input-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s;
}

.input-group input {
    width: 100%;
    background-color: #252528 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1rem 1rem 3rem; /* Space for icon */
    color: #fff !important;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #2a2a2d !important;
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
}

.input-group input:focus + i,
.input-group:focus-within i {
    color: var(--primary);
}

.login-box .btn-login {
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem;
    font-size: 1.1rem;
    text-align: center;
    transform: none; /* Reset skew for this button if needed, or keep it */
    border: none;
    cursor: pointer;
}

.login-box .login-info {
    margin-top: 1.5rem;
    padding: 0.8rem;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    border-radius: 6px;
}

/* Container & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 8rem 0;
}

.section-header {
    text-align: left; /* Less symmetric */
    margin-bottom: 4rem;
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
}

.section-header h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grids */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards - Humanized/Less AI */
.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    /* Asymmetry */
    border-top-right-radius: 20px;
    border-bottom-left-radius: 5px;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: #252528;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-box.fire { color: #ff5e00; border-color: rgba(255, 94, 0, 0.3); }
.icon-box.bot { color: #5865F2; border-color: rgba(88, 101, 242, 0.3); }

.project-card h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.project-card .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    display: inline-block;
}

.status-bearbeitung { color: #eebb00; border: 1px solid #eebb00; }
.status-planung { color: var(--secondary); border: 1px solid var(--secondary); }

/* Progress Bars - Thin and Technical */
.progress-container {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--primary);
}

.progress-text {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--primary);
}

/* Stats Table */
.stats-table-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-card);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 1.5rem;
    font-family: var(--font-head);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-family: 'Courier New', monospace;
}

.rank-cell { color: var(--primary); font-weight: bold; }

.player-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.player-cell img {
    width: 32px;
    height: 32px;
    filter: grayscale(20%); /* Less saturated look */
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-main); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .nav-links { display: none; }
    .section-header { text-align: center; border-left: none; padding-left: 0; }
}

/* Enhanced Roadmap & Shop Styling */

/* Glassmorphism Cards */
.project-card {
    background: rgba(28, 28, 31, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.project-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1), 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

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

/* Thicker, glowing progress bar */
.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary), #00ffaa);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Shop specific */
.shop-card .card-header h3 {
    text-shadow: 0 0 20px currentColor;
}

/* Feature Grid (Admin/Dashboard) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.feature-card h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Admin Nav */
.admin-nav .btn-login {
    background: rgba(255,255,255,0.05);
    color: var(--text-main) !important;
}

.admin-nav .btn-login:hover, .admin-nav .btn-login.active {
    background: var(--primary);
    color: #000 !important;
}


/* --- Header Fixes --- */
.nav-links {
    gap: 1.5rem; /* Reduced from 2.5rem to fit more items */
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* --- Timeline Roadmap Design --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* The vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-dark);
    border: 3px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: ' ';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid rgba(255, 255, 255, 0.05);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.05);
}

.right::before {
    content: ' ';
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid rgba(255, 255, 255, 0.05);
    border-width: 10px 10px 10px 0;
    border-color: transparent rgba(255, 255, 255, 0.05) transparent transparent;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background: rgba(28, 28, 31, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'Courier New', monospace;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .left::after, .right::after {
        left: 21px;
    }
    
    .right {
        left: 0%;
    }
}

