* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
}

body {
    font-family: 'Unbounded', sans-serif;
    background-color: #111111;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

.background-blur::before,
.background-blur::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: floatBlur 20s ease-in-out infinite;
}

.background-blur::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7743D4, #4A1D8B);
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.background-blur::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8A4FD4, #5D2A9B);
    bottom: 20%;
    right: -5%;
    animation-delay: 10s;
}

@keyframes floatBlur {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(-50px, -20px) scale(1.05); }
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.photo-section {
    margin-top: 132px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-container {
    width: 100%;
    max-width: 950px;
    height: 560px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    animation: slideIn 1s ease-out;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-image {
    width: 20%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    flex-shrink: 0;
}

.social-overlay {
    width: 530px;
    height: 100px;
    background-color: #111111;
    border: 1px solid #1F1F1F;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: absolute;
    bottom: -50px;
    z-index: 10;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    filter: brightness(1.2);
}

.social-icon {
    width: 55px;
    height: 55px;
}


.title-section {
    margin-top: 120px;
    text-align: center;
    animation: fadeInUp 1.5s ease-out 0.6s both;
}

.main-title {
    font-size: 69px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #FFF 50%, #7743D4 195.64%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.title-logo {
    width: 39px;
    height: 39px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    border-radius: 50%;
    animation: rotate 6s linear infinite;
}

.subtitle {
    color: #7743D4;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.description {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.4;
    background: linear-gradient(180deg, #E0E0E0 0%, #B9B9B9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
    margin: 0 auto;
}


.converter-section {
    margin-top: 80px;
    border-radius: 30px;
    border: 2px solid #7743D4;
    width: 950px;
    height: 540px;
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    animation: slideInScale 1.8s ease-out 0.9s both;
    box-shadow: 0 0 50px rgba(119, 67, 212, 0.3);
}

.converter-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.converter-title {
    font-size: 40px;
    color: #FFF;
    font-weight: 700;
}

.santimetri-header-logo {
    width: 25px;
    height: 25px;
    margin-top: 5px;
}

.santimetri-sm-logo {
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.converter-subtitle {
    font-size: 20px;
    background: linear-gradient(174deg, #E0E0E0 4.39%, #B9B9B9 148.52%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.5;
    margin-bottom: 60px;
}

.converter-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group label {
    font-size: 20px;
    color: #FFF;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-logo {
    width: 15px;
    height: 15px;
}

.input-group input {
    width: 100%;
    height: 69px;
    border-radius: 15px;
    border: 1px solid #FFF;
    background: rgba(17, 17, 17, 0.9);
    color: #FFF;
    font-size: 24px;
    font-weight: 600;
    padding: 0 20px;
    font-family: 'Unbounded', sans-serif;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #7743D4;
    box-shadow: 0 0 20px rgba(119, 67, 212, 0.4);
    transform: scale(1.02);
}

.input-group input::placeholder {
    color: #666;
}

.converter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 35px;
}

.converter-icon:hover {
    transform: rotate(180deg) scale(1.1);
}

.converter-icon img {
    width: 46px;
    height: 46px;
    filter: drop-shadow(0 0 10px rgba(119, 67, 212, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}


.music-section {
    margin-top: 80px;
    text-align: center;
    animation: fadeInUp 2.1s ease-out 1.2s both;
}

.music-title {
    font-size: 48px;
    color: #FFF;
    font-weight: 700;
    margin-bottom: 40px;
}

.player-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.player-wrap {
    background: linear-gradient(145deg, rgba(119, 67, 212, 0.1), rgba(17, 17, 17, 0.9));
    border-radius: 25px;
    padding: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(119, 67, 212, 0.3);
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    width: 100%;
    max-width: 950px;
    backdrop-filter: blur(20px);
}

.btn-play {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #7743D4, #5D2A9B);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(119, 67, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-play::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-play:hover::before {
    opacity: 1;
}

.btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(119, 67, 212, 0.6);
}

.btn-play:active {
    transform: scale(0.98);
}

.btn-play svg {
    width: 32px;
    height: 32px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.progress-row {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

.time {
    font-size: 16px;
    color: #B9B9B9;
    min-width: 50px;
    text-align: center;
    font-weight: 500;
}

.progress {
    -webkit-appearance: none;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7743D4, #5D2A9B);
    flex: 1;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress:hover {
    transform: scaleY(1.2);
}

.progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    margin-top: -6px;
    transition: all 0.3s ease;
}

.progress::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(119, 67, 212, 0.4);
}

.volume {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

#muteBtn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#muteBtn:hover {
    background: rgba(119, 67, 212, 0.2);
    transform: scale(1.1);
}

.volume-slider {
    -webkit-appearance: none;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    flex: 1;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #7743D4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(119, 67, 212, 0.6);
}


.footer {
    margin-top: 80px;
    padding-bottom: 50px;
    text-align: center;
    animation: fadeIn 2.4s ease-out 1.5s both;
}

.copyright {
    color: #A6A6A6;
    font-size: 32px;
    font-weight: 400;
    opacity: 0.8;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(119, 67, 212, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(119, 67, 212, 0.6);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes iconPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(119, 67, 212, 0.6)); }
    50% { filter: drop-shadow(0 0 20px rgba(119, 67, 212, 1)); }
}


@media (max-width: 1024px) {
    .slider-container {
        height: 400px;
    }
    
    .social-overlay {
        width: 90%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .photo-section {
        margin-top: 80px;
    }
    
    .slider-container {
        height: 300px;
        border-radius: 20px;
    }
    
    .social-overlay {
        gap: 20px;
        height: 80px;
        bottom: -40px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 250px;
        border-radius: 15px;
    }
    
    .social-overlay {
        gap: 15px;
        padding: 0 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 15px;
    }
    
    .converter-section {
        width: 100%;
        max-width: 90vw;
    }
    
    .social-overlay {
        width: 90%;
        max-width: 500px;
    }
    
    .main-title {
        font-size: clamp(40px, 8vw, 69px);
    }
    
    .description {
        font-size: clamp(20px, 4vw, 30px);
    }
}

@media (max-width: 768px) {
    .photo-section {
        margin-top: 80px;
    }
    
    .converter-section {
        height: auto;
        padding: 30px 20px;
    }
    
    .converter-form {
        flex-direction: column;
        gap: 20px;
    }
    
    .converter-icon {
        transform: rotate(90deg);
    }
    
    .social-overlay {
        gap: 20px;
        height: 80px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .progress-row {
        gap: 15px;
    }
    
    .volume {
        max-width: 250px;
    }

    .converter-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .slider-container {
        border-radius: 20px;
    }
    
    .social-overlay {
        gap: 15px;
        padding: 0 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .converter-title {
        font-size: 20px;
    }
    
    .music-title {
        font-size: 36px;
    }
    
    .copyright {
        font-size: 24px;
    }
}

@media (max-width: 340px) {
    .converter-title {
        font-size: 15px;
    }

}
