/* --- HERENCIA DEL SITIO PRINCIPAL --- */
:root {
    --neon-purple: #9D00FF;
    --neon-pink: #FF00CC;
    --neon-green: #39FF14;
    --neon-cyan: #00FFFF;
    --dark-bg: #0a0a12;
    --card-bg: #151520;
    --text-light: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at center, #1a0b2e 0%, #000000 100%);
    min-height: 100vh;
    color: var(--text-light);
    padding: 20px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* --- PERFIL / ENCABEZADO --- */
.profile-section {
    text-align: center;
    margin-bottom: 25px;
}

.username {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #b59fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-weight: 500;
}

/* --- SIDEBAR --- */
#sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 260px;
    height: 100vh;
    background-color: #07070d;
    border-right: 2px solid var(--neon-purple);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 25px;
}

#sidebar.open { left: 0; }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-light);
    text-shadow: 0 0 10px var(--neon-purple);
}

.menu-profile-pic {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 8px rgba(157, 0, 255, 0.4);
}

.menu-toggle, .menu-toggle-open {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.menu-toggle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle-open {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.menu-toggle:hover, .menu-toggle-open:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
    color: var(--neon-purple);
}

.menu-trigger-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.nav-links { list-style: none; }
.nav-links li { margin-bottom: 25px; }

.nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-light);
    text-shadow: 0 0 10px var(--neon-pink);
}

.nav-links a i {
    color: var(--neon-purple);
    font-size: 1.1rem;
}

#overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 999;
}

#overlay.active { display: block; }

/* --- DIVIDER (Step labels) --- */
.divider {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- WIZARD STEP TRANSITIONS --- */
.form-step {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-step.visible {
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 35px;
}

.form-step.answered {
    opacity: 0.55;
}

/* --- STEP 1: CATEGORY CARDS --- */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-card img, .category-icon-visual {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.category-icon-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    color: var(--text-light);
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.3), rgba(255, 0, 204, 0.3));
}

.category-card span {
    padding: 12px 8px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(157, 0, 255, 0.4);
}

.category-card.selected {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.3);
    opacity: 0.85;
}

.category-card.selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: var(--neon-green);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    z-index: 2;
}

/* --- STEP 3: SASSY INTRO / TIER BLOCKS --- */
.sassy-intro {
    font-size: 0.85rem;
    color: var(--neon-green);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.tier-block {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--neon-purple);
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
}

.tier-block h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 700;
}

.commission-detail-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: block;
    cursor: zoom-in;
}

.full-stickers-img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: zoom-in;
}

/* --- NUEVO: RATE GROUPS (ICONOS) EN 2 COLUMNAS --- */
.icon-rates-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rate-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-group img {
    width: 50%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    cursor: zoom-in;
}

/* Ajuste a 2 columnas para Iconos */
.rate-sub-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Estilo interior compacto de Iconos */
.rate-sub-options .rate-option-flat {
    flex-direction: column;
    padding: 12px 6px;
    text-align: center;
    justify-content: center;
}

/* Nuevo estilo para los títulos en azul cyan */
.opt-title {
    color: var(--neon-cyan);
    font-size: 1.05rem;
    font-weight: 700;
}

.rate-sub-options .opt-name {
    font-size: 0.8rem;
    margin-bottom: 4px;
    line-height: 1.2;
}

.rate-sub-options .opt-price {
    font-size: 0.95rem;
}

/* --- RATE OPTION FLAT (Usado en Stickers) --- */
.sticker-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}

.rate-option-flat {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-option-flat input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rate-option-flat span {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
}

.rate-option-flat strong {
    color: var(--neon-cyan);
    font-size: 1.05rem;
}

.rate-option-flat.selected {
    border-color: var(--neon-purple);
    box-shadow: 0 0 12px rgba(157, 0, 255, 0.3);
}

/* --- CHARACTER STYLE CHIPS (AHORA 4 EN LÍNEA) --- */
.style-chip-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px; /* Brecha reducida para acomodar fuente más grande */
}

.style-chip {
    position: relative;
    cursor: pointer;
    width: 100%;
}

.style-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.style-chip > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px 2px; /* Reducido horizontalmente para más espacio */
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.73rem; /* Ligeramente más grande (antes 0.65rem) */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.3;
}

.style-chip.selected > span {
    border-color: var(--neon-purple);
    background: rgba(157, 0, 255, 0.15);
    color: var(--text-light);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.3);
}

/* --- CUSTOM REQUEST TEXTAREA --- */
.custom-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    min-height: 140px;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.custom-textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.2);
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    margin-bottom: 15px;
}

.confirm-btn {
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
}

.confirm-btn:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.5);
}

/* --- STEP 2: NSFW TOGGLE --- */
.nsfw-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.nsfw-choice {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nsfw-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nsfw-choice span {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nsfw-choice i {
    color: var(--neon-purple);
    font-size: 1.1rem;
}

.nsfw-choice.selected {
    border-color: var(--neon-pink);
    box-shadow: 0 0 12px rgba(255, 0, 204, 0.3);
}

.info-card-box {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.border-spicy {
    border: 1px solid rgba(255, 0, 204, 0.3);
    box-shadow: inset 0 0 10px rgba(255, 0, 204, 0.05);
}

.highlight-pink { color: var(--neon-pink); font-weight: 700; }

/* --- STEP 4: T.O.S. SUMMARY BOX --- */
.tos-summary-box {
    background-color: var(--card-bg);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-title {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tos-summary-list { list-style: none; margin-bottom: 15px; }

.tos-summary-list li {
    font-size: 0.83rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tos-summary-list li:last-child { border-bottom: none; }

.tos-summary-list li strong {
    color: var(--text-light);
    font-weight: 700;
}

.full-tos-link { width: 100%; }

/* --- BOTÓN DE PRIVACIDAD --- */
.privacy-btn {
    margin-bottom: 20px;
    border: 1px solid var(--neon-purple);
    color: var(--text-light);
    background: rgba(157, 0, 255, 0.05);
    display: flex;             
    align-items: center;       
    justify-content: center;   
    gap: 12px;                 
    text-align: center;
}

.privacy-btn:hover {
    background: rgba(157, 0, 255, 0.15);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.3);
}

.agreement-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    cursor: pointer;
}

.agreement-check input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--neon-purple);
    flex-shrink: 0;
    cursor: pointer;
}

.agreement-check span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.agreement-check a {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 700;
}

.agreement-check a:hover { text-decoration: underline; }

/* --- STEP 5: CONTACT FIELDS --- */
.form-field { margin-bottom: 18px; }

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.form-field label small {
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    margin-top: 2px;
}

.form-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-field input:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(157, 0, 255, 0.2);
}

.form-field.valid input { border-color: var(--neon-green); }

/* --- HONEYPOT (Netlify spam trap) --- */
.hidden-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* --- BOTONES GENERALES --- */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.commission-cta {
    background-color: var(--neon-green);
    border: 2px solid var(--neon-green);
    border-radius: 12px;
    padding: 16px;
    color: #000000;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.commission-cta:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.8), 0 0 15px var(--neon-purple);
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--neon-cyan);
}

.pulse-animation { animation: pulse-commission 2s infinite alternate; }

@keyframes pulse-commission {
    0% { box-shadow: 0 0 8px rgba(57, 255, 20, 0.3); }
    100% { box-shadow: 0 0 18px rgba(57, 255, 20, 0.6), 0 0 10px rgba(157, 0, 255, 0.4); }
}

.btn.discrete {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
}

.btn.discrete:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

/* --- SUCCESS BOX --- */
.success-box {
    background: var(--card-bg);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.25);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
}

.success-box h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.success-box p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 12px;
}

.success-box .success-copy-note {
    font-size: 0.78rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
    margin-top: -6px;
}

.success-box .success-copy-note strong {
    font-style: normal;
    font-weight: 700;
    color: var(--neon-cyan);
}

.success-box .signature {
    font-weight: 700;
    color: var(--neon-pink);
    margin-bottom: 20px;
}

.success-box .btn { margin-top: 5px; }

/* --- MODAL / LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active { opacity: 1; pointer-events: auto; }

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 25px rgba(157, 0, 255, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2001;
}

.lightbox-close:hover { color: var(--neon-pink); transform: scale(1.1); }
