/* Reset & Style Global */
body {
    background-color: #000;
    /* Petit motif de fond à l'ancienne */
    background-image: radial-gradient(#333 10%, transparent 10%);
    background-size: 15px 15px;
    font-family: "Comic Sans MS", "Arial", sans-serif;
    color: #FFF;
    margin: 0;
    padding: 0;
}

#container {
    width: 850px;
    margin: 20px auto;
    background-color: rgba(0, 0, 0, 0.8);
    border: 3px double #FF00FF;
}

/* Header Kitsch */
header {
    text-align: center;
    padding: 40px;
    border-bottom: 2px dashed #00FFFF;
    background: linear-gradient(to bottom, #222, #000);
}

header h1 {
    font-size: 3.5em;
    color: #FF00FF;
    text-shadow: 3px 3px #555;
    margin: 0;
}

.description {
    color: #00FFFF;
    font-style: italic;
}

/* Mise en page */
main {
    display: flex;
    padding: 20px;
}

.sidebar {
    width: 220px;
    margin-right: 20px;
}

.articles {
    flex: 1;
}

/* Boîtes et Posts */
.box, .post {
    background: #111;
    border: 1px solid #444;
    margin-bottom: 25px;
    padding: 15px;
}

.box h3 {
    background: #FF00FF;
    color: #000;
    margin: -15px -15px 15px -15px;
    padding: 5px;
    font-size: 14px;
    text-align: center;
}

/* Espaces Photos */
.profile-pic {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border: 2px solid #FFF;
}

.main-photo {
    width: 100%;
    height: 350px;
    border: 1px solid #00FFFF;
    margin-bottom: 20px;
}

.friend-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.mini-square {
    width: 45px;
    height: 45px;
    margin: 3px;
    border: 1px solid #FFF;
}

/* Styles des articles */
.post-header {
    border-bottom: 1px dotted #FF00FF;
    margin-bottom: 15px;
}

.post-header h2 {
    color: #00FFFF;
    margin: 0;
    font-size: 1.5em;
}

.date {
    font-size: 11px;
    float: right;
    color: #888;
}

.big-rage {
    font-size: 1.6em;
    color: #FF0000;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
}

.post-footer {
    margin-top: 20px;
    text-align: right;
    font-weight: bold;
}

.post-footer a {
    color: #FF00FF;
    text-decoration: none;
}

/* Animations */
.blink {
    animation: blinker 0.8s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 10px;
    color: #666;
}