/* Main Stylesheet - Import all modular CSS files */

/* Base styles - variables, reset, body, container */
@import url('base.css');

/* Component styles - individual UI components */
@import url('components.css');

/* Animation styles - keyframes and animations */
@import url('animations.css');

/* Responsive styles - media queries */
@import url('responsive.css');

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

body {
    background: var(--primary-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, var(--glow-color) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--glow-color) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    justify-content: flex-start;
}

.greeting {
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.greeting, .role {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.name {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 2.2rem;
    text-transform: capitalize;
    color: var(--text-color);
    text-shadow: 0 0 20px var(--glow-color);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
    margin-bottom: 10px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--border-color);
    box-shadow: var(--shadow);
    margin: 10px 0;
    opacity: 0;
    animation: scaleIn 1s ease-out 0.9s forwards;
    transition: var(--transition);
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.role-container {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.role {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-color);
}

.highlight {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--glow-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: shine 2s ease-in-out infinite;
}

.specialties {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.tech-stack {
    color: var(--accent-color);
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.tech-stack::before {
    content: '⚡';
    margin-right: 5px;
    animation: pulse 2s ease-in-out infinite;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.8;
    position: relative;
}

.tagline::before {
    content: '"';
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 2px;
}

.tagline::after {
    content: '"';
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-left: 2px;
}

.highlight {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--glow-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: shine 2s ease-in-out infinite;
}

.specialties {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.tech-stack {
    color: var(--accent-color);
    font-family: 'Roboto Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.tech-stack::before {
    content: '⚡';
    margin-right: 5px;
    animation: pulse 2s ease-in-out infinite;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.8;
    position: relative;
}

.tagline::before {
    content: '"';
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 2px;
}

.tagline::after {
    content: '"';
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-left: 2px;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.links span {
    opacity: 0;
    animation: slideIn 0.8s ease-out forwards;
}

.links span:nth-child(1) { animation-delay: 1.2s; }
.links span:nth-child(2) { animation-delay: 1.3s; }
.links span:nth-child(3) { animation-delay: 1.4s; }
.links span:nth-child(4) { animation-delay: 1.5s; }
.links span:nth-child(5) { animation-delay: 1.6s; }

.links a {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    text-align: center;
    line-height: 56px;
    color: var(--text-color);
    font-size: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.2);
}

.info-section {
    text-align: center;
    margin: 15px 0;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    opacity: 0;
    animation: slideInScale 1s ease-out 1.5s forwards;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    border-radius: 20px;
    pointer-events: none;
}

.info-text {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.7s forwards;
}

.info-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
    opacity: 0;
    animation: expandWidth 1s ease-out 2s forwards;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

.stat-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
    opacity: 0;
}

.stat-item:nth-child(1) {
    animation: slideInLeft 0.8s ease-out 2.1s forwards;
}

.stat-item:nth-child(2) {
    animation: slideInRight 0.8s ease-out 2.3s forwards;
}

.stat-item .resume-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.stat-item .resume-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover .resume-link {
    transform: translateY(-6px) scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-item:hover .resume-link::before {
    left: 100%;
}

.stat-item strong {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

.resume {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

footer {
    margin-top: auto;
    padding: 10px;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

.bottom-text {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bottom-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-text a:hover {
    color: var(--text-color);
    text-shadow: 0 0 10px var(--glow-color);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

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

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .name {
        font-size: 2rem;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .links {
        gap: 12px;
    }
    
    .links a {
        width: 45px;
        height: 45px;
        line-height: 41px;
        font-size: 18px;
    }
    
    .info-section {
        margin: 12px 0;
        padding: 16px;
        max-width: 420px;
    }
    
    .info-text {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .info-text::after {
        width: 65px;
        height: 2px;
    }
    
    .stats {
        gap: 12px;
    }
    
    .stat-item .resume-link {
        padding: 9px 15px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .greeting, .role {
        font-size: 0.95rem;
    }
    
    .name {
        font-size: 1.6rem;
    }
    
    .avatar {
        width: 90px;
        height: 90px;
    }
    
    .links {
        gap: 8px;
    }
    
    .links a {
        width: 40px;
        height: 40px;
        line-height: 36px;
        font-size: 16px;
    }
    
    .info-section {
        margin: 10px 0;
        padding: 12px;
        width: 95%;
        border-radius: 14px;
    }
    
    .info-text {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .info-text::after {
        width: 55px;
        height: 2px;
    }
    
    .stats {
        gap: 10px;
    }
    
    .stat-item .resume-link {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
}
