/* Premium Version C base + Header E (particles + glow) */

/* Root colors */
:root{
    --bg1: #0e98c9;
    --bg2: #0a7fb0;
    --accent: #00eaff;
    --card-start: rgba(255,255,255,0.03);
    --card-end: rgba(0,0,0,0.20);
}

/* Reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg,var(--bg1),var(--bg2));
    color:#fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

header {
    width: 100%;
    padding: 60px 0;
    background: linear-gradient(to bottom, #012e4a, #014f72);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    border-bottom: 2px solid rgba(0, 255, 255, 0.1);
    text-align: center;
    color: #ffffff;
}

header h1 {
    font-size: 42px;
    margin: 0;
    font-weight: 700;
}

header p {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.85;
}


@keyframes heroPulse{
    0%{ transform: translateY(0); text-shadow:0 8px 18px rgba(0,0,0,0.45); }
    50%{ transform: translateY(-4px); text-shadow:0 20px 40px rgba(0,230,255,0.12); }
    100%{ transform: translateY(0); }
}

/* Server grid */
.server-grid{
    width:92%;
    max-width:1400px;
    margin:28px auto 70px;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
    gap:30px;
    align-items:start;
    z-index:3;
}

/* Server card */
.server-card{
    position:relative;
    overflow:hidden;
    min-height:150px;
    padding:28px 20px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, var(--card-start), var(--card-end));
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 36px rgba(2,10,14,0.35);
    transition: transform 260ms cubic-bezier(.2,.9,.3,1), box-shadow 260ms, border-color 260ms;
    cursor:pointer;
}

/* background images (if provided via data-image) */
.server-card[data-image]:not([data-image=""]){
    background-size: 125%;
    background-position: center 18%;
    background-repeat: no-repeat;
}

/* overlay for text readability */
.server-card::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0.48), rgba(0,0,0,0.22));
    z-index:0;
    transition: background 260ms;
}
.server-card *{ position:relative; z-index:1; }

/* premium hover */
.server-card:hover{
    transform: translateY(-10px) scale(1.025);
    border-color: rgba(0,230,255,0.95);
    box-shadow: 0 38px 60px rgba(3,14,26,0.6);
}
.server-card:hover::before{
    background: linear-gradient(180deg, rgba(0,0,0,0.58), rgba(0,0,0,0.28));
}

/* shine sweep */
.server-card::after{
    content:"";
    position:absolute;
    top:0;
    left:-150%;
    width:60%;
    height:100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.16) 50%, transparent 100%);
    transform:skewX(-22deg);
    transition:left 700ms ease;
    z-index:2;
}
.server-card:hover::after{ left:170%; }

/* content centering */
.server-content{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; }
.server-content h2{ margin:0; font-size:22px; font-weight:700; }
.ip-row{ display:flex; align-items:center; gap:10px; justify-content:center; }
.ip-text{ font-size:14px; opacity:0.95; }
.copy-btn{ padding:6px 10px; border-radius:8px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.04); color:white; cursor:pointer; transition:background 160ms, transform 120ms; }
.copy-btn:hover{ background:rgba(255,255,255,0.08); transform:translateY(-1px); }

.join{ margin-top:8px; font-size:15px; opacity:0.95; }

/* toast */
.toast{ position:fixed; right:18px; bottom:18px; background:rgba(0,0,0,0.72); color:#fff; padding:10px 14px; border-radius:8px; opacity:0; transform:translateY(10px); transition:opacity 180ms, transform 180ms; pointer-events:none; }

/* responsive */
@media (max-width:760px){
    .hero-inner h1{ font-size:22px; }
    .server-grid{ gap:18px; }
    .server-card{ padding:18px; min-height:120px; border-radius:10px; }
}

/* --- DISCORD INFO BOX — VARIANTE B (kleiner, Premium) --- */

.discord-box {
    width: 620px;
    margin: 32px auto;
    background: rgba(16, 64, 92, 0.55);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 18px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 25px rgba(0,0,0,0.30);
    border: 1px solid rgba(255,255,255,0.06);
}

.discord-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.discord-icon {
    width: 55px;
    opacity: 0.95;
}

.discord-text-wrapper {
    display: flex;
    flex-direction: column;
}

.discord-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: white;
}

.discord-sub {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
    color: #d8e7f3;
}

/* Button */
.join-btn {
    background: linear-gradient(90deg, #9d55ff, #c788ff);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(157, 85, 255, 0.55);
    transition: 0.25s ease;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(157, 85, 255, 0.85);
}

/* MOBILE OPTIMIZATION */
@media (max-width: 720px) {
    .discord-box {
        width: 92%;
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        text-align: center;
    }

    .discord-left {
        flex-direction: column;
    }

    .discord-icon { width: 54px; }

    .join-btn {
        width: 100%;
    }
}

.footer {
    text-align: center;
    padding: 20px 0;
    color: #d8e6f0;
    font-size: 14px;
}

.footer hr {
    width: 90%;
    margin: 0 auto 10px auto;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25); /* dünne, dezente Linie */
}

.footer-link {
    color: #b6d7ff;              /* deutlich sanfteres Blau */
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
    color: #cbe4ff;
}

