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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.site-name {
    font-size: 18px;
    font-weight: 100;
    color: var(--text-primary);
    transition: color 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-icon {
    font-size: 16px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 36px;
}


.contact-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 300;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-icon {
    margin-right: -2px;
}

.contact-link:hover {
    color: var(--accent-primary) !important;
}

.contact-link.active {
    color: var(--accent-primary) !important;
}

.theme-toggle {
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    user-select: none;
}

.theme-toggle:hover {
    color: var(--accent-primary) !important;
}

/* Password Modal */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 6px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.modal-description {
    color: #4a5568;
    margin-bottom: 24px;
    font-size: 16px;
}

.password-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.password-submit {
    background: #68d391;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s ease;
}

.password-submit:hover {
    background: #4fd1c7;
}

.error-message {
    color: #e53e3e;
    margin-top: 12px;
    font-size: 14px;
    display: none;
}

/* Common button and link styles */
.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-secondary);
}

/* Common animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) and (min-width: 480px) {
    .contact-text,
    .about-text {
        display: none;
    }
    
    .profile-icon {
        display: block;
    }
    
    .header-actions {
        gap: 24px;
    }
    
    .site-name {
        font-size: 16px;
    }
    
    .home-icon {
        font-size: 14px;
    }
    
    .container {
        padding: 40px 16px;
    }
}

@media (max-width: 479px) {
    .contact-text,
    .about-text {
        display: none;
    }
    
    .profile-icon {
        display: block;
    }
    
    .header-actions {
        gap: 28px;
    }
    
    .site-name {
        font-size: 16px;
    }
    
    .home-icon {
        font-size: 14px;
    }
    
    .container {
        padding: 32px 16px;
    }
}

@media (min-width: 769px) {
    .profile-icon {
        display: block;
    }
}