/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* ===== GLOBAL STYLES ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    /* Typography Scale */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-normal);
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #000000 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: #ffffff;
    font-weight: 400;
}

/* Subtle gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(100, 150, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(150, 100, 255, 0.02) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Portfolio Container */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 60px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, #4fc3f7, #29b6f6, #03a9f4, #0288d1) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate 3s linear infinite;
}

.hero-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
}

.hero-name {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 1rem;

    /* Elegant gradient text */
    background: linear-gradient(135deg,
        #ffffff 0%,
        #f8fafc 25%,
        #e2e8f0 50%,
        #cbd5e1 75%,
        #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    /* Sophisticated shadow */
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.3));

    /* Smooth animation */
    transition: all 0.3s ease;
}


.hero-role {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    height: 60px;
}

.typing-text {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: var(--leading-snug);
    letter-spacing: var(--tracking-wide);

    color: #60a5fa;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(96, 165, 250, 0.4);

    white-space: nowrap;
    min-width: 200px;
    animation: glow 2s ease-in-out infinite alternate;
}

.typing-cursor {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: 300;
    color: #60a5fa;
    animation: blink 1s infinite;
    margin-left: 4px;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: var(--leading-relaxed);
    letter-spacing: var(--tracking-wider);

    color: rgba(248, 250, 252, 0.85);
    text-transform: uppercase;
    margin-bottom: 1.5rem;

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Badges Container */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;

    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: var(--tracking-wide);

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 2rem;
    backdrop-filter: blur(12px);

    color: rgba(248, 250, 252, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Relationship Status Badge */
.relationship-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;

    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: var(--tracking-wide);

    background: rgba(255, 182, 193, 0.15);
    border: 1px solid rgba(255, 105, 180, 0.3);
    border-radius: 2rem;
    backdrop-filter: blur(12px);

    color: rgba(255, 182, 193, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

    box-shadow:
        0 4px 16px rgba(255, 105, 180, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.relationship-status:hover {
    background: rgba(255, 182, 193, 0.2);
    border-color: rgba(255, 105, 180, 0.4);
    transform: translateY(-1px);
    box-shadow:
        0 6px 20px rgba(255, 105, 180, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.status-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #ff69b4;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.status-text {
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateX(0);
}

.status-secret {
    position: absolute;
    left: 3.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

/* Active state when clicked */
.relationship-status.revealed .status-text {
    opacity: 0;
    transform: translateX(-20px);
}

.relationship-status.revealed .status-secret {
    opacity: 1;
    transform: translateX(0);
}

.relationship-status.revealed {
    background: rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 20, 147, 0.4);
    color: #ff1493;
}

.relationship-status.revealed .status-icon {
    animation: heartBeat 0.6s ease-in-out;
    color: #ff1493;
}

.hero-location::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.location-icon {
    width: 20px;
    height: 20px;
    color: #4fc3f7;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.6));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.6));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 12px rgba(79, 195, 247, 0.8));
    }
}

.hero-description {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    backdrop-filter: blur(16px);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-description p {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: var(--leading-relaxed);
    letter-spacing: var(--tracking-normal);

    color: rgba(248, 250, 252, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0;
}

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

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

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes glow {
    0% {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 20px rgba(79, 195, 247, 0.4);
        filter: brightness(1);
    }

    100% {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 30px rgba(79, 195, 247, 0.8);
        filter: brightness(1.2);
    }
}

/* Section Styles */
.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);

    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
    border-radius: 2px;
}

/* Skills Section */
/* .skills-section {
    margin-bottom: 80px;
    padding: 60px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.3);
}

.skill-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.skill-item h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.skill-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
} */

/* Contact Section */
.contact-section {
    margin-bottom: 40px;
    padding: 40px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 30px;
    height: 30px;
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-card-content p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-card-action {
    font-size: 0.9em;
    color: #4fc3f7;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Platform specific colors */
.contact-card.facebook .contact-card-icon {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.contact-card.github .contact-card-icon {
    background: linear-gradient(135deg, #333, #666);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ===== FOOTER / COPYRIGHT ===== */
.footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.copyright-main {
    margin-bottom: 2rem;
}

.copyright-main p {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: var(--tracking-wide);
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    margin: 2rem auto;
    border-radius: 1px;
}

.footer-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-icon {
    width: 1rem;
    height: 1rem;
    color: #60a5fa;
    flex-shrink: 0;
}

.footer-tech {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-stack {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    letter-spacing: var(--tracking-wide);
}

.version {
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.favicon {
    border-radius: 50%;
}