/*
 Theme Name:   Avada Child
 Theme URI:    https://avada.com
 Description:  Minimal, safe child theme for Avada. Keeps customizations through updates.
 Author:       Tape Latex and Oil
 Author URI:   https://tapelatexandoil.com
 Template:     Avada
 Version:      1.0.0
 Text Domain:  avada-child
*/
/* ===== OnlyFans-style Layout & Components ===== */

.of-body {
  background: #0f0f12; /* dark mode vibe */
  color: #e9e9ee;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Layout: left nav, center feed, right suggestions */
.of-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px) 300px;
  gap: 24px;
  width: min(1240px, 100%);
  margin: 24px auto;
  padding: 0 16px;
}

@media (max-width: 1100px) {
  .of-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .of-right { display: none; }
}
@media (max-width: 800px) {
  .of-layout { grid-template-columns: 1fr; }
  .of-left { display: none; }
}

/* Left side */
.of-side {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 8px;
  background: #15151a; border: 1px solid #24242b;
  border-radius: 16px; padding: 12px;
}
.of-side-link {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: #cfd0d7; text-decoration: none;
}
.of-side-link:hover { background: #1c1c22; color: #fff; }

/* Right side suggestions */
.of-suggest {
  position: sticky; top: 88px;
  background: #15151a; border: 1px solid #24242b;
  border-radius: 16px; padding: 16px;
}
.of-suggest-title {
  font-weight: 700; margin-bottom: 10px; color: #fff;
}
.of-suggest-card {
  background: #1a1a20; border: 1px solid #2a2a33;
  border-radius: 12px; padding: 12px; color: #d6d7de;
}

/* Profile header */
.of-profile-header {
  display: flex; align-items: center; justify-content: space-between;
  background: #15151a; border: 1px solid #24242b;
  border-radius: 18px; padding: 16px 18px; margin-bottom: 18px;
}
.of-profile-left { display: flex; gap: 14px; align-items: center; }
.of-avatar-wrap { position: relative; }
.of-avatar {
  width: 72px; height: 72px; border-radius: 999px;
  object-fit: cover; border: 2px solid #2b2b33;
}
.of-verified {
  position: absolute; right: -6px; bottom: -6px;
  background: #2f80ff; color: #fff; width: 22px; height: 22px;
  display: grid; place-items: center; font-size: 12px; border-radius: 999px;
  box-shadow: 0 0 0 2px #15151a;
}
.of-profile-meta { max-width: 560px; }
.of-name-row { display: flex; align-items: center; gap: 8px; }
.of-name { font-weight: 800; font-size: 18px; color: #fff; }
.of-verified-txt { font-size: 12px; color: #9ac0ff; background: #1a2336; padding: 2px 6px; border-radius: 6px; }
.of-bio { color: #cfd0d7; margin-top: 6px; }

.of-profile-right { display: flex; align-items: center; gap: 10px; }
.of-subscribed-badge {
  background: #182a17; color: #95e694; padding: 8px 10px; border-radius: 10px; font-weight: 700;
}

/* Buttons */
.of-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 700;
  text-decoration: none; transition: transform .05s ease, background .2s ease;
}
.of-btn:active { transform: translateY(1px); }
.of-btn-primary { background: #2f80ff; color: #fff; }
.of-btn-primary:hover { background: #2368d1; }

/* Feed & Cards */
.of-feed { display: flex; flex-direction: column; gap: 16px; }
.of-card-media {
  position: relative; overflow: hidden;
  background: #101014; border: 1px solid #22222a; border-radius: 16px;
}
.of-card-media .of-media-inner {
  display: block;
}
.of-card-media img, .of-card-media video {
  display: block; width: 100%; height: auto; border-radius: 16px;
}

/* Locked state — blur + overlay */
.of-card-media.of-locked .of-media-inner {
  filter: blur(12px) brightness(0.7);
  transform: scale(1.02);
}
.of-lock-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to bottom, rgba(15,15,18,.2), rgba(15,15,18,.78));
  text-align: center; padding: 24px;
}
.of-lock-badge {
  display: inline-block; margin-bottom: 10px;
  padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: #1d1d24; color: #bfc1cc; border: 1px solid #2a2a33;
  text-transform: uppercase; letter-spacing: .08em;
}
.of-lock-price {
  color: #ffffff; font-weight: 800; font-size: 20px; margin-bottom: 12px;
}

/* Unlocked state */
.of-card-media.of-unlocked .of-lock-overlay { display: none; }

/* Subtle card shadow & hover */
.of-card-media { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.of-card-media:hover { box-shadow: 0 10px 30px rgba(0,0,0,.45); }

/* Links & text defaults */
a { color: #9ec1ff; }
a:hover { color: #b8d2ff; }