:root {
            --color-link: #60a5fa;
            /* azul brillante */
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            /* Prevent horizontal scroll */
            background-image: url('../covers_wall.webp');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }



        h1,
        h2 {
            font-family: 'Saira', sans-serif;
        }

        /* --- Custom Brand Colors --- */
        .green-222 {
            color: #95ef81;
        }

        .green-333 {
            color: #42d232;
        }

        .green-777 {
            color: #107c10;
        }

        .blueish {
            color: #0098e9;
        }

        /* --- Custom Software Checkbox --- */
        .custom-software-checkbox {
            width: 1.25rem;
            /* w-5 */
            height: 1.25rem;
            /* h-5 */
            border-radius: 0.375rem;
            /* rounded-md */
            border: 2px solid #6b7280;
            /* border-gray-500 */
            background-color: #374151;
            /* bg-gray-700 */
            transition: all 0.2s ease-in-out;
            flex-shrink: 0;
            position: relative;
        }

        .custom-software-checkbox.checked {
            background-color: #42d232;
            /* green-333 */
            border-color: #95ef81;
            /* green-222 */
        }

        .custom-software-checkbox.checked::after {
            content: '\2714';
            color: white;
            font-size: 0.9rem;
            font-weight: bold;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        @keyframes selectGlowViolet {
            0% {
                box-shadow: 0 0 0 0px #a78bfa, 0 0 0px #7c3aed;
                border-color: #6366f1;
            }

            10% {
                box-shadow: 0 0 0 4px #a78bfa, 0 0 16px 8px #7c3aed;
                border-color: #6366f1;
            }

            80% {
                box-shadow: 0 0 0 4px #a78bfa, 0 0 16px 8px #7c3aed;
                border-color: #6366f1;
            }

            100% {
                box-shadow: 0 0 0 0px #a78bfa, 0 0 0px #7c3aed;
                border-color: #374151;
            }
        }

        .select-glow-violet {
            animation: selectGlowViolet 5s cubic-bezier(.4, 0, .2, 1) forwards;
            border-color: #6366f1 !important;
        }

        /* --- Font Families --- */
        .font-gamer {
            font-family: 'Press Start 2P', cursive;
        }

        .font-vt323 {
            font-family: 'VT323', monospace;
        }

        .font-saira {
            font-family: 'Saira', sans-serif;
        }

        .font-roboto {
            font-family: 'Roboto', sans-serif;
        }

        /* --- Brand Specific Styles --- */
        .brand-title {
            position: relative;
            font-weight: 900;
            background: linear-gradient(to right, #6366f1, #a855f7);
            -webkit-text-fill-color: transparent;
            z-index: 1;
        }

        .special-subtitle {
            font-family: 'Saira';
            letter-spacing: 0.03em;
            background: linear-gradient(to top, #bd570e, #e9bb06);
            border-radius: 25px;
            color: rgb(41, 1, 1) !important;
            box-shadow: rgba(0, 0, 0, 0.849) 0px 0px 50px;
        }

        .special-subtitle:hover {
            background: linear-gradient(to right, #fb923c, #b9a333);
        }

        /* --- Card Effects (Games) --- */
        .card-game {
            position: relative;
        }

        .card-game label {
            position: relative;
            overflow: hidden;
            display: block;
            border-radius: 0.75rem;
            transition: transform 0.3s ease;
            aspect-ratio: 3/4;
        }

        .card-game label::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom right,
                    rgba(255, 255, 255, 0.4) 0%,
                    rgba(255, 255, 255, 0.15) 50%,
                    rgba(0, 0, 0, 0.15) 50%,
                    rgba(0, 0, 0, 0.4) 100%);
            border-radius: 0.75rem;
            pointer-events: none;
            mix-blend-mode: overlay;
            transition: opacity 0.3s ease-in-out;
            opacity: 1;
        }

        .card-game label:hover::after,
        .card-game input:checked+label::after {
            opacity: 1;
        }

        .card-game label img {
            transition: filter 0.3s ease;
            filter: grayscale(33%);
        }

        .card-game label:hover,
        .card-game input:checked+label {
            transform: scale(1.07);
            z-index: 10;
        }

        .card-game input:checked+label img {
            filter: grayscale(0%) brightness(1.1);
        }

        .card-game input:checked+label {
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.5);
        }

        /* --- Game Title Sticker --- */
        .game-title-sticker {
            position: absolute;
            background: linear-gradient(to right, #ef4444, #f97316);
            padding: 0.2rem 0.6rem;
            border-radius: 4px;
            font-weight: 700;
            font-size: 0.75rem;
            color: white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
            text-align: center;
            max-width: 80%;
            transition: opacity 0.2s ease-in-out;
            z-index: 10;
        }

        /* --- Error Toast Animation --- */
        #error-toast {
            position: fixed;
            bottom: -150px;
            left: 50%;
            transform: translateX(-50%);
            transition: bottom 0.4s ease-out, opacity 0.4s ease-out;
            opacity: 0;
            z-index: 50;
            width: calc(100% - 2rem);
            max-width: 400px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        }

        #error-toast.show {
            bottom: 20px;
            opacity: 1;
        }

        /* --- Price Badge --- */
        .launch-badge {
            position: absolute;
            top: -24px;
            left: 50%;
            transform: translateX(-50%) rotate(6deg);
            background: linear-gradient(to right, #b12020a4, #cf5f0e);
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            font-weight: 700;
            letter-spacing: 0.05em;
            font-size: 0.9rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
            white-space: nowrap;
        }

        @media (min-width: 768px) {
            .launch-badge {
                left: auto;
                right: -42px;
                transform: rotate(6deg);
            }
        }

        @keyframes ping-pong-path {
            0% {
                background-position: 0% 0%;
            }

            25% {
                background-position: 100% 0%;
            }

            50% {
                background-position: 100% 100%;
            }

            75% {
                background-position: 0% 100%;
            }

            100% {
                background-position: 0% 0%;
            }
        }

        @keyframes blur-and-fade {
            from {
                filter: blur(0px);
                opacity: 0.15;
            }

            to {
                filter: blur(2px);
                opacity: 0.3;
            }
        }


        /* --- Neon Highlight (Using brand color) --- */
        .neon-green-highlight {
            border: 2px solid #42d23291;
            box-shadow: 0 0 15px #42d23294, inset 0 0 10px rgba(66, 210, 50, 0.3);
            color: #f0fdf4;
        }

        /* --- CTA Button (WhatsApp Brand Aligned) --- */
        .cta-button {
            animation: glow-whatsapp 4s ease-in-out infinite;
            background: linear-gradient(to right, #25D366, #128C7E);
            border: 2px solid #075e54;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            background: linear-gradient(to right, #29e66d, #15a589);
            transform: scale(1.05);
        }

        @keyframes glow-whatsapp {

            0%,
            100% {
                box-shadow: 0 0 4px #25D366, 0 0 8px #128C7E, 0 0 12px #075e54;
            }

            50% {
                box-shadow: 0 0 8px #25D366, 0 0 15px #128C7E, 0 0 25px #075e54;
            }
        }

        #games-section {
            padding-bottom: 0px;
        }

        /* --- "Ver más" Neon Button --- */
        .load-more-button {
            background: transparent;
            color: #42d232;
            opacity: 0.6;
            border: 6px solid #107c10;
            border-radius: 15px;
            padding: 20px 35px;
            letter-spacing: 5px;
            cursor: pointer;
            font-weight: bold;
            filter: drop-shadow(0 0 15px #42d232) drop-shadow(0 0 50px #42d232) contrast(2) brightness(2);
            transition: .5s;
        }

        .load-more-button:hover {
            color: black;
            background-color: #42d232;
            filter: drop-shadow(0 0 20px #42d232) contrast(2) brightness(2);
        }

        /* --- Essential Software Highlight --- */
        .essential-software {
            background-color: rgba(66, 210, 50, 0.1);
            border-left: 3px solid #42d232;
        }

        /* --- Animation & Misc --- */
        .animate-float {
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) translateX(0);
            }

            25% {
                transform: translateY(-5px) translateX(2px);
            }

            50% {
                transform: translateY(0) translateX(-2px);
            }

            75% {
                transform: translateY(5px) translateX(0);
            }
        }

        .lucas-price {
            font-size: 4rem;
            line-height: 1;
            font-weight: bold;
            color: #22d3ee;
            animation: price-glow 3s ease-in-out infinite;
            text-shadow: solid 3px 3px black;
        }

        @keyframes price-glow {

            0%,
            100% {
                text-shadow: 2px 2px 55px rgba(0, 0, 0, 0.5), 0 0 20px rgba(118, 18, 143, 0.801), 0 0 55px rgba(34, 211, 238, 0.2), 0 0 25px rgba(34, 211, 238, 0.2);
            }

            50% {
                text-shadow: 2px 2px 55px rgba(0, 0, 0, 0.5), 0 0 12px rgba(34, 211, 238, 0.35), 0 0 25px rgba(34, 211, 238, 0.25);
            }
        }

        .offer-banner-main,
        .offer-banner-contado {
            position: absolute;
            left: 50%;
            color: #ffffff;
            padding: 0.2rem 1rem;
            border-radius: 0.375rem;
            text-shadow: 1px 1px 2px rgb(0 0 0 / 50%);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
            white-space: nowrap;
        }

        .offer-banner-main {
            background: linear-gradient(to right, #f97316, #fb923c);
            font-size: 1.3rem;
            animation: banner-swing-main 2.5s ease-in-out infinite alternate;
            transform: translateX(-50%) rotate(-7deg);
            bottom: 0;
        }

        .offer-banner-contado {
            background: #c2410c;
            font-size: 1.1rem;
            z-index: 10;
            animation: banner-swing-contado 2.5s ease-in-out infinite alternate;
            transform: translateX(-60%) rotate(-12deg);
            bottom: 2.2rem;
        }

        @keyframes banner-swing-contado {
            from {
                transform: translateX(-60%) rotate(-10deg);
            }

            to {
                transform: translateX(-60%) rotate(0deg);
            }
        }

        /* Hook section highlight */
        .hook-section strong {
            color: #42d232;
            text-shadow: 1px 1px 0 black;
        }

        .hook-section p {
            text-shadow: 2px 2px 3px black;
        }

        .hook-section .font-normal {
            font-family: 'Inter', sans-serif;
        }

        .load-more-container {
            padding-bottom: 4rem;
            margin-top: -4rem;
            background-color: #111827;
        }

        /* --- Feature Cards --- */
        .feature-card {
            background-color: rgba(31, 41, 55, 0.4);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 0.75rem;
            padding: 1.25rem 1rem;
            min-height: 160px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            transition: all 0.3s ease-in-out;
            position: relative;
            overflow: hidden;
        }

        .feature-card:hover {
            transform: translateY(-5px) scale(1.03);
            background-color: rgba(55, 65, 81, 0.7);
            border-color: rgba(34, 211, 238, 0.5);
            box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
        }

        /* --- Corner Ribbon Badge --- */
        .corner-ribbon-wrapper {
            width: 150px;
            height: 150px;
            overflow: hidden;
            position: absolute;
            top: -10px;
            right: -10px;
            z-index: 1;
        }

        .corner-ribbon {
            position: absolute;
            top: 35px;
            right: -35px;
            transform: rotate(45deg);
            width: 200px;
            background: linear-gradient(to right, #f97316, #facc15);
            font-family: 'Press Start 2P', cursive;
            font-size: 0.6rem;
            padding: 5px 0;
            text-align: center;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
            line-height: 1.2;
        }

        .corner-ribbon-text {
            color: #422006;
            text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2);
        }

        .despegue-text {
            text-shadow: 1px 1px 1px rgba(84, 0, 117, 0.2);
            letter-spacing: 1pt;
        }


        #slideshow-container {
            background-color: #353f4d;
        }

        #slideshow-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: opacity 0.8s ease-in-out;
        }

        #hero-wrapper {
            position: relative;
        }

        #hero-background-in {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            background-image: url('../hero-background.webp');
            background-size: cover;
            background-position: center;
            filter: invert(100%) sepia(1) saturate(1000%) hue-rotate(52deg);
            z-index: 0;
            animation: spin 33s linear infinite;
        }

        #hero-background {
            position: absolute;
            overflow: hidden;
            top: 55vh;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            animation: spin 10s ease-in-out infinite, cosmic-pulse 20s ease-in-out infinite;
        }

        @media (max-width: 768px) {
            #hero-background {
                display: none;
            }
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        @keyframes cosmic-pulse {
            0% {
                transform: scale(0.8) rotate(0deg);
                filter: blur(20px);
                opacity: 0.2;
            }

            50% {
                transform: scale(1) rotate(1deg);
                filter: blur(12px);
                opacity: 0.1;
            }

            100% {
                transform: scale(0.8) rotate(0deg);
                filter: blur(20px);
                opacity: 0.2;
            }
        }

        @keyframes float-up-down {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        #ovniUp {
            position: absolute;
            left: 58%;
            top: -3px;
            opacity: 0.63;
            filter: hue-rotate(50deg);
            animation: float-up-down 4s ease-in-out infinite, energy-beam 6s ease-in-out infinite;
            z-index: 30;
        }

        @keyframes energy-beam {
            0% {
                filter: hue-rotate(5deg);
                opacity: 0.6;
            }

            50% {
                filter: hue-rotate(50deg);
                opacity: 0.8;
            }

            100% {
                filter: hue-rotate(5deg);
                opacity: 0.6;
            }
        }

        .main-container {
            background-color: #111827;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
            position: relative;
            overflow: visible;
        }

        #game-grid-container {
            position: relative;
            padding-top: 1.5rem;
        }

        #game-grid-wrapper {
            overflow: hidden;
            transition: max-height 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding: 0 1rem;
        }

        #load-more-overlay {
            position: absolute;
            bottom: 0px;
            left: 0;
            width: 100%;
            height: 500px;
            background: linear-gradient(to top, #111827 25%, transparent);
            pointer-events: none;
            transition: opacity 1.5s;
        }

        footer {
            position: relative;
        }

        #memde_pointLeft {
            position: absolute;
            bottom: -20px;
            max-width: 150px;
            width: 40%;
            z-index: 0;
            overflow-x: hidden;
            left: -20px;
        }


        @media (min-width: 768px) {
            #memde_pointLeft {
                bottom: -30px;
                width: auto;
                left: 0;
                transform: translateX(50%);
            }
        }

        /* --- Software Category Description --- */
        .software-cat-desc {
            background-color: #1a1332;
            padding: 0.5rem 1rem;
            cursor: pointer;
            transition: background 0.3s, color 0.3s;
        }

        .software-card {
            background-color: #23272f;
            border-radius: 0.75rem;
            padding: 1rem;
            text-align: center;
            transition: transform 0.3s, background 0.3s;
            position: relative;
            overflow: hidden;
        }

        .software-card.selected {
            background-color: #374151;
        }

        .software-card.unselected {
            opacity: 0.7;
        }

        .software-card:hover {
            transform: translateY(-3px);
            background-color: #374151;
        }

        .software-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 0.5rem;
        }

        .software-name {
            font-weight: 500;
            color: #e5e7eb;
            margin-bottom: 0.25rem;
        }

        .software-tick {
            position: absolute;
            top: 1rem;
            right: 1rem;
            color: #22c55e;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .software-card.selected .software-tick {
            opacity: 1;
        }

        /* --- Soporte Técnico (memde_think.webp) Responsive --- */
        #section-front-features .feature-card.soporte-tecnico-card {
            overflow: visible !important;
        }

        #section-front-features img[src*="memde_think.webp"] {
            opacity: 1;
            position: absolute;
            bottom: 0;
            right: 0;
            left: auto;
            top: auto;
            height: 80%;
            width: auto;
            pointer-events: none;
            z-index: 30;
            transition: opacity 0.3s, right 0.3s, height 0.3s;
        }

        @media (max-width: 1023px) {
            #section-front-features img[src*="memde_think.webp"] {
                opacity: 0.8;
                z-index: 0;
                height: 80%;
                right: 0;
            }
        }

        @media (min-width: 1024px) {
            #section-front-features img[src*="memde_think.webp"] {
                height: 115%;
                right: -2.5rem;
                bottom: 0;
                left: auto;
                top: auto;
                z-index: 40;
                opacity: 1;
            }
        }

        @media (min-width: 1280px) {
            #section-front-features img[src*="memde_think.webp"] {
                right: -4rem;
                height: 115%;
                bottom: 0;
                left: auto;
                top: auto;
            }
        }

        @media (max-width: 767px) {

            #section-front-features .soporte-tecnico-card .space-y-1 p,
            #section-front-features .soporte-tecnico-card h4 {
                text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
            }
        }


        /* --- Tower Selector Styles --- */
        #tower-selector-container {
            position: relative;
            width: 100%;
            aspect-ratio: 4/5;
            background-color: #353f4d;
            border-radius: 0.75rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            overflow: visible;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.3rem;
        }

        #tower-selector-container .flex-grow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: calc(100% - 2.5rem);
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: visible;
        }
        
        #current-tower-image {
            height: 115%;
            transform: translateY(-1.25rem); /* bajada 20px */
            object-fit: contain;
            cursor: pointer;
            transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
            z-index: 1;
        }
        
        #tower-name-and-arrows-wrapper {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0.5rem 0;
            background-color: rgba(0, 0, 0, 0.6);
            border-top: 1px solid rgba(75, 85, 99, 0.5);
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
            height: 2.5rem;
            z-index: 10;
        }

        #current-tower-name {
            font-family: 'Saira', sans-serif;
            font-size: 1.125rem;
            font-weight: 600;
            color: #95ef81;
            text-shadow: 0 0 3px rgba(149, 239, 129, 0.3);
            white-space: nowrap;
            padding: 0.25rem 3rem;
            background-color: transparent;
            border-radius: 0.25rem;
            z-index: 11;
        }

        .tower-nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(66, 210, 50, 0.7);
            color: white;
            padding: 0.75rem;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
            border: 2px solid #95ef81;
            box-shadow: 0 0 8px #42d232, inset 0 0 5px rgba(149, 239, 129, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 3rem;
            height: 3rem;
        }

        #prev-tower {
            left: 0;
            margin-left: -1.5rem;
        }

        #next-tower {
            right: 0;
            margin-right: -1.5rem;
        }

        .tower-nav-arrow:hover {
            background-color: rgba(66, 210, 50, 1);
            color: #95ef81;
            box-shadow: 0 0 15px #42d232, inset 0 0 8px rgba(149, 239, 129, 0.5);
        }

        /* --- Sticky Price Summary Card --- */
        #price-summary-card {
            position: fixed;
            bottom: 0;
            right: 0;
            width: fit-content;
            min-width: 250px;
            padding: 1rem 1.5rem;
            background-color: rgba(31, 41, 55, 0.9);
            border-top: 1px solid rgba(75, 85, 99, 0.5);
            border-left: 1px solid rgba(75, 85, 99, 0.5);
            border-top-left-radius: 0.75rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transform: translateY(100%);
            transition: opacity 0.4s ease-out, visibility 0.4s ease-out, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: none;
        }

        @media (min-width: 768px) {
            #price-summary-card {
                display: flex;
            }
        }

        #price-summary-card.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        #price-summary-card .price-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-family: 'Saira', sans-serif;
        }

        #price-summary-card .price-value-row {
            display: flex;
            align-items: baseline;
            white-space: nowrap;
        }

        #price-summary-card .currency-value {
            font-weight: bold;
            line-height: 1;
            font-size: 3.5rem;
        }

        #price-summary-card .currency-text {
            font-size: 1.75rem;
            font-weight: bold;
            line-height: 1;
            margin-left: 0.5rem;
        }

        #price-summary-card .ars-price .currency-value,
        #price-summary-card .ars-price .currency-text {
            color: #22d3ee;
            text-shadow: 2px 2px 3px black;
        }

        #price-summary-card .usd-price .currency-value,
        #price-summary-card .usd-price .currency-text {
            color: #7a3ab7;
            text-shadow: 2px 2px 3px black;
        }

        #price-summary-card .separator {
            width: 1px;
            height: 4rem;
            background-color: rgba(75, 85, 99, 0.5);
            margin: 0 1.5rem;
        }

        #total-price-summary-usd-mobile {
            font-size: 2rem;
        }

        .currency-value {
            animation: price-glow 3s ease-in-out infinite;
        }

        /* Select Styling */
        #ssd-select,
        #psu-select,
        #gpu-select {
            background-color: #374151;
            border: 1px solid #42d232;
            color: #e5e7eb;
            padding: 0.25rem 0.5rem;
            border-radius: 0.375rem;
            font-size: 1rem;
            cursor: pointer;
            outline: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.5rem center;
            background-size: 1em;
            padding-right: 2em;
            font-family: 'Saira', sans-serif;
            transition: all 0.2s ease-in-out;
        }

        #ssd-select:focus,
        #psu-select:focus,
        #gpu-select:focus {
            border-color: #95ef81;
            box-shadow: 0 0 5px rgba(66, 210, 50, 0.4);
            background-color: #107c10;
        }

        #component-list select {
            color: #95ef81;
            font-weight: bold;
            text-shadow: 0 0 3px rgba(149, 239, 129, 0.3);
        }

        /* Dolar Popup Specific Styling */
        #dolar-popup {
            z-index: 1000 !important;
        }

        #popup-content {
            width: 300px;
        }

        #load-more-overlay {
            position: absolute;
        }

        #dolar-rates-list .dolar-rate-item {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.5rem;
        }

        #dolar-rates-list .dolar-rate-item .dolar-name {
            font-weight: bold;
            color: #e5e7eb;
            margin-bottom: 0.5rem;
        }

        #dolar-rates-list .dolar-rate-item .text-right {
            text-align: right;
            align-self: flex-end;
        }

        @keyframes price-glow-slow {

            0%,
            100% {
                text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.5), 0 0 10px rgba(118, 18, 143, 0.5), 0 0 30px rgba(34, 211, 238, 0.1), 0 0 15px rgba(34, 211, 238, 0.1);
            }

            50% {
                text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.5), 0 0 6px rgba(34, 211, 238, 0.2), 0 0 15px rgba(34, 211, 238, 0.1);
            }
        }

        /* Universal section card style */
        .section-card-style {
            background-color: rgba(31, 41, 55, 0.9);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 0.75rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            padding: 2.5rem 1rem;
        }

        /* Component List Custom Styles */
        #component-list {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            height: 100%;
        }

        #component-list li {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
            width: 100%;
            margin-bottom: 2rem;
        }

        #component-list li.gpu-integrated-mobile {
            margin-bottom: 0.5rem;
        }

        @media (min-width: 768px) {
            #component-list li {
                flex-direction: row;
                align-items: center;
                gap: 1.5rem;
                margin-bottom: 0;
            }
        }

        #component-list li .component-content-wrapper {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
            text-align: left;
        }

        @media (min-width: 768px) {
            #component-list li .component-content-wrapper {
                width: auto;
            }
        }

        #component-list li strong {
            font-size: 1.125rem;
            font-weight: 600;
            color: #e5e7eb;
            margin-bottom: 0.25rem;
        }

        #component-list select {
            width: 100%;
            max-width: 250px;
            margin-top: 0;
        }

        #component-list .description-text {
            font-family: 'Inter', sans-serif;
            color: #42d232;
            font-size: 1rem;
            margin-top: 0.25rem;
            min-height: 4.5rem; /* Altura mínima para 3 líneas */
            line-height: 1.5;
            padding-left: 0.5rem;
        }
        
        /* --- NEW: Image Loading Styles --- */
        #base-image,
        #current-tower-image,
        .component-option-image {
            transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
            cursor: pointer;
        }
        .image-loading-effect {
            filter: grayscale(100%);
        }
        /* Prevent browser 'broken image' icon showing for imgs that don't have a src yet */
        img:not([src]),
        img[src=""] {
            visibility: hidden;
        }
        /* Once a real src is set (non-empty), browser will show the image as normal */
       
        .component-option-image {
            width: 100%;
            max-width: 20rem;
            height: 180px; /* Give a fixed height to prevent layout shift */
            object-fit: contain;
            flex-shrink: 0;
            margin: 0 auto;
        }

/* --- Floating WhatsApp button styles --- */
#whatsapp-float {
    position: fixed;
    left: 1rem; /* user requested 1rem margin */
    bottom: 1rem;
    width: 64px; /* reduced to half (was 128px) */
    height: 64px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px) scale(1);
    transition: opacity 320ms ease, transform 200ms ease;
    pointer-events: none;
    background: transparent; /* no visible background (image is transparent) */
}

#whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    
    background: transparent; /* ensure no background */
    transition: transform 160ms ease, box-shadow 160ms ease;
}

#whatsapp-float:hover img {
    transform: scale(1.08);
}

        @media (min-width: 768px) {
            .component-option-image {
                width: 180px;
                max-width: none;
                left: 6rem;
                position: relative;
            }
             #gpu-image, #psu-image {
                transform: scale(1.5);
                transform-origin: right center;
            }
            #ssd-image {
                transform: scale(1.5);
                transform-origin: right center;
            }
        }
        

        #garantia-section {
            font-size: 1.18rem;
        }

        .coneste {
            text-shadow: black 2px 2px 1px;
        }

        .coneste b {
            color: #42d232;
        }

        /* --- NEW Summary & Peripheral Card Styles --- */
        .peripheral-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        .summary-card {
            background-color: white;
            color: #1f2937;
            border-radius: 0.5rem;
            width: 240px;
            height: 190px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            position: relative;
            overflow: hidden;
        }

        .summary-card-category {
            position: absolute;
            top: -1.5rem;
            /* Positioned outside */
            left: 0;
            width: 100%;
            background-color: #4f46e5;
            color: white;
            padding: 0.125rem 0.5rem;
            font-size: 0.75rem;
            font-weight: bold;
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
            z-index: 2;
            transition: opacity 0.3s ease-out, transform 0.3s ease-out;
            text-align: center;
        }

        #peripherals-grid .peripheral-container.selected .summary-card-category,
        #accessories-grid .peripheral-container.selected .summary-card-category {
            opacity: 1;
            transform: translateY(1.5rem);
        }

        #peripherals-grid .peripheral-container:not(.selected) .summary-card-category,
        #accessories-grid .peripheral-container:not(.selected) .summary-card-category {
            opacity: 0;
            transform: translateY(0);
        }

        #selected-components-preview .summary-card-category {
            top: 0;
        }

        .summary-card-image-wrapper {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            overflow: hidden;
        }

        .summary-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
        }

        .peripheral-info {
            text-align: center;
            width: 100%;
            min-height: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .peripheral-info .peripheral-name {
            font-size: 0.875rem;
            font-weight: 600;
            line-height: 1.2;
            color: white;
        }

        .summary-card.unselected {
            opacity: 0.4;
        }

        .summary-card.unselected .summary-card-image-wrapper img {
            opacity: 0.4;
            filter: grayscale(1);
        }

        .summary-card.unselected .summary-card-image-wrapper::after {
            font-family: "Font Awesome 6 Free";
            content: '\f067';
            /* fa-plus */
            font-weight: 900;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            color: #b3e16b;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
            z-index: 2;
        }

        .price-card-subtitle {
            font-family: 'Saira', sans-serif;
            color: #9ca3af;
            font-size: 0.875rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-top: -0.25rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .base-level-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .base-level-label {
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-size: 1.3rem;
            color: #9ca3af;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
        }

        .base-level-tabs {
            display: flex;
            background-color: rgba(17, 24, 39, 0.5);
            border-radius: 0.5rem;
            padding: 0.25rem;
            position: relative;
        }

        #base-level-slider {
            position: absolute;
            top: 0.25rem;
            bottom: 0.25rem;
            background-color: #42d232;
            /* green-333 */
            border-radius: 0.375rem;
            box-shadow: 0 0 10px rgba(66, 210, 50, 0.5);
            transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 0;
        }

        .base-level-tab {
            padding: 0.5rem 1.5rem;
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            font-size: 1.125rem;
            color: #9ca3af;
            /* gray-400 */
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 0.375rem;
            border: 2px solid transparent;
            position: relative;
            z-index: 1;
        }

        .base-level-tab.active {
            color: #111827;
            /* gray-900 */
            text-shadow: none;
        }

        #base-image-container {
            position: relative;
            width: 100%;
            max-width: 400px;
            aspect-ratio: 1/1;
            margin: auto;
        }

        #base-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .accordion-header {
            cursor: pointer;
            padding: 1rem;
            background-color: rgba(55, 65, 81, 0.5);
            border-radius: 0.5rem;
            margin-top: 1rem;
            transition: background-color 0.3s ease;
        }

        .accordion-header:hover {
            background-color: rgba(75, 85, 99, 0.7);
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-out;
            padding: 0 1rem;
        }

        .accordion-content.open {
            max-height: 1000px;
            padding: 1rem;
        }

        /* --- NEW AI Section Styles --- */
        #ai-section {
            /* Using styles from Manual de Marca */
            background-color: rgba(31, 41, 55, 0.9);
            /* .section-card-style bg */
            border: 1px solid rgba(75, 85, 99, 0.5);
            /* .section-card-style border */
            border-radius: 0.75rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            padding: 2.5rem 1.5rem;
            margin-top: 3rem;
        }

        #ai-input {
            background-color: #111827;
            border: 2px solid #374151;
            color: #e5e7eb;
            font-family: 'Inter', sans-serif;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        #ai-input:focus {
            outline: none;
            border-color: #6366f1;
            /* Gradiente Principal */
            box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
        }

        #ai-button {
            background: linear-gradient(to right, #6366f1, #a855f7);
            /* Gradiente Principal */
            font-family: 'Saira', sans-serif;
            font-weight: 700;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        #ai-button:hover {
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
        }

        #ai-button:disabled {
            background: #4b5563;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        #ai-result-container {
            background-color: rgba(17, 24, 39, 0.7);
            border: 1px solid #374151;
            min-height: 150px;
        }

        /* Loading spinner animation */
        .loader {
            border: 4px solid #374151;
            border-top: 4px solid #6366f1;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }


        .component-link {
            color: var(--color-link) !important;
            text-decoration: none;
            font-size: 1rem !important;
            font-family: 'Inter' !important;
            display: inline-block;
            margin-top: 4px;
        }

        .component-link:hover {
            text-decoration: underline;
        }

        .component-link i {
            margin-left: 0.25rem;
            font-size: 0.75rem;
        }

        /* --- NEW: GPU Range Slider Styles --- */
        .gpu-slider-container {
            display: flex;
            align-items: center;
            gap: 0.5rem; /* 8px */
            margin-bottom: 0.5rem; /* 8px */
        }
        
        .range-slider-container {
            width: 100%;
            padding: 0 0.5rem; /* Add some padding */
        }

        input[type=range] {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            height: 8px;
            background: #374151; /* Dark track background */
            border-radius: 5px;
            outline: none;
            --thumb-size: 20px;
            --track-color: #42d232; /* Green fill color */
            --fill-percent: 0%; /* Will be updated by JS */
        }

        input[type=range]::-webkit-slider-runnable-track {
            width: 100%;
            height: 8px;
            cursor: pointer;
            background: linear-gradient(to right, var(--track-color) var(--fill-percent), #374151 var(--fill-percent));
            border-radius: 5px;
        }

        input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            height: var(--thumb-size);
            width: var(--thumb-size);
            background: #95ef81; /* Lighter green thumb */
            border-radius: 50%;
            border: 2px solid #107c10;
            cursor: pointer;
            margin-top: calc((var(--thumb-size) - 8px) / -2); /* Center thumb on track */
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        input[type=range]:hover::-webkit-slider-thumb {
            box-shadow: 0 0 10px rgba(149, 239, 129, 0.8);
        }
        input[type=range]:active::-webkit-slider-thumb {
            transform: scale(1.2);
        }

        /* Firefox styles */
        input[type=range]::-moz-range-track {
            width: 100%;
            height: 8px;
            cursor: pointer;
            background: #374151;
            border-radius: 5px;
        }

        input[type=range]::-moz-range-progress {
            background-color: var(--track-color);
            height: 8px;
            border-radius: 5px;
        }

        input[type=range]::-moz-range-thumb {
            height: var(--thumb-size);
            width: var(--thumb-size);
            background: #95ef81;
            border-radius: 50%;
            border: 2px solid #107c10;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        input[type=range]:hover::-moz-range-thumb {
            box-shadow: 0 0 10px rgba(149, 239, 129, 0.8);
        }
        input[type=range]:active::-moz-range-thumb {
            transform: scale(1.2);
        }
#dynamic-word {
                                transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1);
                                opacity: 1;
                                color: #42d232;
                                width: 5ch;
                                display: inline-block;
                                text-align: center;
                            }