/* ===== Plataforma de Acompañantes — estilos base (tema oscuro) ===== */
:root {
    /* Tema "The Lurex": rojo aterciopelado profundo sobre fondo vino oscuro. */
    --bg: #120407;
    --bg-soft: #1c0a0e;
    --card: #250e13;
    --border: #3f1820;
    --text: #f4eaec;
    --muted: #c1a2a8;
    --accent: #e01e37;        /* rojo velvet vivo */
    --accent-2: #8a0f24;      /* burdeos profundo */
    --ok: #41d3a0;
    --gold: #e8b04b;
    --radius: 14px;
    --shadow: 0 12px 34px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(1100px 540px at 78% -12%, #5c0f1e 0%, rgba(92,15,30,0) 55%),
        radial-gradient(900px 500px at 8% 0%, #2a0710 0%, rgba(42,7,16,0) 50%),
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header */
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; border-bottom: 1px solid var(--border);
    position: sticky; top: 0; backdrop-filter: blur(12px);
    background: rgba(18,4,7,.78); z-index: 50;
}
.brand { font-weight: 800; font-size: 24px; letter-spacing: .5px;
    font-family: "Georgia", "Times New Roman", serif; }
.brand span { background: linear-gradient(90deg, #ff3b52, var(--accent) 45%, var(--accent-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 18px rgba(224,30,55,.25); }
.nav-links { display: flex; gap: 10px; align-items: center; }

.container { max-width: 1100px; margin: 0 auto; padding: 28px 20px; }

/* Botones */
.btn {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    border: 1px solid var(--border); background: var(--card); color: var(--text);
    padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px;
    transition: .15s; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none; color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost { background: transparent; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.filters input, .filters select, .field input, .field select, .field textarea {
    background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
    padding: 10px 12px; border-radius: 10px; font-size: 14px; outline: none; }
.filters input:focus, .field input:focus { border-color: var(--accent-2); }

/* Grid de tarjetas */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); transition: .18s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card .photo { aspect-ratio: 3/4; background: #2a0e13 center/cover no-repeat; position: relative; }
.card .badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.6);
    padding: 4px 9px; border-radius: 999px; font-size: 12px; }
.fav-btn { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.55);
    border: none; border-radius: 999px; width: 38px; height: 38px; font-size: 18px;
    cursor: pointer; line-height: 1; }
.fav-btn:hover { transform: scale(1.1); }
.card .body { padding: 12px 14px; }
.card .name { font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; }
.card .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.tag { display:inline-block; font-size:12px; color: var(--muted);
    border:1px solid var(--border); border-radius:999px; padding:2px 8px; margin:3px 4px 0 0;}

/* Perfil */
.profile-head { display: grid; grid-template-columns: 320px 1fr; gap: 28px; }
@media (max-width: 760px){ .profile-head { grid-template-columns: 1fr; } }
.albums { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); }
.albums img, .albums .locked { aspect-ratio: 3/4; border-radius: 10px; object-fit: cover;
    border: 1px solid var(--border); }
.locked { display:flex; align-items:center; justify-content:center; flex-direction:column;
    background: repeating-linear-gradient(45deg,#2a0e13,#2a0e13 10px,#1c0a0e 10px,#1c0a0e 20px);
    color: var(--muted); font-size: 13px; gap: 6px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.price-table td, .price-table th { padding: 10px 12px; border-bottom: 1px solid var(--border);
    text-align: left; font-size: 14px; }
.price-table .price { color: var(--ok); font-weight: 700; white-space: nowrap; }

/* Paneles / formularios */
.panel { background: var(--card); border:1px solid var(--border); border-radius: var(--radius);
    padding: 22px; margin-bottom: 18px; }
.field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px){ .row { grid-template-columns: 1fr; } }
.section-title { font-size: 20px; font-weight: 800; margin: 6px 0 16px; }
.muted { color: var(--muted); }
.pill { font-size:12px; padding:3px 10px; border-radius:999px; background:var(--bg-soft);
    border:1px solid var(--border); }
.notice { background: rgba(224,69,123,.12); border:1px solid rgba(224,69,123,.4);
    border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 16px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
    background: var(--card); border:1px solid var(--accent); padding: 12px 18px;
    border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transition: .3s; z-index: 100; }
.toast.show { opacity: 1; }
.hidden { display: none !important; }
