/* Reset & Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body.bg-image-body {
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(rgba(18, 19, 28, 0.92), rgba(12, 13, 20, 0.95)), 
                url('../Bilder & Videos/Hauptseite.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Navbar */
.navbar {
    background-color: #12131c;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.nav-left { display: flex; align-items: center; gap: 20px; }
.menu-btn { width: 28px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; z-index: 1001; }
.menu-btn .bar { width: 100%; height: 3px; background-color: white; border-radius: 2px; transition: all 0.3s ease; }
.menu-btn.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open .bar:nth-child(2) { opacity: 0; }
.menu-btn.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.logo { height: 36px; width: auto; cursor: pointer; }
.nav-center { flex-grow: 1; max-width: 450px; margin: 0 20px; }
.search-input { width: 100%; padding: 9px 18px; border-radius: 20px; border: 1px solid rgba(168, 85, 247, 0.4); outline: none; background-color: #1a1b29; color: white; }
.nav-right { display: flex; align-items: center; gap: 15px; }
.icon-link, .profile-icon { display: flex; align-items: center; cursor: pointer; }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 60px);
    background-color: #12131c;
    transition: left 0.3s ease;
    z-index: 999;
    border-right: 1px solid rgba(168, 85, 247, 0.3);
}
.sidebar.active { left: 0; }
.sidebar ul { list-style: none; padding: 20px; }
.sidebar ul li { margin-bottom: 15px; }
.sidebar ul li a { color: white; text-decoration: none; font-size: 18px; display: block; padding: 8px 12px; border-radius: 6px; }
.sidebar ul li a:hover, .sidebar ul li a.active { background-color: #1e1f2e; color: #a855f7; }

/* Hauptbereich */
.page-content {
    flex: 1;
    padding-top: 90px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 25px;
}

.main-title {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #a855f7, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Shmahm Uhrzeit Box */
.time-card {
    width: 90%;
    max-width: 750px;
    text-align: center;
    background: linear-gradient(135deg, rgba(28, 20, 45, 0.95), rgba(15, 10, 25, 0.9));
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.time-header {
    font-size: 0.9rem;
    color: #c084fc;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-display {
    font-size: 2.2rem;
    font-family: monospace;
    font-weight: bold;
    color: #a855f7;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.date-display {
    font-size: 1.1rem;
    color: #e9d5ff;
    margin-top: 4px;
}

/* Länderauswahl Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1100px;
}

.country-card {
    background: rgba(25, 27, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.country-card.communist:hover { border-color: #ef4444; }
.country-card.capitalist:hover { border-color: #3b82f6; }
.country-card.neutral:hover { border-color: #eab308; }
.country-card.hybrid:hover { border-color: #f97316; }

.country-card h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.system-tag {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.system-tag.red { color: #ef4444; }
.system-tag.blue { color: #3b82f6; }
.system-tag.yellow { color: #eab308; }
.system-tag.orange { color: #f97316; }

.desc {
    font-size: 0.85rem;
    color: #94a3b8;
}

footer {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #aaa;
    background-color: #12131c;
    margin-top: auto;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

@media (max-width: 600px) {
    .countries-grid { grid-template-columns: 1fr; }
}

/* 1. Große Monitore / Extra Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* 2. Normale Laptops & Desktop-Monitore */
@media (max-width: 1200px) {
    .page-content {
        width: 95%;
    }
}

/* 3. Tablets (Querformat) & kleinere Laptops */
@media (max-width: 992px) {
    .support-layout {
        grid-template-columns: 1fr; /* Wechsel von 2 auf 1 Spalte */
    }
}

/* 4. Tablets (Hochformat) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }
    
    .sidebar {
        width: 100%; /* Vollbild-Menü auf Mobilgeräten */
    }
}

/* 5. Smartphones */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .nav-center {
        display: none; /* Suchleiste ausblenden für mehr Platz */
    }

    h1 {
        font-size: 1.5rem;
    }
}