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

:root {
    --gold: #d4af37;
    --gold-light: #f4e4bc;
    --gold-dark: #b8941f;
    --platinum: #e5e4e2;
    --premium-black: #050505;
    --premium-dark: #0f0f0f;
    --premium-gray: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(212, 175, 55, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --text-muted: #888888;
    --glow-gold: rgba(212, 175, 55, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--premium-black);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
    transform: none;
    animation: none;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 85% 75%, rgba(118, 75, 162, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 25% 80%, rgba(240, 147, 251, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, var(--premium-black) 0%, var(--premium-dark) 100%);
    z-index: 0;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto;
}

.particles {
    display: none;
}

@keyframes particlesMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.luxury-overlay {
    display: none;
}

@keyframes overlayShimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}


.container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    perspective: 1000px;
}

.subpage-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 0 32px;
    padding: 0;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 11px 22px 11px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--card-bg);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1.5px solid var(--card-border);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        border-color 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-home-btn:hover {
    border-color: rgba(212, 175, 55, 0.55);
    color: var(--gold-light);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.5),
        0 0 32px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.back-home-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.back-home-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.38);
    color: var(--gold);
    font-size: 15px;
    flex-shrink: 0;
}

.back-home-btn__text {
    padding-right: 4px;
}

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

.profile-section {
    text-align: center;
    margin-bottom: 70px;
    padding: 0 20px;
    position: relative;
}

.section-heading {
    margin-top: 32px;
    margin-bottom: 0;
}

.contact-section {
    padding: 0 20px;
}

.contact-section__title {
    text-align: center;
    margin-bottom: 36px;
    display: block;
}

.profile-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 35px;
    transform-style: preserve-3d;
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 
        0 0 20px var(--glow-gold),
        0 0 40px rgba(212, 175, 55, 0.3),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    z-index: 2;
    pointer-events: none;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px var(--glow-gold),
            0 0 40px rgba(212, 175, 55, 0.3),
            inset 0 0 20px rgba(212, 175, 55, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px var(--glow-gold),
            0 0 60px rgba(212, 175, 55, 0.5),
            inset 0 0 30px rgba(212, 175, 55, 0.2);
    }
}

.image-glow {
    display: none;
}

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

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

.profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 3;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
}

.profile-image-trigger {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    display: block;
    line-height: 0;
    position: relative;
    z-index: 3;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.profile-image-trigger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 6px;
}

.profile-image-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.profile-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.profile-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.profile-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    max-height: min(94vh, 920px);
    overflow: auto;
    background: var(--card-bg);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1.5px solid var(--card-border);
    border-radius: 28px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(212, 175, 55, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-modal.is-open .profile-modal__panel {
    animation: profileModalIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes profileModalIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-modal.is-open .profile-modal__panel {
        animation: none;
    }
}

.profile-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    z-index: 2;
}

.profile-modal__close:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold-light);
}

.profile-modal__content {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 32px;
    padding: 40px 36px 36px;
    align-items: start;
}

.profile-modal__image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(82vh, 800px);
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
    border: 3px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.profile-modal__name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.profile-modal__role {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    margin-bottom: 18px;
    font-weight: 500;
}

.profile-modal__bio {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.profile-modal__meta {
    list-style: none;
    margin-bottom: 22px;
}

.profile-modal__meta li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.profile-modal__meta i {
    color: var(--gold);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.profile-modal__meta a {
    color: var(--gold-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.profile-modal__meta a:hover {
    color: #fff;
    border-color: var(--gold);
}

.profile-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-modal__tags span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 30%, #ffffff 60%, var(--gold-light) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    letter-spacing: -0.03em;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    position: relative;
}

.name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% {
        width: 100px;
        opacity: 0.6;
    }
    50% {
        width: 150px;
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

.title {
    font-size: 22px;
    color: var(--gold-light);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0.9;
}

.bio {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.social-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1.5px solid var(--card-border);
    border-radius: 28px;
    padding: 38px 28px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.social-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover::after {
    opacity: 1;
}

.social-card:hover {
    transform: translateY(-16px) scale(1.04) rotateX(2deg);
    border-color: var(--gold);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 50px var(--glow-gold),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-card:hover .icon-wrapper {
    transform: scale(1.2) rotate(8deg) translateZ(20px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px var(--glow-gold);
}

.social-card i {
    font-size: 36px;
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.platform-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
    font-family: 'Playfair Display', serif;
}

.platform-handle {
    font-size: 14px;
    color: var(--text-muted);
    display: block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.social-card:hover .platform-handle {
    color: var(--gold-light);
}

/* Platform-specific colors with gold accents */
.social-card.linkedin .icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.3), rgba(0, 119, 181, 0.2));
    color: #0077b5;
    border-color: rgba(0, 119, 181, 0.4);
}

.social-card.linkedin:hover {
    border-color: #0077b5;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 119, 181, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.github .icon-wrapper {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.3), rgba(51, 51, 51, 0.2));
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.social-card.github:hover {
    border-color: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 255, 255, 0.3), 0 0 30px var(--glow-gold);
}

.social-card.instagram .icon-wrapper {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.3), rgba(225, 48, 108, 0.2));
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.4);
}

.social-card.instagram:hover {
    border-color: #e1306c;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(225, 48, 108, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.facebook .icon-wrapper {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.3), rgba(24, 119, 242, 0.2));
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.4);
}

.social-card.facebook:hover {
    border-color: #1877f2;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(24, 119, 242, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.email .icon-wrapper {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.3), rgba(234, 67, 53, 0.2));
    color: #ea4335;
    border-color: rgba(234, 67, 53, 0.4);
}

.social-card.email:hover {
    border-color: #ea4335;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(234, 67, 53, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.website .icon-wrapper {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.2));
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.4);
}

.social-card.website:hover {
    border-color: #667eea;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(102, 126, 234, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.whatsapp .icon-wrapper {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(37, 211, 102, 0.2));
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.4);
}

.social-card.whatsapp:hover {
    border-color: #25d366;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(37, 211, 102, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.telegram .icon-wrapper {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.3), rgba(37, 150, 190, 0.2));
    color: #2596be;
    border-color: rgba(37, 150, 190, 0.4);
}

.social-card.telegram:hover {
    border-color: #2596be;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(37, 150, 190, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.studio .icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 193, 7, 0.2));
    color: var(--gold);
    border-color: rgba(255, 193, 7, 0.5);
}

.social-card.studio:hover {
    border-color: var(--gold);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px var(--glow-gold), 0 0 40px rgba(255, 193, 7, 0.5);
}

.social-card.project .icon-wrapper {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3), rgba(33, 150, 243, 0.2));
    color: #2196f3;
    border-color: rgba(33, 150, 243, 0.4);
}

.social-card.project:hover {
    border-color: #2196f3;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(33, 150, 243, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.projects .icon-wrapper {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.3), rgba(156, 39, 176, 0.2));
    color: #9c27b0;
    border-color: rgba(156, 39, 176, 0.4);
}

.social-card.projects:hover {
    border-color: #9c27b0;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(156, 39, 176, 0.4), 0 0 30px var(--glow-gold);
}

.social-card.certificates .icon-wrapper {
    padding: 0;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), rgba(12, 12, 12, 0.98));
    border-color: rgba(251, 191, 36, 0.45);
}

.social-card.certificates .icon-wrapper .cert-card-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.social-card.certificates:hover {
    border-color: #fbbf24;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(251, 191, 36, 0.35), 0 0 30px var(--glow-gold);
}

.footer {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer p {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
}

.footer a {
    color: var(--gold-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer a:hover {
    color: var(--text-primary);
    border-color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 0 10px;
    }
    
    .name {
        font-size: 44px;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .profile-image-wrapper::before {
        width: 180px;
        height: 180px;
    }
    
    .image-glow {
        width: 200px;
        height: 200px;
    }
    
    .social-card {
        padding: 28px 20px;
        border-radius: 24px;
    }
    
    .icon-wrapper {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        margin-bottom: 18px;
    }
    
    .social-card i {
        font-size: 30px;
    }
    
    .platform-name {
        font-size: 18px;
    }
    
    .platform-handle {
        font-size: 13px;
    }
    
    .title {
        font-size: 12px;
    }
    
    .bio {
        font-size: 16px;
    }

    .profile-modal__content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 24px 28px;
        text-align: center;
    }

    .profile-modal__panel {
        max-height: 92vh;
        border-radius: 24px;
    }

    .profile-modal__image {
        max-height: min(58vh, 620px);
    }

    .profile-modal__meta li {
        justify-content: center;
        text-align: left;
    }

    .profile-modal__tags {
        justify-content: center;
    }

    .profile-image-hint {
        font-size: 11px;
        margin-top: -8px;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .name {
        font-size: 38px;
    }
    
    .profile-image {
        width: 160px;
        height: 160px;
    }
    
    .profile-image-wrapper::before {
        width: 160px;
        height: 160px;
    }
    
    .image-glow {
        width: 180px;
        height: 180px;
    }
    
    .social-card {
        padding: 24px 16px;
        border-radius: 20px;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .social-card i {
        font-size: 26px;
    }
    
    .platform-name {
        font-size: 16px;
    }
    
    .platform-handle {
        font-size: 12px;
    }
    
    .title {
        font-size: 11px;
    }
    
    .bio {
        font-size: 15px;
    }

    .profile-modal__name {
        font-size: 26px;
    }

    .profile-modal__bio {
        font-size: 14px;
    }

    .profile-modal__image {
        max-height: min(52vh, 560px);
    }
}
