:root {
  --bg: #050505;
  --bg-card: #111;
  --border: #333;
  --text: #f5f5f5;
  --muted: #999;
  --accent: #0a84ff;
}

/* Base reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  background: radial-gradient(circle at top, #111 0, #050505 45%, #000 100%);
  color: var(--text);
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}


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

/* ------------------------------------------------------------------
   HEADER / FOOTER
------------------------------------------------------------------- */

.site-header,
.site-footer {
  padding: 1rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.site-header {
  position: relative; /* needed for mobile menu absolute positioning */
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  margin-top: auto;
}

.logo a {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1rem;
}

/* Shared nav base */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a {
  font-size: 0.9rem;
}

/* Desktop nav is just main-nav with this class */
.desktop-nav {
  display: flex;
}

/* Mobile nav: hidden by default, shown via .open + breakpoint */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(10,10,10,0.97);
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.mobile-nav a {
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--text);
}

.mobile-nav.open {
  display: flex;
}

/* HAMBURGER BUTTON (right side, opposite logo) */
.hamburger {
  display: none; /* visible on mobile only */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--text);
  border-radius: 4px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* X animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ------------------------------------------------------------------
   LAYOUT
------------------------------------------------------------------- */

.content {
  padding: 2rem 5vw 3rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.content.narrow {
  max-width: 480px;
}

/* Hero */
.hero {
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #222 0, #111 40%, #050505 100%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.hero-status {
  margin-top: 1rem;
  color: var(--muted);
}
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  color: var(--text);
  transition: filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.btn:hover {
  filter: brightness(1.05);
}

/* Generic cards */
.card {
  background: rgba(20, 20, 20, 0.94);
  border-radius: 1.15rem;
  padding: 1.35rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(18px);
}

.card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.card p,
.card-subtitle {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Forms (auth, subscribe, etc.) */
.form-card label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.9);
  color: var(--text);
  font-size: 0.9rem;
}
.form-card textarea {
  resize: vertical;
}

/* Alerts */
.alert {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.85rem;
}
.alert.error {
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.4);
}
.alert.success {
  background: rgba(40, 220, 140, 0.12);
  border: 1px solid rgba(40, 220, 140, 0.4);
}

.note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Plans (subscribe / membership) */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.plan {
  background: rgba(15, 15, 15, 0.96);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Plan badges / sale prices */
.plan-badge {
  background: rgba(255, 210, 0, 0.25);
  border: 1px solid rgba(255, 210, 0, 0.5);
  color: #ffd200;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.plan-save {
  background: rgba(10,132,255,0.15);
  border: 1px solid rgba(10,132,255,0.4);
  color: #0a84ff;
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.old-price {
  text-decoration: line-through;
  color: #777;
  margin-right: 0.4rem;
  font-size: 0.85rem;
}

.new-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.plan-price {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.35rem 0;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Media grids (photos & videos) */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.media-item {
  border: none;
  padding: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Photo set selector */
.set-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.set-pill {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  color: var(--muted);
}
.set-pill.active {
  border-color: var(--accent);
  background: rgba(10, 132, 255, 0.16);
  color: #fff;
}
.set-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.set-thumb.placeholder {
    background: #222;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Media modal (photos & videos) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
  z-index: 999;
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-inner {
  position: relative;
  max-width: 96vw;
  max-height: 88vh;
  width: min(980px, 96vw);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-inner img,
.modal-inner video {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
}
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
}
.modal-arrow.left {
  left: -1.8rem;
}
.modal-arrow.right {
  right: -1.8rem;
}

/* Admin thumbnails & tables */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
}
.admin-thumb img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 0.55rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table th,
.admin-table td {
  padding: 0.38rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-table th {
  text-align: left;
  color: var(--muted);
}
.admin-table.compact th,
.admin-table.compact td {
  padding: 0.3rem 0.55rem;
}


/* Store cards */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.store-card {
  background: rgba(15, 15, 15, 0.96);
  border-radius: 1.25rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.store-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.store-desc {
  font-size: 0.85rem;
  color: var(--muted);
}
.store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
}
.store-price {
  font-weight: 600;
}
.store-thumb {
    width: 100%;
    margin: 0 auto 12px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.store-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Gallery grid (where used) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #eee;
  display: block;
}
.gallery-meta {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* Pagination */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a {
  padding: 8px 14px;
  background: #eee;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.pagination a:hover {
  background: #ddd;
}
.pagination a.active {
  background: #0071e3;
  color: white;
}
.pagination .prev,
.pagination .next {
  background: #f5f5f5;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   DASHBOARD UI
------------------------------------------------------------------- */

.dashboard-body {
  background: radial-gradient(circle at top, #131313 0, #050505 45%, #000 100%);
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.dashboard-header h1 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}
.dashboard-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Header chips */
.dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
}
.chip-soft {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.chip-outline {
  border: 1px solid rgba(10, 132, 255, 0.6);
  color: #e5f1ff;
  background: rgba(10, 132, 255, 0.08);
}
.chip-label {
  color: var(--muted);
}
.chip-value {
  font-weight: 500;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4cd964;
}

/* Two-column main dashboard layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
}

/* Column wrapper */
.dashboard-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Inner blocks inside a card (Photo sets, etc.) */
.card-block {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  padding: 1rem 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.card-block + .card-block {
  margin-top: 0.75rem;
}
.card-block-title {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Stacked forms (dashboard) */
.stack-form label {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 20, 0.9);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.stack-form textarea {
  resize: vertical;
}
.stack-form input:focus,
.stack-form textarea:focus,
.stack-form select:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.25);
}

/* Stack Photo Sets sections vertically */
.dashboard-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Media overview grid */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.overview-title {
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

/* ------------------------------------------------------------------
   COOKIE BANNER
------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.1rem 2rem;
  z-index: 999999;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cookie-banner.show {
  display: block;
  opacity: 1;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.cookie-text strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.cookie-text span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* ------------------------------------------------------------------
   FULL HERO (home page)
------------------------------------------------------------------- */

.full-hero {
  width: 100%;
  height: 70vh;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.full-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  );
}
.full-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}
.full-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.full-hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.home-section-title {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Media captions */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.media-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.media-thumb {
    width: 100%;
    aspect-ratio: 4 / 4; /* consistent shape */
    overflow: hidden;
    border-radius: 14px;
    background: #111;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Caption layout */
.media-caption {
    margin-top: 10px;
}

.media-caption h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: #fff;
}

.media-caption p {
    font-size: 0.75rem;
    color: #aaa;
    margin: 0;
    line-height: 1.3;
}

/* Hover interaction */
.media-item:hover .media-thumb {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    transition: 0.25s ease;
}

/* VIDEO MODAL CLEAN VERSION */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 40px 20px;
}

.video-modal.video-modal--visible {
    display: flex;
}

.video-modal-inner {
    background: #111;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    padding: 20px;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.video-modal-title {
    margin: 0 0 8px;
    font-size: 20px;
}

.video-modal-description {
    font-size: 14px;
    margin: 0 0 16px;
    opacity: .8;
}

.video-protect-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* ================================
   INDEX — VIDEO MODAL FIXED SIZING
   ================================ */

.video-modal-player {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 70vh;
    overflow: hidden;
}

#video-modal-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-radius: 12px;
    background: #000;
    display: block;
}

.video-modal-inner {
    max-width: 900px;
    width: 100%;
}

.admin-form .input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
}

.thumb-preview {
    margin: 10px 0 15px;
}

.thumb-img {
    width: 160px;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.btn.small {
    font-size: 13px;
    padding: 6px 14px;
}

/* ------------------------------------------------------
   UNIVERSAL SAVE/DOWNLOAD PROTECTION
------------------------------------------------------ */

img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* -------------------------------
   THUMBNAIL PROTECTION
------------------------------- */

.media-thumb {
    position: relative;
    overflow: hidden;
}

.media-thumb img.real-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    /* prevent saving */
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* Transparent overlay that intercepts right-click saves */
.media-thumb img.overlay-protect {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;

    /* ✅ allow clicks to pass through */
    pointer-events: none;

    z-index: 5;
    user-select: none;
}

/* -------------------------------
   FULL PHOTO MODAL PROTECTION
------------------------------- */

#modalImage {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* -------------------------------
   VIDEO PROTECTION
------------------------------- */

.video-protect-wrapper {
    position: relative;
    width: 100%;
}

.video-protect-wrapper video {
    width: 100%;
    height: auto;

    /* prevent save attempt */
    -webkit-user-drag: none;
    user-select: none;
}

/* Transparent overlay layer */
.video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    z-index: 5;

    /* ✅ receives right-click, blocks save */
    pointer-events: auto;

    user-select: none;
}


/* Password Toggle Eye Styling */
.password-field {
    position: relative;
    width: 100%;
}
.password-field input {
    width: 100%;
    padding-right: 40px;
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}
.password-toggle svg {
    pointer-events: none;
}

/* ---------------------------------------
   VIDEO CARD ROW LAYOUT
--------------------------------------- */

.video-card-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 18px;
    background: rgba(20,20,20,0.75);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
    margin-bottom: 18px;
}

/* Thumbnail */
.video-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 12;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.video-card-thumb img.real-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-card-thumb img.overlay-protect {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

/* Meta Section */
.video-card-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.video-card-desc {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.45;
}

.video-card-duration {
    font-size: 0.8rem;
    opacity: 0.65;
}

.video-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.locked-btn {
    opacity: 0.6;
    pointer-events: auto;
}

/* ------------------------------------------------------
   SITE-WIDE SEARCH OVERLAY
------------------------------------------------------ */

.header-icon-btn {
    margin-left: 0.75rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 999px;
    transition: background 0.16s ease, transform 0.16s ease;
}

.header-icon-btn:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

/* Fullscreen overlay */
.site-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.site-search-overlay.is-open {
    display: flex;
}

/* Panel */
.site-search-panel {
    position: relative;
    width: min(720px, 90vw);
    background: rgba(10,10,10,0.96);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    padding: 20px 22px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

/* Close button */
.site-search-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Form layout */
.site-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.site-search-input {
    flex: 1;
    padding: 0.85rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(5,5,5,0.95);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
}

.site-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(10,132,255,0.5);
}

.site-search-submit {
    white-space: nowrap;
}

/* ------------------------------------------------------
   SEARCH RESULTS GRID
------------------------------------------------------ */

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.search-card {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15,15,15,0.96);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    color: inherit;
}

.search-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-color: rgba(10,132,255,0.6);
}

.search-card-thumb {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #111;
}

.search-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.search-card-meta {
    flex: 1;
    min-width: 0;
}

.search-card-type {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 2px;
}

.search-card-title {
    font-size: 0.98rem;
    margin: 0 0 4px;
    color: #fff;
}

.search-card-desc {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer;
    margin: 3px;
    transition: background 0.2s, border-color 0.2s;
}

.tag-chip:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}


.store-sale-flare {
    display:inline-block;
    background:#0a84ff;
    color:white;
    padding:4px 10px;
    font-size:12px;
    border-radius:6px;
    font-weight:600;
    margin-bottom:6px;
}

.store-prices {
    margin-bottom:10px;
}

.original-price {
    text-decoration: line-through;
    opacity:0.6;
    margin-right:6px;
    font-size:14px;
}

.sale-price {
    color:#0a84ff;
    font-size:20px;
    font-weight:600;
}

.cart-wrapper {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    right: 0;
    top: 40px;
    width: 310px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    display: none;
    z-index: 1000;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    animation: fadeInCart .2s ease-out;
}

@keyframes fadeInCart {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.cart-dropdown.open {
    display: block;
}

/* Empty message */
[data-cart-empty] {
    padding: 14px;
    margin-bottom: 6px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}

/* Items list */
.cart-items {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}
.cart-items::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
}

/* Item */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item strong {
    font-size: 14px;
    color: #fff;
}

/* Qty input */
[data-cart-qty-input] {
    width: 48px;
    padding: 4px;
    font-size: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 6px;
}

/* Remove button */
[data-cart-remove] {
    background: none;
    border: none;
    color: #ff6464;
    font-weight: 600;
    cursor: pointer;
    margin-left: 6px;
    font-size: 14px;
}

/* Footer */
.cart-footer {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 12px;
    padding-top: 12px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #fff;
}

/* Checkout button */
.cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    background: #1f8fff;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.cart-checkout-btn:hover {
    background: #1577da;
}
.checkout-summary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 25px;
    max-width: 420px;
}

.checkout-summary h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 20px;
    color: #fff;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-info {
    max-width: 60%;
}

.summary-title {
    font-size: 15px;
    color: #fff;
}

.summary-price {
    margin-top: 4px;
    color: #bbb;
    font-size: 14px;
}

/* Qty buttons */
.summary-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 18px;
    cursor: pointer;
    line-height: 0;
    font-weight: 600;
    transition: background .2s;
}

.qty-btn:hover {
    background: rgba(255,255,255,0.25);
}

.remove-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: rgba(255,60,60,0.25);
    color: #ff4c4c;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
}

.remove-btn:hover {
    background: rgba(255,60,60,0.35);
}

.summary-total {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    color: #fff;
}
/* CART ICON */
.cart-icon-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.cart-icon {
    width: 22px;
    height: 22px;
    color: white;
    opacity: 0.9;
}

/* BADGE */
.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -6px;
    background: #1f8fff;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-toggle {
	background: var(--bg-card);
	border: 0;
}

/* Small tweak on mobile */
@media (max-width: 600px) {
    .site-search-panel {
        padding: 18px 16px;
    }
    .site-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .site-search-submit {
        width: 100%;
        justify-content: center;
    }
}


/* ------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------------------------- */

/* Desktop → tablet */
@media (max-width: 1000px) {
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-meta {
    justify-content: flex-start;
  }
}

/* Header/footer + general for <= 768px */
@media (max-width: 768px) {

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero {
    padding: 2.25rem 1.5rem;
  }

  .modal-arrow.left {
    left: 0.2rem;
  }
  .modal-arrow.right {
    right: 0.2rem;
  }
}

/* LOCKED OVERLAY */
.video-card-locked {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
}

.video-card-row.locked {
    cursor: pointer;
}

.video-card-row.locked:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.18);
}

/* Make whole card more “Apple UI” */
.video-card-row {
    display: flex;
    gap: 20px;
    padding: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    transition: 0.25s;
}

.video-card-row:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
}

/* Thumbnail */
.video-card-thumb {
    position: relative;
    width: 240px;
    height: 135px;
    border-radius: 10px;
    overflow: hidden;
}
.video-card-thumb img.real-thumb { width:100%; height:100%; object-fit:cover; }
.video-card-thumb img.overlay-protect { position:absolute; inset:0; opacity:0; }

/* Buttons clean */
.locked-btn {
    opacity: 0.7;
    cursor: pointer;
}




/* Cookie banner mobile */
@media (max-width: 700px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.5rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* Main mobile nav + layout (phones / small tablets) */
@media (max-width: 780px) {

  /* Hide desktop nav, show hamburger */
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-header {
    padding: 1rem 1.2rem;
  }

  .logo a {
    font-size: 1.1rem;
  }

  .main-nav a {
    font-size: 1rem;
  }

  /* Store / grids 1-col */
  .store-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .dashboard-column {
    gap: 1rem;
  }

  .card,
  .card-block {
    padding: 1rem;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cookie-banner {
    padding: 0.9rem 1rem;
  }

  .cookie-inner {
    gap: 0.8rem;
  }
}

/* Phone-first typography & spacing (<= 600px) */
@media (max-width: 600px) {

  body {
    background: #000;
  }

  .content {
    padding: 1.4rem 1.2rem;
  }

  /* Header */
  .site-header {
    padding: 1rem 1rem;
  }

  .logo a {
    font-size: 1.25rem;
    letter-spacing: 0.06em;
  }

  /* Hero text bigger */
  .hero {
    padding: 1.8rem 1.2rem;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero p,
  .hero-status {
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  /* Full hero */
  .full-hero {
    height: 55vh;
    min-height: 360px;
  }

  .full-hero-title {
    font-size: 2.2rem;
  }

  .full-hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Plans single column */
  .plans {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .plan {
    padding: 1.2rem;
  }

  .plan-desc {
    font-size: 0.82rem;
  }

  .new-price {
    font-size: 1.1rem;
  }

  .cookie-text span {
    font-size: 0.78rem;
  }
}

/* Keeps hamburger + cart aligned on the right */
.header-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;       /* Push them to the right */
}

/* Hide this cart when desktop nav is showing */
@media (min-width: 900px) {
    .mobile-cart { display: none; }
}

/* Show only on mobile */
@media (max-width: 899px) {
    .desktop-nav .cart-wrapper { display: none; }
}

