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

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
}

h1 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.8);
}

h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #00d4ff;
}

h3 {
    border: 2px solid #00d4ff;
    border-radius: 8px;
    padding: 20px 15px;
    margin-top: 15px;
    font-size: 18px;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.container {
    background: rgba(10, 10, 30, 0.85);
    border: 2px solid #00d4ff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    width: 650px;
    height: 450px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.top-progress-fill {
    height: 100%;
    width: 12.5%;
    background: linear-gradient(90deg, #00d4ff 0%, #0099ff 100%);
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.quiz-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiz-step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 200px;
    padding: 20px;
}

.quiz-step.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 28px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.8);
}

.step-subtitle {
    color: #00d4ff;
    margin-bottom: 40px;
    font-size: 24px;
    line-height: 1.6;
    text-transform: uppercase;
    font-weight: bold;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.step-btn {
    min-width: 250px;
    height: 70px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066cc 100%);
    border: 2px solid #00d4ff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.step-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.step-btn:hover::before {
    left: 100%;
}

.step-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.7);
    background: linear-gradient(135deg, #00e6ff 0%, #0077dd 100%);
}

.step-btn:active {
    transform: translateY(0);
}

.single-btn {
    width: 60%;
    max-width: 400px;
}

.cta-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff0000 100%);
    border-color: #ff6b00;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    font-size: 24px;
    height: 80px;
    animation: pulse 2s infinite;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #ff8000 0%, #ff3300 100%);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.7);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.browser-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.browser-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
    transition: transform 0.3s ease;
    display: none;
}

.browser-icon:hover {
    transform: scale(1.1);
}

.progress-container {
    width: 80%;
    max-width: 600px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00d4ff;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.3);
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #0066cc 50%, #00d4ff 100%);
    border-radius: 15px;
    transition: width 3s ease-in-out;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.quiz-step[data-step-type="3"] .progress-bar {
    width: 100%;
}

/* Animations */
.quiz-step {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.quiz-step.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background styles */
main {
    transition: background-image 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-height: 100vh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 60px 20px;
    width: 100vw;
    position: relative;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* Default background */
main {
    background-image: url('../../images/bg/01.jpg');
}

/* Footer styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 100;
}

.footer a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    text-decoration: underline;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-family: Arial, sans-serif;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        width: 95%;
        height: auto;
        min-height: 400px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
        padding: 15px 10px;
    }

    .step-title {
        font-size: 22px;
    }

    .step-subtitle {
        font-size: 16px;
    }

    .step-btn {
        min-width: 200px;
        height: 60px;
        font-size: 18px;
    }

    .browser-icon {
        width: 70px;
        height: 70px;
    }

    .browser-icons {
        gap: 15px;
    }

    .footer {
        padding: 8px 15px;
        gap: 12px;
    }

    .footer a {
        font-size: 8px;
    }
}

@media (min-width: 2000px) {
    .container {
        transform: scale(1.1);
    }
}

@media (min-width: 3000px) {
    .container {
        transform: scale(1.5);
    }
}
