/* ------------------------------
   COSMIC BACKGROUND
------------------------------ */
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #0a0a0a, #000);
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* ------------------------------
   HEADER
------------------------------ */
.cosmic-header {
    text-align: center;
    padding: 5rem 2rem 3rem;
}

.cosmic-header h1 {
    font-size: 6rem;
    font-weight: 700;
    color: gold;
    letter-spacing: 0.3rem;
    text-shadow: 0 0 25px gold;
    position: relative;
}

.cosmic-header h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: rgba(255, 215, 0, 0.15);
    filter: blur(15px);
    z-index: -1;
}

.tagline {
    font-size: 2rem;
    margin-top: 1rem;
    color: #ccc;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* ------------------------------
   GALLERY GRID
------------------------------ */
.cosmic-gallery {
    width: 90%;
    margin: auto;
    columns: 3 300px;
    column-gap: 2rem;
}

.cosmic-item {
    margin-bottom: 2rem;
    break-inside: avoid;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
}

.cosmic-item img {
    width: 100%;
    display: block;
    border-radius: 1rem;
    filter: brightness(0.85);
    transition: .4s ease;
}

/* Hover effect */
.cosmic-item:hover img {
    transform: scale(1.07);
    filter: brightness(1);
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.4);
}

/* ------------------------------
   FOOTER
------------------------------ */
.cosmic-footer {
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 4rem;
    color: #aaa;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
    .cosmic-header h1 {
        font-size: 4rem;
    }
    .cosmic-gallery {
        columns: 2 200px;
    }
}

@media (max-width: 480px) {
    .cosmic-header h1 {
        font-size: 3rem;
    }
    .cosmic-gallery {
        columns: 1 200px;
    }
}