:root {
    --primary-color: #6c5ce7;
    --primary-light: #a29bfe;
    --primary-dark: #4834d4;
    --secondary-color: #00b894;
    --secondary-light: #55efc4;
    --accent-color: #fdcb6e;
    --dark-color: #2d3436;
    --gray-color: #636e72;
    --light-color: #f5f6fa;
    --danger-color: #e84393;
    --success-color: #00b894;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#dee2e6;
    background-size: 400px;
    background-position: center;
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Card styling for consistent design */
.card {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative; /* Ensure positioned children work properly */
    display: block; /* Ensure block-level display */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Header */
header {
    margin-bottom: 40px;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    padding: 25px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    animation: headerFadeIn 0.8s ease-out forwards;
}

@keyframes headerFadeIn {
    0% { 
        opacity: 0;
        transform: translateY(-20px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-right {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 180px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

h1 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.disclaimer {
    color: var(--danger-color);
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    width: 100%;
}

/* Generator Box */
.generator-box {
    padding: 35px;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    display: block;
}

.input-group {
    margin-bottom: 25px;
    width: 100%;
}

label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-dark);
    width: 100%;
}

label i {
    color: var(--primary-color);
    display: inline-block;
}

input[type="text"] {
    width: 100%;
    padding: 14px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all var(--transition-normal);
    font-family: 'Poppins', sans-serif;
    -webkit-appearance: none;
    appearance: none; /* Standard property */
}

input[type="text"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.spins-selector {
    margin-bottom: 30px;
    width: 100%;
}

.spins-selector h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    width: 100%;
}

.spins-selector h3 i {
    color: var(--primary-color);
    display: inline-block;
}

.spin-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.spin-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-normal);
    font-family: 'Poppins', sans-serif;
    flex: 1;
    min-width: 90px;
    max-width: 120px;
    text-align: center;
}

.spin-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    transition: transform var(--transition-normal);
    display: inline-block;
}

.spin-option:hover {
    background-color: #f1f3f5;
    border-color: #dee2e6;
}

.spin-option:hover .spin-icon {
    transform: rotate(15deg);
}

.spin-option.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    border-color: var(--secondary-color);
    color: white;
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.generate-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    -webkit-appearance: none;
    appearance: none; /* Standard property */
}

.generate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%);
    transition: left 0.7s ease;
    pointer-events: none;
}

.generate-button:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.3);
}

.generate-button:hover::before {
    left: 100%;
}

.generate-button:active {
    transform: translateY(1px);
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.step {
    padding: 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.step-icon {
    margin: 0 auto 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 5;
}

.step-content {
    position: relative;
    z-index: 5;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 183, 148, 0.15), rgba(85, 239, 196, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 2.2rem;
    box-shadow: none;
    z-index: 1;
    border: none;
    transition: all var(--transition-normal);
    opacity: 0.9;
}

.step:hover .step-number {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.1);
    opacity: 1;
}

.step-content h3 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
    width: 100%;
}

.step-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--gray-color);
    width: 100%;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 550px;
    text-align: center;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal.active .modal-content {
    transform: scale(1);
}

.generating-content h2,
.completion-content h2,
.verification-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
}

.progress-container {
    height: 20px;
    background-color: #f1f3f5;
    border-radius: 10px;
    margin: 30px 0;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    width: 50%;
    height: 100%;
    transform: translateX(-100%);
    animation: progressShimmer 2s infinite;
    pointer-events: none;
}

@keyframes progressShimmer {
    100% {
        transform: translateX(200%);
    }
}

.status-text {
    margin-bottom: 15px;
    font-style: italic;
    color: var(--gray-color);
    display: block;
    width: 100%;
    min-height: 24px; /* Prevent layout shifts */
}

.spin-result {
    font-size: 1.6rem;
    margin: 25px 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.spin-icon-large {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: inline-block;
}

.fa-check-circle {
    color: var(--success-color);
    font-size: 1.8rem;
    display: inline-block;
}

#verification-btn {
    padding: 14px 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    display: inline-block;
    -webkit-appearance: none;
    appearance: none; /* Standard property */
}

#verification-btn:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.3);
}

.verification-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    width: 100%;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}

.spin-icon-medium {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: inline-block;
}

.captcha-container {
    margin: 30px auto;
    max-width: 300px;
    width: 100%;
}

#fake-captcha {
    border: 1px solid #dfe4ea;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    width: 100%;
    display: block;
}

#fake-captcha:hover {
    box-shadow: var(--shadow-md);
}

.captcha-header {
    background-color: #f1f3f5;
    padding: 10px;
    font-size: 0.9rem;
    color: var(--dark-color);
    border-bottom: 1px solid #dfe4ea;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.captcha-checkbox {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    gap: 12px;
    width: 100%;
}

.checkbox-container {
    width: 24px;
    height: 24px;
    border: 2px solid #dfe4ea;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    position: relative;
}

.checkbox-container .fa-check {
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    position: absolute;
}

.captcha-footer {
    background-color: #f1f3f5;
    padding: 10px;
    font-size: 0.8rem;
    color: var(--gray-color);
    border-top: 1px solid #dfe4ea;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* Animation class for checkbox */
.checkbox-animate .checkbox-container {
    background-color: var(--success-color);
    border-color: var(--success-color);
    transition: all 0.3s ease;
}

.checkbox-animate .fa-check {
    opacity: 1;
    transform: scale(1);
    color: white;
    transition: all 0.3s ease;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    20%, 60% {
        transform: translateX(-5px);
    }
    40%, 80% {
        transform: translateX(5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header-content {
        flex-direction: column;
        padding: 20px 30px;
    }
    
    .header-left {
        align-items: center;
        margin-bottom: 20px;
    }
    
    .header-stats {
        justify-content: center;
    }

    .steps-container {
        gap: 20px;
    }

    .generator-box {
        padding: 25px;
    }

    .spin-options {
        justify-content: center;
        gap: 8px;
    }
    
    .spin-option {
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .modal-content {
        padding: 30px 20px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .spin-options {
        justify-content: space-between;
    }
    
    .spin-option {
        min-width: calc(50% - 4px);
        max-width: calc(50% - 4px);
        margin-bottom: 8px;
    }

    .step {
        padding: 20px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        border-radius: 14px;
    }

    .verification-content h2 {
        font-size: 1.4rem;
    }

    .status-text {
        min-height: 40px; /* Taller for mobile */
    }

    .modal-content {
        padding: 20px 15px;
        width: 95%;
    }
}

/* Username warning message */
.username-warning {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: rgba(232, 67, 147, 0.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--danger-color);
    animation: shake 0.5s ease once;
}

.username-warning i {
    color: var(--danger-color);
    font-size: 1rem;
}

/* Header stats */
.header-stats {
    display: flex;
    gap: 15px;
}

.stat-card {
    background-color: white;
    border-radius: 14px;
    padding: 12px 22px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.15);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray-color);
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* Special styling for the Online status */
.stat-card:first-child .stat-value {
    color: #4cd137;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4cd137;
    border-radius: 50%;
    position: relative;
}

.status-dot:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4cd137;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    z-index: 0;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.online-users {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: rgba(108, 92, 231, 0.08);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.online-users i {
    color: var(--primary-color);
}

#online-count {
    font-weight: 600;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

#online-count.count-change {
    color: var(--secondary-color);
}

.last-updated {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-top: 4px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    background-color: rgba(108, 92, 231, 0.05);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    animation: updateGlow 3s infinite;
}

.last-updated.highlight {
    color: var(--primary-color);
    opacity: 1;
    font-weight: 500;
    background-color: rgba(108, 92, 231, 0.1);
}

@keyframes updateGlow {
    0% {
        box-shadow: 0 0 0px rgba(108, 92, 231, 0.1);
        background-color: rgba(108, 92, 231, 0.05);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 8px rgba(108, 92, 231, 0.3);
        background-color: rgba(108, 92, 231, 0.15);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0px rgba(108, 92, 231, 0.1);
        background-color: rgba(108, 92, 231, 0.05);
        transform: scale(1);
    }
}

@keyframes updatePulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* Help link styles */
.help-link {
    margin-bottom: 8px;
    text-align: left;
    font-size: 0.85rem;
    margin-top: -5px;
}

.help-link a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color var(--transition-fast);
    cursor: pointer;
}

.help-link a:hover {
    color: var(--primary-dark);
}

/* Help popup styles */
.help-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.help-popup.active {
    display: flex;
    opacity: 1;
}

.help-popup-content {
    background-color: white;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.help-popup.active .help-popup-content {
    transform: scale(1);
}

.help-popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.help-popup-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.close-popup {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.close-popup:hover {
    background-color: #f1f3f5;
    color: var(--primary-color);
}

.help-popup-body {
    padding: 20px;
}

.help-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-left: 10px;
}

.help-step-number {
    width: 26px;
    height: 26px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.help-step p {
    margin: 3px 0 0 0;
}

.help-image {
    margin: 20px 0;
    text-align: center;
}

.profile-example {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.help-note {
    display: flex;
    align-items: flex-start;
    background-color: rgba(108, 92, 231, 0.1);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

.help-note i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
    transition: all var(--transition-normal);
}

.step-dot.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.3);
}

.step-dot.completed {
    background-color: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-line {
    height: 3px;
    flex-grow: 1;
    max-width: 80px;
    background-color: #e9ecef;
    transition: all var(--transition-normal);
}

.step-line.active {
    background-color: var(--primary-color);
}

/* Step Title */
.step-title {
    text-align: center;
    margin-bottom: 25px;
}

.step-title h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Continue Button */
.continue-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    margin-top: 15px;
    -webkit-appearance: none;
    appearance: none; /* Standard property */
}

.continue-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%);
    transition: left 0.7s ease;
    pointer-events: none;
}

.continue-button:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.3);
}

.continue-button:hover::before {
    left: 100%;
}

.continue-button:active {
    transform: translateY(1px);
}

.continue-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.continue-button:hover i {
    transform: translateX(5px);
}

/* Connected Status */
.connected-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: rgba(0, 184, 148, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    color: var(--dark-color);
}

.connected-status i {
    color: var(--success-color);
    font-size: 1.1rem;
}

#connected-username {
    font-weight: 600;
    color: var(--success-color);
}

/* Verification Info */
.verification-info {
    margin-bottom: 25px;
}

.verification-status {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(108, 92, 231, 0.08);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 20px;
}

/* Modern verification status style */
.verification-status.modern {
    background: linear-gradient(135deg, #ffffff, #f9f9ff);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.verification-status.modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.verification-status.modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.2);
}

.verification-status.modern .verification-badge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.2);
}

.verification-status.modern .verification-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verification-status.modern .user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
    font-size: 1rem;
}

.verification-status.modern .user-info i {
    color: var(--primary-color);
    opacity: 0.8;
}

.verification-status.modern #final-username {
    font-weight: 600;
    color: var(--primary-dark);
}

.verification-status.modern .status-icon {
    font-size: 1.8rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.verification-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.verification-details {
    flex-grow: 1;
}

.verification-details h3 {
    margin: 0 0 5px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.verification-details p {
    margin: 0;
    color: var(--gray-color);
    font-size: 0.95rem;
}

.verification-details #final-username {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Countdown Timer */
.countdown-container {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    text-align: center;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0 0 5px;
}

.countdown-timer {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.countdown-progress {
    height: 6px;
    background-color: #f1f3f5;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.countdown-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--danger-color));
    border-radius: 10px;
    transition: width 1s linear;
}

/* Verification Card */
.verification-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 25px;
}

.verification-header {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.verification-body {
    padding: 20px;
    text-align: center;
}

.verification-body p {
    margin: 0 0 20px;
    color: var(--gray-color);
}

.captcha-container {
    margin: 20px auto;
    max-width: 300px;
}

/* Captcha styling improvements */
#fake-captcha {
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease, transform 0.2s ease;
}

#fake-captcha:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: spinner-pulse 1.5s ease-in-out infinite;
}

.loading-spinner i {
    display: inline-block;
    animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.loading-text.highlight {
    color: var(--success-color);
    transform: scale(1.05);
}

.loading-progress {
    height: 15px;
    background-color: #f1f3f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.loading-progress .progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

@keyframes spinner-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .step-indicator {
        margin-bottom: 20px;
    }

    .step-dot {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-line {
        max-width: 50px;
    }

    .step-title h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .step-indicator {
        margin-bottom: 15px;
    }

    .step-dot {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .step-line {
        max-width: 30px;
    }

    .step-title h2 {
        font-size: 1.2rem;
    }
}

/* Countdown urgent states */
.countdown-urgent {
    color: var(--danger-color);
    animation: pulse-countdown 1s infinite;
}

.countdown-urgent-bar {
    background: linear-gradient(90deg, var(--danger-color), #ff6b6b);
    animation: pulse-bar 1s infinite;
}

@keyframes pulse-countdown {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse-bar {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

/* Status indicator */
.status-indicator {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.status-indicator i {
    color: #4cd137;
    font-size: 10px;
}

