:root {
  /* --- LUXURY PALETTE (Gold & Black) --- */
  --color-bg: #050505;
  /* Deep Black */
  --color-primary: #D4AF37;
  /* Metallic Gold */
  --color-primary-dark: #aa8c2c;
  --color-accent: #FFD700;
  /* Bright Gold */
  --color-card-bg: #111111;
  /* Off-black */
  --color-text: #F5F5F5;

  --font-main: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', serif;
  /* Elegant Serif */

  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.5;
}

/* --- Animated Background (Gold) --- */
.kisses-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.kiss {
  position: absolute;
  opacity: 0.1;
  color: var(--color-primary);
  /* Gold */
  animation: floatUpGold 25s linear infinite;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
}

@keyframes floatUpGold {
  0% {
    transform: translateY(110vh) scale(0.9);
    opacity: 0;
  }

  20% {
    opacity: 0.25;
  }

  80% {
    opacity: 0.25;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* --- Typography --- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}


/* --- Header Layout --- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 40px;
  gap: 30px;
}

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  width: auto;
  max-width: 250px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

.header-seo-text {
  flex-grow: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.site-title {
  font-size: 1.8rem;
  color: #D4AF37;
  text-transform: uppercase;
  font-family: var(--font-display);
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
  font-weight: 700;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.site-subtitle {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
  font-family: var(--font-main);
  font-weight: 400;
}

.gold-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  width: 100%;
  max-width: 600px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 40px;
}

/* --- Buttons (Luxury) --- */
.btn {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 25px;
  cursor: pointer;
  font-family: var(--font-display);
  /* Serif for buttons */
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn:hover {
  background: var(--color-primary);
  color: black;
  /* Contrast on Gold */
  box-shadow: var(--shadow-gold);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #F0C330);
  color: black;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* --- Universal Watermark System --- */
.watermark-container {
  position: relative;
}

/* Watermark removed */

/* --- Layout & Grid --- */
.main-layout {
  display: block;
  /* Remove flex, stack normally */
  position: relative;
}

/* Full Width Dropdown Menu */
.sidebar {
  display: none;
  /* Hidden by default */
  width: 100%;
  background: rgba(10, 10, 10, 0.98);
  padding: 30px;
  border-bottom: 2px solid var(--color-primary);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  animation: slideDown 0.3s ease-out;
}

.sidebar.active {
  display: block;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sidebar.closing {
  animation: slideUp 0.3s ease-in forwards;
  display: block;
  /* Keep it visible during animation */
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}

.sidebar-close-btn {
  display: none;
  /* Not needed for top dropdown, usually handle with toggle or outside click */
}

.content-area {
  width: 100%;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* --- Navigation & Filters --- */
.nav-section {
  margin-bottom: 25px;
}

.nav-title {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 0, 255, 0.3);
  padding-bottom: 5px;
  font-family: var(--font-display);
}

.nav-item {
  display: block;
  color: #ccc;
  text-decoration: none;
  padding: 8px 10px;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 0.95rem;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(206, 154, 255, 0.15);
  color: var(--color-primary);
  padding-left: 15px;
}

.main-nav-bar {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.top-nav-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.2s;
}

.top-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

/* --- Badges & Cards --- */
/* Featured (VIP) Card Styles */
.featured-card {
  /* border: 2px solid #D4AF37; REMOVED */
  /* Gold */
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: scale(1.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

.model-card {
  background: var(--color-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(206, 154, 255, 0.2);
  border-color: var(--color-primary);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 9/16;
  height: auto;
  overflow: hidden;
  background: #000;
}

/* Watermark overlay removed */

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 2;
}

.badge-vip {
  background: #ffd700;
  color: black;
  box-shadow: 0 0 10px #ffd700;
}

.badge-new {
  background: var(--color-accent);
  color: white;
  right: auto;
  left: 10px;
}

.badge-video {
  background: rgba(0, 0, 0, 0.7);
  bottom: 10px;
  right: 10px;
  top: auto;
  left: auto;
}

.badge-available {
  position: absolute;
  top: 15px !important;
  right: 15px !important;
  left: auto !important;
  bottom: auto !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff !important;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 100 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  pointer-events: none !important;
  transform: none !important;
  animation: none !important;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #39ff14;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #39ff14;
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(57, 255, 20, 0);
    transform: scale(1.1);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
    transform: scale(1);
  }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.card-info {
  padding: 15px;
}

.model-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.model-name {
  font-size: 1.3rem;
  color: var(--color-primary);
}

.model-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 5px;
}

/* --- Forms (Updated) --- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

select {
  width: 100%;
  padding: 12px;
  background: #111;
  border: 1px solid #333;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}


/* --- New Profile Layout (Reference Match) --- */
.profile-new-layout {
  padding: 30px;
  color: #fff;
}

.profile-top-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid #333;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.profile-avatar-large {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary);
  box-shadow: 0 0 20px rgba(206, 154, 255, 0.3);
  flex-shrink: 0;
}

.edit-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: contain;
  background: #000;
  border: 1px solid #333;
}

@media (max-width: 600px) {
  .edit-profile-avatar-container {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }

  .edit-profile-avatar {
    width: 100% !important;
    height: auto !important;
    max-height: 250px;
    border-radius: 12px;
  }
}

.profile-main-info {
  flex-grow: 1;
}

.profile-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 20px;
}

.model-title {
  font-size: 2.5rem;
  font-family: var(--font-display);
  margin: 0;
  line-height: 1;
}

.action-buttons-top {
  display: flex;
  gap: 10px;
}

.btn-icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-whatsapp-circle {
  background: #25D366;
}

.btn-phone-circle {
  background: var(--color-primary);
}

.btn-icon-circle:hover {
  transform: scale(1.1);
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.tag-pill {
  background: #2a2a2a;
  color: #ccc;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  border: 1px solid #444;
}

.tag-pill strong {
  color: white;
  margin-right: 4px;
}

.tag-highlight {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.content-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .content-columns {
    grid-template-columns: 1fr;
  }

  .profile-top-section {
    justify-content: center;
    text-align: center;
  }

  .profile-name-row {
    justify-content: center;
  }
}

.section-label {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.text-content {
  line-height: 1.6;
  color: #ddd;
  font-size: 1rem;
  white-space: pre-line;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  background: #111;
  padding: 10px;
  border-radius: 8px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #888;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  font-family: var(--font-main);
  text-transform: uppercase;
  transition: all 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: #222;
  color: white;
  border-radius: 4px;
}

.tab-counts {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.count-badge {
  background: #222;
  padding: 8px 15px;
  border-radius: 6px;
  border: 1px solid #333;
  font-size: 0.9rem;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 8px;
}


/* --- Profile Detail Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(5px);
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* --- Modern Profile (Wider & Anchor Scroll) --- */
.modal-content {
  background: #0a0a0a;
  /* Darker, slicker */
  width: 95%;
  /* Wider */
  max-width: 1400px;
  /* Max wide */
  border-radius: 16px;
  border: 1px solid #333;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  height: 90vh;
  /* Fixed height for internal scroll */
  max-height: 90vh;
  overflow: hidden;
  /* Header fixed, body scrolls */
  position: relative;
}

/* Scrollable area inside modal */
.profile-scroll-container {
  overflow-y: auto;
  flex-grow: 1;
  scroll-behavior: smooth;
  padding: 0;
  position: relative;
}

.profile-new-layout {
  padding: 40px;
  /* More breathing room */
  max-width: 1200px;
  margin: 0 auto;
}

.profile-top-section {
  display: flex;
  gap: 50px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.profile-avatar-large {
  width: 250px;
  /* Bigger */
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary);
  box-shadow: 0 0 30px rgba(206, 154, 255, 0.2);
}

/* Sticky Nav Bar inside Scroll Container */
.sticky-profile-nav {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 15px 0;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.nav-anchor-btn {
  background: transparent;
  border: none;
  color: #888;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s;
}

.nav-anchor-btn:hover,
.nav-anchor-btn.active {
  background: var(--color-primary);
  color: black;
  box-shadow: 0 0 15px var(--color-primary);
}

.section-block {
  margin-bottom: 80px;
  /* Huge spacing between sections */
  scroll-margin-top: 100px;
  /* Offset for sticky nav */
}

.section-label {
  font-size: 2rem;
  /* Bigger titles */
  margin-bottom: 30px;
  border-left: 5px solid var(--color-primary);
  padding-left: 15px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--color-primary);
}

.profile-header {
  width: 100%;
  height: 350px;
  position: relative;
}

.profile-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  padding: 30px;
  background: linear-gradient(to bottom, #111, #050505);
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin: 20px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-label {
  color: var(--color-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.stat-value {
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
}

/* --- Optimized Gallery Grid (Smaller & Neater) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  border: none !important;
  /* Sacar cuadrado dorado / bordes */
}

.gallery-img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.contact-bar {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

/* --- Professional Upload UI --- */
.upload-zone {
  border: 2px dashed #444;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  display: block;
}

.upload-zone:hover {
  border-color: var(--color-primary);
  background: rgba(206, 154, 255, 0.05);
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
  color: #888;
}

/* --- Modern Forms & Inputs ("Cute/Modern") --- */
.input-modern {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  /* Pill shape */
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.input-modern:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(206, 154, 255, 0.3);
  outline: none;
  transform: translateY(-2px);
}

.input-modern::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group {
  margin-bottom: 25px;
}

.modern-label {
  display: block;
  margin-left: 20px;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Login & Auth Cards (Glassmorphism) --- */
.modern-login-container {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modern-login-card {
  width: 100%;
  max-width: 450px;
  padding: 50px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

textarea.input-modern {
  border-radius: 20px;
  /* Less rounded for areas */
}

/* Update Comment Form inputs in app.js context to use this class if they aren't already */
.comment-form input,
.comment-form textarea {
  /* Inherit basic properties but ensure they match input-modern logic if strictly selected */
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: white;
  margin-bottom: 15px;
  font-family: inherit;
}

.comment-form textarea {
  border-radius: 20px;
}

/* --- Modern Footer Refined --- */
.modern-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-title {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}

.footer-text {
  color: #888;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer-bottom-brand {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo-large {
  height: 80px;
  padding: 20px 40px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
  /* Bigger logo as requested */
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-logo-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
}

.copyright {
  color: #666;
  font-size: 0.85rem;
}

.preview-item {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #333;
}

.hidden-input {
  display: none;
}

.media-section-title {
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.2rem;
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* Mobile Phones (Portrait) - 320px to 480px */
@media (max-width: 480px) {

  /* Grid adjustments */
  .models-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding: 10px !important;
  }

  /* Card scaling - reset for mobile */
  .model-card {
    transform: scale(1) !important;
    margin: 0 !important;
  }

  /* Typography */
  h1 {
    font-size: 1.8rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.2rem !important;
  }

  /* Navigation */
  .header-nav {
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* Buttons */
  .btn {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Footer */
  .footer-content {
    flex-direction: column !important;
    text-align: center !important;
  }

  /* Forms */
  .form-group {
    margin-bottom: 15px !important;
  }

  input,
  textarea,
  select {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
  }

  /* Admin panel */
  .admin-stats {
    grid-template-columns: 1fr !important;
  }

  /* Profile detail */
  .profile-detail {
    padding: 10px !important;
  }

  .profile-gallery {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Phones (Landscape) & Small Tablets - 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .model-card {
    transform: scale(1) !important;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.7rem !important;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .profile-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Tablets - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .models-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
  }

  .admin-stats {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .profile-gallery {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Desktop - 1025px and up */
@media (min-width: 1025px) {
  .models-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  }
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {

  /* Container and layout */
  .container {
    padding: 10px;
  }

  /* Models grid - single column on mobile */
  .models-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Model cards */
  .model-card {
    max-width: 100%;
  }

  .card-img-wrapper {
    height: 250px;
  }

  .model-name {
    font-size: 1.1rem;
  }

  /* Buttons and forms */
  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    width: 100%;
    margin-bottom: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Dashboard header */
  .dashboard-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Profile modal */
  .modal-content {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    max-width: 100%;
  }

  .profile-new-layout {
    padding: 20px 15px;
  }

  .profile-top-section {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .profile-avatar-large {
    width: 150px;
    height: 150px;
  }

  .model-title {
    font-size: 1.8rem !important;
  }

  .action-buttons-top {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Navigation */
  .sticky-profile-nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
  }

  .nav-anchor-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }

  /* Stats and tags */
  .tags-row {
    justify-content: center;
  }

  .tag-pill {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  /* Section blocks */
  .section-block {
    margin-bottom: 40px;
  }

  .section-label {
    font-size: 1.3rem;
  }

  /* Input fields */
  .input-modern,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
    /* Prevents zoom on iOS */
  }
}

/* Small phones */
@media (max-width: 480px) {
  .profile-avatar-large {
    width: 120px;
    height: 120px;
  }

  .model-title {
    font-size: 1.5rem !important;
  }

  .btn-icon-circle {
    width: 40px;
    height: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

  /* Larger touch targets */
  .btn,
  button,
  a {
    min-height: 44px !important;
    min-width: 44px !important;
  }

  /* Remove hover effects on touch devices */
  .model-card:hover {
    transform: scale(1) !important;
  }
}

/* Landscape orientation specific */
@media (orientation: landscape) and (max-height: 500px) {
  .header-nav {
    padding: 10px !important;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  /* Sharper borders and shadows */
  .model-card {
    border-width: 1.5px !important;
  }
}

/* Print styles */
@media print {

  .header-nav,
  .footer,
  .btn {
    display: none !important;
  }

  .model-card {
    break-inside: avoid !important;
  }
}

/* --- Mobile Scaling & Proportions --- */
@media (max-width: 768px) {
  html {
    font-size: 13px;
    /* Smaller base font size */
  }

  .container {
    padding: 10px;
    /* Tighter padding */
  }

  .models-grid {
    /* 140px min ensures 2 columns even on 320px screens (320 - 20 pad = 300 > 140*2 + 10) */
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .card-img-wrapper {
    aspect-ratio: 9/16;
    height: auto;
  }
}


/* --- Grid Columns Fix --- */
/* --- Grid Columns Fix --- */
.models-grid,
.grid-3-col,
.grid-4-col,
.grid-5-col,
.grid-6-col {
  display: grid;
  gap: 20px;
  width: 100%;
}

.models-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.grid-3-col {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4-col {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5-col {
  grid-template-columns: repeat(5, 1fr);
}

.grid-6-col {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1400px) {
  .grid-6-col {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1200px) {

  .grid-5-col,
  .grid-6-col {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-3-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {

  .grid-3-col,
  .grid-4-col,
  .grid-5-col,
  .grid-6-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .models-grid,
  .grid-3-col,
  .grid-4-col,
  .grid-5-col,
  .grid-6-col {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
}

.grid-5-col,
.grid-4-col {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}


/* --- Card Styles --- */
.card-img-wrapper {
  aspect-ratio: 9/16;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.model-card:hover .card-img {
  transform: scale(1.1);
}

.card-info {
  align-items: center;
  font-size: 0.9rem;
  color: #888;
}

.videocall-tag {
  background: linear-gradient(135deg, #ff00cc 0%, #333399 100%);
  color: white;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 5px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-badges-right {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  z-index: 2;
}

.badge {
  padding: 3px 8px;
  /* Smaller padding */
  border-radius: 4px;
  /* More professional, less rounded */
  font-size: 0.65rem;
  /* Smaller font */
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* --- Card Styles (Hot & Passionate) --- */
.model-card {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  /* Deep Red Glow */
  box-shadow: 0 4px 20px rgba(100, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 480px;
  display: flex;
  flex-direction: column;
  border: 1px solid #330000;
}

/* Tier Specific Glows (Intensified) */
.model-card[style*="764ba2"] {
  /* Super Diamond - Mystic Purple/Red */
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.5);
  border: 1px solid #8a2be2 !important;
}

.model-card[style*="f5576c"] {
  /* Premium - Hot Pink/Red */
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
  border: 1px solid #ff1493 !important;
}

/* Mobile height adjustment */
@media (max-width: 768px) {

  .model-card,
  .card-img-wrapper {
    height: 320px !important;
  }
}

.card-img-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: contrast(1.1);
  /* Slightly boost contrast for 'pop' */
}

.model-card:hover .card-img {
  transform: scale(1.1);
}

/* Hot Gradient Overlay */
.card-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px 15px 15px;
  /* CLEAN PHOTOS: Transparent background */
  background: transparent !important;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.model-header-overlay {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.model-name {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  /* CLEAN PHOTOS: No text shadow */
  text-shadow: none !important;
  font-style: italic;
  /* Dynamic feel */
}

.model-category-badge {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
}

.tags-overlay {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.mini-tag {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  color: white;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

.mini-tag.video {
  /* Hot Pink Gradient */
  background: linear-gradient(135deg, #ff0055 0%, #cc0000 100%);
  border: none;
}

.mini-tag.card {
  /* Deep Blue/Purple */
  background: linear-gradient(135deg, #2b32b2 0%, #1488cc 100%);
  border: none;
}

.model-location-overlay {
  font-size: 0.85rem;
  color: #ffcccc;
  /* Light pinkish white */
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* Removed secondary badge-available definition */

/* Update Card Container */
.model-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  /* Flex layout for height consistency */
  flex-direction: column;
}

@media (max-width: 768px) {
  .card-img-wrapper {
    height: 200px;
  }
}

.top-login-link {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 600;
}

.main-nav-container {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #111;
  margin-bottom: 20px;
  border-radius: 8px;
}

.dropdown {
  position: relative;
}

.menu-btn {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  padding: 8px 20px;
  font-weight: bold;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: black;
  min-width: 200px;
  border: 1px solid #D4AF37;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  color: white;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-item:hover {
  background: #D4AF37;
  color: black;
}

/* --- Login Form Styles --- */
.modern-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modern-login-card {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  padding: 50px 40px;
  border-radius: 20px;
  border: 2px solid var(--gold);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
  max-width: 450px;
  width: 100%;
}

.modern-label {
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

/* --- Super Admin Panel Styles --- */
.super-admin-root {
  background-color: #050505;
  color: #e0e0e0;
  font-family: 'Outfit', sans-serif;
  height: 100vh;
  overflow: hidden;
}

.super-layout {
  display: flex;
  height: 100%;
}

.super-sidebar {
  width: 250px;
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border-right: 1px solid #333;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.super-brand {
  padding-bottom: 30px;
  border-bottom: 1px solid #222;
  margin-bottom: 20px;
  text-align: center;
}

.super-brand h2 {
  color: var(--gold);
  margin: 0;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
}

.super-brand span {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.super-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.super-nav button {
  background: transparent;
  border: none;
  color: #888;
  text-align: left;
  padding: 12px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.super-nav button:hover,
.super-nav button.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.super-logout {
  margin-top: auto;
  color: #ff4444 !important;
}

.super-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  background: #080808;
}

.super-header {
  margin-bottom: 30px;
}

.super-header h1 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 10px;
}

.super-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #111;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #222;
}

.stat-card.warning {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.05);
}

.stat-card h3 {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.super-section {
  background: #111;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #222;
  margin-bottom: 30px;
}

.alert-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(255, 68, 68, 0.1);
  border-left: 4px solid #ff4444;
  border-radius: 4px;
}

.super-table-container {
  overflow-x: auto;
}

.super-table {
  width: 100%;
  border-collapse: collapse;
}

.super-table th {
  text-align: left;
  padding: 15px;
  color: #888;
  font-weight: normal;
  border-bottom: 1px solid #333;
}

.super-table td {
  padding: 15px;
  border-bottom: 1px solid #222;
}

/* ============================================
   SUPER ADMIN PANEL - PREMIUM DESIGN
   ============================================ */

.super-admin-container {
  display: flex;
  min-height: 100vh;
  background: #0a0a0a;
}

/* Sidebar */
.super-admin-sidebar {
  width: 280px;
  background: linear-gradient(180deg, #111 0%, #000 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  padding: 30px 0;
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
}

.super-admin-logo {
  padding: 0 30px 30px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 30px;
}

.super-admin-logo h2 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 5px 0;
  font-weight: 900;
}

.super-admin-logo p {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
  letter-spacing: 2px;
}

.super-admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 15px;
  flex: 1;
}

.super-admin-nav a {
  padding: 15px 20px;
  color: #999;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.super-admin-nav a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #D4AF37;
  transform: translateX(5px);
}

.super-admin-nav a.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
  color: #FFD700;
  border-left: 3px solid #D4AF37;
}

/* Main Content */
.super-admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
}

.super-admin-header {
  background: #111;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.super-admin-header h1 {
  font-size: 1.8rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.super-admin-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.super-admin-user span {
  color: #D4AF37;
  font-weight: 600;
}

.super-admin-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

/* Dashboard Stats */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.stat-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  border-color: #D4AF37;
}

.stat-card h3 {
  font-size: 3rem;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 10px 0;
  font-weight: 900;
}

.stat-card p {
  color: #999;
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-card.stat-warning {
  border-color: #ff4444;
  background: linear-gradient(135deg, #2a1111 0%, #1a0a0a 100%);
}

.stat-card.stat-warning h3 {
  background: linear-gradient(135deg, #ff4444 0%, #ff6666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Alerts */
.alert {
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.alert-warning {
  background: rgba(255, 68, 68, 0.1);
  border-left: 4px solid #ff4444;
  color: #ffaaaa;
}

.alert strong {
  color: #ff6666;
}

.alert a {
  color: #D4AF37;
  text-decoration: underline;
  margin-left: auto;
}

/* Calendar View */
.calendar-view h3 {
  color: #D4AF37;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.expiration-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.expiration-item {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}

.expiration-item:hover {
  border-color: #D4AF37;
  transform: translateX(5px);
}

.expiration-item.expiring-soon {
  border-color: #ff9900;
  background: rgba(255, 153, 0, 0.05);
}

.expiration-item.expired {
  border-color: #ff4444;
  background: rgba(255, 68, 68, 0.05);
  opacity: 0.7;
}

.exp-model-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.exp-model-info strong {
  color: #fff;
  font-size: 1.1rem;
}

.exp-model-info span {
  color: #888;
  font-size: 0.9rem;
}

.exp-status {
  flex-shrink: 0;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-danger {
  background: #ff4444;
  color: white;
}

.badge-warning {
  background: #ff9900;
  color: white;
}

.badge-success {
  background: #44ff44;
  color: #000;
}

.badge-secondary {
  background: #666;
  color: white;
}

/* Profiles Management */
.profiles-management {
  background: #111;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.profiles-header {
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profiles-table {
  overflow-x: auto;
}

.profiles-table table {
  width: 100%;
  border-collapse: collapse;
}

.profiles-table thead {
  background: rgba(212, 175, 55, 0.1);
}

.profiles-table th {
  padding: 15px;
  text-align: left;
  color: #D4AF37;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-bottom: 2px solid #D4AF37;
}

.profiles-table td {
  padding: 15px;
  border-bottom: 1px solid #222;
  color: #ccc;
}

.profiles-table tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

.profiles-table td button {
  margin-right: 8px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-danger {
  background: #ff4444;
  color: white;
}

.btn-danger:hover {
  background: #ff6666;
  transform: translateY(-2px);
}

/* Moderation Panel */
.moderation-panel h3 {
  color: #D4AF37;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-item {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
}

.comment-item:hover {
  border-color: #D4AF37;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #222;
}

.comment-header strong {
  color: #D4AF37;
}

.comment-header span {
  color: #888;
  font-size: 0.85rem;
}

.comment-body {
  margin-bottom: 15px;
}

.comment-body p {
  color: #ccc;
  margin: 8px 0;
  line-height: 1.6;
}

.comment-body strong {
  color: #999;
}

.comment-actions {
  display: flex;
  gap: 10px;
}

/* Recent Activity */
.recent-activity {
  background: #111;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.recent-activity h3 {
  color: #D4AF37;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.recent-activity p {
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .super-admin-container {
    flex-direction: column;
  }

  .super-admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .super-admin-nav {
    flex-direction: row;
    overflow-x: auto;
  }

  .super-admin-content {
    padding: 20px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .profiles-table {
    font-size: 0.85rem;
  }
}

/* ============================================
   ANNOUNCEMENTS SYSTEM STYLING
   ============================================ */

/* Announcements Manager (Admin Panel) */
.announcements-manager {
  max-width: 1200px;
  margin: 0 auto;
}

.announcements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.announcements-header h2 {
  color: #D4AF37;
  font-size: 2rem;
  margin: 0;
}

.announcements-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.empty-state {
  text-align: center;
  color: #888;
  padding: 60px 20px;
  font-size: 1.1rem;
}

.announcement-card {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s;
}

.announcement-card.active {
  border-color: #D4AF37;
}

.announcement-card.inactive {
  opacity: 0.6;
}

.announcement-card .announcement-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}

.announcement-card h3 {
  color: #fff;
  margin: 0;
  font-size: 1.3rem;
}

.announcement-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #666;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
  background-color: #D4AF37;
}

.toggle-switch input:checked+.toggle-slider:before {
  transform: translateX(26px);
}

.announcement-content p {
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

.announcement-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #333;
}

.announcement-type {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.announcement-type.info {
  background: rgba(33, 150, 243, 0.2);
  color: #2196F3;
}

.announcement-type.warning {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
}

.announcement-type.success {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.announcement-type.danger {
  background: rgba(244, 67, 54, 0.2);
  color: #F44336;
}

.announcement-date {
  color: #888;
  font-size: 0.85rem;
}

/* Announcements Banner (Public Site) */
.announcements-banner {
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.announcement-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border-left: 4px solid;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.announcement-item.announcement-info {
  background: rgba(33, 150, 243, 0.1);
  border-color: #2196F3;
}

.announcement-item.announcement-warning {
  background: rgba(255, 152, 0, 0.1);
  border-color: #FF9800;
}

.announcement-item.announcement-success {
  background: rgba(76, 175, 80, 0.1);
  border-color: #4CAF50;
}

.announcement-item.announcement-danger {
  background: rgba(244, 67, 54, 0.1);
  border-color: #F44336;
}

.announcement-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.announcement-text {
  flex: 1;
}

.announcement-text strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.announcement-text p {
  color: #ccc;
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .announcement-card .announcement-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .announcement-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .announcement-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --- Tier Separators (Fix for broken headers) --- */
.tier-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 40px 0 30px;
  text-align: center;
}

.tier-separator h2 {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1.2;
}

.tier-separator.premium h2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tier-separator.vip h2 {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.diamond-icon,
.crown-icon,
.star-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}


/* --- Missing Tiers Grid Layout --- */
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.grid-5-col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {

  .grid-4-col,
  .grid-5-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {

  .grid-4-col,
  .grid-5-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .grid-4-col,
  .grid-5-col {
    grid-template-columns: 1fr;
  }
}

/* --- Header Update CSS --- */
.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #aa8c2c;
}

.top-login-link {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 600;
}

.main-nav-container {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #111;
  margin-bottom: 20px;
  border-radius: 8px;
}

.dropdown {
  position: relative;
}

.menu-btn {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  padding: 8px 20px;
  font-weight: bold;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: black;
  min-width: 200px;
  border: 1px solid #D4AF37;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  color: white;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-item:hover {
  background: #D4AF37;
  color: black;
}

/* --- Legal Pages Styles --- */
.legal-page {
  background: #000;
  color: #ccc;
  min-height: 100vh;
  padding: 40px 20px;
  line-height: 1.6;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: #111;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #333;
}

.legal-container h1 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 2.5rem;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.legal-container h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-date {
  color: #666;
  font-style: italic;
  margin-bottom: 40px;
}

.legal-container p,
.legal-container ul {
  margin-bottom: 15px;
}

.legal-container ul {
  padding-left: 20px;
}

.legal-container li {
  margin-bottom: 10px;
}

.legal-actions {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #333;
  display: flex;
  gap: 15px;
}

/* QUICK DESKTOP OVERRIDE: forzar ancho completo en pantallas de escritorio */
@media (min-width: 1025px) {
  .container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  /* evitar scroll horizontal accidental */
  body {
    overflow-x: hidden !important;
  }
}

/* --- Updated Header Nav Styles (from header-update.txt) --- */
.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #aa8c2c;
}

.top-login-link {
  color: #D4AF37;
  text-decoration: none;
  font-weight: 600;
}

.main-nav-container {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #111;
  margin-bottom: 20px;
  border-radius: 8px;
}

.menu-btn {
  background: transparent;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  padding: 8px 20px;
  font-weight: bold;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: black;
  min-width: 200px;
  border: 1px solid #D4AF37;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  color: white;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-item:hover {
  background: #D4AF37;
  color: black;
}


/* --- Refined Header Styles (Image Match) --- */
.main-nav-container {
  justify-content: space-between;
  /* Layout: Left Group --space-- Menu */
  padding: 10px 20px;
  background: #0a0a0a;
  /* Dark background matches image */
  border-bottom: 1px solid #333;
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-grow: 1;
  /* Allow it to take space if needed, but contents won't stretch weirdly */
}

/* Search Box Wrapper */
.search-box-wrapper {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 5px 10px;
  height: 40px;
  width: 200px;
  /* Fixed width like image */
}

.search-icon {
  font-size: 1.2rem;
  /* Magnifying glass size */
  margin-right: 8px;
  filter: grayscale(100%);
  /* Optional: make emoji grey/blueish */
}

.header-input {
  background: transparent;
  border: none;
  color: #ccc;
  width: 100%;
  font-size: 0.9rem;
  outline: none;
}

/* Custom Dropdown (City Filter) - Image Match */
.custom-dropdown {
  position: relative;
  user-select: none;
}

.dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Space between icon/text and arrow */
  background: #000;
  border: 1px solid #D4AF37;
  /* Gold border */
  padding: 0 15px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  min-width: 180px;
}

.pin-icon {
  margin-right: 8px;
  color: #ff3366;
  /* Pink/Red pin color from image */
}

.selected-text {
  color: #D4AF37;
  /* Gold text */
  font-weight: bold;
  font-size: 0.9rem;
  margin-right: auto;
  /* Push arrow to right */
}

.dropdown-arrow {
  color: #D4AF37;
  font-size: 0.8rem;
  margin-left: 10px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #000;
  border: 1px solid #D4AF37;
  border-top: none;
  z-index: 1000;
}

.custom-dropdown:hover .dropdown-menu {
  display: block;
}

/* Or use JS toggle */

/* Menu Button - Stacked Look */
.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  padding: 5px 15px;
  border-radius: 4px;
  cursor: pointer;
  height: 45px;
  /* Taller for stacked content */
  min-width: 70px;
}

.menu-text {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.menu-icon {
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}


/* Ensure menu button alignment is perfect */
.main-nav-container {
  align-items: center;
  /* Vertical center for all flex items */
}

.menu-btn {
  margin-left: 10px;
  /* Space between dropdown and menu button */
}

/* Ensure card images are forced to cover on mobile just in case */
@media (max-width: 768px) {
  .card-img {
    height: 100% !important;
    object-fit: cover !important;
  }
}


/* --- JS Helper for Mobile Menu --- */
.dropdown-content.show {
  display: block !important;
}

/* --- Modern Upload Utils --- */
.input-file-modern {
  display: none;
}

.btn-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #D4AF37;
  border: 1px dashed #D4AF37;
  padding: 15px 25px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  margin-top: 5px;
}

.btn-upload-label:hover {
  background: rgba(212, 175, 55, 0.05);
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.preview-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  /* Smaller thumbnails */
  gap: 10px;
  margin-top: 15px;
}

.preview-item-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #444;
  aspect-ratio: 1;
  background: #000;
}

.preview-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.preview-item-card:hover img {
  transform: scale(1.05);
}

.action-btn-overlay {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s;
  font-size: 14px;
}

.action-btn-overlay:hover {
  transform: scale(1.1);
}

.btn-delete {
  top: 5px;
  right: 5px;
  background: rgba(220, 53, 69, 0.9);
  color: white;
}

.btn-star {
  top: 5px;
  left: 5px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 16px;
}