@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary: #7c3aed;
    --primary-light: #8b5cf6;
    --secondary: #6d28d9;
    --accent: #a78bfa;
    --dark: #0f0f17;
    --darker: #0a0a0f;
    --primary-text: #e9e0ff;
    --secondary-text: #a78bfa;
    --light-text: #f5f3ff;
    
    /* Typography */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Glass effect */
    --glass-bg: rgba(26, 16, 51, 0.5);
    --glass-border: rgba(167, 139, 250, 0.1);
    --glass-blur: blur(12px);
}

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

body {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--primary-text);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 0 1rem;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(167, 139, 250, 0.5);
}

h1 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: var(--text-base);
    color: var(--secondary-text);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.section {
    margin-bottom: 2rem;
    width: 100%;
}

.section-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    text-align: left;
    padding-left: 1rem;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

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

.link {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
    border-color: rgba(167, 139, 250, 0.3);
}

.link:hover::before {
    opacity: 1;
}

.link-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.link:hover .link-icon {
    transform: scale(1.1);
}

.link-text {
    flex-grow: 1;
    text-align: left;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

.link-title {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--light-text);
}

.link-subtitle {
    font-size: var(--text-sm);
    color: var(--secondary-text);
    margin-top: 0.25rem;
}

.link-action {
    font-size: 1.25rem;
    color: var(--secondary-text);
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.footer {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: var(--text-sm);
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 4rem auto 2rem;
    width: fit-content;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.footer:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: var(--text-xl);
    }

    .subtitle {
        font-size: var(--text-sm);
        margin-bottom: 2rem;
    }

    .section {
        margin-bottom: 1.75rem;
    }

    .section-title {
        font-size: var(--text-xs);
        margin-bottom: 1rem;
        padding-left: 0.75rem;
    }

    .link {
        padding: 0.875rem 1rem;
        border-radius: 10px;
    }

    .link-icon {
        font-size: 1.25rem;
        width: 36px;
    }

    .link-title {
        font-size: var(--text-sm);
    }

    .link-subtitle {
        font-size: var(--text-xs);
    }

    .footer {
        width: 90%;
        padding: 0.625rem 1.25rem;
        font-size: var(--text-xs);
        margin: 3rem auto 1.5rem;
    }

    .black-btn {
        padding: 0.625rem 1.25rem;
        font-size: var(--text-xs);
    }

    /* Volume controls */
    .volume-control-container {
        top: auto;
        bottom: 10px;
        left: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .volume-controls {
        margin-left: 0;
        margin-top: 10px;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .volume-container {
        top: auto;
        bottom: 10px;
        right: 10px;
    }

    .vol-panel {
        top: auto;
        bottom: 52px;
        right: 0;
    }
}

.black-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: var(--text-sm);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.black-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* Volume control */
.volume-control-container {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.volume-toggle-btn {
    background-color: #1c1c1e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s ease-in-out;
}

.volume-toggle-btn:hover {
    background-color: #333;
}

.volume-controls {
    display: flex;
    align-items: center;
    background-color: #1c1c1e;
    border-radius: 20px;
    padding: 8px 12px;
    margin-left: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.volume-control-container:hover .volume-controls {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Slider */
#volume-slider {
    width: 100px;
    height: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #555;
    border-radius: 2px;
    outline: none;
    margin-right: 10px;
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

#volume-slider::-moz-range-thumb {
    appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.mute-btn {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mute-btn:hover {
    color: #aaa;
}

/* Alternative volume panel */
.volume-container {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vol-button {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: transform .12s;
}

.vol-button:hover {
    transform: scale(1.03);
}

.volume-area {
    position: relative;
}

.vol-panel {
    position: absolute;
    right: 0;
    top: 52px;
    background: rgba(20,20,20,0.95);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .15s, transform .15s;
    width: 180px;
}

.volume-area:hover .vol-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vol-panel label {
    font-size: 13px;
    color: #ddd;
    display: block;
    margin-bottom: 8px;
}

input[type="range"] {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
