/* =====================================================
   NEON CUSTOMIZER - Estilos Principales
   ===================================================== */

:root {
    --bg-primary: #000;
    --bg-secondary: #121212;
    --bg-card: #191919;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-yellow: #FFD700;
    --accent-orange: #FEC31D;
    --neon-glow:
    0 0 2px #fff,
    0 0 4px #fff,
    0 0 8px currentColor,
    0 0 16px currentColor,
    0 0 32px currentColor;	
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

body {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ========================================
   HEADER & NAVIGATION
======================================== */
    .main-header {
        padding: 0px 15px;
    }
.header {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.7s ease, backdrop-filter 0.7s ease, border-color 0.7s ease, box-shadow 0.7s ease;
}

/* Estado al hacer scroll */
.header.scrolled {
    background: var(--barranavegacion);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255,255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav {
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo | menú | botón */
    align-items: center;
    padding: 15px 20px;
}
/* CENTRAR EL MENÚ */
.nav-menu {
    justify-self: center;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

/* ESTADO NORMAL */
.nav-menu a {
    color: var(--text-light); /* rojo principal */
    font-weight: 500;
    font-size: 15px;
    position: relative;
    text-decoration: none;
}

/* VISITED */
.nav-menu a:visited {
    color: var(--text-light); /* rojo más oscuro */
}

/* LÍNEA INFERIOR */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-light);
    transition: width 0.5s ease;
}

/* HOVER */
.nav-menu a:hover {
    color: var(--text-light);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ACTIVE (CLICK) */
.nav-menu a:active {
    color: var(--text-light); /* rojo profundo */
}

/* FOCUS (accesibilidad) */
.nav-menu a:focus-visible {
    outline: none;
    color: var(--text-light);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-neon);
     color: var(--text);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-pink);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}



.neon-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-shadow: var(--neon-glow);
    letter-spacing: 2px;
}

.sub-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
}

.total-price-display {
    text-align: right;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.price-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    animation: priceUpdate 0.3s ease;
}

@keyframes priceUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.price-note {
    display: block;
    font-size: 0.65rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* =====================================================
   PREVIEW SECTION
   ===================================================== */

.preview-section {
    padding: 0px 20px 20px;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.canvas-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.dimension-indicator {
    position: absolute;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.dimension-indicator.top {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
}

.dimension-indicator.top::before,
.dimension-indicator.top::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--text-secondary);
}

.dimension-indicator.right {
    right: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    gap: 0px;
}

.dimension-indicator.right::before,
.dimension-indicator.right::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--text-secondary);
}

.acrylic-board {
    width: 100%;
    aspect-ratio: 100 / 60;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23333" width="100" height="100"/><rect fill="%23444" width="50" height="50"/><rect fill="%23444" x="50" y="50" width="50" height="50"/></svg>');
    background-size: 20px 20px;
    border: 2px dashed var(--accent-yellow);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    min-height: 200px;
}

.phrases-container {
    width: 100%;
    height: 100%;
    position: relative;
}



.phrase-element {
    position: absolute;
    cursor: move;
    user-select: none;
    transition: text-shadow 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
	
	    text-shadow:
        0 0 2px #fff,
        0 0 4px #fff,
        0 0 8px currentColor,
        0 0 16px currentColor,
        0 0 30px currentColor,
        0 0 50px currentColor;
}

.phrase-element.selected {
    outline: 2px dashed var(--accent-yellow);
    outline-offset: 5px;
}

.phrase-element .resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-yellow);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.phrase-element:hover .resize-handle,
.phrase-element.selected .resize-handle {
    opacity: 1;
}

.phrase-element .resize-handle.tl { top: -5px; left: -5px; cursor: nw-resize; }
.phrase-element .resize-handle.tr { top: -5px; right: -5px; cursor: ne-resize; }
.phrase-element .resize-handle.bl { bottom: -5px; left: -5px; cursor: sw-resize; }
.phrase-element .resize-handle.br { bottom: -5px; right: -5px; cursor: se-resize; }

.canvas-tools {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
}

.tool-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tool-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--accent-yellow);
}

.tool-btn svg {
    width: 18px;
    height: 18px;
}

/* Size Alert */
.size-alert {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: var(--border-radius);
    margin-top: 15px;
    max-width: 400px;
}

.size-alert svg {
    color: #ff6b6b;
    flex-shrink: 0;
}

.size-alert strong {
    color: #ff6b6b;
}

.size-alert p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 5px 0;
}

.size-alert a {
    color: var(--accent-yellow);
    text-decoration: none;
    font-size: 0.85rem;
}

/* =====================================================
   CONFIG PANEL
   ===================================================== */

.config-panel {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    max-height: 55vh;
    overflow-y: auto;
    z-index: 90;
    transition: transform 0.3s ease;
	margin-top:0px;
}

.config-panel.minimized {
    transform: translateY(calc(100% - 60px));
}

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

.step-indicators {
    display: flex;
    gap: 8px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
}

.step-dot.active {
    background: var(--accent-yellow);
    box-shadow: 0 0 10px var(--accent-yellow);
}

.step-dot.completed {
    background: #4CAF50;
}

.close-panel {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =====================================================
   WIZARD STEPS
   ===================================================== */

.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.highlight {
    color: var(--accent-yellow);
}

/* Sliders */
.slider-group {
    margin-bottom: 25px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.slider-value {
    color: var(--accent-yellow);
    font-weight: 600;
}

.custom-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #666666;
    border-radius: 3px;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-yellow);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.custom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-yellow);
    cursor: pointer;
    border: none;
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* =====================================================
   PHRASE EDITOR
   ===================================================== */

.phrases-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height:auto;
    overflow-y: auto;
    padding-right: 10px;
}

.phrase-editor {
    background: #171717;
    border-radius: var(--border-radius);
    padding: 15px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.phrase-editor:hover,
.phrase-editor.active {
    border-color: var(--accent-yellow);
}

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

.phrase-number {
    font-weight: 600;
    color: var(--accent-yellow);
}

.delete-phrase {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.delete-phrase:hover {
    opacity: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group label .icon {
    margin-right: 5px;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-yellow);
}

.form-group select {
    cursor: pointer;
}

/* Color Palette */
.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 10px currentColor;
}

.color-btn.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Size Control */
.size-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.size-control input {
    flex: 1;
}

.led-length {
    color: var(--accent-yellow);
    font-weight: 600;
    min-width: 70px;
    text-align: right;
}

/* Add Phrase Button */
.add-phrase-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px dashed var(--accent-yellow);
    border-radius: var(--border-radius);
    color: var(--accent-yellow);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.add-phrase-btn:hover {
    background: rgba(255, 215, 0, 0.1);
}

.ai-suggest-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ai-suggest-btn:hover {
    opacity: 1;
}

/* =====================================================
   LED OPTIONS
   ===================================================== */

.led-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.led-option {
    cursor: pointer;
}

.led-option input {
    display: none;
}

.led-option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.led-option.active .led-option-content,
.led-option input:checked + .led-option-content {
    border-color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.1);
}

.led-icon {
    font-size: 1.5rem;
}

.led-info {
    flex: 1;
}

.led-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.led-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.led-features {
    font-size: 0.75rem !important;
    color: var(--accent-yellow) !important;
    margin-top: 3px;
}

.led-price {
    font-weight: 600;
    color: var(--accent-yellow);
}

/* Dimmer Option */
.dimmer-option,
.kit-option {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-secondary);
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkmark {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
}

.dimmer-info,
.kit-info {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

.dimmer-price,
.kit-price {
    color: var(--accent-yellow);
    font-weight: 600;
}

.dimmer-desc,
.kit-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
    margin-left: 36px;
}

/* =====================================================
   DELIVERY OPTIONS
   ===================================================== */

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-option {
    cursor: pointer;
}

.delivery-option input {
    display: none;
}

.delivery-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.delivery-option.active .delivery-content,
.delivery-option input:checked + .delivery-content {
    border-color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.1);
}

.delivery-icon {
    font-size: 1.5rem;
}

.delivery-info {
    flex: 1;
}

.delivery-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.delivery-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.delivery-price {
    font-weight: 600;
    color: #4CAF50;
}

.delivery-option input[value="express"]:checked + .delivery-content .delivery-price {
    color: var(--accent-yellow);
}

/* =====================================================
   SUMMARY / FINALIZAR
   ===================================================== */

.summary-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--accent-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-yellow);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.action-btn.primary {
    background: var(--accent-yellow);
    color: #000;
}

.action-btn.primary:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.action-btn.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn.secondary:hover {
    border-color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.1);
}

.final-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 15px;
}

/* =====================================================
   WIZARD NAVIGATION
   ===================================================== */

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn.prev {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.nav-btn.prev:hover:not(:disabled) {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.nav-btn.prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn.next {
    background: var(--accent-yellow);
    border: none;
    color: #000;
}

.nav-btn.next:hover {
    background: var(--accent-orange);
}

/* =====================================================
   BOTTOM NAVIGATION
   ===================================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: var(--bg-secondary);
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-item svg {
    width: 24px;
    height: 24px;
}

.nav-item span {
    font-size: 0.7rem;
}

.nav-item.active {
    color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.1);
}

.nav-item:hover {
    color: var(--text-primary);
}

/* =====================================================
   MODAL
   ===================================================== */

.price-breakdown-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal-content {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 400px;
    width: 90%;
}

.modal-content h3 {
    margin-bottom: 20px;
    text-align: center;
}

.breakdown-items {
    margin-bottom: 20px;
}

.close-modal {
    width: 100%;
    padding: 12px;
    background: var(--accent-yellow);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .main-header {
        padding: 0px 15px;
    }
    
    .neon-text {
        font-size: 1.2rem;
    }
    
    .price-value {
        font-size: 1.2rem;
    }
    
    .preview-section {
        padding: 0px 15px 15px;
    }
    
    .config-panel {
        max-height: 50vh;
    }
    
    .dimension-indicator.right {
        right: -40px;
    }
}

@media (min-width: 1024px) {
    .app-container {
        display: grid;
        grid-template-columns: 1fr 400px;
        grid-template-rows: auto 1fr auto;
        height: 100vh;
    }
    
    .main-header {
        grid-column: 1 / -1;
    }
    
    .preview-section {
        grid-column: 1;
        padding-top: 200px;
    }
    
    .config-panel {
        position: relative;
        bottom: auto;
        max-height: none;
        border-radius: 0;
        overflow-y: auto;
    }
    
    .bottom-nav {
        grid-column: 1 / -1;
    }
}

/* =====================================================
   ANIMACIONES
   ===================================================== */

@keyframes neonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

@keyframes glow {
    0%, 100% { 
        text-shadow: 0 0 10px currentColor, 
                     0 0 20px currentColor, 
                     0 0 30px currentColor; 
    }
    50% { 
        text-shadow: 0 0 15px currentColor, 
                     0 0 25px currentColor, 
                     0 0 40px currentColor; 
    }
}

.neon-effect {
    animation: neonPulse 2s ease-in-out infinite, glow 2s ease-in-out infinite;
}

/* =====================================================
   SCROLLBAR
   ===================================================== */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}


/* =====================================================
   PANEL DE AUDITORÍA
   ===================================================== */

.audit-details {
    margin-top: 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.audit-details summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-yellow);
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.audit-details summary:hover {
    background: rgba(255, 215, 0, 0.2);
}

.audit-details[open] summary {
    border-bottom: 1px solid var(--accent-yellow);
}

.audit-panel {
    padding: 15px;
    margin: 0;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #00FF00;
    background: #0a0a0a;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #333;
}

.audit-panel::selection {
    background: var(--accent-yellow);
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .audit-panel {
        font-size: 0.65rem;
        padding: 10px;
    }
}


/* =====================================================
   IMAGEN DE FONDO OPCIONAL (SECCIÓN 2)
   Solo visual - No afecta lógica de negocio
   ===================================================== */

.bg-image-group {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.bg-image-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.bg-image-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px dashed var(--accent-yellow);
    border-radius: 8px;
    color: var(--accent-yellow);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.bg-image-upload-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-style: solid;
}

.bg-image-remove-btn {
    padding: 10px 16px;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.bg-image-remove-btn:hover {
    background: rgba(255, 100, 100, 0.2);
    border-color: #ff6b6b;
}

.bg-image-note {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
    font-style: italic;
}

/* Indicador de imagen cargada */
.bg-image-upload-btn.has-image {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
    border-style: solid;
    color: #4CAF50;
}

/* Fondo aplicado al contenedor de personalización de frase */
.phrase-editor.has-bg-image {
    position: relative;
    overflow: hidden;
}

.phrase-editor.has-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

.phrase-editor.has-bg-image > * {
    position: relative;
    z-index: 1;
}

/* =====================================================
   VISTA PREVIA CON IMAGEN DE FONDO PERSONALIZADA
   Solo visual - Aplica al acrylic-board
   ===================================================== */

.acrylic-board.has-custom-bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Overlay oscuro para mejorar visibilidad del texto neón */
.acrylic-board.has-custom-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.acrylic-board.has-custom-bg .phrases-container {
    position: relative;
    z-index: 1;
}
body{
    font-family: "Montserrat", "Poppins", sans-serif;
}

.nav-menu a{
    font-family: "Montserrat", "Poppins", sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
}

.nav-menu{
    display:flex;
    gap:35px;
    list-style:none;
    margin:0;
    padding:0;
}

.logo img{
    height:75px;
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
}