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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f0f0f0;
    color: #333;
    position: relative;
}

/* Shader Canvas */
#shaderCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Visiting Card */
.visiting-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fafafa;
    border-radius: 16px;
    padding: 2rem 3rem;
    text-align: center;
    min-width: 500px;
    max-width: 600px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    animation: cardAppear 1s ease-out;
    transition: all 0.4s ease;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.name {
    font-size: 2rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.title {
    font-size: 0.9rem;
    color: #666;
    font-weight: 350;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.projects-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #87ceeb;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.projects-btn:hover {
    background: #5dade2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f8f8;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.social-link:nth-child(1) { background: #f0f8ff; }
.social-link:nth-child(2) { background: #f0fff0; }
.social-link:nth-child(3) { background: #fff8f0; }
.social-link:nth-child(4) { background: #fff0f5; }

.social-link:nth-child(1):hover {
    background: #87ceeb;
    color: #333;
    transform: translateY(-1px);
}

.social-link:nth-child(2):hover {
    background: #90ee90;
    color: #333;
    transform: translateY(-1px);
}

.social-link:nth-child(3):hover {
    background: #ffa500;
    color: #333;
    transform: translateY(-1px);
}

.social-link:nth-child(4):hover {
    background: #ffb6c1;
    color: #333;
    transform: translateY(-1px);
}

.social-link i {
    font-size: 1rem;
}

/* Animations */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* OP-1 inspired subtle animations */
@keyframes subtlePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .visiting-card {
        min-width: 350px;
        max-width: 400px;
        padding: 1.5rem 2rem;
        margin: 1rem;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .title {
        font-size: 0.8rem;
    }
    
    .projects-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .visiting-card {
        min-width: 300px;
        max-width: 350px;
        padding: 1.25rem 1.5rem;
    }
    
    .name {
        font-size: 1.6rem;
    }
    
    .title {
        font-size: 0.75rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
}
