@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap');

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

html, body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: #0d061a;
    color: #fff;
}

body {
    background-image: url('../images/LoveBite_Hintergrund.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#loader {
    position: fixed;
    inset: 0;
    background: #0d061a;
    display: flex;
    z-index: 999;
    transition: opacity 0.4s ease;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-bar {
    width: 60px;
    height: 3px;
    background: rgba(255, 45, 120, 0.15);
    border-radius: 3px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 40%;
    background: #ff2d78;
    border-radius: 3px;
    animation: barSlide 1s ease infinite;
}

@keyframes barSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

.hidden { display: none !important; }

#page {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 28px;
    animation: pgIn 0.5s ease;
}

@keyframes pgIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 6, 26, 0.75) 0%, rgba(13, 6, 26, 0.92) 100%);
    pointer-events: none;
    z-index: 0;
}

.top {
    position: relative;
    z-index: 1;
    padding: 64px 0 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pic {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(255, 45, 120, 0.15);
}

.pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-txt h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 34px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: #ffb3c6;
    letter-spacing: -0.5px;
    text-shadow: 0 0 30px rgba(255, 45, 120, 0.15);
}

.top-txt p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    margin-top: 2px;
}

.mid {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.row:last-child {
    border-bottom: none;
}

.row-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.row:first-child .row-icon {
    background: rgba(255, 45, 120, 0.15);
    color: #ff2d78;
}

.row:last-child .row-icon {
    background: rgba(88, 101, 242, 0.15);
    color: #5865f2;
}

.row-body {
    flex: 1;
    min-width: 0;
    padding-top: 3px;
}

.row-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
}

.row-sub {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.row-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.row-track-fill {
    height: 100%;
    width: 0%;
    background: #ff2d78;
    border-radius: 2px;
    transition: width 0.3s linear;
}

.row-acts {
    display: flex;
    align-items: center;
    gap: 14px;
}

.row-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 45, 120, 0.15);
    color: #ff2d78;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.row-play:hover {
    background: rgba(255, 45, 120, 0.25);
}

.row-vol {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

#volume-slider {
    flex: 1;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff2d78;
    cursor: pointer;
    transition: transform 0.15s ease;
}

#volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

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

.row-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.row-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

.row-link i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
}

.row-link:hover i {
    transform: translateX(3px);
}

.btm {
    position: relative;
    z-index: 1;
    padding: 20px 0 32px;
    text-align: center;
}

.btm span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 480px) {
    #page { padding: 0 20px; }
    .top { padding: 48px 0 24px; }
    .pic { width: 60px; height: 60px; }
    .top-txt h1 { font-size: 28px; }
    .mid { padding: 16px 0; }
    .row { padding: 14px 0; }
}
