   /* --- VARIABLES Y RESET --- */
        :root {
            --rojo-navidad: #c0392b;
            --verde-navidad: #1e8449;
            --dorado: #f1c40f;
            --blanco-nieve: #ecf0f1;
            --fondo-oscuro: #2c3e50;
            --shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        * { margin: 0; padding: 0; box-box: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

        body {
            background-color: var(--fondo-oscuro);
            color: #333;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* --- CANVAS NIEVE --- */
        #snow-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        /* --- LAYOUT --- */
        header {
            background: var(--rojo-navidad);
            color: white;
            padding: 2rem;
            text-align: center;
            border-bottom: 5px solid var(--dorado);
            box-shadow: var(--shadow);
        }

        .countdown-container {
            font-size: 1.2rem;
            margin-top: 10px;
            font-weight: bold;
            color: var(--dorado);
            text-shadow: 1px 1px 2px black;
        }

        nav {
            display: flex;
            justify-content: center;
            background: var(--verde-navidad);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        nav button {
            background: none;
            border: none;
            color: white;
            padding: 1rem 1.5rem;
            cursor: pointer;
            font-weight: bold;
            transition: 0.3s;
        }

        nav button:hover, nav button.active {
            background: rgba(255,255,255,0.2);
            border-bottom: 3px solid var(--dorado);
        }

        main {
            max-width: 1000px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .section {
            display: none;
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: var(--shadow);
            animation: fadeIn 0.5s ease;
        }

        .section.active { display: block; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- COMPONENTES --- */
        .card {
            border: 1px solid #ddd;
            padding: 1rem;
            margin-bottom: 1rem;
            border-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 5px solid var(--rojo-navidad);
        }

        .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        input, select, textarea {
            padding: 0.8rem;
            border: 1px solid #ccc;
            border-radius: 5px;
            flex: 1;
        }

        button.btn-add {
            background: var(--verde-navidad);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 5px;
            cursor: pointer;
        }

        .btn-delete { background: var(--rojo-navidad); color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
        
        /* --- CALENDARIO --- */
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
        }

        .calendar-day {
            aspect-ratio: 1/1;
            border: 1px solid #eee;
            padding: 5px;
            font-size: 0.8rem;
            position: relative;
            background: #f9f9f9;
        }

        .calendar-day.has-event {
            background: #fff3cd;
            border: 1px solid var(--dorado);
        }

        /* --- LUCES PARPADEANTES --- */
        .lights {
            text-align: center;
            padding: 10px;
        }

        .light {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
            animation: blink 1s infinite alternate;
        }

        @keyframes blink {
            from { opacity: 0.3; transform: scale(0.8); }
            to { opacity: 1; transform: scale(1.1); }
        }

        .bought { text-decoration: line-through; color: #888; }

        /* --- NOTIFICACIONES --- */
        #notification-host {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .toast {
            background: var(--verde-navidad);
            color: white;
            padding: 1rem;
            margin-top: 10px;
            border-radius: 8px;
            box-shadow: var(--shadow);
            border-left: 5px solid var(--dorado);
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }

        /* Responsivo */
        @media (max-width: 600px) {
            nav { flex-wrap: wrap; }
            .input-group { flex-direction: column; }
        }