/* Variables */
:root {
    --primary-blue: #5B7A8C;
    --deep-blue: #2C4A5C;
    --soft-gray: #E8E9EA;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Body */
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
    min-height: 100vh;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(91, 122, 140, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(44, 74, 92, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

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

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 24px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    background: white;
    padding: 10px;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    z-index: -1;
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.profile-title {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.profile-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.link-button {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: slideIn 0.6s ease-out backwards;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.link-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover .link-arrow {
    transform: translateX(5px);
}

.link-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.link-content {
    flex: 1;
}

.link-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 4px;
}

.link-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.link-arrow {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-title {
        font-size: 1rem;
    }
    
    .link-button {
        padding: 16px 20px;
    }
    
    .link-icon {
        font-size: 1.8rem;
        min-width: 40px;
    }
    
    .link-content h3 {
        font-size: 1.1rem;
    }
    
    .link-content p {
        font-size: 0.85rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}