/* ── Community V4.3: Full-Bleed Command Deck ── */

@keyframes bannerZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes msgSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.community-lobby {
  display: none; position: absolute; inset: 0; z-index: 400;
  background: transparent; padding: 100px 32px 30px 32px; overflow: hidden;
  box-sizing: border-box;
}

.deck-bg-overlay {
  position: absolute; inset: 0;
  pointer-events: none; z-index: -1;
}

.deck-frame {
  position: relative;
  max-width: 1700px; height: 100%; margin: 0 auto;
  background: rgba(10, 10, 12, 0.85); backdrop-filter: blur(80px) saturate(210%);
  -webkit-backdrop-filter: blur(80px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px;
  display: flex; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ── High-Fidelity Rail ── */
.deck-rail {
  width: 260px; background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; flex-shrink: 0;
}

.deck-rail-identity {
  position: relative; height: 180px; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.id-bg-atmospheric {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  z-index: 0; animation: bannerZoom 20s infinite alternate ease-in-out;
  filter: brightness(0.6);
}

.id-overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 100%);
  z-index: 1;
}

.com-identity-emblem {
  width: 44px; height: 44px; border-radius: 12px; position: relative; z-index: 2;
  background: var(--ios-blue); display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1); margin-bottom: 12px;
}

.com-identity-name { font-size: 16px; font-weight: 900; color: #fff; letter-spacing: -0.5px; position: relative; z-index: 2; line-height: 1.2; }
.com-identity-members { font-size: 10px; font-weight: 800; color: var(--ios-blue); text-transform: uppercase; position: relative; z-index: 2; margin-top: 4px; display: block; }

.deck-rail-nav { flex: 1; padding: 24px 12px; overflow-y: auto; }
.nav-section-label { font-size: 9px; font-weight: 900; color: rgba(255, 255, 255, 0.15); letter-spacing: 2px; margin-bottom: 16px; padding-left: 14px; text-transform: uppercase; }

.deck-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  color: rgba(255, 255, 255, 0.3); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.3s; margin-bottom: 4px;
}
.deck-nav-item:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.deck-nav-item.active { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.deck-nav-item svg { width: 18px; height: 18px; opacity: 0.4; transition: opacity 0.3s; }
.deck-nav-item.active svg { opacity: 1; color: var(--ios-blue); }

/* ── Voice Stacking ── */
.voice-channel-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: 12px; color: rgba(255, 255, 255, 0.4);
  font-size: 13px; font-weight: 700; cursor: pointer; margin-bottom: 4px;
}
.voice-channel-item:hover { background: rgba(255, 255, 255, 0.03); color: #fff; }

.voice-users { display: flex; align-items: center; }
.voice-user-mini {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #000;
  background: var(--ios-blue); display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 900; color: #fff; margin-left: -8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.voice-user-mini:first-child { margin-left: 0; }

/* ── Full-Bleed Main Area ── */
.deck-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: rgba(0,0,0,0.1); }
.deck-header { height: 80px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }

.channel-selector-v3 {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05); position: relative;
}

.channel-dropdown-v3 {
  position: absolute; top: calc(100% + 12px); left: 0; width: 260px;
  background: rgba(20, 20, 24, 0.98); backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px;
  padding: 10px; z-index: 2000; display: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}
.channel-dropdown-v3.active { display: block; animation: dropIn 0.3s ease; }

@keyframes dropIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* ── Content Filling ── */
.thread-view {
  flex: 1; overflow-y: auto; padding: 40px;
  display: flex; flex-direction: column; gap: 28px;
  width: 100% !important; max-width: 100% !important;
}

.message-v3 { display: flex; gap: 20px; padding: 12px 24px; border-radius: 20px; animation: msgSlideIn 0.3s ease both; background: transparent !important; }
.message-v3:hover { background: rgba(255, 255, 255, 0.02) !important; }
.msg-avatar-v3 { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.author-name-v3 { font-size: 16px; font-weight: 800; color: #fff; }
.msg-content-v3 { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); }

.input-area-v3 { padding: 0 40px 40px; width: 100% !important; max-width: 100% !important; }
.input-wrap-v3 {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px; padding: 16px 28px; display: flex; align-items: center; gap: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.input-field-v3 { flex: 1; background: transparent; border: none; color: #fff; font-size: 16px; outline: none; }

/* ── Sidebar ── */
.deck-sidebar { width: 340px; background: rgba(0, 0, 0, 0.3); border-left: 1px solid rgba(255, 255, 255, 0.06); padding: 32px 24px; overflow-y: auto; flex-shrink: 0; }
.sidebar-card-v3 { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px; padding: 24px; margin-bottom: 24px; }
.card-label-v3 { font-size: 10px; font-weight: 900; color: var(--ios-blue); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.card-title-v3 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.5; }

/* ── Library Filling ── */
.social-library-container { padding: 40px; width: 100% !important; max-width: 100% !important; }
.video-grid-v5 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.v-card-v5 { background: rgba(255, 255, 255, 0.02); border-radius: 28px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: all 0.4s; cursor: pointer; }
.v-card-v5:hover { transform: translateY(-10px); border-color: var(--ios-blue); background: rgba(255,255,255,0.04); }

.v-thumb-v5 { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; position: relative; }
.v-play-overlay-v5 { position: absolute; inset: 0; background: rgba(10, 132, 255, 0.1); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.4s; }
.v-card-v5:hover .v-play-overlay-v5 { opacity: 1; backdrop-filter: blur(8px); }
.v-play-btn-glass { width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: center; transform: scale(0.8); transition: transform 0.4s; }
.v-card-v5:hover .v-play-btn-glass { transform: scale(1); }

.hub-controls { position: fixed; top: 70px; right: 40px; display: flex; flex-direction: column; gap: 12px; z-index: 1000; }
.control-pill { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: all 0.3s; }

/* ── Broadcast Theatre (Twitch Style) ── */
.broadcast-theatre {
  flex: 1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #000;
}
.theatre-bg-blur {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(80px) brightness(0.2); opacity: 0.6; transform: scale(1.2);
}
.theatre-content {
  position: relative; z-index: 10; display: flex; flex-direction: column;
  align-items: center; gap: 40px; text-align: center;
}
.theatre-status-badge {
  display: flex; align-items: center; gap: 10px; padding: 8px 16px;
  background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; font-size: 11px; font-weight: 900; color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
}
.status-dot-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #ff3b30;
  box-shadow: 0 0 10px #ff3b30; animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}
.theatre-central-logo {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.live-logo-w {
  width: 80px; height: 80px; border-radius: 24px; background: #0a84ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 900; color: #fff;
  box-shadow: 0 20px 50px rgba(10, 132, 255, 0.4);
}
.live-text { font-size: 24px; font-weight: 900; color: #fff; letter-spacing: -1px; }
.live-text span { color: #0a84ff; margin-left: 2px; }
.theatre-waiting-msg h3 { font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 8px; letter-spacing: -0.5px; }
.theatre-waiting-msg p { font-size: 16px; color: rgba(255,255,255,0.3); font-weight: 600; }
.theatre-footer {
  display: flex; align-items: center; gap: 24px; margin-top: 20px;
}
.theatre-viewers { font-size: 11px; font-weight: 900; color: rgba(255,255,255,0.2); letter-spacing: 1.5px; }
.theatre-chat-btn {
  padding: 12px 24px; border-radius: 14px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 13px; font-weight: 800;
  cursor: pointer; transition: all 0.3s;
}
.theatre-chat-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* --- Premium Community Upgrade --- */
.c-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.c-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(2px) brightness(0.6);
}
.c-hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,12,1) 0%, rgba(10,10,12,0.2) 100%);
}
.c-hero-content {
  position: relative; z-index: 10;
}
.c-hero-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.c-hero-category {
  padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.c-hero-stats {
  display: flex; gap: 24px;
}
.c-stat {
  text-align: right;
}
.c-stat-val {
  font-size: 20px; font-weight: 900; color: #fff; line-height: 1;
}
.c-stat-lbl {
  font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-top: 4px;
}
.c-hero-title {
  font-size: 48px; font-weight: 900; color: #fff; margin: 0 0 8px 0; letter-spacing: -1.5px; line-height: 1.1;
}
.c-hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 0 24px 0; line-height: 1.5;
}
.c-hero-actions {
  display: flex; gap: 12px;
}
.c-hero-btn {
  padding: 12px 28px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 800; cursor: pointer; transition: all 0.3s; border: none;
}
.c-hero-btn.join {
  background: var(--orange); color: #fff;
}
.c-hero-btn.join:hover {
  background: var(--orange-hot); transform: translateY(-2px);
}
.c-hero-btn.joined {
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; gap: 8px;
}
.c-hero-btn.joined:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3);
}

.c-tab-content {
  padding: 40px;
}
.c-section-title {
  font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 24px; letter-spacing: -0.5px; text-transform: uppercase;
}
.c-overview-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
}
.c-post-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 24px; margin-bottom: 16px; transition: all 0.3s; cursor: pointer;
}
.c-post-card:hover {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.c-post-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.c-post-avatar {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; color: #fff;
}
.c-post-meta {
  display: flex; flex-direction: column;
}
.c-post-author {
  font-size: 15px; font-weight: 800; color: #fff;
}
.c-post-time {
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.c-post-badge {
  margin-left: auto; padding: 4px 8px; background: rgba(10,132,255,0.1); color: var(--ios-blue); border-radius: 6px; font-size: 10px; font-weight: 900;
}
.c-post-body {
  font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.6;
}
.c-post-footer {
  display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05);
}
.c-post-stat {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5);
}
.c-post-reactions {
  display: flex; gap: 8px;
}
.c-reaction-pill {
  padding: 4px 10px; background: rgba(255,255,255,0.05); border-radius: var(--radius-pill); font-size: 12px;
}
.c-empty-state {
  text-align: center; padding: 60px 20px; background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.1); border-radius: 20px; color: rgba(255,255,255,0.4); font-size: 14px; font-weight: 700;
}

/* Overview Side */
.c-member-mini {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; cursor: pointer; transition: all 0.2s;
}
.c-member-mini:hover {
  background: rgba(255,255,255,0.05);
}
.c-member-avatar {
  width: 32px; height: 32px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; border: 2px solid #000;
}
.c-status-dot {
  position: absolute; bottom: -2px; right: -2px; width: 10px; height: 10px; background: var(--neon-green); border-radius: 50%; border: 2px solid #1a1a1f;
}
.c-member-name {
  font-size: 14px; font-weight: 700; color: #fff;
}
.c-room-mini {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; cursor: pointer; margin-bottom: 12px; transition: all 0.2s;
}
.c-room-mini:hover {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); transform: translateY(-2px);
}
.room-status-dot-pulse {
  width: 10px; height: 10px; background: #ff3b30; border-radius: 50%; box-shadow: 0 0 10px #ff3b30; margin-top: 4px;
}
.c-room-title {
  font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px;
}
.c-room-host {
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* Posts View */
.c-new-post-input {
  display: flex; gap: 12px; margin-bottom: 32px;
}
.c-new-post-input input {
  flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 0 24px; font-size: 15px; color: #fff; outline: none; transition: all 0.3s; height: 50px;
}
.c-new-post-input input:focus {
  border-color: var(--orange); background: rgba(255,255,255,0.05);
}
.c-post-btn {
  background: var(--orange); color: #fff; border: none; border-radius: 16px; padding: 0 32px; font-weight: 800; font-size: 15px; cursor: pointer; transition: all 0.2s; height: 50px;
}
.c-post-btn:hover { background: var(--orange-hot); transform: translateY(-1px); }

/* Videos View */
.c-video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px;
}
.c-video-card {
  cursor: pointer;
}
.c-video-card:hover .c-video-thumb {
  transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.2);
}
.c-video-thumb {
  width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); position: relative; transition: all 0.3s; margin-bottom: 16px;
}
.c-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(4px);
}
.c-video-card:hover .c-video-play {
  opacity: 1;
}
.c-video-duration {
  position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.8); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 6px;
}
.c-video-title {
  font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px; line-height: 1.4;
}
.c-video-meta {
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* Members View */
.c-members-search {
  margin-bottom: 32px;
}
.c-members-search input {
  width: 100%; max-width: 400px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 20px; font-size: 14px; color: #fff; outline: none;
}
.c-member-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px;
}
.c-member-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 24px; text-align: center; cursor: pointer; transition: all 0.2s; position: relative;
}
.c-member-card:hover {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.c-member-card-avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px auto; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; color: #fff; border: 2px solid rgba(255,255,255,0.05);
}
.c-member-card-name {
  font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 4px;
}
.c-member-card-role {
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.c-member-card-status {
  position: absolute; top: 16px; right: 16px; width: 8px; height: 8px; border-radius: 50%;
}
.c-member-card-status.online { background: var(--neon-green); box-shadow: 0 0 10px var(--neon-green); }
.c-member-card-status.offline { background: rgba(255,255,255,0.2); }

/* About View */
.c-about-view {
  display: grid; grid-template-columns: 2fr 1fr; gap: 40px;
}
.c-about-desc {
  font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.8;
}
.c-rules-list {
  display: flex; flex-direction: column; gap: 16px;
}
.c-rule-item {
  display: flex; gap: 16px; background: rgba(255,255,255,0.02); padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05);
}
.c-rule-num {
  font-size: 20px; font-weight: 900; color: var(--ios-blue); opacity: 0.8;
}
.c-rule-text {
  font-size: 15px; color: #fff; line-height: 1.5; padding-top: 2px;
}
.c-about-meta-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 24px;
}
.c-meta-row {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.c-meta-row:last-child {
  border-bottom: none; padding-bottom: 0;
}
.c-meta-row span {
  font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 600;
}
.c-meta-row strong {
  font-size: 14px; font-weight: 800; color: #fff;
}

/* --- Ultra Premium Enhancements --- */

/* Hero Animation & Depth */
@keyframes slowPan {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.c-hero-bg {
  animation: slowPan 30s ease-in-out infinite;
  filter: blur(4px) brightness(0.5);
}
.c-hero-content {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(10,10,12,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  margin-top: 20px;
}

/* Shimmer Join Button */
@keyframes premiumShimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.c-hero-btn.join {
  background: linear-gradient(90deg, var(--orange) 0%, #ff8c42 25%, #ffffff 50%, #ff8c42 75%, var(--orange) 100%);
  background-size: 200% auto;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  animation: premiumShimmer 4s linear infinite;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255,255,255,0.2);
}
.c-hero-btn.join:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.6);
}

/* Glassy Deck Rail Enhancements */
.deck-rail {
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: rgba(10, 10, 15, 0.55);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.deck-nav-item {
  position: relative;
  overflow: hidden;
}
.deck-nav-item::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: 0.5s;
}
.deck-nav-item:hover::before {
  left: 100%;
}

/* Post Attachments & Rich Cards */
.c-post-attachment {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.c-post-attachment:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

/* Role Badges */
.c-role-badge {
  font-size: 9px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  margin-left: 10px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.c-role-founder {
  background: rgba(255, 255, 255, 0.15);
  color: var(--orange);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
.c-role-admin {
  background: rgba(10, 132, 255, 0.15);
  color: var(--ios-blue);
  border: 1px solid rgba(10, 132, 255, 0.3);
  box-shadow: 0 0 10px rgba(10, 132, 255, 0.2);
}
.c-role-pro {
  background: rgba(175, 82, 222, 0.15);
  color: #AF52DE;
  border: 1px solid rgba(175, 82, 222, 0.3);
  box-shadow: 0 0 10px rgba(175, 82, 222, 0.2);
}
