* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #0066ff 100%);
    position: relative;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 200, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    animation: backgroundPulse 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 600px;
    padding: 20px;
}

.hero-section {
    text-align: center;
}

.wifi-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.wifi-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    animation: wifiPulse 2s ease-out infinite;
}

.wifi-wave:nth-child(1) {
    animation-delay: 0s;
}

.wifi-wave:nth-child(2) {
    width: 40px;
    height: 40px;
    animation-delay: 0.3s;
}

.wifi-wave:nth-child(3) {
    width: 60px;
    height: 60px;
    animation-delay: 0.6s;
}

@keyframes wifiPulse {
    0% {
        opacity: 1;
        transform: translateX(-50%) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1.2);
    }
}

.main-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 2px 2px 10px rgba(0, 0, 0, 0.3); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 2px 2px 10px rgba(0, 0, 0, 0.3); }
}

.subtitle {
    font-size: 1.5rem;
    color: #ffff00;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 0, 0.6), 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: subtitlePulse 1.5s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.marketing-text {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.counter-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.counter-icon {
    margin-right: 8px;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-card h3 {
    color: #0066ff;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), 0 0 15px rgba(0, 212, 255, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.disclaimer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.verification-section,
.completion-section {
    text-align: center;
}

.hidden {
    display: none !important;
}

.verification-card,
.completion-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.wifi-loading {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
}

.wifi-spinner {
    width: 100%;
    height: 100%;
    border: 8px solid #e0e0e0;
    border-top-color: #00d4ff;
    border-right-color: #0099ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.verification-card h2 {
    color: #0066ff;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.system-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.system-info p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #333;
}

.system-info .label {
    font-weight: bold;
    color: #0066ff;
}

.progress-container {
    margin: 30px 0;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #0066ff 100%);
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    margin-top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #0066ff;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.verification-note {
    color: #666;
    font-size: 0.95rem;
    margin-top: 20px;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.completion-card h2 {
    color: #0066ff;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.success-message {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}

.twist-message {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.twist-message p {
    color: #856404;
    margin: 8px 0;
    font-size: 1rem;
}

.try-again-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.try-again-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .verification-card,
    .completion-card {
        padding: 40px 25px;
    }
}


/* Banner Image */
.banner-container {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.banner-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* Verification Captcha */
.verification-captcha {
    text-align: center;
}

.captcha-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lock-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: lockShake 2s ease-in-out infinite;
}

@keyframes lockShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.captcha-card h2 {
    color: #0066ff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

.captcha-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

.captcha-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.captcha-question {
    margin-bottom: 20px;
}

.captcha-question p {
    color: #333;
    font-size: 1.1rem;
}

.captcha-question strong {
    color: #0066ff;
}

.captcha-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.captcha-item {
    aspect-ratio: 1;
    background: #fff;
    border: 3px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s ease;
    user-select: none;
}

.captcha-item:hover {
    border-color: #00d4ff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.captcha-item.selected {
    border-color: #00d4ff;
    background: #e0f7ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
}

.captcha-item.correct {
    border-color: #4caf50;
    background: #e8f5e9;
}

.captcha-item.wrong {
    border-color: #f44336;
    background: #ffebee;
    animation: wrongShake 0.5s ease;
}

@keyframes wrongShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.captcha-counter {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.verify-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102

.verify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.verify-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.captcha-note {
    margin-top: 20px;
    color: #f44336;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .captcha-card {
        padding: 30px 20px;
    }
    
    .captcha-grid {
        gap: 8px;
    }
    
    .captcha-item {
        font-size: 2rem;
    }
}
