:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --primary-color: #0051ff;
    /* Neon Purple */
    --secondary-color: #00f0ff;
    /* Neon Cyan */
    --accent-color: #ff0055;
    /* Neon Red/Pink */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background Canvas */
#plasma-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #0b0216 0%, #000000 100%);
}

.content-wrapper {
    z-index: 10;
    text-align: center;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    animation: fadeIn 1.5s ease-out;
}

/* Header */
header {
    margin-bottom: 3rem;
}

h1.glitch-text {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;

}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(203, 0, 255, 0.3);
    border-color: var(--primary-color);
}

.link-card.spotify:hover {
    border-color: #1DB954;
    box-shadow: 0 10px 30px -10px rgba(29, 185, 84, 0.4);
}

.link-card.apple:hover {
    border-color: #FA243C;
    box-shadow: 0 10px 30px -10px rgba(250, 36, 60, 0.4);
}

.link-card.x-social:hover {
    border-color: #fff;
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.2);
}

.link-card.instagram:hover {
    border-color: #d62976;
    box-shadow: 0 10px 30px -10px rgba(214, 41, 118, 0.4);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(214, 41, 118, 0.1));
}

/* SVG Icon Styling */
.icon-wrapper svg,
.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: currentColor;
    display: block;
    /* Removes potential whitespace */
}

/* Specific color override for Spotify hover if we want the logo to turn green, 
   but currently the whole card glow handles it. 
   The fill will remain white by default. */

.link-card.soundcloud:hover {
    border-color: #ff5500;
    box-shadow: 0 10px 30px -10px rgba(255, 85, 0, 0.4);
}

.icon-wrapper {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    /* increased size */
    height: 3rem;
    /* fixed height */
    flex-shrink: 0;
    /* prevents shrinking */
    margin-right: 1rem;
    /* spacing between icon and text */
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.link-card:hover .card-shine {
    left: 150%;
    transition: 0.7s;
}

/* Footer */
footer {
    margin-top: 4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    h1.glitch-text {
        font-size: 2.2rem;
    }
}