/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #fafafa;
}

.app-container {
    text-align: center;
    width: 90%;
    max-width: 600px;
    position: relative;
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.app-title {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(to right, #f58529, #dd2a7b, #8134af, #515bd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    transition: transform 0.3s ease;
}

/* Hover Animation */
.logo-link:hover .logo, .logo-link:hover .app-title {
    animation: spin-blur 0.25s linear;
    transform: scale(1.1);
}

@keyframes spin-blur {
    from {
        transform: rotate(0deg);
        filter: blur(0px);
    }
    50% {
        filter: blur(2px);
    }
    to {
        transform: rotate(360deg);
        filter: blur(0px);
    }
}

/* Notifications */
.ios-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1000;
    opacity: 0;
}

.ios-notification.show {
    animation: slide-in 0.6s ease-out forwards;
}

@keyframes slide-in {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes slide-out {
    from {
        top: 20px;
        opacity: 1;
    }
    to {
        top: -100px;
        opacity: 0;
    }
}

/* Albums */
.albums {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
}

.album {
    position: relative;
    width: 40%;
    height: 100px;
    border-radius: 10px;
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.album:hover {
    transform: scale(1.05);
}

/* Fullscreen Gallery */
.gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.gallery-container {
    display: flex;
    width: 80%;
    max-height: 80%;
    overflow: hidden;
    position: relative;
}

.gallery-item {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
}

.gallery-item.active {
    display: block;
}

/* Gallery Controls */
.gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.gallery-button {
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    color: black;
    font-size: 18px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
}
