body {
    background: linear-gradient(to bottom, black, #001a0f); /* Green-tinged black gradient */
    color: white;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 3em;
    color: #00ff9f;
    text-shadow: 0 0 10px #00ff9f, 0 0 20px #00ff9f;
    margin: 30px 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { text-shadow: 0 0 5px #00ff9f; }
    50% { text-shadow: 0 0 20px #00ff9f, 0 0 30px #00ff9f; }
    100% { text-shadow: 0 0 5px #00ff9f; }
}

.logged-in {
    margin-bottom: 30px;
    color: #aaa;
}

.profile-link {
    color: #00ff9f;
    text-decoration: none;
}

.profile-link:hover {
    color: #00cc7a;
}

.search-bar {
    margin: 20px;
}

.search-bar input {
    padding: 10px;
    width: 300px;
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism */
    color: white;
    border: 1px solid rgba(0, 255, 159, 0.3);
    border-radius: 5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.search-bar button, .controls button, .upload-form button, .chat-box button, button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #00ff9f, #00cc7a); /* Smooth gradient */
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 20px; /* Rounded modern corners */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 255, 159, 0.2); /* Subtle shadow */
}

.search-bar button:hover, .controls button:hover, .upload-form button:hover, .chat-box button:hover, button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 159, 0.4); /* Glow on hover */
}

.creator-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Bento grid */
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.creator-item {
    background: rgba(255, 255, 255, 0.05); /* Glassmorphism */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 159, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.creator-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #00ff9f;
}

.creator-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #00ff9f;
    object-fit: cover;
}

.creator-item a {
    color: #00ff9f;
    text-decoration: none;
}

.creator-item a:hover {
    color: #00cc7a;
}

.socials {
    margin-top: 10px;
}

.socials a {
    margin: 0 10px; 
    color: #00ff9f;
}

.episode-list {
    margin-top: 20px;
}

.episode-item {
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism */
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid rgba(0, 255, 159, 0.3);
    backdrop-filter: blur(5px);
}

.chat-box {
    margin-top: 10px;
    background: #333;
    padding: 10px;
    border-radius: 5px;
}

.chat-box textarea {
    width: 100%;
    background: #111;
    color: white;
    border: 1px solid #00ff9f;
    border-radius: 5px;
}

.chat-box button {
    padding: 5px 10px;
    background: linear-gradient(135deg, #00ff9f, #00cc7a);
    color: black;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 255, 159, 0.2);
}

.chat-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 159, 0.4);
}

.chat-messages {
    max-height: 200px;
    overflow-y: auto;
}

.chat-message {
    margin: 5px 0;
    color: #aaa;
}

.signup {
    margin-top: 50px;
    background: linear-gradient(135deg, #00ff9f, #00cc7a);
    color: black;
    padding: 15px 30px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 255, 159, 0.2);
}

.signup:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 159, 0.4);
}

/* Vault-specific fixes */
.video-item video {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px; /* Ensure visible even if no source */
    border: 2px solid #00ff9f;
}

.video-item button {
    border-radius: 20px; /* Smooth rounded */
}

.video-item a.download {
    background: linear-gradient(135deg, #333, #111);
    border-radius: 20px;
}

.video-item a.delete {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    border-radius: 20px;
}

.actions a {
    margin: 0 10px;
    border-radius: 20px;
}

.upload-form input[type="file"] {
    background: #333;
    color: white;
    border: 1px solid #00ff9f;
    border-radius: 20px;
}
