@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

:root { 
    /* Silver/Metallic Color Palette */
    --primary-color: #ffffff;
    --secondary-color: rgba(20, 20, 25, 0.95);
    --accent-color: #71717a; /* Silver/gray accent */
    --accent-hover: #a1a1aa; /* Lighter silver for hover */
    --text-color: #f3f4f6;
    --text-secondary: #9ca3af;
    --card-background: rgba(30, 30, 35, 0.8);
    --card-hover: rgba(40, 40, 45, 0.9);
    --border-color: rgba(113, 113, 122, 0.2);
    --transition-speed: 0.4s;
    --border-radius: 12px;
    --max-width: 100vw;
    --glass-blur: 20px;
    --glow-color: #d4d4d8;
}

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

body {
    background: 
        radial-gradient(ellipse at top left, rgba(113, 113, 122, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(161, 161, 170, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at center, #0a0a0a 0%, #080808 40%, #000000 100%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    animation: subtleShift 20s ease-in-out infinite;
}

@keyframes subtleShift {
    0%, 100% { 
        background-size: 100% 100%, 100% 100%, 100% 100%;
    }
    50% { 
        background-size: 110% 110%, 105% 105%, 100% 100%;
    }
}

/* Enhanced Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* Shooting Stars - Silver streaks */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 212, 216, 0.8), transparent);
    box-shadow: 0 0 10px rgba(212, 212, 216, 0.5), 0 0 20px rgba(113, 113, 122, 0.3);
    opacity: 0;
    z-index: 2;
    border-radius: 2px;
}

body::before {
    top: 20%;
    left: -100px;
    animation: shootingStar1 8s infinite;
}

body::after {
    top: 60%;
    right: -100px;
    animation: shootingStar2 8s infinite 4s;
}

@keyframes shootingStar1 {
    0%, 90% {
        opacity: 0;
        transform: translateX(0) translateY(0);
    }
    91% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 200px)) translateY(100px);
    }
}

@keyframes shootingStar2 {
    0%, 90% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-15deg);
    }
    91% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(-100vw - 200px)) translateY(-100px) rotate(-15deg);
    }
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 20px 0px 20px;
    flex: 1;
    min-height: calc(30vh);
    position: relative;
    z-index: 10;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 1s ease-out;
}

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

/* Enhanced Main Section */
.main-section {
    display: flex;
    align-items: center;
    gap: 42px;
    padding: 28px;
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    border: 1px solid rgba(113, 113, 122, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Logo Batman Container */
.logo-batman {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Handwritten Signature Logo */
.logo {
    font-family: 'Caveat', cursive;
    font-size: 72px;
    font-weight: 600;
    letter-spacing: -2px;
    color: #ffffff;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 4px 16px rgba(113, 113, 122, 0.2);
    margin-bottom: 14px;
    position: relative;
    transform: rotate(-2deg);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}


.batman-container {
    position: relative;
    width: 105px;
    height: 105px;
    background-image: url('./assets/images/bat.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: -21px;
    margin-bottom: -18px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition-speed);
}



.batman-container:hover {
    transform: scale(1.05);
}

/* Googley Eyes - keep existing styles */
.googley-eyes {
    position: absolute;
    top: 52px;
    left: 70px;
    width: 55px;
    height: 25px;
    display: flex;
    gap: 5px;
    transform: rotate(8deg);
}

.googley-eyes .eye {
    position: relative;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.googley-eyes .iris {
    position: absolute;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: radial-gradient(circle, #9dc6ff, #2b3294);
    top: -2px;
    left: -2px;
    overflow: hidden;
}

.googley-eyes .pupil {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #000;
    border-radius: 50%;
    top: 6px;
    left: 6px;
    transition: transform 0.1s ease-out;
}

/* Navigation buttons */
.nav-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 210px;
    margin-top: 11px;
  }
.nav-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 11px 22px;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(40, 40, 45, 0.8));
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(113, 113, 122, 0.3);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

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

.nav-grid a:hover {
    background: linear-gradient(135deg, rgba(63, 63, 70, 0.8), rgba(82, 82, 91, 0.8));
    border-color: rgba(161, 161, 170, 0.5);
    transform: translateX(5px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* GitHub Section */
.github-section {
    padding: 1rem 0 1rem;
    position: relative;
}

.github-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.github-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed) ease;
}

.github-stats:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.github-stats img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Enhanced Footer */
footer {
    background: linear-gradient(180deg, transparent, rgba(20, 20, 25, 0.8));
    backdrop-filter: blur(10px);
    padding: 2rem 1rem 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 500px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 11px 22px;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(40, 40, 45, 0.8));
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(113, 113, 122, 0.3);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: linear-gradient(135deg, rgba(63, 63, 70, 0.8), rgba(82, 82, 91, 0.8));
    border-color: rgba(161, 161, 170, 0.5);
    transform: translateX(5px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .main-section {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }

    .logo {
        font-size: 64px;
        letter-spacing: -1px;
    }

    .batman-container {
        width: 120px;
        height: 120px;
        margin-top: -20px;
        margin-bottom: -20px;
    }

    .googley-eyes {
        top: 35px;
        left: 55px;
        width: 60px;
        height: 30px;
    }

    .googley-eyes .eye {
        width: 28px;
        height: 28px;
    }

    .nav-grid {
        width: 100%;
        max-width: 250px;
    }

    .nav-grid a {
        padding: 14px 28px;
        font-size: 15px;
    }

    footer {
        padding: 1.5rem 1rem 1rem;
    }

    .social-links {
        gap: 8px;
    }

    .social-links a {
        padding: 8px 16px;
        font-size: 13px;
    }

    .github-section {
        padding: 0.75rem 0 1.5rem;
    }

    .github-stats {
        padding: 1rem;
        margin: 0 0.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection colors */
::selection {
    background: rgba(113, 113, 122, 0.3);
    color: var(--primary-color);
}

::-moz-selection {
    background: rgba(113, 113, 122, 0.3);
    color: var(--primary-color);
}
