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

body {
    background-color: #f0f2f5;
    color: #262626;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #262626;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.search-box {
    display: flex;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: #833ab4;
}

.search-box button {
    padding: 15px 25px;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: linear-gradient(45deg, #fd1d1d, #e1306c, #c13584, #833ab4, #5851db, #405de6);
    transform: translateX(2px);
}

.search-box button:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
}
.profile-container {
    display: none;
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    background-color: white;
    border: 1px solid #e8e8e8;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 25px;
    border: 4px solid #e1306c;
    box-shadow: 0 3px 10px rgba(225, 48, 108, 0.3);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.profile-info {
    flex: 1;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.profile-info:hover {
    transform: translateY(-5px);
}

.profile-info h2 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #262626;
}

.profile-info p {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
}

.profile-info p.bio {
    margin-top: 12px;
    font-size: 12px;
    color: #6c757d;
    white-space: pre-line;
    max-width: 100%;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.profile-details {
    margin-left: 20px;
    flex: 1;
}

.profile-details .name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #262626;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-top: 25px;
}

.profile-stats .stat {
    margin-right: 25px;
    text-align: center;
}

.profile-stats .stat .number {
    font-size: 18px;
    font-weight: 700;
    color: #262626;
}

.profile-stats .stat .label {
    font-size: 13px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

.stat-box {
    flex: 1;
    padding: 18px 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 0 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-box h3 {
    font-size: 20px;
    color: #262626;
    margin-bottom: 5px;
}

.stat-box span {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
}

.loading {
    display: none;
    text-align: center;
    margin: 25px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-left-color: #e1306c;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.error {
    display: none;
    color: #dc3545;
    text-align: center;
    margin-top: 25px;
    padding: 18px;
    background-color: #fce8ec;
    border-radius: 8px;
    border: 1px solid #f3a9b5;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.1);
}

.error strong {
    font-weight: 600;
    font-size: 16px;
}

.error small {
    display: block;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9990;
    display: none;
    background: #000;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
}

#overlay h2 {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
}

#overlay p {
    margin-bottom: 25px;
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

.step {
    width: 100%;
    max-width: 400px;
    margin-bottom: 25px;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
}

.step-header .label {
    flex: 1;
    text-align: left;
    margin-left: 10px;
    font-weight: 500;
}

.step-header .check-icon {
    opacity: 0;
    color: #2ecc71;
    transition: opacity 0.3s, transform 0.3s;
}

.step.completed .check-icon {
    opacity: 1;
    transform: scale(1.1);
}

.progress {
    background: #444;
    border-radius: 6px;
    overflow: hidden;
    height: 8px;
    margin-top: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    width: 0;
    height: 100%;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.header .logo {
    font-size: 60px;
    background: linear-gradient(270deg, #405de6, #833ab4, #e1306c, #fbad50);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
    margin-bottom: 15px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

.header h1 {
    margin-top: 15px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header p.subtitle {
    margin-top: 10px;
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    margin: 30px 0;
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card .form-group {
    margin-top: 25px;
}

.card input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 16px;
    color: #262626;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.card input:focus {
    border-color: #833ab4;
    box-shadow: 0 2px 10px rgba(131, 58, 180, 0.1);
}

.card input::placeholder {
    color: #adb5bd;
}

.card button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #f58529, #dd2a7b);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(221, 42, 123, 0.2);
}

.card button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 42, 123, 0.3);
}

.result {
    display: none;
    margin-top: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.result h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.result p.password {
    font-size: 26px;
    color: #e1306c;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed #e1306c;
    display: inline-block;
}

.result p.note {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.how-it-works {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin: 35px 0;
    border-top: 1px solid #eee;
    padding-top: 25px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.how-it-works h2 {
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.how-it-works ol {
    padding-left: 25px;
}

.how-it-works ol li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.features .feature {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
}

.features .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.features .feature i {
    font-size: 42px;
    color: #3897f0;
    margin-bottom: 10px;
}

.features .feature h3 {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.features .feature p {
    margin-top: 10px;
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

.disclaimer {
    font-size: 15px;
    color: #6c757d;
    text-align: center;
    margin: 25px 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
    line-height: 1.6;
}

.disclaimer strong {
    color: #333;
    font-weight: 600;
}

footer {
    font-size: 15px;
    text-align: center;
    color: #6c757d;
    margin-bottom: 15px;
    padding: 15px 0;
}

footer a {
    color: #6c757d;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e1306c;
}

@media (max-width:480px) {
    .header .logo {
        font-size: 45px;
    }

    .header h1 {
        font-size: 22px;
    }
    
    .container {
        padding: 20px;
        margin: 20px 15px;
    }
    
    .profile-img {
        width: 90px;
        height: 90px;
    }
    
    .card button {
        padding: 12px;
    }
}