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

body {
    background-color: #000000;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    color: white;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 680px;
    text-align: center;
}

.profile-pic {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin-bottom: 16px;
}

h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 32px;
}

.section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link {
    background-color: #1c1c1e;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.link:hover {
    transform: scale(1.02);
}

.link-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

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

.link-title {
    font-size: 16px;
    font-weight: 600;
}

.link-subtitle {
    font-size: 14px;
    color: #aaa;
}

.link-action {
    font-size: 20px;
    color: #aaa;
}

.footer {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    margin-bottom: 30px;
    width: fit-content;
    text-align: center;
    margin: 60px auto 30px auto;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .footer {
        width: 90%; /* Adjust footer width for smaller screens */
        padding: 10px 15px;
    }

    .link {
        padding: 12px;
    }

    .link-title {
        font-size: 15px;
    }

    .link-subtitle {
        font-size: 13px;
    }

    .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); /* Ensure it's visible */
        opacity: 1;
        visibility: visible;
    }

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

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

.black-btn {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.black-btn:hover {
    background-color: #222;
}

/* 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;
}
