/* CraftoriaDeutschland - Modern Human-Written Stylesheet */

:root {
    --bg-dark: #0f141a;
    --bg-card: #18202a;
    --bg-card-hover: #1f2a37;
    --accent-emerald: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.25);
    --accent-gold: #fbbf24;
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 20, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.brand-badge {
    background: var(--accent-emerald);
    color: #000;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
}

.brand-accent {
    color: var(--accent-emerald);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.nav-btn {
    background: var(--accent-emerald);
    color: #064e3b;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-emerald-glow);
    color: #000;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 24px 100px 24px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.12) 0%, rgba(15, 20, 26, 1) 70%);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.status-pill.online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 620px;
    margin: 0 auto 36px auto;
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Server IP Box */
.server-ip-box {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 12px 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.server-ip-box:hover {
    border-color: var(--accent-emerald);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.ip-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    text-align: left;
}

.ip-address {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.server-ip-box:hover .copy-btn {
    background: var(--accent-emerald);
    color: #064e3b;
}

.copy-icon {
    width: 16px;
    height: 16px;
}

/* Stats */
.stats-section {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Gamemodes */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
}

.card-icon {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-emerald);
    color: #064e3b;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.25rem; }
    .stats-grid, .cards-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}