/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --of-blue: #00aff0;
  --of-blue-hover: #009cd6;
  --of-bg-light: #f7f9fa;
  --of-border: #e2e8f0;
  --of-text-dark: #242529;
  --of-text-muted: #8a96a3;
  --of-white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--of-bg-light);
  color: var(--of-text-dark);
  line-height: 1.5;
}

/* --- TOP BAR --- */
.of-top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--of-white);
  border-bottom: 1px solid var(--of-border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.of-logo-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.of-logo-container img {
  height: 32px; /* Adjust based on your custom parody logo aspect ratio */
  width: auto;
  display: block;
}

.of-nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.of-nav-btn {
  background: none;
  border: none;
  color: var(--of-text-dark);
  cursor: pointer;
  font-size: 20px;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}

.of-nav-btn:hover {
  background-color: rgba(0, 175, 240, 0.1);
  color: var(--of-blue);
}

/* --- MAIN FEED CONTAINER --- */
.of-main-layout {
  max-width: 600px;
  margin: 20px auto;
  padding: 0 10px;
}

/* --- Z-STYLE FEED ARTICLES / POST CARDS --- */
.of-post-card {
  background-color: var(--of-white);
  border: 1px solid var(--of-border);
  border-radius: 4px; /* OF uses slight rounding, not overly bubbly */
  margin-bottom: 16px;
  overflow: hidden;
}

/* Post Header (Avatar + Names) */
.of-post-header {
  display: flex;
  align-items: center;
  padding: 12px;
}

.of-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--of-border);
  margin-right: 12px;
  object-fit: cover;
  border: 2px solid var(--of-white);
  box-shadow: 0 0 0 1px var(--of-blue); /* Subtle blue ring */
}

.of-user-info {
  display: flex;
  flex-direction: column;
}

.of-display-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--of-text-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Verification badge parody class */
.of-badge {
  color: var(--of-blue);
  font-size: 14px;
}

.of-username {
  font-size: 13px;
  color: var(--of-text-muted);
}

/* Post Content */
.of-post-text {
  padding: 0 12px 12px 12px;
  font-size: 14px;
  white-space: pre-wrap;
}

/* Paywall / Blurred Media Container */
.of-media-container {
  position: relative;
  width: 100%;
  background-color: #1a1a1a;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.of-media-blur {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  opacity: 0.6;
}

.of-paywall-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--of-white);
  padding: 20px;
  text-align: center;
}

.of-unlock-btn {
  background-color: var(--of-blue);
  color: var(--of-white);
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.of-unlock-btn:hover {
  background-color: var(--of-blue-hover);
}

/* Post Footer / Interactions */
.of-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-top: 1px solid var(--of-border);
}

.of-interaction-group {
  display: flex;
  gap: 16px;
}

.of-icon-btn {
  background: none;
  border: none;
  color: var(--of-text-muted);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.of-icon-btn:hover {
  color: var(--of-blue);
}





/* Styling for the newly revealed content */
.of-revealed-media {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures it fills the 16:9 box nicely */
  display: block;
  animation: fadeIn 0.3s ease-in-out; /* Smooth transitions make everything look premium */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}