* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Mukta', sans-serif;
}

body {
    background-color: #f4f6f8;
    color: #333;
    overflow-x: hidden;
}

/* Marquee Header */
.top-banner {
    background-color: #d32f2f;
    color: white;
    padding: 8px 0;
    font-weight: bold;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: 14px;
}

.marquee {
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
}

/* Operator Logos */
.logos-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    background: white;
    padding: 15px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.operator-logo {
    height: 35px;
    max-width: 80px;
    object-fit: contain;
}

/* Main Card */
.main-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-top: 4px solid #4CAF50;
    width: 100%;
}

h1 {
    color: #d32f2f;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin-bottom: 10px;
    line-height: 1.3;
}

.blink-text {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0.2; }
}

.subtitle {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
}

.timer {
    background: #fff3cd;
    color: #856404;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid #ffeeba;
    display: inline-block;
    font-size: clamp(0.9rem, 3.5vw, 1rem);
}

/* Form Styles */
.form-group {
    text-align: left;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

input[type="tel"] {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
}

input[type="tel"]:focus {
    border-color: #4CAF50;
}

.btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px;
    font-size: clamp(1.1rem, 4vw, 1.2rem);
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.3);
    transition: transform 0.1s, background 0.3s;
    touch-action: manipulation;
}

.btn:active {
    transform: scale(0.98);
}

.verify-btn {
    background: #2196F3;
    box-shadow: 0 4px 6px rgba(33, 150, 243, 0.3);
}

.retry-btn {
    background: #f44336;
    box-shadow: 0 4px 6px rgba(244, 67, 54, 0.3);
}

/* Processing */
.processing {
    margin: 20px 0;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

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

/* Boxes */
.verification-box, .success-box, .error-box {
    padding: 20px 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.verification-box {
    background: #fff8e1;
    border: 2px dashed #ffb300;
}
.verification-box h3 { color: #f57c00; margin-bottom: 10px; }

.success-box {
    background: #e8f5e9;
    border: 2px solid #4caf50;
}
.success-box h3 { color: #2e7d32; margin-bottom: 10px; }

.error-box {
    background: #ffebee;
    border: 2px solid #f44336;
}

/* Comments Section - Infinite Live Stream */
.comments-section {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.comments-section h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #555;
    font-size: 1.1rem;
}

.live-badge {
    background: #f44336;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.comments-container {
    max-height: 400px;
    overflow-y: hidden;
    position: relative;
}

.comment {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 15px;
    animation: slideDown 0.5s ease-out forwards;
    transform-origin: top;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-20px); max-height: 0; margin-bottom: 0; padding-bottom: 0; border-color: transparent; }
    100% { opacity: 1; transform: translateY(0); max-height: 200px; margin-bottom: 15px; padding-bottom: 15px; border-color: #f5f5f5; }
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1rem;
}

.comment-content {
    flex-grow: 1;
}

.comment b {
    color: #1a73e8;
    margin-right: 8px;
    font-size: 0.95rem;
}

.time {
    font-size: 0.75rem;
    color: #999;
}

.comment p {
    margin-top: 4px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #444;
}

/* Tablet & Desktop Adjustments */
@media (min-width: 768px) {
    .container {
        padding: 30px;
    }
    
    .operator-logo {
        height: 45px;
    }
    
    .comments-container {
        max-height: 500px;
    }
}
