/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: white;
    overflow-x: hidden;
}

/* =========================
   HEADER
========================= */
header {
    background: rgba(0,0,0,0.95);
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin-bottom: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding-top: 10px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #00ff88;
    transform: scale(1.1);
}

/* =========================
   MAIN
========================= */
main {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* =========================
   HERO SECTION (CRAZY ANIMATED)
========================= */
.hero {
    background-image: url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438");
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slowZoom 12s ease-in-out infinite alternate;
}

/* MOVING GLOW LAYER */
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(0,255,136,0.2),
        rgba(0,0,0,0.6),
        rgba(0,255,136,0.1)
    );
    animation: moveGlow 8s linear infinite;
    z-index: 1;
}

/* HERO TEXT */
.hero-text {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    padding: 30px;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* =========================
   BUTTON
========================= */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #00ff88;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 20px rgba(0,255,136,0.3);
}

/* SHINE EFFECT */
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn:hover::after {
    left: 200%;
}

/* =========================
   CARD DESIGN
========================= */
.card {
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    text-align: center;
    margin: 20px 0;

    opacity: 0;
    transform: translateY(40px);
    animation: floatIn 1s ease forwards;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,255,136,0.2);
}

.card h2, .card h3 {
    margin: 15px 0;
}

.card p {
    padding: 10px 15px;
    color: #ccc;
}

/* =========================
   IMAGES
========================= */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* =========================
   GRID SYSTEM
========================= */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px 0;
}

.grid .card {
    width: 300px;
    min-height: 350px;
}

/* =========================
   BANNER
========================= */
.banner {
    background: #00ff88;
    color: black;
    text-align: center;
    padding: 40px;
    margin-top: 30px;
    font-size: 1.5em;
    font-weight: bold;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 20px;
    background: black;
    margin-top: 30px;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes moveGlow {
    0% {
        transform: translate(-25%, -25%);
    }
    50% {
        transform: translate(0%, 0%);
    }
    100% {
        transform: translate(-25%, -25%);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

/* =========================
   SMOOTH SCROLL
========================= */
html {
    scroll-behavior: smooth;
}

.creator {
    color: #00ff88;
    font-size: 14px;
    margin-top: 5px;
}