/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0f0f0f;
    color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header med baggrund */
header {
    position: relative;
    height: 300px;
    background: url("../img/bg.png") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header .overlay {
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

header .logo h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff9966, #8f94fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header .logo p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Om os sektion */
.about {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    line-height: 1.6;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #8f94fb;
}

.about p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 15px;
}

/* Server cards grid */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.server-card {
    display: block;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    background: #1a1a1a;
}

.server-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.server-card h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.server-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Temaer til kort */
.server-card.fantasy {
    border-top: 5px solid #ff5e62;
}

.server-card.xgame {
    border-top: 5px solid #00c6ff;
}

.server-card.bed {
    border-top: 5px solid #f89008;
}

/* Hover effekt */
.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

footer {
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    background: #111;
    border-top: 1px solid #222;
}


