* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Poppins, Arial, sans-serif;
    background: #100b1f;
    color: #fff;
    line-height: 1.65
}

a {
    color: inherit;
    text-decoration: none
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6%;
    background: rgba(16, 11, 31, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(168, 85, 247, .25)
}

.logo {
    font-family: Orbitron, sans-serif;
    font-weight: 700
}

.logo .m {
    color: #a855f7
}

.logo .a {
    color: #ec4899
}

.logo .f {
    color: #38bdf8
}

.menu {
    display: flex;
    gap: 22px;
    color: #d7d0e5;
    font-size: 14px
}

.menu a:hover,
.menu a.active {
    color: #ec4899
}

.menu-button {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px
}

.hero {
    min-height: 460px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 6%;
    background: radial-gradient(circle at 20% 25%, rgba(124, 58, 237, .38), transparent 34%), radial-gradient(circle at 80% 70%, rgba(236, 72, 153, .25), transparent 34%), #100b1f
}

.hero-inner {
    max-width: 850px
}

.icon {
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, .35))
}

.eyebrow {
    font-size: 13px;
    letter-spacing: .2em;
    color: #c4b5fd;
    font-weight: 700
}

.hero h1 {
    font-family: Orbitron, sans-serif;
    font-size: clamp(34px, 6vw, 64px);
    margin: 10px 0 18px
}

.hero h1 span {
    background: linear-gradient(90deg, #a855f7, #ec4899, #38bdf8);
  
    color: transparent
}

.hero p {
    max-width: 680px;
    margin: auto;
    color: #d7d0e5
}

.section {
    padding: 72px 6%
}

.section-head {
    max-width: 1100px;
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px
}

.section-head h2 {
    font-family: Orbitron, sans-serif;
    font-size: 28px
}

.search {
    width: min(330px, 100%);
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #1b1430;
    color: #fff
}

.filters {
    max-width: 1100px;
    margin: 0 auto 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.filter {
    border: 1px solid rgba(255, 255, 255, .13);
    background: #1b1430;
    color: #ddd3ec;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer
}

.filter.active,
.filter:hover {
    background: linear-gradient(90deg, #7c3aed, #db2777);
    color: #fff
}

.grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    background: #181127;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    overflow: hidden;
    transition: .25s
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(124, 58, 237, .18)
}

.thumb {
    height: 170px;
    display: grid;
    place-items: center;
    font-size: 54px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .28), rgba(236, 72, 153, .18))
}

.content {
    padding: 22px
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #c4b5fd;
    margin-bottom: 9px
}

.content h3 {
    font-size: 19px;
    margin-bottom: 8px
}

.content p {
    font-size: 14px;
    color: #bdb5cb
}

.read {
    display: inline-block;
    margin-top: 15px;
    color: #f0abfc;
    font-weight: 600
}

.empty {
    grid-column: 1/-1;
    text-align: center;
    color: #bdb5cb;
    padding: 30px
}

.cta {
    margin-top: 60px;
    text-align: center;
    padding: 50px 6%;
    background: linear-gradient(135deg, rgba(124, 58, 237, .2), rgba(236, 72, 153, .14))
}

.cta h2 {
    font-family: Orbitron, sans-serif;
    margin-bottom: 10px
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(90deg, #7c3aed, #db2777);
    font-weight: 700
}

.footer {
    text-align: center;
    padding: 35px 6%;
    color: #a9a0b8;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

@media(max-width:850px) {
    .menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #100b1f;
        padding: 20px 6%;
        border-bottom: 1px solid rgba(255, 255, 255, .1)
    }

    .menu.open {
        display: flex
    }

    .menu-button {
        display: block
    }

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .section-head {
        align-items: stretch;
        flex-direction: column
    }
}

@media(max-width:560px) {
    .grid {
        grid-template-columns: 1fr
    }

    .hero {
        min-height: 390px
    }

    .section {
        padding: 55px 5%
    }
}