:root {
    --bg-dark: rgb(10, 10, 20);
    --bg-panel: rgb(31, 41, 55);
    --text-color: #fff;
    --text-muted: rgb(156, 163, 175);
    --border-color: rgb(75, 85, 99);
    --primary-color: rgb(37, 99, 235);
    --secondary-color: rgb(147, 51, 234);
}

/* Reset and basic styling */
/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
} */

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
}

/* Main Container */
#app-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

#canvas-wrapper {
    flex: 1;
    position: relative;
    background-color: var(--bg-dark);
}

#canvas-root {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.content {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    /* background: linear-gradient(180deg, #000000 0%, #1a0033 50%, #000000 100%); */
    z-index: 50;
    position: relative;
}

.section {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, #ff0080, #00ff80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #ff0080, #00ff80);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.8);
}

.contact-info {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #1a0033 100%);
    border-radius: 20px;
    border: 2px solid #ff0080;
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.3),
        inset 0 0 20px rgba(255, 0, 128, 0.1);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #ff0080, #00ff80);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 15px rgba(255, 0, 128, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.contact-links a:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(255, 0, 128, 0.6),
        0 0 30px rgba(0, 255, 128, 0.4);
    filter: brightness(1.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.project-card {
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #1a0033 100%);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid #00ffff;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 128, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 255, 255, 0.4),
        0 0 30px rgba(255, 0, 128, 0.3);
    border-color: #ff0080;
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #ff0080 0%, #00ff80 50%, #0080ff 100%);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.project-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.project-card:hover .project-image {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 0, 128, 0.8),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
}

.project-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff0080;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.project-year {
    color: #00ff80;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 128, 0.5);
}

.project-description {
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.project-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.project-links a {
    display: inline-block;
    padding: 8px 16px;
    /* background: linear-gradient(45deg, #ff0080, #00ffff); */
    background: #0080ff;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 
        0 0 15px rgba(255, 0, 128, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.project-links a:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 20px rgba(255, 0, 128, 0.6),
        0 0 25px rgba(0, 255, 255, 0.4);
    filter: brightness(1.3);
}

.tech-tag {
    background: linear-gradient(45deg, #0080ff, #ff0080);
    color: white;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    box-shadow: 
        0 0 10px rgba(0, 128, 255, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    /* position: absolute; */
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #00ffff;
    text-align: center;
    pointer-events: none;
    font-family: 'Orbitron', monospace;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.01s ease;
}

.scroll-arrow {
    font-size: 2rem;
    color: #ff0080;
    text-shadow: 
        0 0 10px #ff0080,
        0 0 20px #ff0080;
}

.bouncer {
    display: inline-block; /* Essential for transform to work properly */
    animation: retro-bounce 2s infinite;
}

@keyframes retro-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
