body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #050011, #1a0033, #4b007a);
    background-size: 400% 400%;
    animation: bgShift 14s ease infinite;
    margin: 0;
    padding: 20px;
    text-align: center;
    color: #fff;
}

@keyframes bgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1 {
    font-size: 3rem;
    margin-bottom: 35px;
    color: #ffffff;
    text-shadow: 0 0 20px #ff00e6, 0 0 40px #b300ff;
    letter-spacing: 2px;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px #ff00e6; }
    50% { text-shadow: 0 0 45px #ff4df2; }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding: 20px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(255, 0, 230, 0.15);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
}

.item:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 230, 0.5);
}

.item img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 2px solid #ff00e6;
    transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

.item img:hover {
    transform: scale(1.12);
    box-shadow: 0 0 40px #ff00e6;
    filter: brightness(1.25);
}

.item p {
    margin-top: 12px;
    font-weight: bold;
    font-size: 1.25rem;
    color: #ffe6ff;
    text-shadow: 
        0 0 10px #ff00e6,
        0 0 20px #ff00e6,
        0 0 35px #b300ff;
    letter-spacing: 1px;
}

.photo-page img {
    width: 65%;
    max-width: 700px;
    border-radius: 18px;
    border: 3px solid #ff00e6;
    box-shadow: 0 0 50px rgba(255, 0, 230, 0.7);
    transition: transform .35s ease, box-shadow .35s ease;
}

.photo-page img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 65px rgba(255, 0, 230, 0.9);
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    font-size: 22px;
    text-decoration: none;
    color: #ff66f2;
    font-weight: bold;
    text-shadow: 
        0 0 12px #ff00e6,
        0 0 20px #b300ff;
    transition: color .25s ease, text-shadow .25s ease;
}

.back-link:hover {
    color: #ff00e6;
    text-shadow: 0 0 25px #ff00e6;
}
