:root {
    --cs2-orange: #ff6a00;
    --cs2-orange-soft: rgba(255,106,0,0.15);
    --btn-blue: rgba(76,106,255,0.8);
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* verhindert horizontales Scrollen */
}

body {
	background: url('images/bg2.jpg') no-repeat center center fixed;
    background-size: cover; /* Bild füllt immer den Screen */
    background-color: #2b2b29;
    color: #fff;
	display: flex;
    flex-direction: column;
}

/* Optional: Overlay für bessere Lesbarkeit */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: -1;
    pointer-events: none;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    flex: 1; /* füllt die Höhe zwischen Header und Footer */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ================= MAIN WRAPPER ================= */
.main-width {
    width: 100%;
    max-width: 1100px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ================= HEADER ================= */
header {
    margin-bottom: 40px;
}

header img {
    width: 160px;
    height: auto;
}

/* ================= CONTENT ================= */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* ================= TEXT ================= */
.main-text h1 {
    font-size: clamp(36px, 5vw, 48px);
    text-shadow: 0 0 20px var(--cs2-orange-soft);
    font-weight: 600;
    letter-spacing: 1px;
}

.main-text h3 {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

.main-text p {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85;
}

/* ================= SERVER INFO ================= */
.server-info {
    line-height: 1.6;
    font-size: 14px;
    opacity: 0.9;
}

/* ================= BUTTONS ================= */
.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.buttons a {
    text-decoration: none;
    color: white;
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background: var(--btn-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.buttons a:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 25px var(--cs2-orange-soft);
    color: #000;
}

.buttons a.cta {
    background: rgba(255,255,255,0.4);
}

.buttons a.cta:hover {
    background: rgba(255,255,255,0.9);
}

/* ================= BLINK EFFECT ================= */
.blink {
    animation: blinking 2.5s linear infinite;
}

@keyframes blinking {
    0%,100% { opacity: 0; }
    50% { opacity: 1; }
}

/* ================= SOCIAL ================= */
.social {
    margin-top: 30px;
}

.social a {
    color: #b5b5b5;
    font-size: 30px;
    transition: 0.3s ease;
}

.social a:hover {
    color: white;
    transform: scale(1.3);
}

/* ================= SIDE IMAGE ================= */
.image {
    position: absolute;
    right: -120px;
    bottom: 0;
    pointer-events: none;
    opacity: 0.7;
}

.image img {
    height: 600px;
}

@media (max-width: 400px) {
    .server-panels {
        grid-template-columns: 1fr; /* eine Spalte */
        gap: 20px; /* optional, kleinere Abstände */
    }
}

/* ================= SERVER PANELS ================= */
.server-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.server-panel {
    background: rgba(26,26,26,0.45);
    border: 1px solid var(--cs2-orange-soft);
    padding: 16px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.server-panel:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.05);
}

.server-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.server-panel li {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    justify-content: space-between;
}

.server-panel li span {
    color: var(--cs2-orange);
    min-width: 90px;
    text-align: left;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.server-panel li:last-child { border-bottom: none; }

/* ================= MIDDLE NOTICE ================= */
.server-notice {
    margin: 30px 0;
    font-weight: 500;
    opacity: 0.8;
    font-size: 14px;
    text-align: center;
    letter-spacing: 1px;
}

/* ================= FOOTER ================= */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
    padding: 6px 0;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.5);
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* damit der Content drüber liegt */
    pointer-events: none; /* Klicks passieren durch das Video hindurch */
}

.video-bg iframe {
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Video füllt den gesamten Container */
}

.heart {
    color: red;
    display: inline-block;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); } /* Herz wird größer in der Mitte */
}

/* ================= LARGE SCREENS ================= */
@media (min-width: 1200px) {
    .main-width { max-width: 1400px; }
    .server-panels { max-width: 900px; gap: 40px; }
    .main-text h1 { font-size: 56px; }
}