@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1e1e2f, #121212);
    color: #e0e0e0;
    min-height: 100vh;
}

header {
    background-color: #282c34;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
    color: #61dafb;
    letter-spacing: 1px;
}

header a.profile-link {
    color: #61dafb;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #61dafb;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header a.profile-link:hover {
    background-color: #61dafb;
    color: #121212;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background-color: #2a2a3d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 25px rgba(97, 218, 251, 0.7);
}

.video-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #61dafb;
}

.video-card h2 {
    margin: 0.5rem 1rem 0 1rem;
    font-size: 1.2rem;
    color: #61dafb;
}

.video-card p {
    margin: 0.5rem 1rem 1rem 1rem;
    font-size: 0.95rem;
    color: #b0b0b0;
}

/* Password strength meter styles */
.password-strength {
    height: 8px;
    border-radius: 4px;
    background-color: #444;
    margin-top: 5px;
    overflow: hidden;
}

.password-strength > div {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.strength-0 {
    background-color: #ff4c4c;
}

.strength-1 {
    background-color: #ff944c;
}

.strength-2 {
    background-color: #ffd24c;
}

.strength-3 {
    background-color: #a3d24c;
}

.strength-4 {
    background-color: #4cd24c;
}
