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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

/* Hero Section */
.hero {
    margin-bottom: 2rem;
}

.profile-image-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    border-right: 3px solid rgba(255, 255, 255, 0.6);
    animation: rotate 3.2s linear infinite;
    z-index: 1;
}

.profile-image-container::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    animation: rotate 4.8s linear infinite reverse;
    z-index: 0;
}

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

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.name {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

/* Main Content */
.main-content {
    margin-bottom: 3rem;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.nav-button {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

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

.nav-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.button-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.nav-button h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.nav-button p {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.5;
    margin: 0;
}

/* Affiliate Button Specific */
.affiliate:hover {
    background: linear-gradient(135deg, #20bf6b 0%, #0fb9b1 100%);
    color: white;
}

.affiliate:hover h3,
.affiliate:hover p {
    color: white;
}

/* Portfolio Button Specific */
.portfolio:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.portfolio:hover h3,
.portfolio:hover p {
    color: white;
}

/* Footer */
.footer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .profile-image {
        width: 70px;
        height: 70px;
    }
    
    .name {
        font-size: 3rem;
    }
    
    .button-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-button {
        padding: 2rem 1.5rem;
    }
    
    .button-icon {
        font-size: 2.5rem;
    }
    
    .nav-button h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 60px;
        height: 60px;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .nav-button {
        padding: 1.5rem 1rem;
    }
    
    .button-icon {
        font-size: 2rem;
    }
    
    .nav-button h2 {
        font-size: 1.2rem;
    }
    
    .nav-button p {
        font-size: 0.9rem;
    }
}

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

.hero {
    animation: fadeInUp 0.8s ease-out;
}

.button-grid {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.footer {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
