/* assets/css/style.css */

.dlr-container {
    max-width: 800px;
    margin: 0px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.dlr-content {
    background: #fff;
    border-radius: 28px;
    padding: 30px 60px 60px 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dlr-heading {
    text-align: center;
    color: #2c3e50;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dlr-progress-wrapper {
    margin: 30px 0 20px;
}

.dlr-progress-bar {
    width: 100%;
    height: 40px;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dlr-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
    transition: width 0.3s ease;
    border-radius: 20px;
    position: relative;
}

.dlr-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.dlr-progress-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: red;
}

.dlr-countdown-text {
    text-align: center;
    font-size: 16px;
    color: #111;
    margin: 10px 0 -8px;
    font-weight: 500;
}


.dlr-countdown-text1 {
	animation: blink 0.7s linear infinite;
	}
@keyframes blink{
0%{opacity: 0;}
50%{opacity: .5;}
100%{opacity: 1;}
}






/* assets/css/your-style.css hoặc trong <style> */
.dlr-seconds {
    color: #FFF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    line-height: 28px !important;
    display: inline-block;
    text-align: center;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: red;
    animation: pulse 1.5s infinite;
}


#dlr-countdown-text {
    position: relative;
    text-align: center;
}







#dlr-seconds {
    color: #4CAF50;
    font-weight: 700;
    font-size: 24px;
}

.dlr-download-btn {
    display: none;
    margin: 28px auto 30px;
    padding: 8px 36px;
    background: linear-gradient(to right, #FE4F70 0%, #FFA387 51%, #FE4F70 100%);
    background-size: 200% auto;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
}

.dlr-download-btn:hover {
    background-position: right center;
    color: #fff !important;;
}

.dlr-download-btn:active {
    transform: translateY(0);
}

.dlr-download-btn svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
}

.dlr-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #4CAF50;
}

.dlr-description p {
    margin: 0;
    color: #000;
    font-size: 14px;
    line-height: 1.6;
}

.dlr-note {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid #f44336;
}

.dlr-note svg {
    flex-shrink: 0;
    color: #f44336;
}

.dlr-note span {
    color: #d32f2f;
    font-size: 15px;
    line-height: 1.5;
}

.dlr-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 10px;
}

.dlr-banner {
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.dlr-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .dlr-content {
        padding: 30px 20px;
    }
    
    .dlr-heading {
        font-size: 24px;
    }
    
    .dlr-banners {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dlr-download-btn {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    .dlr-progress-bar {
        height: 30px;
    }
.dlr-note {
    padding: 10px 5px;
    gap: 8px;
}
}

/* Animation for button appear */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dlr-download-btn.show {
    display: flex !important;
    animation: fadeInUp 0.5s ease;
}










.dlr-banner img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dlr-banner:hover img {
    transform: scale(1.04);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}












#dlr-progress-container {
  position: relative;
  width: 100%;
  height: 22px;
  background: #333;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

#dlr-progress {
  position: relative;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #00ff73, #00b33c);
  border-radius: 99px;
  transition: width 0.1s linear;
}

#dlr-percentage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  text-shadow: 0 0 4px rgba(0,0,0,0.6);
  pointer-events: none;
}
