/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #2d2d2d;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo {
    position: relative;
    width: 180px;
    height: 180px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 2rem;
    background-color: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.125rem;
    color: #b0b0b0;
    font-weight: 400;
}

/* Social Links Grid */
.social-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-4px);
    opacity: 0.8;
}

.social-link svg {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 18px;
    color: #000000;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link:hover svg {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.link-label {
    font-size: 0.875rem;
    text-align: center;
    font-weight: 500;
    color: #e0e0e0;
    text-transform: capitalize;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #888888;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.footer p {
    margin: 0.25rem 0;
}

.footer-sub {
    font-size: 0.875rem;
    color: #666666;
}

/* Responsive Design */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .social-links {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }

    .title {
        font-size: 2.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    .logo {
        width: 150px;
        height: 150px;
    }

    .badge {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
        bottom: 8px;
        right: 8px;
    }

    .title {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .social-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
        padding: 0;
    }

    .social-link svg {
        width: 70px;
        height: 70px;
        padding: 16px;
    }

    .link-label {
        font-size: 0.8rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    body {
        padding: 1rem 0.75rem;
    }

    .logo {
        width: 130px;
        height: 130px;
    }

    .badge {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        bottom: 5px;
        right: 5px;
    }

    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .social-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .social-link svg {
        width: 60px;
        height: 60px;
        padding: 14px;
    }

    .link-label {
        font-size: 0.75rem;
    }

    .footer {
        font-size: 0.85rem;
    }

    .footer-sub {
        font-size: 0.8rem;
    }
}

/* Very small mobile phones */
@media (max-width: 360px) {
    .logo {
        width: 110px;
        height: 110px;
    }


    .title {
        font-size: 1.75rem;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .social-link svg {
        width: 55px;
        height: 55px;
        padding: 12px;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: #ffffff;
        color: #000000;
    }

    .social-link:hover {
        transform: none;
    }

    .social-link svg {
        box-shadow: none;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles for Keyboard Navigation */
.social-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 8px;
}

.social-link:focus:not(:focus-visible) {
    outline: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .social-link svg {
        border: 2px solid #ffffff;
    }
}
