* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0A0A0A;
    color: #EAEAEA;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2A2A2A;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #EAEAEA;
}

.bio {
    font-size: 16px;
    color: #999;
    margin-top: 8px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: transparent;
    border: 2px solid #2A2A2A;
    color: #EAEAEA;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;

    /* 3D Transform properties */
    transform-style: preserve-3d;
    perspective: 1000px;

    /* Shadow for 3D effect */
    box-shadow:
        0 4px 0 0 #1A1A1A,
        0 8px 12px rgba(0, 0, 0, 0.4);
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: none;
    opacity: 0;
}

.link-button:hover::before {
    opacity: 1;
    transition: left 0.5s ease;
    left: 100%;
}

.link-button:hover {
    background: rgba(42, 42, 42, 0.3);
    border-color: #3A3A3A;
    transform: translateY(-4px) translateZ(20px) rotateX(5deg);
    box-shadow:
        0 8px 0 0 #1A1A1A,
        0 16px 24px rgba(0, 0, 0, 0.6);
}

.link-button:active {
    transform: translateY(2px) translateZ(10px);
    box-shadow:
        0 2px 0 0 #1A1A1A,
        0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Icon styling */
.link-button .icon {
    margin-right: 12px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.link-button .icon-img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.link-button:hover .icon,
.link-button:hover .icon-img {
    transform: scale(1.2) rotateZ(5deg);
}

/* Gradient variants for different links */
.link-button.primary {
    border-color: #4A4A4A;
    background: linear-gradient(135deg, rgba(100, 100, 255, 0.1) 0%, transparent 100%);
}

.link-button.secondary {
    border-color: #4A4A4A;
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.1) 0%, transparent 100%);
}

.link-button.tertiary {
    border-color: #4A4A4A;
    background: linear-gradient(135deg, rgba(100, 255, 100, 0.1) 0%, transparent 100%);
}

/* Responsive design */
@media (max-width: 768px) {
    .link-button {
        padding: 16px 20px;
        font-size: 15px;
    }

    h1 {
        font-size: 20px;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-button {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }
.link-button:nth-child(6) { animation-delay: 0.6s; }

/* Footer */
.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-top: 1px solid #2A2A2A;
}

.footer p {
    margin: 0;
}

/* Christmas Mode Styles */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: #fff;
    animation: fall linear infinite;
    user-select: none;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(20px) rotate(360deg);
    }
}

.santa-hat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    animation: wobble 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes wobble {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(5deg);
    }
}

.christmas-lights {
    position: relative;
    width: 100%;
    height: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.christmas-lights .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    box-shadow: 0 0 10px currentColor;
    animation: twinkle 1.5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* Christmas mode button enhancements */
.christmas-mode .link-button {
    border-color: #4A4A4A;
    position: relative;
    overflow: visible;
}

.christmas-mode .link-button::after {
    content: '🎄';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: spin 4s linear infinite;
}

.christmas-mode .link-button::before {
    content: '🎄';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: spinReverse 4s linear infinite;
    opacity: 1;
    background: none;
    width: auto;
    height: auto;
    transition: none;
}

@keyframes spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes spinReverse {
    from {
        transform: translateY(-50%) rotate(360deg);
    }
    to {
        transform: translateY(-50%) rotate(0deg);
    }
}
