﻿/* =======================
   GLOBAL STYLES
======================= */
/*body {
    margin: 0;
    background: #0c0c0c;
    color: #e2e2e2;
    font-family: Arial, sans-serif;
}*/

html, body {
    height: 100%; /* Body nimmt volle Höhe des Viewports ein */
    margin: 0;
    display: flex;
    flex-direction: column; /* Header, Main, Footer untereinander */
    font-family: Arial, sans-serif;
    background: #0c0c0c;
    color: #e2e2e2;
}

footer {
    text-align: center;
    padding: 15px 0;
    background: #151515;
    border-top: 1px solid #2b2b2b;
    color: #e2e2e2;
    /* Kein position: relative oder absolute mehr nötig */
}

/* =======================
   HEADER / NAVBAR
======================= */
header {
    background: #151515;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2b2b2b;
}

    header .logo img {
        height: 52px;
    }

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

    nav ul li a {
        text-decoration: none;
        text-transform: uppercase;
        color: #dedede;
        transition: .2s ease;
        font-size: 14px;
        font-weight: 600;
    }

        nav ul li a:hover {
            color: #fff;
        }

    /* =======================
   NAVBAR SUBMENU
======================= */
    nav ul li.with-submenu {
        position: relative;
    }

        nav ul li.with-submenu .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #121212;
            border: 1px solid #2d2d2d;
            border-radius: 6px;
            padding: 0;
            min-width: 180px;
            z-index: 10;
            box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        }

        nav ul li.with-submenu:hover .submenu {
            display: block;
        }
    

        nav ul li.with-submenu .submenu ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            width: 100%;
        }

            nav ul li.with-submenu .submenu ul li {
                width: 100%;
            }

          

                nav ul li.with-submenu .submenu ul li a {
                    display: block;
                    width: 100%;
                    padding: 3px 20px; /* kleinerer vertikaler Abstand */
                    color: #e2e2e2;
                    text-decoration: none;
                    font-size: 14px;
                    transition: 0.2s;
                    box-sizing: border-box;
                }

             

                    nav ul li.with-submenu .submenu ul li a:hover {
                        background: #1a1a1a;
                      
                        color: #ffb44a;
                    }

        nav ul li.with-submenu .submenu-bg {
            display: none;
        }

/* =======================
   USERBOX / ACTION BUTTON
======================= */
.userbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .userbox img {
        width: 45px;
        height: 45px;
        border-radius: 4px;
        border: 1px solid #333;
    }

.action-btn {
    padding: 6px 16px;
    border: none;
    cursor: pointer;
    background: #e38d19;
    font-weight: bold;
    border-radius: 4px;
    transition: .2s;
    color: #0c0c0c;
    text-transform: uppercase;
}

    .action-btn:hover {
        background: #ffa930;
        box-shadow: 0 0 8px rgba(255,165,45,0.6);
        transform: translateY(-2px);
    }

/* =======================
   MAIN CONTENT / FRIENDLIST
======================= */
/*main {
    padding: 20px 35px;
}*/

main {
    flex: 1; /* Main nimmt den restlichen Platz zwischen Header und Footer ein */
    display: flex;
    flex-direction: column; /* Falls Main inneren Content flexen soll */
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

/* MAIN AREA */
.main-area {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    /*background: #181818;*/
    border: 1px solid #292929;
    border-radius: 6px;
    padding: 25px;
    flex: 1;
}

.full-width {
    width: 100% !important;
    flex: unset !important;
}

/* FRIENDLIST WRAPPER */
.friend-sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 320px;
}

.friendlist-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffb44a;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* FRIENDLIST */
.friend-sidebar {
    width: 100%;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: #121212;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #2d2d2d;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .friend-sidebar a.friend-entry {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        background: #1a1a1a;
        border-radius: 6px;
        border: 1px solid #222;
        text-decoration: none;
        color: #e2e2e2;
        transition: .18s ease;
    }

        .friend-sidebar a.friend-entry:hover {
            transform: translateY(-2px);
            border-color: #ffb44a;
            box-shadow: 0 0 10px rgba(255,190,100,0.5);
        }

        .friend-sidebar a.friend-entry img {
            width: 50px;
            height: 50px;
            border-radius: 4px;
        }

        .friend-sidebar a.friend-entry div strong {
            font-size: 14px;
            display: block;
        }

        .friend-sidebar a.friend-entry div small {
            opacity: .75;
            font-size: 12px;
        }

        .friend-sidebar a.friend-entry.online div small {
            color: #4caf50;
            font-weight: bold;
        }

        .friend-sidebar a.friend-entry.offline div small {
            color: #888;
            font-weight: normal;
        }

/* =======================
   HOME VIDEO / CTA
======================= */
.home-video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.home-cta {
    text-align: center;
}

.cta-btn {
    padding: 20px 50px;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    background: linear-gradient(90deg, #ffae3d, #ffc469);
    color: #101010;
    text-decoration: none;
    transition: 0.3s;
}

    .cta-btn:hover {
        box-shadow: 0 0 25px rgba(255, 200, 120, 0.9);
        transform: translateY(-3px);
    }

/* =======================
   FEATURE / GALLERY
======================= */
.home-feature-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-box {
    width: 23%;
    min-width: 200px;
    background: #222;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 0 10px #0006;
    transition: .2s ease;
}

    .feature-box:hover {
        transform: translateY(-4px);
        border-color: #ffb44a;
        box-shadow: 0 0 14px rgba(255,180,70,0.6);
    }

    .feature-box img {
        width: 100%;
        border-radius: 4px;
    }

    .feature-box span {
        display: block;
        margin-top: 8px;
        font-weight: bold;
        color: #ffb44a;
        font-size: 16px;
    }

/* =======================
   HARDWARE PAGE
======================= */
.hardware-page {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #e2e2e2;
    font-family: Arial, sans-serif;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    */ /* zentriert den content-wrapper horizontal */
}


.hardware-main.container {
    display: flex;
    flex-direction: row; /* Nebeneinander statt untereinander */
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start; /* Oben ausrichten */
    flex-wrap: nowrap; /* Keine Umbrüche */
}
/*.hardware-main.container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: nowrap;*/ /* keine Zeilenumbruch nötig */
    /*align-items: flex-start;*/ /* main und sidebar am oberen Rand ausrichten */
/*}*/

/*.hardware-requirements.box {
    flex: 1;*/ /* nimmt den restlichen Platz ein */
    /*background: #181818;
    border: 1px solid #292929;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}*/

.hardware-requirements.box {
    flex: 1; /* Nimmt den restlichen Platz ein */
    min-width: 650px; /* Minimum-Größe, damit es nicht zu klein wird */
}

.hardware-requirements h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffb44a;
}

.hardware-requirements ul {
    list-style: none;
    padding: 0;
}

.hardware-requirements li {
    padding: 8px 0;
    border-bottom: 1px solid #2b2b2b;
}

    .hardware-requirements li strong {
        color: #ffc469;
    }

/*.hardware-sidebar {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}*/

.hardware-sidebar {
    flex: 0 0 300px; /* feste Breite für Sidebar */
}

.promo-box {
    background: #121212;
    border: 1px solid #2d2d2d;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

    .promo-box:hover {
        box-shadow: 0 0 15px rgba(255,180,70,0.5);
        transform: translateY(-2px);
    }

.promo-btn {
    display: inline-block;
    padding: 12px 25px;
    margin-bottom: 15px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: bold;
    background: linear-gradient(90deg, #ffae3d, #ffc469);
    color: #101010;
    text-decoration: none;
    transition: 0.3s;
}

    .promo-btn:hover {
        box-shadow: 0 0 12px rgba(255,200,120,0.7);
        transform: translateY(-2px);
    }

.promo-box img {
    width: 100%;
    border-radius: 6px;
    display: block;
    margin-top: 10px;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 900px) {
    .hardware-main.container {
        flex-direction: column;
        gap: 20px;
    }

    .hardware-sidebar {
        flex: 1 1 100%;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .friend-sidebar-wrapper {
        width: 100%;
    }

    .manage-friends {
        text-align: center;
        margin-bottom: 10px;
    }

        .manage-friends .action-btn {
            padding: 8px 20px;
            font-size: 14px;
            background: linear-gradient(90deg, #ffae3d, #ffc469);
            color: #101010;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            display: inline-block;
            transition: 0.2s;
        }

            .manage-friends .action-btn:hover {
                box-shadow: 0 0 10px rgba(255,180,70,0.6);
                transform: translateY(-2px);
            }


    nav ul {
        flex-direction: column;
        gap: 10px;
    }

        nav ul li.with-submenu .submenu {
            position: static;
            box-shadow: none;
        }
}
