

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    
    color: #333;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hidden {
    display: none !important;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.page-content {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.8;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.profile-image-container {
    margin-bottom: 20px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.display-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bio {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.5;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.link-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.link-item:active {
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link.instagram:hover { color: #E4405F; }
.social-link.twitter:hover { color: #1DA1F2; }
.social-link.linkedin:hover { color: #0077B5; }
.social-link.github:hover { color: #333; }
.social-link.email:hover { color: #EA4335; }
.social-link.phone:hover { color: #34A853; }

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.views-counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.powered-by {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.error-content h1 {
    font-size: 6rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.error-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.home-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.home-link:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.theme-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.theme-light .display-name {
    color: #333;
    text-shadow: none;
}

.theme-light .bio {
    color: #666;
}

.theme-light .views-counter {
    color: #666;
}

.theme-light .powered-by {
    color: #999;
}

.theme-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.theme-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

@media (max-width: 480px) {
    .page-content {
        padding: 15px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .display-name {
        font-size: 1.5rem;
    }

    .link-item {
        padding: 12px 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}

#address-text, #website-url {
    font-weight: 700;
}
