.led-container-4c8440ca {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.led-title-4c8440ca {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.led-subtitle-4c8440ca {
    font-size: 15px;
    margin: 0 0 40px 0;
    opacity: 0.8;
}

.led-display-area-4c8440ca {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
}

.led-bulb-wrapper-4c8440ca {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.led-glow-4c8440ca {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    transition: background 0.6s ease, box-shadow 0.6s ease, opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.led-bulb-4c8440ca {
    position: relative;
    border-radius: 50%;
    transition: background-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
    z-index: 1;
    animation: led-pulse-4c8440ca 2.5s ease-in-out infinite;
}

@keyframes led-pulse-4c8440ca {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* RGB color cycling animation */
.led-bulb-4c8440ca.rgb-active-4c8440ca {
    animation: led-rgb-cycle-4c8440ca 4s linear infinite;
}

@keyframes led-rgb-cycle-4c8440ca {
    0%   { background-color: #FF0000; box-shadow: 0 0 40px 15px rgba(255, 0, 0, 0.7), 0 0 80px 30px rgba(255, 0, 0, 0.4); }
    16%  { background-color: #FF8800; box-shadow: 0 0 40px 15px rgba(255, 136, 0, 0.7), 0 0 80px 30px rgba(255, 136, 0, 0.4); }
    33%  { background-color: #FFFF00; box-shadow: 0 0 40px 15px rgba(255, 255, 0, 0.7), 0 0 80px 30px rgba(255, 255, 0, 0.4); }
    50%  { background-color: #00FF00; box-shadow: 0 0 40px 15px rgba(0, 255, 0, 0.7), 0 0 80px 30px rgba(0, 255, 0, 0.4); }
    66%  { background-color: #0088FF; box-shadow: 0 0 40px 15px rgba(0, 136, 255, 0.7), 0 0 80px 30px rgba(0, 136, 255, 0.4); }
    83%  { background-color: #8800FF; box-shadow: 0 0 40px 15px rgba(136, 0, 255, 0.7), 0 0 80px 30px rgba(136, 0, 255, 0.4); }
    100% { background-color: #FF0000; box-shadow: 0 0 40px 15px rgba(255, 0, 0, 0.7), 0 0 80px 30px rgba(255, 0, 0, 0.4); }
}

/* RGB glow cycling */
.led-glow-4c8440ca.rgb-glow-active-4c8440ca {
    animation: led-rgb-glow-cycle-4c8440ca 4s linear infinite;
}

@keyframes led-rgb-glow-cycle-4c8440ca {
    0%   { background: rgba(255, 0, 0, 0.5); }
    16%  { background: rgba(255, 136, 0, 0.5); }
    33%  { background: rgba(255, 255, 0, 0.5); }
    50%  { background: rgba(0, 255, 0, 0.5); }
    66%  { background: rgba(0, 136, 255, 0.5); }
    83%  { background: rgba(136, 0, 255, 0.5); }
    100% { background: rgba(255, 0, 0, 0.5); }
}

.led-color-name-4c8440ca {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    transition: opacity 0.3s ease;
}

.led-description-4c8440ca {
    font-size: 14px;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

.led-buttons-4c8440ca {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.led-color-btn-4c8440ca {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.led-color-btn-4c8440ca:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.led-color-btn-4c8440ca.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.led-btn-swatch-4c8440ca {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.led-btn-swatch-4c8440ca.rgb-swatch-4c8440ca {
    animation: led-rgb-swatch-4c8440ca 3s linear infinite;
}

@keyframes led-rgb-swatch-4c8440ca {
    0%   { background-color: #FF0000; }
    33%  { background-color: #00FF00; }
    66%  { background-color: #0000FF; }
    100% { background-color: #FF0000; }
}

.led-btn-label-4c8440ca {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .led-buttons-4c8440ca {
        gap: 6px;
    }
    .led-color-btn-4c8440ca {
        padding: 8px 12px;
    }
    .led-btn-label-4c8440ca {
        font-size: 11px;
    }
    .led-title-4c8440ca {
        font-size: 22px;
    }
    .led-description-4c8440ca {
        font-size: 13px;
    }
}
