* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #141414;
    --accent-color: #00d4aa;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #2a2a2a;
    --gradient-start: #00d4aa;
    --gradient-end: #00a3ff;
}

body {
    font-family: 'Montserrat', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 163, 255, 0.08) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundShift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-5%, -5%) rotate(5deg);
    }
}

.container {
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.logo-container {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.3));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-indicator {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.pulse-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: shimmer 2s infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    width: 0%;
    animation: progressFill 2.5s ease-out forwards;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.5);
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.status-text {
    color: var(--text-secondary);
    animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.percentage {
    color: var(--accent-color);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.security-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.4);
    transform: translateY(-2px);
}

.badge-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-text {
    padding: 20px;
    background: rgba(0, 212, 170, 0.03);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.footer p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 11px;
    color: #666;
    font-style: italic;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .logo-container {
        margin-bottom: 40px;
    }

    .logo {
        width: 160px;
    }

    .content {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 13px;
    }

    .security-badges {
        gap: 10px;
    }

    .badge {
        padding: 10px 12px;
        font-size: 11px;
    }

    .badge span {
        display: none;
    }

    .badge-icon {
        width: 24px;
        height: 24px;
        margin: 0 auto;
    }

    .info-text {
        padding: 16px;
        font-size: 12px;
    }

    .footer {
        margin-top: 30px;
        padding-top: 20px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .content {
        padding: 24px 20px;
    }

    .status-indicator {
        width: 60px;
        height: 60px;
    }

    .pulse-ring {
        width: 60px;
        height: 60px;
    }

    .title {
        font-size: 18px;
    }
}

/* Landscape mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .logo-container {
        margin-bottom: 20px;
    }

    .status-indicator {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .pulse-ring {
        width: 60px;
        height: 60px;
    }

    .content {
        padding: 24px;
    }

    .footer {
        margin-top: 20px;
        padding-top: 20px;
    }
}