/* General Styles */
body {
    font-family: 'Roboto', sans-serif; /* Updated font */
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #ffccff 25%, #ff99cc 100%);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.header {
    background: url('banner.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 3rem 2rem; /* Reduced height */
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.8), rgba(255, 102, 153, 0.8));
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.header h1 {
    font-family: 'Pacifico', cursive; /* Kept original font */
    font-size: 3rem;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-transform: uppercase;
    perspective: 500px;
}

.header h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #ff6699;
    z-index: -1;
    transform: translate3d(0, 0, -30px);
    filter: blur(5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

section {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

section h2 {
    font-family: 'Poppins', sans-serif; /* Updated font */
    font-weight: 700;
    text-transform: uppercase;
    color: #ff6699;
    font-size: 2rem;
    border-bottom: 2px solid #ff6699;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: translateX(-50%);
    z-index: 0;
}

#group-info p {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 0.5rem 0;
}

ul li a {
    text-decoration: none;
    color: #ff6699;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: #ff3366;
    color: white;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
}

ul li a:hover {
    background: #ff6699;
    transform: translateY(-2px);
}

footer {
    background: linear-gradient(135deg, #ff6699 25%, #ff3366 100%);
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #ff3366;
    border-radius: 20px 20px 0 0;
}

footer p {
    font-family: 'Poppins', sans-serif; /* Updated font */
    font-size: 1.2rem;
    margin: 0;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-icon {
    background: #ff3366;
    color: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10; /* Ensure floating icons are on top */
}

.floating-icon:hover {
    background: #ff6699;
    transform: translateY(-2px);
}

.floating-icon i {
    font-size: 1.5rem;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    z-index: 10; /* Ensure social icons are on top */
}

.social-icon {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: perspective(500px) translateZ(0);
    z-index: 10; /* Ensure social icons are on top */
}

.social-icon i {
    margin-right: 0.5rem;
}

.social-icon.instagram {
    background: #E1306C;
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon.signal {
    background: #3A76F0;
}

.social-icon:hover {
    transform: perspective(500px) translateZ(20px) rotateX(10deg) rotateY(10deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.social-icon:active {
    transform: perspective(500px) translateZ(10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

/* Pixelated Cat Animation */
.cats-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensure the cats don't interfere with other elements */
}

.pixel-cat {
    position: absolute;
    width: 50px;
    height: 50px;
    background: url('pixel-cat.png') no-repeat center center;
    background-size: contain;
    transition: transform 0.5s ease; /* Smooth transition */
}

/* WebP GIFs */
.webp-gifs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.webp-gifs picture {
    width: 100px;
    height: 100px;
}

.webp-gifs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    ul li a {
        font-size: 1rem;
    }

    footer p {
        font-size: 1rem;
    }

    .floating-icons {
        bottom: 10px;
        right: 10px;
    }

    .floating-icon {
        padding: 8px;
    }

    .floating-icon i {
        font-size: 1.2rem;
    }
}

/* Additional Mobile Styles */
@media (max-width: 480px) {
    .header {
        padding: 2rem 1rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    main {
        padding: 1rem;
        margin: 1rem auto;
    }

    section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    section h2 {
        font-size: 1.2rem;
    }

    ul li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    footer {
        padding: 0.5rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    .floating-icons {
        bottom: 5px;
        right: 5px;
    }

    .floating-icon {
        padding: 6px;
    }

    .floating-icon i {
        font-size: 1rem;
    }

    .social-icons {
        flex-direction: column;
        gap: 10px;
    }

    .social-icon {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}