/* ===========================
   RINCÓN HECHICERO - ESTILOS COMPLETOS
   =========================== */

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables CSS */
:root{
  --gold:#F5C518;          /* CTA / acentos */
  --violet:#2D1B4E;        /* títulos / fondos oscuros nobles */
  --violet-2:#7C3AED;      /* hover / enlaces */
  --bg:#111111;            /* fondo principal */
  --card:#191919;          /* cards y contenedores */
  --border:#262626;        /* bordes sutiles */
  --text:#EDEDED;          /* texto principal */
  --muted:#C0C0C0;         /* texto secundario */
  --success:#37d67a;
  --danger:#ff6b6b;
  --radius:14px;
  --radius-sm:10px;
  --shadow:0 10px 24px rgba(0,0,0,.25);
}

/* Reset y base */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  color:var(--text);
  font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Inter, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  line-height:1.6;
  font-size:16px;
}

/* Tipografía */
h1,h2,h3,h4,h5,h6{
  font-family:"Cinzel Decorative", serif;
  color:#f0eaff;
  letter-spacing:.3px;
  margin:0 0 .4em;
}
h1{font-size:40px; line-height:1.15}
h2{font-size:30px}
h3{font-size:22px}
h4{font-size:18px}
h5{font-size:16px}
@media (max-width:640px){
  h1{font-size:32px}
  h2{font-size:26px}
}
p{margin:0 0 1em}
small,.text-muted{color:var(--muted)}
a{color:var(--violet-2); text-decoration:none}
a:hover{filter:brightness(1.1)}

/* Contenedores */
.container{width:min(1100px,92%); margin:0 auto}
.section{padding:40px 0}
.section-head{margin-bottom:24px}
.section-head p{color:var(--muted)}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(17,17,17,.85);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; justify-content:space-between; 
  align-items:center; padding:14px 0;
}
.logo-text{
  font-family:"Cinzel Decorative", serif;
  font-weight:700; font-size:22px;
}
.logo-text .accent{color:var(--gold)}
.main-nav{display:flex; gap:18px}
.main-nav a{color:var(--muted); transition:.2s}
.main-nav a:hover{color:var(--text)}

/* Hero */
.hero{
  padding:70px 0;
  background:
    radial-gradient(1200px 400px at 10% -10%, #1a1230, transparent),
    radial-gradient(900px 380px at 100% 0%, #0b3b4f33, transparent);
}
.hero-content{
  display:grid; grid-template-columns:1.2fr .8fr; 
  gap:32px; align-items:center;
}
.hero .lead{color:var(--muted); max-width:720px; font-size:18px}
.hero-image{display:flex; justify-content:center}
@media (max-width:900px){
  .hero-content{grid-template-columns:1fr; text-align:center}
}

/* Botones */
.btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:var(--radius-sm);
  background:#1b1f2e;
  color:var(--text);
  border:1px solid var(--border);
  text-decoration:none; 
  transition:.2s ease;
  font-weight:500;
}
.btn:hover{filter:brightness(1.08); transform:translateY(-1px)}
.btn-primary{
  background:var(--gold);
  color:#000; border:none; font-weight:700;
}
.btn-ghost{
  background:transparent; border:1px solid var(--border);
}
.btn-success{background:var(--success); color:#042e17; border:none}
.btn-danger{background:var(--danger); color:#2b0000; border:none}

/* Grids */
.grid{display:grid; gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:900px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid-3,.grid-2{grid-template-columns:1fr}}

/* Cards */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  transition:.2s ease;
}
.card:hover{transform:translateY(-2px); box-shadow:var(--shadow)}

/* Categorías */
.category-card{
  text-align:center;
  padding:0;
  overflow:hidden;
}
.category-card .thumb{
  height:160px;
  background:#1a1a1a;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
}
.category-card .content{
  padding:20px;
}

/* Productos */
.product-card{
  display:flex; 
  flex-direction:column;
}
.product-card .thumb{
  width:100%; height:200px; 
  object-fit:cover;
  border-radius:12px; 
  border:1px solid var(--border);
  background:#1a1a1a;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  margin-bottom:12px;
}
.product-card .title{font-weight:600; margin:0 0 8px}
.product-card .price{font-weight:700; color:var(--gold); font-size:18px}
.product-card .meta{color:var(--muted); font-size:14px; margin-bottom:12px}
.product-card .actions{margin-top:auto; display:flex; gap:10px}

/* Posts del blog */
.post-card .thumb{
  width:100%; height:180px; 
  object-fit:cover;
  border-radius:12px; 
  border:1px solid var(--border);
  background:#1a1a1a;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  margin-bottom:12px;
}
.post-card .excerpt{color:var(--muted); font-size:14px}

/* Banner estacional */
.banner{
  display:flex; gap:24px; align-items:center;
  padding:24px; border-radius:var(--radius);
  border:1px solid var(--border);
  background:linear-gradient(90deg,#2d1b4e66,#2d1b4e22);
}
.banner .media{
  width:280px; height:160px; 
  border-radius:12px;
  background:#1a1a1a; 
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
}
.banner-content h3{margin-bottom:8px}
@media (max-width:900px){
  .banner{flex-direction:column; align-items:flex-start}
  .banner .media{width:100%}
}

/* Mock images */
.mock-image{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  background:#1a1a1a;
  border:1px dashed var(--border);
  border-radius:8px;
  color:var(--muted);
  font-size:14px;
}

/* Footer */
.site-footer{
  margin-top:40px; 
  background:var(--violet);
  color:#e9ddff; 
  border-top:1px solid #3a2b68;
}
.footer-inner{
  display:grid; 
  grid-template-columns:1.2fr .8fr .8fr; 
  gap:24px; 
  padding:32px 0;
}
.site-footer a{color:#d8c9ff}
.site-footer h4, .site-footer h5{color:#f0eaff; margin-bottom:8px}
@media (max-width:900px){.footer-inner{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.footer-inner{grid-template-columns:1fr}}

/* Utilidades */
.center{text-align:center}
.m-0{margin:0} 
.mt-1{margin-top:8px} .mt-2{margin-top:16px} .mt-3{margin-top:24px}
.mb-1{margin-bottom:8px} .mb-2{margin-bottom:16px} .mb-3{margin-bottom:24px}
.p-1{padding:8px} .p-2{padding:16px} .p-3{padding:24px}
.round{border-radius:var(--radius)} 
.shadow{box-shadow:var(--shadow)}
.border{border:1px solid var(--border)} 
.muted{color:var(--muted)}

/* Avisos */
.notice{
  font-size:14px; 
  color:var(--muted);
  border:1px dashed var(--border); 
  padding:16px; 
  border-radius:var(--radius-sm);
  background:rgba(125, 58, 237, 0.05);
}

/* Responsive */
@media (max-width:640px){
  .container{width:95%}
  .section{padding:30px 0}
  .hero{padding:50px 0}
  .main-nav{flex-direction:column; gap:8px}
  .header-inner{flex-direction:column; gap:12px}
}