:root {
    --hw-bg: #07040a;
    --hw-ink: #fff4e6;
    --hw-muted: rgba(255, 244, 230, 0.62);
    --hw-orange: #ff7a18;
    --hw-amber: #ffc857;
    --hw-purple: #7b2cbf;
    --hw-grape: #3a0ca3;
    --hw-card: rgba(28, 10, 36, 0.78);
    --hw-borde: rgba(255, 122, 24, 0.22);
    --font-titulo: 'Creepster', 'Plus Jakarta Sans', cursive;
    --font-cuerpo: 'Outfit', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--hw-bg);
    color: var(--hw-ink);
    font-family: var(--font-cuerpo);
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hw-glow, .hw-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hw-glow {
    background:
        radial-gradient(700px 420px at 12% -8%, rgba(255, 122, 24, 0.22), transparent 55%),
        radial-gradient(640px 420px at 92% 6%, rgba(123, 44, 191, 0.28), transparent 50%),
        radial-gradient(800px 520px at 50% 110%, rgba(255, 200, 87, 0.08), transparent 55%);
}
.hw-noise {
    z-index: 1;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hw-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 28px));
    z-index: 40;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 20px;
    background: rgba(7, 4, 10, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid var(--hw-borde);
    border-radius: 999px;
}
.hw-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.hw-logo img { width: 40px; height: 40px; object-fit: contain; }
.hw-logo em { color: var(--hw-orange); font-style: normal; }
.hw-nav { display: flex; align-items: center; gap: 18px; }
.hw-nav a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 244, 230, 0.68);
}
.hw-nav a:hover, .hw-nav a.is-active { color: var(--hw-ink); }
.hw-cta {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--hw-orange);
    color: #1a0b00 !important;
    font-weight: 700;
}

.hw-main { position: relative; z-index: 2; }
.hw-hero {
    padding: 140px 5% 48px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.hw-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hw-amber);
    margin-bottom: 16px;
}
.hw-hero h1 {
    font-family: var(--font-titulo);
    font-size: clamp(2.6rem, 8vw, 5.4rem);
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--hw-orange);
    text-shadow: 0 0 32px rgba(255, 122, 24, 0.35);
    margin-bottom: 16px;
}
.hw-hero p {
    max-width: 640px;
    margin: 0 auto 28px;
    color: var(--hw-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.hw-stats {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    color: var(--hw-amber);
    font-weight: 700;
}
.hw-stats span { color: var(--hw-muted); font-weight: 500; }

.hw-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 5% 80px;
}
.hw-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}

.hw-form-card, .hw-photo {
    background: var(--hw-card);
    border: 1px solid var(--hw-borde);
    border-radius: 24px;
}
.hw-form-card { padding: 24px; position: sticky; top: 104px; }
.hw-form-card h2,
.hw-gallery-head h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.hw-form-card p, .hw-hint {
    color: var(--hw-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.hw-field { margin-bottom: 14px; }
.hw-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 244, 230, 0.5);
    margin-bottom: 6px;
}
.hw-field input[type="text"],
.hw-field input[type="url"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--hw-borde);
    background: rgba(7, 4, 10, 0.55);
    color: var(--hw-ink);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}
.hw-field input:focus { border-color: var(--hw-orange); }

.hw-drop {
    position: relative;
    border: 1.5px dashed rgba(255, 122, 24, 0.4);
    border-radius: 16px;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 122, 24, 0.05);
    transition: border-color .2s, background .2s;
}
.hw-drop:hover, .hw-drop.is-drag { border-color: var(--hw-orange); background: rgba(255, 122, 24, 0.1); }
.hw-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hw-drop strong { display: block; color: var(--hw-amber); margin-bottom: 4px; }
.hw-preview {
    display: none;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 12px;
}
.hw-preview.is-on { display: block; }

.hw-btn {
    width: 100%;
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: linear-gradient(90deg, var(--hw-orange), #ff9f1c);
    color: #1a0b00;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    cursor: pointer;
}
.hw-btn:disabled { opacity: 0.55; cursor: wait; }
.hw-msg { min-height: 22px; margin-top: 10px; font-size: 0.85rem; }
.hw-msg.ok { color: #7dff9a; }
.hw-msg.err { color: #ff8a8a; }

.hw-gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
}
.hw-gallery-head p { color: var(--hw-muted); font-size: 0.9rem; }

.hw-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.hw-photo { overflow: hidden; }
.hw-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: #140818;
}
.hw-photo-body { padding: 14px 14px 16px; }
.hw-photo-body h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 4px;
}
.hw-photo-body p { color: var(--hw-muted); font-size: 0.82rem; }
.hw-like {
    margin-top: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--hw-borde);
    background: rgba(255, 122, 24, 0.08);
    color: var(--hw-ink);
    border-radius: 999px;
    padding: 10px;
    font-weight: 700;
    cursor: pointer;
}
.hw-like.is-on {
    background: rgba(255, 122, 24, 0.22);
    border-color: var(--hw-orange);
    color: var(--hw-amber);
}
.hw-like:disabled { opacity: 0.7; cursor: default; }
.hw-empty {
    grid-column: 1 / -1;
    padding: 48px 20px;
    text-align: center;
    color: var(--hw-muted);
    border: 1px dashed var(--hw-borde);
    border-radius: 20px;
}

.hw-footer {
    border-top: 1px solid var(--hw-borde);
    padding: 28px 5%;
    text-align: center;
    color: rgba(255, 244, 230, 0.4);
    font-size: 0.82rem;
}
.hw-footer a { color: var(--hw-amber); }

@media (max-width: 900px) {
    .hw-nav a:not(.hw-cta) { display: none; }
    .hw-grid { grid-template-columns: 1fr; }
    .hw-form-card { position: static; }
    .hw-hero { padding-top: 126px; }
}
