/* ========================
   eternity-projekt – MAIN CSS
   Dark green gaming aesthetic
   Font: Rajdhani + Inter
   ======================== */

:root {
  --bg:          #090c0a;
  --bg-2:        #0d1210;
  --bg-3:        #111a14;
  --bg-4:        #172019;
  --border:      #1e2e22;
  --border-2:    #26402c;
  --accent:      #19B94B;
  --accent-glow: rgba(25,185,75,0.22);
  --accent-2:    #50E68C;
  --text:        #e4ede7;
  --text-muted:  #6e8a76;
  --text-dim:    #3e5445;
  --twitch:      #9147ff;
  --youtube:     #ff0000;
  --kick:        #53fc18;
  --live-red:    #ff3b3b;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 4px 24px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ======================== CONTAINER ======================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ======================== NAV ======================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: rgba(10,11,15,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 32px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-links a { color: var(--text-muted); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-user { color: var(--accent-2) !important; }

/* ======================== BUTTONS ======================== */
.btn-primary {
  display: inline-block;
  padding: .5rem 1.25rem;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .1s;
  letter-spacing: .5px;
}
.btn-primary:hover { background: #16a843; box-shadow: 0 0 20px var(--accent-glow); }
.btn-primary:active { transform: scale(.98); }

.btn-outline {
  display: inline-block;
  padding: .5rem 1.25rem;
  background: transparent;
  color: var(--accent-2) !important;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: all .2s;
}
.btn-outline:hover { background: var(--accent-glow); color: var(--text) !important; }

.btn-ghost {
  display: inline-block;
  padding: .5rem 1rem;
  background: transparent;
  color: var(--text-muted) !important;
  border: none;
  font-size: .875rem;
  cursor: pointer;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--text) !important; }

.btn-lg { padding: .75rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: .35rem .85rem; font-size: .8rem; }
.btn-full { width: 100%; display: block; text-align: center; padding: .75rem; }

/* ======================== FLASH ======================== */
.flash {
  padding: .75rem 1.25rem;
  margin: .75rem auto;
  border-radius: var(--radius);
  max-width: 900px;
  font-size: .9rem;
  font-weight: 500;
}
.flash-success { background: rgba(83,252,24,.1); border: 1px solid rgba(83,252,24,.3); color: #7afc55; }
.flash-error   { background: rgba(255,59,59,.1); border: 1px solid rgba(255,59,59,.3); color: #ff7070; }
.flash-info    { background: rgba(25,185,75,.08); border: 1px solid var(--border); color: var(--accent-2); }

/* ======================== PLATFORM BADGES ======================== */
.plat-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Rajdhani', sans-serif;
}
.plat-badge.twitch  { background: rgba(145,71,255,.2); color: #b580ff; border: 1px solid rgba(145,71,255,.4); }
.plat-badge.youtube { background: rgba(255,0,0,.2);     color: #ff6b6b; border: 1px solid rgba(255,0,0,.3); }
.plat-badge.kick    { background: rgba(83,252,24,.15);  color: #7afc55; border: 1px solid rgba(83,252,24,.3); }

.plat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.plat-dot.twitch  { background: #9147ff; }
.plat-dot.youtube { background: #ff0000; }
.plat-dot.kick    { background: #53fc18; }

/* ======================== LIVE INDICATORS ======================== */
.live-dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--live-red);
  border-radius: 50%;
  margin-right: .5rem;
  animation: pulse 1.5s infinite;
}
.live-badge {
  display: inline-block;
  padding: .15rem .5rem;
  background: var(--live-red);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .5; }
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(25,185,75,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,185,75,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(25,185,75,.15) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: .35rem 1rem;
  background: var(--bg-4);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: .5px;
}
.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-platforms { display: flex; gap: .75rem; justify-content: center; }

/* ======================== FEATURES ======================== */
.features { padding: 5rem 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: .5px; }
.feature-card p { color: var(--text-muted); font-size: .9rem; }

/* ======================== FEED LAYOUT ======================== */
.feed-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .feed-layout { grid-template-columns: 1fr; } .feed-sidebar { display: none; } }

.feed-main { display: flex; flex-direction: column; gap: 2.5rem; }

/* ======================== SECTIONS ======================== */
.section { }
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

/* ======================== STREAM GRID ======================== */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.stream-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: block;
  color: var(--text) !important;
}
.stream-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(25,185,75,.18); }
.stream-card--live { border-color: rgba(255,59,59,.4); }
.stream-card--live:hover { border-color: var(--live-red); }

.stream-card-platform {
  font-family: 'Rajdhani', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: .4rem .75rem;
}
.stream-card-platform.twitch  { background: rgba(145,71,255,.15); color: #b580ff; }
.stream-card-platform.youtube { background: rgba(255,0,0,.15);    color: #ff6b6b; }
.stream-card-platform.kick    { background: rgba(83,252,24,.1);   color: #7afc55; }
.stream-card-platform.other   { background: var(--bg-4);          color: var(--text-muted); }

.stream-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.stream-thumb--placeholder {
  background: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-dim);
}
.stream-card-body { padding: .875rem; }
.stream-card-title { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stream-card-streamer { font-size: .8rem; color: var(--text-muted); }
.stream-card-tag { margin-top: .4rem; }

/* ======================== SCHEDULE LIST ======================== */
.schedule-list { display: flex; flex-direction: column; gap: .5rem; }
.schedule-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
  color: var(--text) !important;
  transition: border-color .2s, background .2s;
}
.schedule-item:hover { border-color: var(--accent); background: var(--bg-4); }

.schedule-platform {
  font-family: 'Rajdhani', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: .25rem .6rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.schedule-platform.twitch  { background: rgba(145,71,255,.2); color: #b580ff; }
.schedule-platform.youtube { background: rgba(255,0,0,.2);    color: #ff6b6b; }
.schedule-platform.kick    { background: rgba(83,252,24,.15); color: #7afc55; }
.schedule-platform.other   { background: var(--bg-4);         color: var(--text-muted); }

.schedule-info { flex: 1; min-width: 0; }
.schedule-title { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-meta { font-size: .8rem; color: var(--text-muted); display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .2rem; }
.schedule-time { font-size: .8rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: .5rem; }

/* ======================== TAG ======================== */
.tag {
  display: inline-block;
  padding: .15rem .55rem;
  background: var(--bg-4);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ======================== POSTS ======================== */
.post-form {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.post-form textarea {
  width: 100%;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .75rem;
  font-family: inherit;
  font-size: .9rem;
  resize: vertical;
  min-height: 80px;
  margin-bottom: .75rem;
}
.post-form textarea:focus { outline: none; border-color: var(--accent); }

.posts { display: flex; flex-direction: column; gap: .75rem; }
.post-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}
.post-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.post-user { font-weight: 600; font-size: .875rem; color: var(--accent-2) !important; }
.post-time { font-size: .75rem; color: var(--text-dim); }
.post-content { font-size: .9rem; line-height: 1.6; color: var(--text); word-break: break-word; }
.post-stream-ref { margin-top: .6rem; font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; }

/* ======================== SIDEBAR ======================== */
.feed-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-section {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.sidebar-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.sidebar-streamer {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text) !important;
  transition: color .2s;
}
.sidebar-streamer:last-of-type { border-bottom: none; }
.sidebar-streamer:hover .sidebar-streamer-name { color: var(--accent-2); }
.sidebar-streamer-avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.sidebar-streamer-name { font-weight: 600; font-size: .875rem; }
.sidebar-streamer-meta { font-size: .75rem; color: var(--text-muted); }
.sidebar-platforms { display: flex; gap: .35rem; margin-left: auto; }

/* ======================== WATCH LAYOUT ======================== */
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  align-items: start;
}
@media (max-width: 1000px) { .watch-layout { grid-template-columns: 1fr; } }

.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.player-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.player-meta {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.player-platform-badge { display: inline-block; margin-bottom: .75rem; }
.player-title { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; }
.player-info { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.player-streamer {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--accent-2) !important;
}
.player-streamer-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
}
.player-time { font-size: .8rem; color: var(--text-muted); }
.player-desc { margin-top: .75rem; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

.watch-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.chat-wrap {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
}
.chat-header {
  padding: .75rem 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg-4);
}
.chat-iframe { flex: 1; border: none; }

.related-section {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.related-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text) !important;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover .related-title { color: var(--accent-2); }
.related-platform { font-family: 'Rajdhani', sans-serif; font-size: .6rem; font-weight: 700; letter-spacing: 1px; padding: .2rem .5rem; border-radius: 3px; flex-shrink: 0; }
.related-platform.twitch  { background: rgba(145,71,255,.2); color: #b580ff; }
.related-platform.youtube { background: rgba(255,0,0,.2);    color: #ff6b6b; }
.related-platform.kick    { background: rgba(83,252,24,.1);  color: #7afc55; }
.related-title   { font-size: .85rem; font-weight: 600; }
.related-streamer { font-size: .75rem; color: var(--text-muted); }

/* ======================== PROFILE ======================== */
.profile-header {
  position: relative;
  background: var(--bg-3);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.profile-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,12,10,.2) 0%, rgba(9,12,10,.88) 100%);
}
.profile-header-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 4rem 1.5rem 2rem;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem; font-weight: 700;
  border: 3px solid var(--bg);
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.profile-platforms { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.profile-stats { display: flex; gap: 1.5rem; font-size: .875rem; color: var(--text-muted); }
.profile-stats strong { color: var(--text); }
.profile-follow-form { margin-left: auto; }

.profile-body { padding-bottom: 3rem; }
.profile-bio { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; max-width: 700px; }
.profile-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* ======================== FORMS ======================== */
.form-page { padding: 3rem 1.5rem; }
.form-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-title { font-family: 'Rajdhani', sans-serif; font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; }
.form-sub { color: var(--text-muted); margin-bottom: 2rem; font-size: .9rem; }
.form-section-title { font-family: 'Rajdhani', sans-serif; font-size: .85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin: 1.25rem 0 1rem; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

.main-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text-muted); letter-spacing: .5px; }
.form-group label small { font-weight: 400; color: var(--text-dim); }
.form-hint { font-size: .75rem; color: var(--text-dim); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .65rem .9rem;
  font-family: inherit;
  font-size: .9rem;
  transition: border-color .2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group select { appearance: none; cursor: pointer; }
.input-disabled { opacity: .5; cursor: not-allowed; }

.input-prefix-wrap { display: flex; }
.input-prefix {
  background: var(--bg);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: .65rem .9rem;
  font-size: .85rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.input-prefix-wrap input { border-radius: 0 var(--radius) var(--radius) 0; }

.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }

/* ======================== AUTH ======================== */
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 60px); padding: 2rem; }
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.auth-logo-img {
  height: 40px;
}
.auth-title { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-switch { margin-top: 1.25rem; font-size: .875rem; color: var(--text-muted); text-align: center; }
.auth-switch a { color: var(--accent-2); }

/* ======================== EMPTY ======================== */
.empty-msg { color: var(--text-muted); font-size: .9rem; padding: 1rem 0; }
.empty-msg a { color: var(--accent-2); }

/* ======================== FOOTER ======================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: auto;
  background: var(--bg-2);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo-img {
  height: 22px;
  opacity: 0.85;
}
.footer p { color: var(--text-dim); font-size: .8rem; }

/* ======================== OAUTH ======================== */
.oauth-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.oauth-divider::before,
.oauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  padding: .7rem 1.25rem;
  background: var(--bg-4);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text) !important;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-oauth:hover {
  background: var(--bg-3);
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  color: var(--text) !important;
}
.btn-oauth-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* OAuth not configured hint */
.oauth-hint {
  font-size: .75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: .5rem;
}

/* ======================== NAV SEARCH ======================== */
.nav-search {
  display: flex;
  align-items: center;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  flex: 0 1 280px;
}
.nav-search input {
  background: transparent;
  border: none;
  color: var(--text);
  padding: .4rem .75rem;
  font-size: .85rem;
  width: 100%;
  font-family: inherit;
}
.nav-search input:focus { outline: none; }
.nav-search input::placeholder { color: var(--text-dim); }
.nav-search button {
  background: transparent;
  border: none;
  padding: .4rem .6rem;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .85rem;
}
.nav-search button:hover { color: var(--accent-2); }
@media (max-width: 900px) { .nav-search { display: none; } }

/* ======================== NOTIFY BADGE ======================== */
.nav-notify {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-muted) !important;
}
.notify-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--live-red);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .1rem .35rem;
  min-width: 16px;
  text-align: center;
}
.notify-list { display: flex; flex-direction: column; gap: .5rem; }
.notify-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.notify-item--unread { border-color: var(--accent); background: rgba(25,185,75,.05); }
.notify-icon { font-size: 1.25rem; flex-shrink: 0; }
.notify-body { flex: 1; }
.notify-title { font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.notify-text  { color: var(--text-muted); font-size: .85rem; }
.notify-time  { color: var(--text-dim); font-size: .75rem; margin-top: .3rem; }

/* ======================== SEARCH PAGE ======================== */
.search-form { margin-bottom: 2rem; }
.search-bar {
  display: flex;
  gap: .75rem;
  margin-bottom: .75rem;
}
.search-bar input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}
.search-bar input:focus { outline: none; border-color: var(--accent); }
.search-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}
.search-filters select,
.search-filters input[type="text"] {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .45rem .75rem;
  font-size: .85rem;
  font-family: inherit;
}
.search-filters select:focus,
.search-filters input:focus { outline: none; border-color: var(--accent); }

/* ======================== STREAMER GRID ======================== */
.streamer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.streamer-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  color: var(--text) !important;
  transition: border-color .2s, transform .2s;
}
.streamer-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.streamer-card-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  flex-shrink: 0;
}
.streamer-card-name { font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .4rem; }
.streamer-card-meta { font-size: .75rem; color: var(--text-muted); }
.streamer-card-platforms { margin-top: .35rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: .6rem;
  font-weight: 700;
}

/* ======================== GAMES PAGE ======================== */
.page-header { margin-bottom: 2rem; }
.page-title { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: .35rem; }
.page-sub { color: var(--text-muted); font-size: .9rem; }
.back-link { color: var(--text-muted); font-size: .85rem; display: inline-block; margin-bottom: .75rem; }
.back-link:hover { color: var(--accent-2); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-cloud-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  color: var(--text) !important;
  font-size: .875rem;
  font-weight: 500;
  transition: border-color .2s, background .2s;
}
.tag-cloud-item:hover { border-color: var(--accent); background: rgba(25,185,75,.07); }
.tag-cloud-count {
  background: var(--bg-4);
  color: var(--accent-2);
  font-size: .7rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 10px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.game-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text) !important;
  transition: border-color .2s, transform .2s;
}
.game-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.game-card-body { padding: 1.25rem; }
.game-card-name { font-weight: 700; font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; margin-bottom: .5rem; }
.game-card-meta { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); }

/* ======================== EMPTY STATE ======================== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state p { font-size: 1rem; margin-bottom: .5rem; }
.empty-state a { color: var(--accent-2); }

/* ======================== ADMIN ======================== */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.admin-stat {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.admin-stat--alert { border-color: rgba(255,59,59,.4); }
.admin-stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-2);
}
.admin-stat--alert .admin-stat-value { color: var(--live-red); }
.admin-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

.admin-table { display: flex; flex-direction: column; gap: .5rem; }
.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
  flex-wrap: wrap;
}
.admin-row-info { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; flex: 1; }
.admin-row-actions { display: flex; gap: .5rem; }

/* ======================== REACTIONS ======================== */
.post-reactions {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .6rem;
}
.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .8rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: border-color .15s, background .15s;
}
.reaction-btn:hover { border-color: var(--accent); color: var(--text); }
.reaction-btn.active { border-color: var(--accent); background: rgba(25,185,75,.1); color: var(--accent-2); }
.reaction-btn .count { font-weight: 600; }

/* ======================== COMMENTS ======================== */
.comments-section { margin-top: 1.5rem; }
.comments-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.comment-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
}
.comment-header { display: flex; gap: .75rem; align-items: center; margin-bottom: .35rem; }
.comment-user { font-weight: 600; font-size: .85rem; color: var(--accent-2) !important; }
.comment-time { font-size: .75rem; color: var(--text-dim); }
.comment-content { font-size: .875rem; color: var(--text); }
.comment-form { display: flex; gap: .75rem; }
.comment-form input {
  flex: 1;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: .6rem .9rem;
  font-family: inherit;
  font-size: .875rem;
}
.comment-form input:focus { outline: none; border-color: var(--accent); }

/* ======================== RATING STARS ======================== */
.rating-form { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.star-label {
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-dim);
  transition: color .1s;
}
.star-label:hover,
.star-label.active { color: #f5c542; }
