:root { --gold: #ffd700; --bg: #000; --card: #111; }
body, html { margin: 0; padding: 0; height: 100%; background: var(--bg); color: #fff; font-family: sans-serif; overflow: hidden; }

.page { display: none; height: 100vh; width: 100vw; overflow-y: auto; box-sizing: border-box; }
.page.active { display: block; }

/* Correction Profil */
.profile-container { display: flex; flex-direction: column; align-items: center; padding-top: 50px; padding-bottom: 100px; text-align: center; }
.avatar-wrapper { width: 90px; height: 90px; border-radius: 50%; border: 2px solid var(--gold); padding: 3px; margin-bottom: 15px; }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
#display-username { margin: 5px 0; font-size: 1.2rem; }
#display-bio { color: #888; font-size: 0.9rem; padding: 0 30px; margin-bottom: 20px; }

.profile-actions { display: flex; gap: 10px; margin-bottom: 30px; }
.btn-edit { background: #fff; color: #000; border: none; padding: 8px 20px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; }
.btn-logout { background: transparent; color: #ff4d4d; border: 1px solid #ff4d4d; padding: 8px 15px; border-radius: 20px; font-size: 0.8rem; }

.stats-bar { display: flex; width: 100%; border-top: 1px solid #222; border-bottom: 1px solid #222; padding: 15px 0; }
.stat { flex: 1; display: flex; flex-direction: column; }
.stat strong { font-size: 1.1rem; }
.stat span { font-size: 0.7rem; color: #555; text-transform: uppercase; }

.video-grid-header { padding: 15px; font-size: 0.8rem; color: var(--gold); letter-spacing: 2px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; width: 100%; }

/* Autres éléments */
.auth-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 20px; }
.gold-text { color: var(--gold); letter-spacing: 2px; }
.auth-form input { width: 100%; max-width: 300px; padding: 12px; margin-bottom: 10px; background: #111; border: 1px solid #333; color: #fff; border-radius: 8px; }
.auth-form button { width: 100%; max-width: 300px; padding: 12px; background: var(--gold); border: none; font-weight: bold; border-radius: 8px; }

.bottom-nav { position: fixed; bottom: 0; width: 100%; height: 65px; background: #000; border-top: 0.5px solid #222; display: flex; justify-content: space-around; align-items: center; z-index: 1000; }
.nav-item { color: #555; display: flex; flex-direction: column; align-items: center; font-size: 10px; }
#upload-btn { width: 45px; height: 30px; background: #fff; border-radius: 8px; border: none; font-weight: bold; }

.video-container { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; }
.video-card { height: 100vh; scroll-snap-align: start; position: relative; }
video { width: 100%; height: 100%; object-fit: cover; }
.side-bar { position: absolute; right: 10px; bottom: 120px; display: flex; flex-direction: column; gap: 20px; }
#status { position: fixed; top: 10px; left: 10%; width: 80%; background: var(--gold); color: #000; padding: 10px; border-radius: 10px; text-align: center; z-index: 2000; display: none; }