:root {
    --bg-color: #8356ad;
    /* Base purple from the image */
    --text-primary: #ffffff;
    --text-secondary: #e6e0f0;
    --accent-color: #9d6cd1;
    /* Lighter purple accent */
    --accent-hover: #b485e6;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-hover: rgba(255, 255, 255, 0.25);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #a45ec4 0%, #7664a7 100%);
    /* Replicating the uploaded gradient */
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Profile Section */
.profile {
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #ffffff, #d8b4e2);
    /* Lighter border for contrast */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

.streamer-name {
    font-family: 'Urbanist', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.streamer-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}

/* Links Section */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.glass-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.glass-link:hover {
    background: var(--glass-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.glass-link.highlight {
    border-color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.glass-link.highlight:hover {
    border-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.3);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.casino-icon {
    width: 100px;
    height: 50px;
    object-fit: contain;
    background-color: transparent;
}

.lolly-icon {
    transform: scale(1.3);
}

.link-text {
    display: flex;
    flex-direction: column;
}

.link-text h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
}

.link-text p {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.link-action {
    color: var(--text-secondary);
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    padding-left: 10px;
}

.glass-link:hover .link-action {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* .glass-link.highlight .link-action {
    color: var(--accent-color);
} */

/* Social Footer */
.social-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--glass-hover);
}

.social-icon.twitch:hover {
    color: #9146FF;
    border-color: #9146FF;
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.4);
}

.social-icon.discord:hover {
    color: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.social-icon.instagram:hover {
    color: #E1306C;
    border-color: #E1306C;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .streamer-name {
        font-size: 1.5rem;
    }

    .link-text h2 {
        font-size: 1rem;
    }

    .link-text p {
        font-size: 0.75rem;
    }

    .casino-icon {
        width: 52px;
        height: 52px;
    }
}