:root { --primary: #00CED1; --bg: #121212; --card: #1E1E1E; --text: #E0E0E0; --border: #333; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; margin: 0; background: var(--bg); color: var(--text); padding-bottom: 80px; }
.container { max-width: 600px; margin: 0 auto; padding: 15px; }
a { color: var(--primary); text-decoration: none; }

/* Login */
.login-wrapper { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.logo-img { width: 80px; margin-bottom: 20px; border-radius: 15px; }
input, textarea, button, select { width: 100%; padding: 15px; margin-bottom: 15px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: white; font-size: 16px; box-sizing: border-box; }
button { background: var(--primary); color: #000; font-weight: bold; border: none; cursor: pointer; }

/* Feed */
.post { background: var(--card); padding: 15px; border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border); position: relative; }
.post-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.user-name { font-weight: bold; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.post-content { font-size: 1em; line-height: 1.5; margin-bottom: 10px; white-space: pre-wrap; }
.post-img { width: 100%; border-radius: 8px; margin-top: 10px; }

/* Features */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; border-radius: 8px; margin-bottom: 10px; border: 1px solid #333; }
.embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.show-map-btn { background: #333; color: #999; width: 100%; padding: 10px; font-size: 0.9em; border-radius: 8px; text-align: center; cursor: pointer; margin-top:10px; }
.mini-map { height: 200px; width: 100%; border-radius: 8px; margin-top: 10px; display: none; }

/* Reactions & Seen */
.reaction-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; border-top: 1px solid #333; padding-top: 8px; }
.react-btn { background: transparent; border: 1px solid #444; color: #888; padding: 5px 10px; border-radius: 20px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.react-btn.active { border-color: var(--primary); color: var(--primary); background: rgba(0, 206, 209, 0.1); }
.seen-by { font-size: 11px; color: #666; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.seen-list { display: none; background: #333; padding: 5px; border-radius: 4px; position: absolute; margin-top: 20px; z-index: 10; font-size: 10px; color: #ccc; right: 10px; max-width: 150px; }

/* Secrets */
.secret-alert { background: #222; border: 1px solid #ff4444; color: #ff4444; padding: 15px; border-radius: 10px; margin-bottom: 20px; cursor: pointer; animation: pulse 2s infinite; text-align: center; font-weight: bold; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0); } }
.secret-modal { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9); z-index:2000; justify-content:center; align-items:center; flex-direction: column; }
.secret-content { background: #000; border: 2px solid var(--primary); padding: 20px; border-radius: 15px; max-width: 80%; text-align: center; color: #fff; box-shadow: 0 0 30px var(--primary); }

/* Nav */
.nav { position: fixed; bottom: 0; width: 100%; background: #1E1E1E; border-top: 1px solid #333; display: flex; justify-content: space-around; padding: 12px 0; z-index: 100; }
.nav a { color: #666; font-size: 10px; display: flex; flex-direction: column; align-items: center; }
.nav a.active { color: var(--primary); }
.nav i { font-size: 20px; margin-bottom: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
th, td { padding: 8px; text-align: left; border-bottom: 1px solid var(--border); }