/* Reset */
body {
    font-family: Arial, sans-serif;
    background: #050505;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: linear-gradient(90deg, #8b0000, #2b0000);
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

header h1 {
    margin: 0;
    color: #ff4d4d;
    letter-spacing: 2px;
}

/* Container */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Caixa de postagem */
.post-box {
    background: #0d0d0d;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #400000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* Título */
.post-box h2 {
    text-align: center;
    color: #ff4d4d;
}

/* Inputs */
.post-box input,
.post-box textarea {
    width: 80%;
    max-width: 600px;
    padding: 10px;
    margin-top: 10px;
    background: #050505;
    border: 1px solid #550000;
    border-radius: 8px;
    color: white;
    outline: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
}

/* Focus */
.post-box input:focus,
.post-box textarea:focus {
    border: 1px solid red;
    box-shadow: 0 0 10px red;
}

/* Textarea */
.post-box textarea {
    height: 120px;
    resize: none;
}

/* Input file */
.post-box input[type="file"] {
    width: 80%;
    max-width: 600px;
    margin: 10px auto;
    display: block;
    color: white;
}

/* Botão */
.post-box button {
    display: block;
    margin: 15px auto;
    width: 150px;
    padding: 12px;
    background: linear-gradient(90deg, red, #8b0000);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.post-box button:hover {
    background: linear-gradient(90deg, #ff3333, #a00000);
    transform: scale(1.05);
    box-shadow: 0 0 10px red;
}

/* Posts */
.posts {
    margin-top: 30px;
}

.posts h2 {
    color: #ff4d4d;
}

/* Post */
.post {
    background: #0d0d0d;
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    border: 1px solid #400000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.15);
    transition: 0.3s;
}

.post:hover {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

/* Título do post */
.post h3 {
    margin: 0;
    color: #ff4d4d;
}

/* Texto */
.post p {
    margin-top: 10px;
}

/* Usuário */
.post small {
    color: #aaa;
}

/* Imagens */
.post img {
    margin-top: 10px;
    border-radius: 8px;
    max-width: 300px;
}

/* Vídeos */
.post video {
    margin-top: 10px;
    border-radius: 8px;
    max-width: 300px;
}

/* Delete */
.delete {
    color: red;
    cursor: pointer;
}

.delete:hover {
    text-shadow: 0 0 5px red;
}