:root {
    --bg-color: #050509;
    --text-color: #f5f5f5;
    --accent-color: #00ffff;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
}

a { color: var(--accent-color); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
    background: #090912;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a {
    margin-left: 15px;
}

h1, h2 { color: var(--accent-color); }

main { padding: 20px; }

.error {
    background: rgba(255, 0, 0, 0.1);
    border-left: 4px solid #ff4d4f;
    padding: 10px;
    margin-bottom: 15px;
}

.success {
    background: rgba(0, 255, 150, 0.1);
    border-left: 4px solid #00ff96;
    padding: 10px;
    margin-bottom: 15px;
}

form {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    margin-top: 4px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #222;
    background: #020206;
    color: var(--text-color);
}

button {
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    background: var(--accent-color);
    color: #000;
    font-weight: bold;
    cursor: pointer;
}
button:hover { opacity: 0.9; }

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 10px 0;
}
.asset-card {
    background: #101018;
    border-radius: 6px;
    padding: 8px;
}
.asset-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
}
.asset-card .likes {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 4px;
}

.like-box {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.like-button {
    background: var(--accent-color);
    color: #000;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
}
.like-count {
    font-size: 1rem;
}

.creation-card {
    padding: 10px;
    border-radius: 6px;
    background: #101018;
    margin-bottom: 10px;
}
