/* Grund-Einstellungen */
body {
    margin: 0;
    padding: 0;
    /* Nutzt nur Schriften, die der User bereits installiert hat */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding: 60px 0;
    box-sizing: border-box;
    position: relative;
}

.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 20, 0.85);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Header */
header h1 {
    font-size: 3rem;
    margin-bottom: 0.2rem;
    letter-spacing: 2px;
    font-weight: 900;
}
header h1 span { color: #00d2ff; }
header p { opacity: 0.7; margin-bottom: 3rem; }

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 4rem;
}

/* Karten Design */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #00d2ff;
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.2);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #00d2ff;
}

.card h2 { margin: 0; font-size: 1.6rem; font-weight: 700; }
.card p { margin: 10px 0 20px 0; font-size: 0.95rem; opacity: 0.6; }

/* Button Styles */
.btn {
    background: #00d2ff;
    color: #0b0f19;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.card:hover .btn { background: white; }

/* Spezial-Buttons & Sektionen */
.double-btn-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn.small {
    flex: 1;
    padding: 10px 5px;
    font-size: 0.8rem;
    border-radius: 8px;
    justify-content: center;
}

.nether-btn { background: #c0392b !important; color: white !important; }
.farm-btn { background: #2ecc71 !important; color: white !important; }
.atm-btn { background: #f1c40f !important; color: #000 !important; }
.mining-btn { background: #7f8c8d !important; color: white !important; }
.palworld-btn { background: #3498db !important; color: white !important; }

/* Footer */
footer {
    margin-top: 2rem;
    padding-bottom: 2rem;
}
.footer-links a, .legal-links a {
    color: #00d2ff;
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.7;
    transition: 0.3s;
}
.footer-links a:hover, .legal-links a:hover { opacity: 1; text-decoration: underline; }
.legal-links { margin-top: 15px; font-size: 0.8rem; opacity: 0.6; }

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    body { padding: 40px 0; align-items: flex-start; }
    
    header h1 { font-size: 2.2rem; }
    
    .grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 10px;
    }

    .double-btn-container {
        flex-direction: column;
    }

    .btn.small {
        width: 100%;
        padding: 15px;
        margin-bottom: 5px;
    }

    .card {
        padding: 1.5rem;
    }
}

    margin-bottom: 0.2rem;
