/* Global Styles */
* {
    margin: 0;
    padding: 0;
}

html, body { 
  height: 100%; 
  margin: 0; 
  contain: content;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('images/galaxy.jpg') no-repeat center center fixed;
    background-size: cover;
}

header {
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    justify-content: space-between;
    align-items: center;
	z-index: 1000;
}
.header-info {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    text-shadow: 1px 1px 2px black;
}

.content-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.content-box2 {
    background: rgba(0, 0, 0, 0.7);
    height: 80vh;
    padding: 10vh;
    border-radius: 10px;
	overflow: scroll;
}

.content-box3 {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    display: inline-block;
    max-width: calc(100% - 20px); /* der Abstand von 10px auf beiden Seiten */
    color: white;
}

.content-box4 {
	width: 100%;  /* Breite der Box */
    height: 100%; /* Höhe der Box */
	overflow: auto;
    max-width: calc(100% - 20px); /* der Abstand von 10px auf beiden Seiten */
	max-height: 85%;
    color: white;
}

.container { 
    display: flex;
    flex-direction: column;
	flex-wrap: wrap;
    gap: 20px;
}

.tasks-container {
    display: flex;
    flex-wrap: wrap; /* Ermöglicht das Umfließen der Tasks in die nächste Reihe */
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 oder 3 Spalten, je nach verfügbarem Platz */
    gap: 20px; /* Abstand zwischen den Tasks */
    justify-content: center; /* Zentriert die Tasks */
	padding: 20px;
	box-sizing: border-box;
}

.task {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

.task-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFFFFF;
}


.progress-bar, .difficulty-bar {
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

.progress-label, .difficulty-label {
    font-size: 16px;
    color: white;
    margin-bottom: 2px;
    margin-top: 8px;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: var(--target-width); /* Zielbreite, die durch JavaScript festgelegt wird */
    }
}

.progress {
    background: linear-gradient(90deg, #ff4500, #ff8c00);
    height: 20px;
    width: 0; /* Startbreite der Balken */
    animation: fillProgress 2s ease-out forwards; /* Animiert die Breite auf den Zielwert */
}

.difficulty {
    background: linear-gradient(90deg, #1e90ff, #00bfff);
    height: 20px;
    width: 0; /* Startbreite der Balken */
    animation: fillProgress 2s ease-out forwards; /* Animiert die Breite auf den Zielwert */
}

.progress-text, .difficulty-text {
    position: center;
    text-align: center;
    line-height: 20px; /* Höhe der Balken */
    color: white;
    font-weight: bold;
}

.more-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #ff8c00;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.more-info:hover {
    background-color: #ff4500;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Sicherstellen, dass das Popup oben angezeigt wird */
	transition: all 1.0s ease; /* Alle Änderungen werden über 0.3 Sekunden überblendet */
	
}

.popup-content {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%; /* Maximale Breite auf 90% des Viewports beschränken */
    max-height: 90%; /* Maximale Höhe auf 90% des Viewports beschränken */
    overflow-y: auto; /* Falls der Inhalt zu groß ist, wird eine Scroll-Leiste angezeigt */
    position: relative; /* Ermöglicht die absolute Positionierung des Schließ-Buttons */
	animation: popup-animation 0.3s ease-out;
}

/* Wenn die Klasse 'visible' hinzugefügt wird, wird das Popup eingeblendet */
.popup.visible {
    opacity: 1;
    transform: scale(1);
	
    visibility: visible; /* Popup sichtbar machen */
}

/* Wenn die Klasse 'hidden' hinzugefügt wird, wird das Popup ausgeblendet */
.popup.hidden {
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden; /* Popup unsichtbar machen */
}

@keyframes popup-animation {
    from {
        transform: scale(0.8);
        opacity: 0;
		display: none;
    }
    to {
        transform: scale(1);
        opacity: 1;
		display: flex;
    }
}

@keyframes popup-animation-closing {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    z-index: 1001; /* Sicherstellen, dass der Button immer sichtbar ist */
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

nav {
    background: rgba(25, 31, 52, 0.6);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
	position: relative;
}

nav a::after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 3px;
    background: aqua;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

nav a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

nav a:hover {
    background: rgba(25, 31, 52, 0.9);
	text-decoration: underline;
}

.nav a::after{
    content: " ";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: aqua;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.nav a:hover::after{
    transform-origin: left;
    transform: scaleX(1);
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
	transition: transform .5s ease, height .2s ease;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

.menu-button {
    display: none;
}

@media (max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menu-button {
        display: block;
    }
}

@media (max-width: 800px) {
    .task {
        width: calc(100% - 20px); /* Einzelne Spalte auf mobilen Geräten */
		
		overflow: auto;
    }
	.tasks-container {
		display: flex; /* Container wird ein Flex-Container */
		margin: 15% auto;
		
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}

/* ===== Generic Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: rgba(15, 20, 40, 0.95);
    color: white;
    margin: 15% auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 80%;
    max-width: 540px;
    border-radius: 16px;
}

.close {
    color: rgba(255,255,255,0.4);
    float: right;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}
.close:hover { color: white; }

/* ===== Auth Modals 2026 ===== */
.auth-modal {
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    background: rgba(4, 7, 18, 0.72);
    overflow: hidden;
}

.auth-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: calc(100vw - 32px);
    background: rgba(13, 17, 38, 0.97);
    border: 1px solid rgba(0, 229, 255, 0.13);
    border-radius: 24px;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: auth-slide-in 0.36s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    color: #fff;
    margin: 0;
    width: 420px;
}

@keyframes auth-slide-in {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 22px)) scale(0.95); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.auth-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    padding: 0;
    font-family: inherit;
}
.auth-close:hover { background: rgba(255, 255, 255, 0.13); color: #fff; }

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3);
    letter-spacing: -0.5px;
}

.auth-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
    letter-spacing: -0.3px;
}
.auth-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
}

/* Floating label input fields */
.auth-field {
    position: relative;
    margin-bottom: 14px;
}

.auth-field input {
    width: 100%;
    padding: 22px 16px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    color: #fff;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    outline: none;
    font-family: inherit;
}
.auth-field input:focus {
    border-color: rgba(0, 229, 255, 0.48);
    background: rgba(0, 229, 255, 0.035);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.07);
}

.auth-field label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.38);
    font-size: 14px;
    pointer-events: none;
    transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}
.auth-field input:focus + label,
.auth-field input:not(:placeholder-shown) + label {
    top: 8px;
    transform: none;
    font-size: 10px;
    color: #00e5ff;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.auth-field--pw input { padding-right: 44px; }

.auth-pw-toggle {
    position: absolute;
    right: 11px;
    top: 17px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    line-height: 1;
}
.auth-pw-toggle:hover  { color: rgba(255, 255, 255, 0.65); }
.auth-pw-toggle.active { color: #00e5ff; }

.auth-field-error {
    font-size: 12px;
    color: #ff4d6d;
    margin-top: 5px;
    padding-left: 4px;
    display: none;
}

.auth-message {
    min-height: 18px;
    font-size: 13px;
    color: #ff4d6d;
    text-align: center;
    margin-bottom: 8px;
}
.auth-message.success { color: #00e5a0; }

.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(0, 229, 255, 0.2);
    letter-spacing: 0.2px;
    font-family: inherit;
    margin-top: 6px;
}
.auth-btn:hover  { opacity: 0.88; box-shadow: 0 6px 26px rgba(0, 229, 255, 0.35); transform: translateY(-1px); }
.auth-btn:active { transform: translateY(0); opacity: 0.8; }

.auth-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.auth-footer a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: color 0.2s;
}
.auth-footer a:hover  { color: #00e5ff; }
.auth-footer a strong { color: #00e5ff; font-weight: 600; }

@media (max-width: 480px) {
    .auth-modal-content { padding: 28px 20px; width: calc(100vw - 24px); }
}

/* 404 Error Page Styles */
.error-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 85vh;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

.error-image {
    max-width: 80%;
    max-height: 80%;
    margin-bottom: 20px;
}
.home-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #CC6600;
    text-decoration: none;
    border-radius: 10px;
}
.home-button:hover {
    background-color: #FF8000;
    color: #E0E0E0;
}
.link-button {
            display: inline-block;
            padding: 10px 20px;
            margin: 10px;
            font-size: 16px;
            color: #fff;
            background-color: #007bff;
            text-decoration: none;
            border-radius: 5px;
        }
.link-button:hover {
	background-color: #0056b3;
}

.input-container {
    position: relative;
    margin-bottom: 15px;
}

.input-container label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
}

.input-container input {
    width: calc(100% - 40px);
    padding: 10px 10px 10px 40px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.input-container input:focus {
    border-color: aqua;
    outline: none;
}

.error-message {
    color: red;
    font-size: 0.875em;
    margin-top: 5px;
    display: none;
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: aqua;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
}

.login-form {
    width: 100%;
}

.login-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: aqua;
    color: black;
    font-size: 1em;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #0056b3;
    color: white;
}

.back-to-login-link {
    text-align: center;
    margin-top: 20px;
}

.back-to-login-link a {
    color: aqua;
    text-decoration: none;
}

.back-to-login-link a:hover {
    text-decoration: underline;
}

/* ===== Header Nav Actions ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}

.nav-bell {
    position: relative;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}
.nav-bell:hover { background: rgba(255,255,255,0.13); color: #fff; }

.nav-bell-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    background: #ff4d6d;
    border-radius: 50%;
    border: 2px solid rgba(25,31,52,0.95);
}

.nav-user-wrap { position: relative; }

.nav-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
    font-family: inherit;
    box-shadow: 0 2px 10px rgba(0,229,255,0.2);
}
.nav-avatar:hover { box-shadow: 0 4px 20px rgba(0,229,255,0.4); transform: translateY(-1px); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: rgba(13, 17, 38, 0.98);
    border: 1px solid rgba(0,229,255,0.12);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}
.nav-dropdown.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.nav-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
}

.nav-dropdown-avatar {
    width: 40px;
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.nav-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-dropdown-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-dropdown-role {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: capitalize;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 4px 2px;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-dropdown-item svg { flex-shrink: 0; opacity: 0.7; }
.nav-dropdown-item:hover svg { opacity: 1; }

.nav-dropdown-logout { color: rgba(255,77,109,0.8); }
.nav-dropdown-logout:hover { background: rgba(255,77,109,0.08); color: #ff4d6d; }

.nav-login-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #00e5ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.nav-login-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

/* ===== Projekte — Holographic Sci-Fi Cards ===== */

.proj-page {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 100px;
    box-sizing: border-box;
}

.proj-page-title {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 16px;
}
.proj-page-title h1 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.proj-page-title p {
    font-size: 12px;
    color: rgba(0, 229, 255, 0.5);
    margin-top: 8px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
}

/* The card */
.proj-card {
    position: relative;
    background: rgba(4, 7, 18, 0.88);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 12px;
    padding: 22px;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.15s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

/* HUD corner brackets */
.proj-card::before,
.proj-card::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    transition: width 0.3s ease, height 0.3s ease;
}
.proj-card::before {
    top: 0; left: 0;
    border-top: 2px solid #00e5ff;
    border-left: 2px solid #00e5ff;
    border-radius: 3px 0 0 0;
}
.proj-card::after {
    bottom: 0; right: 0;
    border-bottom: 2px solid #00e5ff;
    border-right: 2px solid #00e5ff;
    border-radius: 0 0 3px 0;
}
.proj-card:hover::before,
.proj-card:hover::after {
    width: 22px;
    height: 22px;
}

.proj-card:hover {
    border-color: rgba(0, 229, 255, 0.45);
    box-shadow:
        0 0 25px rgba(0, 229, 255, 0.12),
        0 0 60px rgba(0, 229, 255, 0.04),
        inset 0 1px 0 rgba(0, 229, 255, 0.08);
}
.proj-card.expanded {
    border-color: rgba(0, 229, 255, 0.65);
    box-shadow:
        0 0 40px rgba(0, 229, 255, 0.22),
        0 0 90px rgba(0, 229, 255, 0.08);
}

/* Scanner sweep line */
.proj-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 229, 255, 0.05) 50%,
        transparent 100%
    );
    pointer-events: none;
    opacity: 0;
    transform: translateY(-110%);
}
.proj-card:hover .proj-scanner {
    opacity: 1;
    animation: proj-scan 2.2s ease-in-out infinite;
}
@keyframes proj-scan {
    0%   { transform: translateY(-110%); }
    100% { transform: translateY(200%); }
}

/* Card header row */
.proj-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.proj-icon {
    font-size: 16px;
    color: rgba(0, 229, 255, 0.6);
    font-family: 'Courier New', monospace;
}

/* Status badges */
.proj-status {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
}
.status-planned  { background: rgba(120,120,150,0.18); color: rgba(180,180,210,0.85); border: 1px solid rgba(120,120,150,0.35); }
.status-dev      { background: rgba(255,140,0,0.13);   color: #ff8c00;                border: 1px solid rgba(255,140,0,0.38); }
.status-active   { background: rgba(0,229,255,0.10);   color: #00e5ff;                border: 1px solid rgba(0,229,255,0.38); box-shadow: 0 0 8px rgba(0,229,255,0.18); }
.status-done     { background: rgba(0,229,160,0.10);   color: #00e5a0;                border: 1px solid rgba(0,229,160,0.38); }

/* Title */
.proj-title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Divider */
.proj-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(0,229,255,0.35), transparent);
    margin: 10px 0 12px;
}

/* Short preview (2 lines, clipped) */
.proj-preview {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Expand toggle button row */
.proj-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 229, 255, 0.5);
    font-family: 'Courier New', monospace;
    transition: color 0.25s;
    -webkit-user-select: none;
    user-select: none;
}
.proj-card:hover .proj-toggle { color: rgba(0, 229, 255, 0.9); }

.proj-toggle-arrow {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
}
.proj-card.expanded .proj-toggle-arrow {
    transform: rotate(180deg);
}

/* Expandable details area */
.proj-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.55s ease, opacity 0.4s ease;
}
.proj-card.expanded .proj-details {
    max-height: 420px;
    opacity: 1;
}

.proj-details-inner {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 14px;
}

.proj-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.68);
    line-height: 1.75;
    margin-bottom: 18px;
}

/* Metric bars */
.proj-metrics {
    display: flex;
    gap: 18px;
}
.proj-metric {
    flex: 1;
}
.proj-metric-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 6px;
    font-family: 'Courier New', monospace;
}
.proj-metric-bar {
    height: 3px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    overflow: hidden;
}
.proj-metric-fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.proj-metric-fill.fill-progress   { background: linear-gradient(90deg, #00e5ff, #7c3aed); }
.proj-metric-fill.fill-difficulty { background: linear-gradient(90deg, #7c3aed, #ff4d6d); }
.proj-card.expanded .proj-metric-fill { width: var(--fill-w); }

.proj-metric-value {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    margin-top: 5px;
    font-family: 'Courier New', monospace;
}

/* Admin controls inside card */
.proj-admin {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.proj-admin-btn {
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
}
.proj-admin-btn:hover { background: rgba(255,255,255,0.13); color: #fff; }
.proj-admin-btn.danger { border-color: rgba(255,77,109,0.3); color: rgba(255,77,109,0.7); }
.proj-admin-btn.danger:hover { background: rgba(255,77,109,0.1); color: #ff4d6d; }
.proj-admin-btn form { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .proj-grid { grid-template-columns: 1fr; padding: 0 12px; }
    .proj-page-title h1 { font-size: 22px; }
}

/* Override main's named-area grid for blog page */
main.cb-main {
    display: block;
    padding: 0;
    min-height: unset;
}

.cb-layout {
    display: grid;
    grid-template-columns: 260px 1fr 250px;
    grid-template-areas: "sidebar feed aside";
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 20px 48px;
    align-items: start;
}

/* ── Panels ── */
.cb-panel {
    background: rgba(0, 8, 20, 0.92);
    border: 1px solid rgba(0, 240, 255, 0.22);
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
}

.cb-panel::before,
.cb-panel::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: #00f0ff;
    border-style: solid;
    transition: width 0.3s, height 0.3s;
    pointer-events: none;
    z-index: 1;
}
.cb-panel::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.cb-panel::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.cb-panel:hover::before,
.cb-panel:hover::after { width: 16px; height: 16px; }

.cb-panel-hdr {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.18);
    background: rgba(0, 240, 255, 0.04);
}
.cb-panel-hdr span {
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    color: #00f0ff;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.55);
}

/* ── Grid areas ── */
.cb-sidebar { grid-area: sidebar; }
.cb-feed    { grid-area: feed; }
.cb-aside   { grid-area: aside; }

/* ── Categories ── */
.cb-cat-list {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cb-cat-item {
    display: flex;
    align-items: center;
    padding: 7px 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(0, 240, 255, 0.6);
    text-decoration: none;
    letter-spacing: 1px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
}
.cb-cat-item:hover,
.cb-cat-item.active {
    color: #00f0ff;
    border-left-color: #00f0ff;
    background: rgba(0, 240, 255, 0.06);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.45);
    padding-left: 18px;
}
.cb-cat-item.active::after {
    content: '◀';
    position: absolute;
    right: 10px;
    font-size: 0.55rem;
    color: #00f0ff;
}

/* ── Popular list ── */
.cb-popular-list {
    list-style: none;
    padding: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cb-popular-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}
.cb-popular-item:hover {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.05);
}

.cb-popular-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 26px;
    text-align: center;
}

.cb-popular-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cb-popular-title {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cb-popular-views {
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    color: #ff00aa;
    letter-spacing: 1px;
}

.cb-popular-popup {
    display: none;
    position: absolute;
    left: calc(100% + 8px);
    top: 0;
    width: 220px;
    background: rgba(0, 8, 20, 0.97);
    border: 1px solid rgba(0, 240, 255, 0.4);
    padding: 12px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 200;
    line-height: 1.55;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.1);
}
.cb-popular-item:hover .cb-popular-popup { display: block; }

/* ── Search ── */
.cb-search {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cb-search-input {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: #00f0ff;
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.74rem;
    letter-spacing: 1px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cb-search-input::placeholder { color: rgba(0, 240, 255, 0.28); }
.cb-search-input:focus {
    border-color: rgba(0, 240, 255, 0.65);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.12) inset;
}

.cb-search-btn {
    background: transparent;
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #00f0ff;
    padding: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
.cb-search-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
}

/* ── Blog Cards ── */
.cb-card {
    display: flex;
    background: rgba(0, 8, 20, 0.88);
    border: 1px solid rgba(0, 240, 255, 0.18);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    cursor: pointer;
}
.cb-card:hover {
    border-color: rgba(0, 240, 255, 0.6);
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.1), inset 0 0 40px rgba(0, 240, 255, 0.02);
    transform: translateY(-2px);
}

/* HUD corner brackets on cards */
.cb-card::before,
.cb-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: rgba(0, 240, 255, 0.45);
    border-style: solid;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    z-index: 2;
    pointer-events: none;
}
.cb-card::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.cb-card::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.cb-card:hover::before,
.cb-card:hover::after {
    width: 20px;
    height: 20px;
    border-color: #00f0ff;
}

/* Scanner sweep */
.cb-card-scanner {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00f0ff 50%, transparent 100%);
    transform: translateY(-4px);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}
.cb-card:hover .cb-card-scanner {
    animation: cb-scan 1.5s ease-in-out;
}
@keyframes cb-scan {
    0%   { transform: translateY(-4px); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateY(500px); opacity: 0; }
}

/* Card image */
.cb-card-img {
    width: 210px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.cb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.72) saturate(0.75);
    transition: filter 0.35s, transform 0.45s;
}
.cb-card:hover .cb-card-img img {
    filter: brightness(0.9) saturate(1.15);
    transform: scale(1.05);
}
.cb-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(0, 8, 20, 0.82));
}

/* Card body */
.cb-card-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.cb-card-cat {
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    letter-spacing: 3px;
    color: #ff00aa;
    text-shadow: 0 0 6px rgba(255, 0, 170, 0.45);
    text-transform: uppercase;
}

.cb-card-title {
    font-size: 1.08rem;
    color: #ddf4ff;
    margin: 0;
    line-height: 1.32;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    transition: color 0.2s, text-shadow 0.2s;
}
.cb-card:hover .cb-card-title {
    color: #00f0ff;
    text-shadow: 0 0 18px rgba(0, 240, 255, 0.38);
}

.cb-card-excerpt {
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.62;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta bar */
.cb-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.cb-meta-item {
    font-family: 'Courier New', monospace;
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
}
.cb-meta-lbl {
    color: rgba(0, 240, 255, 0.58);
    margin-right: 4px;
}

/* CTA link */
.cb-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: #00f0ff;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    align-self: flex-start;
    transition: border-color 0.2s, text-shadow 0.2s;
}
.cb-card-cta:hover {
    border-bottom-color: #00f0ff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.55);
}
.cb-cta-arrow {
    display: inline-block;
    transition: transform 0.2s;
}
.cb-card-cta:hover .cb-cta-arrow { transform: translateX(4px); }

/* No results */
.cb-no-results {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(0, 240, 255, 0.4);
    letter-spacing: 2px;
    text-align: center;
    padding: 40px 0;
}

/* ── Pilot (User Profile) ── */
.cb-pilot-panel { text-align: center; }

.cb-pilot-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 16px auto 10px;
}
.cb-pilot-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(0, 240, 255, 0.4);
    display: block;
}
.cb-pilot-ring {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.3);
    animation: cb-ring-pulse 2.6s ease-in-out infinite;
}
@keyframes cb-ring-pulse {
    0%, 100% { transform: scale(1);    opacity: 0.35; }
    50%       { transform: scale(1.1); opacity: 1; }
}

.cb-pilot-name {
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
    letter-spacing: 2px;
    color: #00f0ff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cb-pilot-xp { padding: 0 14px 12px; }
.cb-xp-lbl {
    display: flex;
    justify-content: space-between;
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    color: rgba(0, 240, 255, 0.65);
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.cb-xp-bar {
    height: 4px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    overflow: hidden;
}
.cb-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f0ff, #0066ff);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
    transition: width 0.7s ease;
}

.cb-pilot-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    margin: 0 0 10px;
}
.cb-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 9px 4px;
    gap: 3px;
    background: rgba(0, 240, 255, 0.02);
    border: 1px solid rgba(0, 240, 255, 0.05);
}
.cb-stat-lbl {
    font-family: 'Courier New', monospace;
    font-size: 0.58rem;
    letter-spacing: 1px;
    color: rgba(0, 240, 255, 0.48);
}
.cb-stat-val {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    color: #ddf4ff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.28);
}

.cb-pilot-quests {
    padding: 6px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cb-quest-item {
    font-family: 'Courier New', monospace;
    font-size: 0.63rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.cb-quest-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}
.cb-quest-dot.active {
    background: #00f0ff;
    box-shadow: 0 0 6px #00f0ff;
}

/* ── Login prompt ── */
.cb-login-panel { text-align: center; }
.cb-login-prompt { padding: 16px 14px 20px; }
.cb-lock-icon {
    font-size: 2.4rem;
    color: rgba(0, 240, 255, 0.28);
    display: block;
    margin-bottom: 10px;
    animation: cb-ring-pulse 2.2s ease-in-out infinite;
}
.cb-login-prompt p {
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 1px;
    margin: 0 0 14px;
}
.cb-login-btn {
    display: inline-block;
    padding: 8px 18px;
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, 0.45);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}
.cb-login-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.28);
}

/* ── Leaderboard ── */
.cb-leaderboard {
    padding: 8px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cb-rank-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: border-color 0.2s, background 0.2s;
}
.cb-rank-card:hover {
    border-color: rgba(0, 240, 255, 0.38);
    background: rgba(0, 240, 255, 0.04);
}
.cb-rank-card img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.28);
    flex-shrink: 0;
}
.cb-rank-num {
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    color: rgba(0, 240, 255, 0.45);
    min-width: 20px;
}
.cb-rank-card.rank-1 .cb-rank-num { color: #ffd700; }
.cb-rank-card.rank-2 .cb-rank-num { color: #c0c0c0; }
.cb-rank-card.rank-3 .cb-rank-num { color: #cd7f32; }

.cb-rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.cb-rank-name {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cb-rank-level {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: rgba(0, 240, 255, 0.48);
    letter-spacing: 1px;
}
.cb-rank-badge {
    color: rgba(0, 240, 255, 0.35);
    font-size: 1rem;
    flex-shrink: 0;
}
.cb-rank-card.rank-1 .cb-rank-badge { color: #ffd700; text-shadow: 0 0 8px rgba(255,215,0,0.5); }
.cb-rank-card.rank-2 .cb-rank-badge { color: #c0c0c0; }
.cb-rank-card.rank-3 .cb-rank-badge { color: #cd7f32; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .cb-layout {
        grid-template-columns: 220px 1fr;
        grid-template-areas:
            "sidebar feed"
            "aside   aside";
    }
    .cb-aside {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .cb-aside .cb-panel {
        flex: 1 1 280px;
        margin-bottom: 0;
    }
}

@media (max-width: 720px) {
    .cb-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "feed"
            "sidebar"
            "aside";
        padding: 12px;
        gap: 14px;
    }
    .cb-card {
        flex-direction: column;
    }
    .cb-card-img {
        width: 100%;
        height: 160px;
    }
    .cb-card-img-overlay {
        background: linear-gradient(0deg, rgba(0,8,20,0.82) 0%, transparent 60%);
    }
    .cb-popular-popup {
        display: none !important;
    }
}