/* Grundlayout */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: radial-gradient(circle at top, #6236ff 0, #1a1029 40%, #05010a 100%);
    color: #f4f4f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(5, 1, 20, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5e4ff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #d2c4ff;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffbf00, #ff4b9b);
    transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Container & Layout */
.main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #b7a7ff;
    margin-bottom: 2rem;
}

/* Cards / Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(10, 5, 35, 0.9);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #cbb7ff;
}

.tag {
    background: rgba(98, 54, 255, 0.2);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.75rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
}

.card-meta {
    font-size: 0.8rem;
    color: #9f8ff0;
}

/* Fake Video-Thumbnail */
.video-thumb {
    position: relative;
    border-radius: 0.6rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffbf00, #ff4b9b);
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #2b1020;
    font-weight: 700;
}

.play-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 0, 12, 0.5);
}

.play-icon::before {
    content: "";
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 2px;
}

/* Rating (Stars) */
.stars {
    display: inline-flex;
    gap: 0.1rem;
    font-size: 1rem;
    color: #ffbf00;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ffbf00, #ff4b9b);
    color: #1d0620;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e5d8ff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Forms */
.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-row label {
    font-size: 0.9rem;
    color: #d5c7ff;
}

.form-row input,
.form-row textarea,
.form-row select {
    background: rgba(10, 5, 35, 0.9);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem 0.7rem;
    color: #f4f4f8;
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

/* Kommentarbereich */
.comments {
    margin-top: 1.5rem;
}

.comment {
    margin-top: 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.5rem;
    background: rgba(15, 7, 40, 0.9);
    font-size: 0.85rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    color: #c7b6ff;
}

/* Footer */
.footer {
    padding: 1rem 2rem;
    font-size: 0.8rem;
    color: #a191ff;
    background: rgba(5, 1, 20, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

/* Responsive */
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .main {
        margin-top: 1.5rem;
    }
}
