:root {
    --bg-pink: rgb(255, 200, 211);
    --header-bg: rgb(247, 139, 165);
    --card-bg: rgba(255, 255, 255, 0.88);
    --dark-pink: #d87093;
    --text-color: #5c4033;
    --border-pink: #ffccd5;
}

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

/* Alapértelmezett háttér (Mobil) */
body {
    font-family: 'Poppins', sans-serif;
    background-image: url('images/background_mobile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Desktop háttér */
@media (min-width: 768px) {
    body {
        background-image: url('images/background_desktop.jpg');
    }
}

/* JELSZÓ KÉPERNYŐ */
#auth-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(255, 182, 193), rgb(247, 139, 165), rgb(216, 112, 147));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.auth-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(216, 112, 147, 0.25);
    text-align: center;
    width: 90%;
    max-width: 320px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    animation: floatCard 4s ease-in-out infinite;
}

.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.auth-card input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-pink);
    border-radius: 14px;
    font-size: 1rem;
    outline: none;
    text-align: center;
    background: #ffffff;
    color: var(--text-color);
}

.auth-card input:focus {
    border-color: var(--dark-pink);
}

.auth-card button {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-pink);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(216, 112, 147, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.auth-card button:hover {
    background-color: #c71585;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(216, 112, 147, 0.45);
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 12px;
    display: none;
}

/* FŐOLDALI STRUKTÚRA */
#main-content {
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
}

/* FEJLÉC ÉS MENÜK */
header {
    width: 90%;
    max-width: 900px;
    background: rgba(247, 139, 165, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    margin: 20px auto 30px auto;
    padding: 12px 24px;
    box-shadow: 0 8px 25px rgba(216, 112, 147, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 15px;
    z-index: 100;
}

.desktop-nav {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.desktop-nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 200, 211, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 99;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-pink);
    width: 75%;
    max-width: 280px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(216, 112, 147, 0.1);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--dark-pink);
    color: #ffffff;
}

/* KÖZPONTI TARTALOM DOBOZOK */
.container {
    width: 90%;
    max-width: 700px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 45px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(216, 112, 147, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--dark-pink);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(216, 112, 147, 0.15);
}

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c5244;
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #fff0f3;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--border-pink);
    box-shadow: 0 5px 15px rgba(216, 112, 147, 0.08);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ARCHIVE SZEKCIÓ */
.archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.archive-card {
    background: rgba(255, 245, 247, 0.9);
    border: 2px solid var(--border-pink);
    border-radius: 20px;
    padding: 25px 20px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(216, 112, 147, 0.05);
}

.archive-card:hover {
    transform: translateY(-5px);
    border-color: var(--dark-pink);
    box-shadow: 0 10px 25px rgba(216, 112, 147, 0.15);
    background: #ffffff;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.card-icon img {
    max-height: 45px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

.archive-card h3 {
    font-size: 1.1rem;
    color: var(--dark-pink);
    margin-bottom: 8px;
    font-weight: 600;
}

.archive-card p {
    font-size: 0.85rem;
    color: #7a5c4d;
    line-height: 1.4;
}

/* GALÉRIA */
.gallery-container {
    max-width: 900px !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: rgba(255, 245, 247, 0.9);
    border: 2px solid var(--border-pink);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(216, 112, 147, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(216, 112, 147, 0.2);
}

.gallery-item img, 
.gallery-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* EGYEDI ZENELEJÁTSZÓ */
.player-box {
    background: rgba(255, 245, 247, 0.95);
    border: 2px solid var(--border-pink);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(216, 112, 147, 0.1);
}

.current-song-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-pink);
    margin-bottom: 15px;
}

.custom-player {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.ctrl-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--dark-pink);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(216, 112, 147, 0.35);
    transition: transform 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.ctrl-btn:hover {
    transform: scale(1.06);
    background-color: #c71585;
}

.progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    font-size: 0.85rem;
    color: var(--text-color);
}

#seek-bar {
    flex-grow: 1;
    accent-color: var(--dark-pink);
    height: 6px;
    border-radius: 5px;
    cursor: pointer;
}

/* MOBIL NÉZET SZABÁLYOK */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    header {
        width: 92%;
        justify-content: flex-end;
        padding: 12px 20px;
    }

    .container {
        padding: 30px 20px;
        width: 92%;
    }

    h1 {
        font-size: 2.1rem;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }
}