:root {
    --color-dark: #28282B;
    --color-accent: #23B7E8;
    --color-light: #000000;
    --mobile-width: 420px;
    --bgcolor: #D9F5FF;
    --checked-option-text: white;
    --cheched-option: rgba(255, 255, 255, 0.15);
    --blur-overlay: rgba(6, 30, 38, 0.7);
    --line-separator: #cceeff;
    --close-bar-color: #b3d9e8;
    --save-button-hover: #55c9ff;
    --save-button-active: #800080;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif; 
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex; 
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    transition: opacity 0.5s ease;
}

#preloader img {
    width: 150px; 
    height: 150px;
}

#content {
    display: none; 
    padding: 20px;
    font-family: sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden; 
}

body.no-scroll {
    overflow: hidden;
}

.switch-container {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 100; 
    padding: 10px;
}

.segmented-control {
    display: flex;
    position: relative;
    background-color: #28282B;
    border-radius: 50px;
    padding: 4px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    min-width: 250px;
}

.segmented-control input[type="radio"] {
    display: none;
}

.segment-label {
    flex-grow: 1;
    text-align: center;
    padding: 8px 15px;
    color: #DBDBDB; 
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    z-index: 2; 
    transition: color 0.3s ease;
}

.indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 4px); 
    background-color: rgba(255, 255, 255, 0.15); 
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

#video-option:checked ~ .indicator {
    transform: translateX(100%);
}

#song-option:checked + .segment-label,
#video-option:checked + .segment-label {
    color: white; 
}

.profile-container {
    height: 100vh;
    width: 100vw;
    position: absolute; 
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none; 
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.7) grayscale(0.2);
    z-index: 1;
}

.profile-content {
    position: relative;
    z-index: 2; 
    text-align: center;
    color: #D4D4D8;
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 20px 40px 60px; 
    border-radius: 10px 10px 0 0; 
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    width: 100%; 
    max-width: 500px; 
}

@media (max-width: 600px) {
    .profile-content {
        max-width: 100%; 
        padding: 15px 15px 60px;
        border-radius: 10px 10px 0 0;
    }
}

.name {
    font-size: 2.7em;
    font-weight: 700;
    margin-bottom: 0.1em;
    color: transparent;
    background: linear-gradient(
        45deg,
        #FC466B,
        #3F5EFB,
        #FC466B,
        #3F5EFB
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite; 
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#video-page .name {
    font-size: 2.6em;
    margin-bottom: 0.2em;
}

.titles {
    margin-bottom: 1em;
    font-size: 1em;
    font-weight: 300;
    color: white;
}

.title-separator {
    margin: 0 0.5em;
    color: #FF2EFF;
}

.description {
    max-width: 400px;
    font-size: 1em;
    line-height: 1.6;
    margin: 0 auto 30px;
}

.swipe-indicator {
    position: absolute;
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
    color: #AAAAAA;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; 
}

.arrow-down {
    width: 12px;
    height: 12px;
    border-right: 2px solid #AAAAAA;
    border-bottom: 2px solid #AAAAAA;
    transform: rotate(45deg);
    margin-top: 8px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

.contact-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0); 
    opacity: 0;
    pointer-events: none; 
    transition: opacity 0.5s ease-in-out, background-color 0.5s ease-in-out;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
}

.contact-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.3); 
}

.contact-popup {
    background-color: #18181B;
    color: #28282B;
    width: 100%;
    max-width: var(--mobile-width); 
    padding: 30px 20px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.contact-popup-overlay.active .contact-popup {
    transform: translateY(0); 
}

.popup-title {
    color: #DADADA;
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF5CFF;
    padding-bottom: 10px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #242424; 
    font-size: 1.1em;
}

.contact-value a {
    color: #DADADA; 
    text-decoration: none;      
    display: inline-block;      
    padding: 1px 0;
}

.contact-value a:hover {
    text-decoration: underline; 
}

.contact-address {
    flex-direction: column;
    text-align: left;
}

.contact-label {
    font-weight: 600;
    color: #FFB8FF;
    min-width: 80px;
}

.contact-address .contact-value {
    margin-top: 5px;
    word-break: break-word; 
}

.contact-value {
    text-align: right;
    color: #DADADA;
    font-weight: 400;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-top: 10px;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #242424; 
}

.social-icon {
    font-size: 1.8em; 
    color: #DADADA; 
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    text-decoration: none; 
}

.social-icon:hover {
    color: #FFB8FF; 
    transform: translateY(-3px); 
}

.social-icons .fab {
    font-style: normal;
}

.save-button {
    width: 100%;
    padding: 15px;
    margin-top: 30px;
    background-color: #D100D1;
    color: white;
    font-size: 1.2em;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.save-button a {
    color: white; 
    text-decoration: none;      
    display: inline-block;      
    padding: 1px 0;
}

.save-button .fab {
    font-style: normal;
}

.save-button:hover {
    background-color: #470047; 
}

.save-button:active {
    transform: scale(0.99);
}

.close-bar {
    width: 50px;
    height: 5px;
    background-color: #D4D4D8;
    border-radius: 2.5px;
    margin: 15px auto 0;
    cursor: pointer;
}