/* --- 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;
}

/* --- MENÚ DESPLEGABLE RETRÁCTIL (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;
    justify-content: flex-start;
    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;
}

/* --- QUICK SUMMARY BOX (recuadro destacado arriba) --- */
.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), inset 0 0 15px rgba(0, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
}

.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;
}

.tos-summary-list li {
    font-size: 0.85rem;
    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;
}

/* --- INTERFAZ DE ACORDEÓN (SECCIONES DEL T.O.S.) --- */
.gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.tos-card {
    background-color: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.tos-card:hover {
    transform: translateY(-2px);
    border-color: rgba(157, 0, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.tos-card.active {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.25);
}

.tos-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.tos-card-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tos-card-header h2 i {
    color: var(--neon-purple);
    font-size: 0.95rem;
}

.arrow-icon {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    transition: transform 0.4s ease;
}

.tos-card.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--neon-pink);
}

/* --- LÓGICA DEL ACORDEÓN (.js) --- */
.card-dropdown {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
}

.tos-card.active .card-dropdown {
    grid-template-rows: 1fr;
}

.dropdown-inner {
    overflow: hidden;
    padding: 0 20px;
    transition: padding 0.4s ease;
}

.tos-card.active .dropdown-inner {
    padding: 0 20px 20px 20px;
}

.tos-list {
    list-style: none;
}

.tos-list > li {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.tos-list strong {
    color: var(--neon-cyan);
    font-weight: 700;
}

.tos-sublist {
    list-style: none;
    margin-top: 8px;
    margin-left: 10px;
}

.tos-sublist li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
}

.tos-sublist em {
    color: var(--neon-pink);
    font-style: normal;
    font-weight: 700;
}

/* --- BLOQUES WILL DRAW / WON'T DRAW --- */
.draw-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin-bottom: 15px;
}

.draw-box:last-child {
    margin-bottom: 0;
}

.will-draw {
    border-left: 3px solid var(--neon-green);
}

.wont-draw {
    border-left: 3px solid var(--neon-pink);
}

.draw-box h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.will-draw h3 {
    color: var(--neon-green);
}

.wont-draw h3 {
    color: var(--neon-pink);
}

.draw-list {
    list-style: none;
}

.draw-list li {
    font-size: 0.83rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 0 5px 16px;
    position: relative;
}

.draw-list li::before {
    content: '–';
    position: absolute;
    left: 0;
}

/* --- BOTÓN CTA --- */
.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); }
}
