/* --- GLASS CONTAINER --- */
.cdu-box {
    position: relative;
    padding: 14px 20px;
    background: rgba(40, 45, 50, 0.55);
    border-radius: 16px;
    border-left: 4px solid #00e676;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    width: fit-content;
    overflow: hidden;
    box-shadow:
        0 8px 28px rgba(0,0,0,0.55),
        0 0 24px rgba(0, 255, 160, 0.22);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.cdu-box::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 160, 0.25);
    border-radius: 50%;
    transform: scale(0);
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
}

.cdu-box:hover::before {
    transform: scale(4);
}

.cdu-box:hover {
    transform: scale(1.02);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.6),
        0 0 26px rgba(0,255,160,0.35);
}



/* --- COUNT BUTTON --- */
.cdu-count {
    position: relative;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    box-shadow: inset 0 0 12px rgba(255,255,255,0.08);
}

.cdu-count::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    background: rgba(255, 92, 189, 0.45);
    border-radius: inherit;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
    z-index: -1;
}

.cdu-count:hover::before {
    transform: scale(3);
}

.cdu-count:hover {
    color: #212121;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 6px 20px rgba(255, 92, 189, 0.45),
        0 0 14px rgba(255, 92, 189, 0.65);
}

.cdu-count:active {
    transform: scale(1);
}



/* --- RESULT TEXT --- */
.cdu-result {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255,255,255,0.55);
}



/* --- DOWNLOAD BUTTON (NEON GRADIENT) --- */
.cdu-download {
    position: relative;
    padding: 10px 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #ff2ea2, #ff66c4);
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    overflow: hidden;
    box-shadow:
        0 4px 16px rgba(255, 92, 173, 0.45),
        0 0 14px rgba(255, 92, 173, 0.55);
}

.cdu-download::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.4);
    border-radius: inherit;
    transform: scale(0);
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
}

.cdu-download:hover::before {
    transform: scale(3);
}

.cdu-download:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow:
        0 6px 22px rgba(255, 92, 173, 0.8),
        0 0 20px rgba(255, 92, 173, 1);
}



/* --- CODE BLOCK (NEON + GLASS) --- */
.cdu-code {
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 15px;
    display: inline-block;
    color: #ffffff;
    font-size: 17px;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.5),
        0 0 18px rgba(0,255,160,0.8);
    box-shadow:
        inset 0 0 12px rgba(255,255,255,0.08),
        0 0 22px rgba(0,255,160,0.28);
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
}

.cdu-code:hover {
    transform: scale(1.05);
    box-shadow:
        inset 0 0 18px rgba(255,255,255,0.14),
        0 0 28px rgba(0,255,160,0.45);
}
