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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(-45deg, #f5f7fa, #e4e8f0, #f5f7fa);
    background-size: 400% 400%;
    color: #2d3436;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: gradientBG 15s ease infinite;
    overflow-x: hidden;
    text-align: center;
}

:root {
    --primary-color: #6e45e2;
    --secondary-color: #88d3ce;
    --accent-color: #ff7e5f;
    --dark-color: #0f0e17;
    --light-color: #fffffe;
    --text-color: #2d3436;
    --text-light: #636e72;
    --anim-color-1: rgba(84, 53, 171, 0.8);
    --anim-color-2: rgba(65, 105, 158, 0.8);
    --anim-color-3: rgba(191, 87, 66, 0.8);
    --anim-color-4: rgba(22, 18, 45, 0.8);
    --anim-color-sparkle: rgba(255, 215, 0, 0.9);
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

main.banner {
    position: relative;
    z-index: 2;
}

/* Base shape styles */
.circle,
.square,
.triangle,
.pentagon,
.star,
.heart {
    position: absolute;
    opacity: 0.8;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    filter: blur(0.5px);
    box-shadow: 0 0 15px currentColor;
    will-change: transform;
}

/* Size Variations - Smaller than before */
.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.square {
    width: 90px;
    height: 90px;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

.pentagon {
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.star {
    width: 80px;
    height: 80px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%,
            79% 91%, 50% 70%, 21% 91%, 32% 57%,
            2% 35%, 39% 35%);
}

.heart {
    width: 100px;
    height: 100px;
    transform: rotate(-45deg);
}

.heart:before,
.heart:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.heart:before {
    top: -50px;
    left: 0;
}

.heart:after {
    top: 0;
    left: 50px;
}

.circle {
    background: var(--anim-color-1);
    color: var(--anim-color-1);
    animation-name: floatCircle;
    animation-duration: 20s;
}

.square {
    background: var(--anim-color-2);
    color: var(--anim-color-2);
    animation-name: floatSquare;
    animation-duration: 22s;
}

.triangle {
    border-bottom: 90px solid var(--anim-color-3);
    color: var(--anim-color-3);
    animation-name: floatTriangle;
    animation-duration: 18s;
}

.pentagon {
    background: var(--anim-color-4);
    color: var(--anim-color-4);
    animation-name: floatPentagon;
    animation-duration: 24s;
}

.star {
    background: var(--anim-color-sparkle);
    color: var(--anim-color-sparkle);
    animation-name: floatStar;
    animation-duration: 20s;
}

.heart {
    background: var(--anim-color-sparkle);
    color: var(--anim-color-sparkle);
    animation-name: floatHeart;
    animation-duration: 25s;
}

/* Sparkle particles - more visible */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--anim-color-sparkle);
    animation: sparkle 2.5s infinite ease-in-out;
    opacity: 0;
    box-shadow: 0 0 10px gold;
    will-change: transform, opacity;
}

@keyframes sparkle {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* Position and Animation - better coverage */
.shape-1 {
    top: 15%;
    left: 10%;
}

.shape-2 {
    top: 70%;
    left: 80%;
}

.shape-3 {
    top: 30%;
    left: 75%;
}

.shape-4 {
    top: 50%;
    left: 15%;
}

.shape-5 {
    top: 20%;
    left: 50%;
}

.shape-6 {
    top: 10%;
    left: 60%;
}

.shape-7 {
    top: 65%;
    left: 25%;
}

.shape-8 {
    top: 35%;
    left: 30%;
}

/* Floating animations with smooth easing and subtle rotation */
@keyframes floatCircle {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -20px) rotate(45deg);
    }

    50% {
        transform: translate(0, -40px) rotate(90deg);
    }

    75% {
        transform: translate(-30px, -20px) rotate(135deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes floatSquare {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-25px, 25px) rotate(-45deg);
    }

    50% {
        transform: translate(0, 50px) rotate(-90deg);
    }

    75% {
        transform: translate(25px, 25px) rotate(-135deg);
    }

    100% {
        transform: translate(0, 0) rotate(-360deg);
    }
}

@keyframes floatTriangle {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, -30px) rotate(180deg);
    }
}

@keyframes floatPentagon {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(0, 30px) scale(1.1) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes floatStar {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.8;
    }

    25% {
        transform: translate(15px, 15px) rotate(45deg) scale(1.1);
        opacity: 1;
    }

    50% {
        transform: translate(0, 30px) rotate(90deg) scale(1);
        opacity: 0.8;
    }

    75% {
        transform: translate(-15px, 15px) rotate(135deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) rotate(180deg) scale(1);
        opacity: 0.8;
    }
}

@keyframes floatHeart {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.85;
    }

    25% {
        transform: translate(-20px, 10px) rotate(-45deg) scale(1.05);
        opacity: 1;
    }

    50% {
        transform: translate(0, 20px) rotate(-90deg) scale(1);
        opacity: 0.85;
    }

    75% {
        transform: translate(20px, 10px) rotate(-135deg) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) rotate(-180deg) scale(1);
        opacity: 0.85;
    }
}

/* Enhanced shape styles for blank spaces */
.shape-blank-1,
.shape-blank-2,
.shape-blank-3,
.shape-blank-4,
.shape-blank-5 {
    position: absolute;
    opacity: 0.9;
    filter: blur(0.8px);
    box-shadow: 0 0 20px currentColor;
    z-index: 1;
    will-change: transform, opacity;
}

/* Special blank space shapes (slightly larger) */
.shape-blank-1 {
    width: 120px;
    height: 120px;
    background: var(--anim-color-1);
    border-radius: 50%;
    top: 25%;
    left: 25%;
    animation: floatBlank1 22s ease-in-out infinite;
}

.shape-blank-2 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 120px solid var(--anim-color-3);
    top: 60%;
    left: 75%;
    animation: floatBlank2 25s ease-in-out infinite;
}

.shape-blank-3 {
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%,
            79% 91%, 50% 70%, 21% 91%, 32% 57%,
            2% 35%, 39% 35%);
    background: var(--anim-color-sparkle);
    top: 40%;
    left: 65%;
    animation: floatBlank3 20s ease-in-out infinite;
}

.shape-blank-4 {
    width: 100px;
    height: 100px;
    background: var(--anim-color-2);
    top: 70%;
    left: 20%;
    animation: floatBlank4 18s ease-in-out infinite;
}

.shape-blank-5 {
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    background: var(--anim-color-4);
    top: 20%;
    left: 80%;
    animation: floatBlank5 24s ease-in-out infinite;
}

/* New animations for blank space elements */
@keyframes floatBlank1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translate(40px, -40px) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }
}

@keyframes floatBlank2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.9;
    }

    50% {
        transform: translate(-30px, 30px) rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.9;
    }
}

@keyframes floatBlank3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.9;
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes floatBlank4 {
    0% {
        transform: translate(0, 0);
        opacity: 0.9;
    }

    50% {
        transform: translate(30px, 0);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0);
        opacity: 0.9;
    }
}

@keyframes floatBlank5 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }

    50% {
        transform: translate(0, 30px) scale(1.05);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

nav h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ff9a9e, #fad0c4, #fad0c4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Banner Section */
.banner {
    padding: 3rem 1.5rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.banner-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.banner-box {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.banner-box:nth-child(1) {
    animation-delay: 0.1s;
}

.banner-box:nth-child(2) {
    animation-delay: 0.2s;
}

.banner-box:nth-child(3) {
    animation-delay: 0.3s;
}

.banner-box:nth-child(4) {
    animation-delay: 0.4s;
}

.banner-box:nth-child(5) {
    animation-delay: 0.5s;
}

.banner-box:nth-child(6) {
    animation-delay: 0.6s;
}

.banner-box:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.banner-box:hover .banner-title {
    color: var(--primary-color);
}

.banner-box.coming-soon::after {
    content: "Coming Soon";
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--accent-color);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.banner-title {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1rem 1rem 0.5rem;
    text-align: center;
    transition: color 0.3s ease;
}

.banner-description {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 0 1rem 1.5rem;
    text-align: center;
    font-weight: 300;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    nav h2 {
        font-size: 1.8rem;
    }

    .banner {
        padding: 2rem 1rem;
    }

    .banner-container {
        grid-template-columns: 1fr;
    }

    .circle,
    .square,
    .triangle,
    .pentagon,
    .star,
    .heart {
        display: none;
    }
}