/* Pete Lowes Website - Full Screen Background Design */
:root {
    /* Design System - Color Tokens */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --glass-primary: rgba(255, 255, 255, 0.98);
    --glass-secondary: rgba(255, 255, 255, 0.92);
    --glass-tertiary: rgba(255, 255, 255, 0.88);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    
    /* Design System - Spacing Tokens */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    
    /* Design System - Typography Scale */
    --text-xs: 0.7rem;
    --text-sm: 0.8rem;
    --text-base: 0.9rem;
    --text-lg: 1rem;
    --text-xl: 1.1rem;
    --text-2xl: 1.3rem;
    --text-3xl: 1.6rem;
    --text-4xl: 2rem;
    
    /* Design System - Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Design System - Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

/* Full Screen Background Setup */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.4;
    color: var(--text-primary);
    background: #000;
    min-height: 100vh;
    overflow: hidden; /* Prevent scrolling */
    position: relative;
}

/* Full Screen Background Wrapper */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

/* Background Banner with Black Bars - FIXED: Uniform scaling */
.background-banner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw; /* Fixed 80% for consistent proportions */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.banner-bg {
    width: 100%;
    height: 70vh; /* Fixed aspect ratio for uniform scaling */
    object-fit: contain; /* CHANGED: Use contain instead of cover for uniform scaling */
    object-position: center;
    border-radius: clamp(8px, 1vw, 16px);
    box-shadow: 
        0 0 0 clamp(8px, 1.2vw, 20px) rgba(0, 0, 0, 0.3),
        var(--shadow-xl);
    transition: all 0.3s ease;
}

/* Black bars on sides (automatic due to body background) */
.background-wrapper::before,
.background-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10vw; /* Each side bar is 10% */
    height: 100vh;
    background: #000;
    z-index: -1;
}

.background-wrapper::before {
    left: 0;
}

.background-wrapper::after {
    right: 0;
}

/* Background Overlay for Better Contrast */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 0, 0, 0.6), transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(0, 0, 0, 0.4), transparent 60%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: -1;
}

/* Corner Avatars */
.corner-avatar {
    position: fixed;
    z-index: 1000;
    cursor: grab;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: all;
}

.corner-avatar.top-left {
    top: clamp(20px, 3vw, 45px); /* Responsive positioning */
    left: clamp(20px, 3vw, 45px);
    animation: avatarBounce 2s ease-in-out infinite alternate;
}

.corner-avatar.top-right {
    top: clamp(20px, 3vw, 45px);
    right: clamp(20px, 3vw, 45px);
    animation: avatarBounce 2.5s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}

.corner-avatar.bottom-left {
    bottom: clamp(20px, 3vw, 45px);
    left: clamp(20px, 3vw, 45px);
    animation: avatarBounce 3s ease-in-out infinite alternate;
    animation-delay: 1s;
}

.corner-avatar.bottom-right {
    bottom: clamp(20px, 3vw, 45px);
    right: clamp(20px, 3vw, 45px);
    animation: avatarBounce 2.2s ease-in-out infinite alternate;
    animation-delay: 1.5s;
}

.corner-avatar:active {
    cursor: grabbing;
    transform: scale(1.1);
    animation: none;
    z-index: 1001;
}

.corner-avatar .avatar-photo {
    width: clamp(100px, 12vw, 200px); /* Slightly smaller responsive avatar size */
    height: clamp(100px, 12vw, 200px); /* Slightly smaller responsive avatar size */
    border-radius: 50%;
    object-fit: cover;
    border: clamp(3px, 0.4vw, 6px) solid #0F89D7; /* Responsive border */
    box-shadow: 
        0 clamp(16px, 2.5vw, 32px) clamp(32px, 5vw, 64px) rgba(0, 0, 0, 0.4),
        0 0 0 clamp(6px, 0.8vw, 12px) rgba(15, 137, 215, 0.3),
        inset 0 0 0 clamp(2px, 0.25vw, 4px) rgba(15, 137, 215, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    display: block;
}

.corner-avatar:hover .avatar-photo {
    transform: scale(1.05);
    border-color: #0F89D7;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 16px rgba(15, 137, 215, 0.6),
        inset 0 0 0 4px rgba(15, 137, 215, 0.8);
}

.drag-hint {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: var(--text-base);
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    white-space: nowrap;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.corner-avatar:hover .drag-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

@keyframes avatarBounce {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-15px);
    }
}

/* Main Content Container - Move modal down */
.main-content {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: var(--space-xl);
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
    padding-bottom: calc(var(--space-xl) * 2);
}

/* Content Card - IMPROVED: Much wider and better proportions */
.content-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 32px; /* Reduced padding for shorter container */
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: cardSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
    position: relative;
    width: clamp(70vw, 98vw, 800px); /* SHORTENED: Capped at 800px for more compact design */
    height: clamp(160px, 18vh, 200px); /* SHORTENED: Reduced height significantly */
    overflow: visible;
    display: flex;
	vertical-align: middle;
    grid-template-columns: clamp(280px, 24%, 360px) 1fr; /* Slightly reduced grid columns */
    align-items: center; 
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* IMPROVEMENT 4: Sophisticated hover animation */
.content-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    box-shadow: 
        0 48px 96px rgba(0, 0, 0, 0.2),
        0 16px 48px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Profile Section - Back to original layout */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0 15px;
    height: 100%;
    position: relative;
    justify-content: center;
}

/* Elegant divider */
.profile-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 80%,
        transparent 100%
    );
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

/* IMPROVED: Better typography that fits */
.name {
    font-size: 36px; /* Larger but fits */
    font-weight: 900;
    color: #ddd;
	text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
    letter-spacing: -1px;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 18px; /* Larger */
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0.9;
    max-width: 300px;
}

.social-links {
    display: flex;
    flex-direction: row; /* Horizontal instead of vertical */
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Larger */
    height: 30px;
    background: rgba(255, 255, 255, 0.9); /* Much higher contrast */
    backdrop-filter: blur(20px);
    border-radius: 12px;
    color: #1a1a1a; /* Dark text for contrast */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 20px; /* Larger */
    height: 20px;
}

/* Content Grid - Remove wrapper */
.content-grid {
    display: contents;
}

/* Cards Section - FIXED: Better sizing for 3 cards */
.cards-section {
	width: 100%;
    display: flex;
    gap: clamp(8px, 1vw, 14px); /* REDUCED: Smaller gap between cards */
    align-items: center;
    padding: 0 15px; /* REDUCED: Less padding */
    height: 100%;
    position: relative;
    flex-wrap: wrap; /* Keep cards in one row */
    justify-content: space-between; /* Distribute cards evenly */
	
}

/* IMPROVEMENT: Another elegant divider */
.cards-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 80%,
        transparent 100%
    );
}

.card-item {
    display: flex;
    align-items: center;
    gap: 5px;
	width: 30%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(25px);
    border-radius: clamp(14px, 1.2vw, 18px); /* Responsive border radius */
    padding: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: clamp(80px, 10vh, 100px); /* Responsive height */
    box-sizing: border-box;
    flex: 1;  
}

.card-logo {
    width: 40px; /* Larger logos */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Special styling for Agency Compare logo to make it more legible */
.card-item[href*="agencycompare"] .company-logo {
    object-fit: contain;
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-content h3 {
    font-size: 20px; /* Larger */
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.card-content p {
    font-size: 16px; /* Larger */
    font-weight: 600;
    color: var(--text-secondary);
    margin: 6px 0 0 0;
    line-height: 1.2;
    opacity: 0.9;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-arrow {
    font-size: 20px; /* Larger */
    color: var(--accent-primary);
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

/* Achievements Section - FIXED: Better sizing */
.achievements-section {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0 24px;
    height: 100%;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 16px;
    padding: 20px 24px;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 100px; /* Taller achievements that fit */
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
}

.achievement-icon {
    font-size: 32px; /* Larger icons */
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-text {
    flex: 1;
    min-width: 0;
}

.achievement-text h4 {
    font-size: 20px; /* Larger text */
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.achievement-text p {
    font-size: 16px; /* Larger subtitle */
    font-weight: 600;
    color: var(--text-secondary);
    margin: 6px 0 0 0;
    line-height: 1.2;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

/* Enhanced Hover Effects */
.card-item:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.card-item:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px) scale(1.1);
}

.card-item:hover .company-logo {
    transform: scale(1.1);
}

/* Agency Compare logo maintains zoom on hover */
.card-item[href*="agencycompare"]:hover .company-logo {
    transform: scale(2.0); /* Slightly bigger on hover while maintaining readability */
}

.achievement-item:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: scale(1.15) translateY(-2px);
    background: rgba(255, 255, 255, 1); /* Full white on hover */
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    color: #000; /* Pure black for maximum contrast */
}

/* Responsive Design */
@media (max-width: 1400px) {
    .content-card {
        padding: 15px;
        gap: 0
    }
    
    .name {
        font-size: clamp(28px, 4vw, 36px);
    }
    
    .title {
        font-size: clamp(15px, 2vw, 18px);
    }
}

@media (max-width: 1200px) {
    .content-card {
        padding: 15px;
        gap: 10px;
    }
    
    .name {
        font-size: clamp(24px, 4vw, 32px);
    }
    
    .title {
        font-size: clamp(14px, 2vw, 16px);
    }
    
    .social-link {
        width: clamp(40px, 6vw, 48px);
        height: clamp(40px, 6vw, 48px);
    }
}

@media (max-width: 1024px) {
    .main-content {
        padding-bottom: 80px; /* Reduced drop on tablets */
    }
    
    .content-card {
        padding: 0 15px;
        gap: 0px;
        grid-template-columns: clamp(240px, 30%, 320px) 1fr;
    }
    
    .profile-section {
        gap: clamp(12px, 2vw, 20px);
    }
    
    .name {
        font-size: clamp(20px, 4vw, 28px);
    }
    
    .title {
        font-size: clamp(12px, 2vw, 16px);
    }
    
    .social-link {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-bottom: 60px; /* Reduced drop on mobile */
    }
    
    .content-card {
        padding: 20px;
        gap: 10px;
		height: 300px;
        grid-template-columns: 1fr; /* Single column on mobile */
        text-align: center; /* Center content on mobile */
    }
    
    .profile-section {
        gap: clamp(8px, 2vw, 16px);
        padding: 0;
        align-items: center; /* Center profile on mobile */
    }
    
    .profile-section::after {
        display: none; /* Hide divider on mobile */
    }
    
    .cards-section {
        padding: 0 clamp(8px, 2vw, 16px);
        gap: clamp(6px, 2vw, 12px);
        flex-wrap: wrap; /* Allow cards to wrap on small screens */
        justify-content: center;
    }
    
    .card-item {
        min-width: 100%; /* Minimum card width */
        flex: 1;
		padding: 10px;
		height: fit-content;
    }
    
    .name {
        font-size: clamp(18px, 5vw, 24px);
    }
    
    .title {
        font-size: clamp(12px, 3vw, 16px);
    }
    
    .social-link {
        width: clamp(32px, 8vw, 40px);
        height: clamp(32px, 8vw, 40px);
    }
    
    .social-link svg {
        width: clamp(16px, 4vw, 20px);
        height: clamp(16px, 4vw, 20px);
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: var(--space-sm);
        padding-bottom: 40px; /* Moderate drop for small screens */
    }
	.banner-bg {
		margin-bottom: 40%
	}
	.profile-section {
		width: 100%;
		height: fit-content;
	}
	.cards-section {
		width: 100%;
		height: fit-content;
	}
	.card-item {
		height: fit-content;
	}
    
    .content-card {
		flex-wrap: wrap;
        padding: 16px;
        gap: clamp(8px, 2vw, 16px);
        border-radius: 20px;
        grid-template-columns: 1fr; /* Single column on small screens */
		
    }
    
    .profile-section {
        gap: clamp(6px, 2vw, 12px);
    }
    
    .cards-section {
        padding: 0 clamp(4px, 1vw, 12px);
        gap: clamp(4px, 1vw, 8px);
        flex-direction: column; /* Stack cards vertically on very small screens */
    }
    
    .card-item {
        width: 100%;
        min-width: auto;
        padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 16px);
    }
    
    .name {
        font-size: clamp(16px, 5vw, 20px);
    }
    
    .title {
        font-size: clamp(11px, 3vw, 14px);
    }
    
    .card-content h3 {
        font-size: clamp(12px, 3vw, 14px);
    }
    
    .card-content p {
        font-size: clamp(10px, 2.5vw, 12px);
    }
    
    .social-link {
        width: clamp(28px, 7vw, 36px);
        height: clamp(28px, 7vw, 36px);
    }
    
    .social-link svg {
        width: clamp(14px, 3.5vw, 18px);
        height: clamp(14px, 3.5vw, 18px);
    }
}

/* About Button Styling */
.about-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    min-width: 80px; /* Wider to accommodate text */
    padding: 0 12px; /* Add horizontal padding */
}

.about-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--glass-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-header {
    text-align: center;
    padding: var(--space-2xl) var(--space-2xl) var(--space-lg);
}

.modal-avatar-container {
    margin-bottom: var(--space-xl);
    display: flex;
    justify-content: center;
}

.modal-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 8px rgba(102, 126, 234, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

.modal-header h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 0 var(--space-2xl) var(--space-lg);
    line-height: 1.7;
}

.modal-body p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-body a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95vw;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: var(--space-xl) var(--space-xl) var(--space-md);
    }
    
    .modal-avatar {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .modal-header h2 {
        font-size: var(--text-2xl);
    }
    
    .modal-body {
        padding: 0 var(--space-xl) var(--space-md);
    }
    
    .modal-body p {
        font-size: var(--text-sm);
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98vw;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: var(--space-lg) var(--space-lg) var(--space-sm);
    }
    
    .modal-avatar {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .modal-header h2 {
        font-size: var(--text-xl);
    }
    
    .modal-body {
        padding: 0 var(--space-lg) var(--space-sm);
    }
    
    .modal-body p {
        font-size: var(--text-xs);
        margin-bottom: var(--space-md);
    }
    
    .modal-close {
        top: var(--space-md);
        right: var(--space-md);
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }
	.corner-avatar.bottom-left, .corner-avatar.bottom-right {
		display: none
	}
} 