* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.page-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 20px;
    align-items: start;
}

.ad-container {
    position: sticky;
    top: 20px;
}

.ad-header,
.ad-footer {
    text-align: center;
    margin: 20px auto;
    max-width: 1400px;
}

.ad-item {
    margin: 15px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: white;
}

.ad-item img {
    display: block;
    width: 100%;
    height: auto;
}

.ad-item a {
    display: block;
}

.countdown-container {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
}

.countdown-wrapper {
    position: relative;
    margin: 40px auto;
}

.countdown-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
}

.countdown-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    font-weight: bold;
    color: #667eea;
    transition: all 0.3s;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring-circle {
    stroke: #667eea;
    stroke-width: 10;
    fill: transparent;
    transition: stroke-dashoffset 1s linear;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: #28a745;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { 
        transform: translate(-50%, -50%) scale(0); 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2); 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1); 
    }
}

.info-text {
    color: #666;
    margin: 30px 0;
    font-size: 16px;
    transition: all 0.3s;
}

.password-box {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.password-box.show {
    opacity: 1;
    transform: scale(1);
}

.password-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.password-value {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    font-family: 'Courier New', monospace;
    user-select: all;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 2px dashed #667eea;
}

.download-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

.download-button.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102,126,234,0.6);
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .page-layout {
        grid-template-columns: 200px 1fr 200px;
        gap: 15px;
    }
    
    .countdown-container {
        padding: 40px 30px;
    }
}

@media (max-width: 968px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    
    .ad-container {
        position: relative;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ad-item {
        flex: 0 1 auto;
        max-width: 300px;
    }
    
    .countdown-container {
        padding: 35px 25px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .countdown-circle {
        width: 180px;
        height: 180px;
    }
    
    .countdown-number {
        font-size: 60px;
    }
    
    .password-value {
        font-size: 22px;
    }
    
    .download-button {
        padding: 15px 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .countdown-container {
        padding: 25px 20px;
    }
    
    h1 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .countdown-circle {
        width: 150px;
        height: 150px;
    }
    
    .countdown-number {
        font-size: 48px;
    }
    
    .checkmark {
        font-size: 60px;
    }
    
    .password-value {
        font-size: 18px;
        padding: 12px;
    }
    
    .download-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Footer Copyright */
.dlm-footer-copyright {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.dlm-footer-copyright p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.dlm-footer-copyright strong {
    color: #333;
    font-weight: 700;
}

.dlm-footer-copyright a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.dlm-footer-copyright a:hover {
    color: #764ba2;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .dlm-footer-copyright {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .dlm-footer-copyright p {
        font-size: 12px;
    }
}