
/* =====================================================
   EDITSTART GLOBAL
   BLACK / WHITE / ELECTRIC RED
===================================================== */

:root {
    --black: #070707;
    --black-2: #0d0d0e;

    --surface: #141416;
    --surface-2: #1b1b1d;

    --white: #f7f7f7;
    --muted: #99999f;

    --red: #ff1744;
    --red-bright: #ff2f55;
    --red-dark: #c90032;

    --border: rgba(255, 255, 255, 0.09);
    --border-red: rgba(255, 23, 68, 0.35);
}


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    min-height: 100vh;

    font-family: "Inter", sans-serif;
    color: var(--white);

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(255, 23, 68, 0.09),
            transparent 35%
        ),
        radial-gradient(
            circle at 100% 55%,
            rgba(255, 23, 68, 0.035),
            transparent 30%
        ),
        var(--black);

    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--red);
    color: white;
}


/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4 {
    line-height: 1.15;
    letter-spacing: -1px;
}

h1 {
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 800;
}

h2 {
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 800;
}

h3 {
    font-size: 20px;
    font-weight: 700;
}

p {
    color: var(--muted);
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    width: fit-content;
    max-width: calc(100% - 30px);

    min-height: 62px;

    margin: 16px auto 0;
    padding: 0 10px 0 20px;

    display: flex;
    align-items: center;

    gap: 20px;

    position: sticky;
    top: 16px;

    z-index: 1000;

    background: rgba(12, 12, 13, 0.88);

    border: 1px solid var(--border);
    border-radius: 16px;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    color: white;

    text-decoration: none;

    font-size: 19px;
    font-weight: 800;

    letter-spacing: -1px;

    white-space: nowrap;
}

.logo span {
    color: var(--red);
}


/* =====================================================
   NAV LINKS
===================================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-links a {
    position: relative;

    padding: 8px 11px;

    color: #94949a;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    border-radius: 9px;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.nav-links a:hover {
    color: white;

    background:
        rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: white;
}

.nav-links a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 18px;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 10px;

    background: var(--red);

    box-shadow:
        0 0 12px rgba(255, 23, 68, 0.45);

    animation:
        indicatorIn 0.35s ease;
}

@keyframes indicatorIn {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 18px;
        opacity: 1;
    }
}


/* =====================================================
   MAIN
===================================================== */

main {
    width: calc(100% - 48px);

    max-width: none;

    margin: 0 auto;

    overflow: hidden;
}


/* =====================================================
   BUTTON
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 20px;

    color: white;

    background: var(--red);

    border: 1px solid var(--red);
    border-radius: 11px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 10px 30px rgba(255, 23, 68, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.btn:hover {
    transform: translateY(-4px);

    filter: brightness(1.1);

    box-shadow:
        0 15px 35px rgba(255, 23, 68, 0.25);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 650px;

    padding: 100px 20px 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    top: -130px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(255, 23, 68, 0.20),
            rgba(255, 23, 68, 0.08) 35%,
            transparent 70%
        );

    filter: blur(35px);

    animation:
        heroFlood 6s ease-in-out infinite;

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 1000px;
    height: 300px;

    left: 50%;
    bottom: -230px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(255, 23, 68, 0.15),
            transparent 70%
        );

    filter: blur(50px);

    animation:
        heroFloodBottom 5s ease-in-out infinite;

    pointer-events: none;
}

@keyframes heroFlood {
    0%,
    100% {
        transform:
            translateX(-50%)
            scale(0.85);

        opacity: 0.5;
    }

    50% {
        transform:
            translateX(-50%)
            scale(1.2);

        opacity: 1;
    }
}

@keyframes heroFloodBottom {
    0%,
    100% {
        transform:
            translateX(-50%)
            scaleX(0.7);

        opacity: 0.3;
    }

    50% {
        transform:
            translateX(-50%)
            scaleX(1.2);

        opacity: 0.8;
    }
}

.hero-content {
    max-width: 850px;

    position: relative;

    z-index: 5;

    animation:
        heroEnter 1s ease both,
        heroFloat 6s ease-in-out infinite 1s;
}

@keyframes heroEnter {
    from {
        opacity: 0;

        transform:
            translateY(35px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

@keyframes heroFloat {
    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-7px);
    }
}


/* =====================================================
   HERO LABELS
===================================================== */

.hero-label,
.section-label {
    color: var(--red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.5px;
}

.hero h1 {
    margin: 20px 0;

    letter-spacing: -3px;
}

.hero p {
    max-width: 620px;

    margin: auto;

    font-size: 16px;
}


/* =====================================================
   GRADIENT TEXT
===================================================== */

.gradient-text {
    background:
        linear-gradient(
            90deg,
            var(--red-dark),
            var(--red),
            var(--red-bright),
            var(--red),
            var(--red-dark)
        );

    background-size: 300% auto;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation:
        gradientMove 5s linear infinite;
}

@keyframes gradientMove {
    from {
        background-position: 0% center;
    }

    to {
        background-position: 300% center;
    }
}


/* =====================================================
   HERO ACTIONS
===================================================== */

.hero-actions {
    margin-top: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;
}

.hero-secondary {
    color: #aaa;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.hero-secondary:hover {
    color: var(--red);

    transform:
        translateX(4px);
}


/* =====================================================
   GENERIC SEARCH
===================================================== */

.search-section {
    width: min(
        780px,
        calc(100% - 30px)
    );

    margin:
        -10px auto 130px;

    position: relative;

    z-index: 10;
}

.search-box {
    width: 100%;

    min-height: 62px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 0 18px;

    background:
        rgba(20, 20, 21, 0.94);

    border:
        1px solid var(--border);

    border-radius: 15px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.search-box:hover {
    transform:
        translateY(-2px);

    border-color:
        var(--border-red);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(255, 23, 68, 0.08);
}

.search-box:focus-within {
    border-color:
        rgba(255, 23, 68, 0.35);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(255, 23, 68, 0.08);
}

.search-box span {
    color: var(--red);

    font-size: 24px;

    flex-shrink: 0;
}

.search-box input {
    flex: 1;

    min-width: 0;

    border: none;
    outline: none;

    color: white;

    background:
        transparent;

    font-size: 14px;
}

.search-box input::placeholder {
    color: #777;
}

.search-box kbd {
    padding: 5px 8px;

    color: #777;

    border:
        1px solid #333;

    border-radius: 6px;

    font-size: 10px;
}


/* =====================================================
   BREADCRUMB
===================================================== */

.breadcrumb {
    width: min(1250px, calc(100% - 20px));

    margin: 40px auto 0;

    display: flex;
    align-items: center;

    gap: 9px;

    color: #66666d;

    font-size: 10px;
    font-weight: 600;
}

.breadcrumb a {
    color: #88888f;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: #44444a;
}


/* =====================================================
   GENERIC SECTION
===================================================== */

.section {
    width: min(1250px, 100%);

    margin: 0 auto;

    padding: 100px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header p {
    max-width: 600px;

    margin-top: 12px;

    font-size: 14px;
}


/* =====================================================
   CARDS
===================================================== */

.card {
    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius: 16px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(255, 23, 68, 0.28);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    width: calc(100% - 48px);

    margin:
        100px auto 0;

    padding:
        55px 0 45px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    text-align: center;
}

.footer p {
    color: #5f5f65;

    font-size: 11px;
}


/* =====================================================
   RESPONSIVE NAVIGATION
===================================================== */

@media (max-width: 800px) {

    .navbar {
        max-width: calc(100% - 20px);

        padding:
            0 8px 0 14px;

        gap: 10px;

        overflow-x: auto;
    }

    .nav-links {
        flex-shrink: 0;
    }

    .nav-links a {
        padding:
            8px 8px;

        font-size: 11px;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 700px) {

    main {
        width:
            calc(100% - 34px);
    }

    .hero {
        min-height: 570px;

        padding:
            80px 10px 70px;
    }

    .hero h1 {
        letter-spacing: -2.5px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;

        gap: 15px;
    }

    .search-section {
        width:
            calc(100% - 20px);

        margin-bottom: 90px;
    }

    .search-box {
        min-height: 58px;

        padding:
            0 14px;
    }

    .search-box input {
        font-size: 13px;
    }

    .breadcrumb {
        width: 100%;

        margin-top: 30px;

        overflow-x: auto;

        white-space: nowrap;
    }

    .section {
        padding:
            75px 0;
    }

    .footer {
        width:
            calc(100% - 34px);

        margin-top:
            80px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .navbar {
        min-height: 58px;

        margin-top: 10px;

        top: 10px;

        border-radius: 14px;
    }

    .logo {
        font-size: 17px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding:
            7px 6px;

        font-size: 10px;
    }

    .hero {
        padding:
            70px 5px 60px;
    }

    .hero h1 {
        font-size:
            clamp(42px, 14vw, 62px);

        letter-spacing: -3px;
    }

    .hero-label,
    .section-label {
        font-size: 9px;

        letter-spacing: 2px;
    }

    .search-box {
        gap: 10px;

        padding:
            0 12px;
    }

    .search-box span {
        font-size: 20px;
    }

    .search-box input {
        font-size: 12px;
    }

}
.thumbnail-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}

.thumbnail-wrap img,
.thumbnail-wrap .preview-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-wrap .preview-video {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tutorial-card:hover .preview-video {
    opacity: 1;
}

.tutorial-card:hover .thumbnail-wrap img {
    opacity: 0;
}
.trending-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 140px;
}

.trending-header {
    width: min(1200px, 90%);
    margin: 0 auto 65px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.trending-header h2 {
    margin: 0;
}

/* =====================================================
   TUTORIAL WALL
===================================================== */

.trending-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 140px;
}

.trending-header {
    width: min(1200px, 90%);
    margin: 0 auto 65px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.trending-header h2 {
    margin: 0;
}


/* =====================================================
   MOVING WALL
===================================================== */

.popular-slider {
    position: relative;

    width: calc(100% - 240px);
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 18px;

    transform: rotate(-1.5deg);

    --site-background: var(--black);
}


/* =====================================================
   FEATHERED EDGES
===================================================== */

.popular-slider::before,
.popular-slider::after {
    content: "";

    position: absolute;

    top: -40%;
    bottom: -40%;

    width: 190px;

    z-index: 20;
    pointer-events: none;
}

.popular-slider::before {
    left: -1px;

    background: linear-gradient(
        to right,
        var(--site-background) 0%,
        var(--site-background) 25%,
        transparent 100%
    );
}

.popular-slider::after {
    right: -1px;

    background: linear-gradient(
        to left,
        var(--site-background) 0%,
        var(--site-background) 25%,
        transparent 100%
    );
}


/* =====================================================
   ROWS
===================================================== */

.popular-track {
    display: flex;
    width: max-content;
    gap: 16px;

    will-change: transform;
}


/* TOP → RIGHT */

.popular-top {
    animation:
        popularMoveRight 38s linear infinite;
}


/* BOTTOM → LEFT */

.popular-bottom {
    animation:
        popularMoveLeft 42s linear infinite;
}


/* =====================================================
   CARDS
===================================================== */

.popular-card {
    position: relative;

    width: 330px;
    height: 205px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 16px;

    background: var(--surface);

    text-decoration: none;
    color: white;
}


/* =====================================================
   THUMBNAIL
===================================================== */

.popular-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 1;
    visibility: visible;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}


/* =====================================================
   DARK OVERLAY
===================================================== */

.popular-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88),
        rgba(0, 0, 0, 0.08) 65%
    );

    pointer-events: none;
}


/* =====================================================
   TITLE
===================================================== */

.popular-title {
    position: absolute;

    left: 16px;
    bottom: 14px;

    z-index: 2;
}

.popular-title strong {
    font-size: 17px;
    line-height: 1.1;
}


/* =====================================================
   HOVER
   ANIMATION DOES NOT STOP
===================================================== */

.popular-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.72);
}


/* =====================================================
   ANIMATION
===================================================== */

@keyframes popularMoveRight {

    from {
        transform: translateX(-20%);
    }

    to {
        transform: translateX(0);
    }

}

@keyframes popularMoveLeft {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-20%);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .trending-section {
        padding: 75px 0 100px;
    }

    .trending-header {
        width: calc(100% - 20px);
        margin-bottom: 45px;
    }

    .popular-slider {
        width: calc(100% - 100px);
        margin: 0 auto;

        gap: 12px;

        transform: rotate(-1deg);
    }

    .popular-track {
        gap: 12px;
    }

    .popular-card {
        width: 245px;
        height: 155px;

        border-radius: 13px;
    }

    .popular-title {
        left: 11px;
        bottom: 10px;
    }

    .popular-title strong {
        font-size: 14px;
    }

    .popular-slider::before,
    .popular-slider::after {
        width: 70px;
    }

}

/* =====================================================
   RECENTLY ADDED TUTORIALS
===================================================== */

.few-tutorials {
    position: relative;

    /* FULL SCREEN WIDTH - 2 INCH SIDE INSET */
    width: calc(100% - 4in);

    margin: 0 auto;

    padding: 100px 0 120px;
}


/* HEADER */

.few-tutorials-header {
    margin-bottom: 45px;
}

.few-tutorials-header h2 {
    margin: 0;
}

.few-tutorials-intro {
    margin: 10px 0 0;

    color: var(--home-muted);

    font-size: 15px;
}


/* =====================================================
   TUTORIAL CARDS
===================================================== */

.tutorial-preview-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* CARD */

.tutorial-preview-card {
    position: relative;

    display: block;

    overflow: hidden;

    border-radius: 16px;

    background: var(--home-surface);

    color: var(--home-white);

    text-decoration: none;

    border: 1px solid var(--home-border);

    transition:
        transform .3s ease,
        border-color .3s ease;
}


/* IMAGE */

.tutorial-preview-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.tutorial-preview-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease,
        filter .4s ease;
}


/* CARD INFORMATION */

.tutorial-preview-info {
    position: relative;

    padding: 22px 22px 24px;
}


/* CATEGORY */

.tutorial-preview-category {
    display: block;

    margin-bottom: 7px;

    color: var(--electric-red);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .12em;
}


/* TITLE */

.tutorial-preview-info h3 {
    margin: 0;

    padding-right: 30px;

    font-size: 20px;

    line-height: 1.15;
}


/* ARROW */

.tutorial-preview-arrow {
    position: absolute;

    right: 18px;
    bottom: 18px;

    font-size: 20px;

    transition:
        transform .3s ease,
        color .3s ease;
}


/* HOVER */

.tutorial-preview-card:hover {
    transform: translateY(-5px);

    border-color: var(--home-border-strong);
}

.tutorial-preview-card:hover img {
    transform: scale(1.06);
}

.tutorial-preview-card:hover .tutorial-preview-arrow {
    transform: translate(3px, -3px);

    color: var(--electric-red);
}


/* =====================================================
   VIEW ALL BUTTON
===================================================== */

.tutorial-preview-footer {
    display: flex;

    justify-content: center;

    margin-top: 42px;
}

.view-all-tutorials {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 14px 24px;

    border: 1px solid var(--home-border);

    border-radius: 999px;

    background: var(--home-surface);

    color: var(--home-white);

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.view-all-tutorials span {
    font-size: 18px;

    transition:
        transform .25s ease;
}

.view-all-tutorials:hover {
    background: var(--electric-red);

    border-color: var(--electric-red);

    transform: translateY(-2px);
}

.view-all-tutorials:hover span {
    transform: translateX(4px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .few-tutorials {
        width: calc(100% - 100px);
    }

    .tutorial-preview-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .few-tutorials {
        width: calc(100% - 36px);

        padding: 75px 0 90px;
    }

    .few-tutorials-header {
        margin-bottom: 30px;
    }

    .tutorial-preview-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .tutorial-preview-info h3 {
        font-size: 17px;
    }

}

/* =====================================================
   CATEGORY CARDS — FULL IMAGE + BLACK FADE
===================================================== */

.cat-card {
    position: relative;
    min-height: 230px;

    overflow: hidden;
    border-radius: 18px;

    background: #111;

    color: white;
    text-decoration: none;

    border: 1px solid rgba(255,255,255,.08);

    transition:
        transform .3s ease,
        border-color .3s ease;
}


/* =====================================================
   FULL THUMBNAIL
===================================================== */

.cat-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease,
        filter .45s ease;
}


/* =====================================================
   BLACK GRADIENT / FEATHER
===================================================== */

.cat-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .95) 0%,
        rgba(0, 0, 0, .75) 25%,
        rgba(0, 0, 0, .35) 50%,
        rgba(0, 0, 0, .08) 75%,
        rgba(0, 0, 0, 0) 100%
    );

    pointer-events: none;
}


/* =====================================================
   TEXT PANEL
===================================================== */

.cat-card-content {
    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 2;

    padding: 11px 15px 12px;

    border-radius: 11px;

    background: rgba(0, 0, 0, .58);

    border: 1px solid rgba(255,255,255,.10);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    box-shadow:
        0 8px 25px rgba(0,0,0,.35);
}


/* =====================================================
   CATEGORY LABEL
===================================================== */

.cat-card-content span {
    display: block;

    margin-bottom: 5px;

    color: var(--electric-red);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .12em;
}


/* =====================================================
   TITLE
===================================================== */

.cat-card-content h3 {
    margin: 0;

    color: #fff;

    font-size: 22px;
    line-height: 1.05;

    text-shadow:
        0 2px 10px rgba(0,0,0,.7);
}


/* =====================================================
   ARROW
===================================================== */

.cat-card-arrow {
    position: absolute;

    right: 18px;
    bottom: 18px;

    z-index: 3;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0,0,0,.58);

    border: 1px solid rgba(255,255,255,.12);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    font-size: 18px;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}


/* =====================================================
   HOVER
===================================================== */

.cat-card:hover {
    transform: translateY(-5px);

    border-color: var(--home-border-strong);
}

.cat-card:hover img {
    transform: scale(1.07);

    filter: brightness(.78);
}

.cat-card:hover .cat-card-arrow {
    transform: translate(3px, -3px);

    background: var(--electric-red);

    color: white;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .cat-card {
        min-height: 200px;
    }

    .cat-card-content {
        left: 14px;
        bottom: 14px;

        padding: 9px 12px 10px;
    }

    .cat-card-content h3 {
        font-size: 19px;
    }

    .cat-card-arrow {
        right: 14px;
        bottom: 14px;

        width: 34px;
        height: 34px;
    }

}
.memory-preview {
    overflow: hidden;
}

.memory-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.levels-section {
    padding: 80px 0;
}

.levels-header {
    margin-bottom: 35px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e00000;
}

.levels-header h2 {
    margin: 8px 0;
    font-size: 36px;
}

.levels-header p {
    color: #888;
    margin: 0;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.level-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: #111;
    border: 1px solid #222;
    border-radius: 14px;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.level-card:hover {
    transform: translateY(-4px);
    border-color: #e00000;
}

.level-number {
    font-size: 13px;
    font-weight: 700;
    color: #e00000;
}

.level-content {
    flex: 1;
}

.level-content h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.level-content p {
    margin: 0;
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

.level-arrow {
    font-size: 22px;
    color: #fff;
}
.effects-section {
    width: min(1400px, calc(100% - 160px));
    margin: 0 auto;
    padding: 80px 0 110px;
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.effect-card {
    border-radius: 16px;
}

.effect-preview {
    height: 190px;
}

.effect-content {
    padding: 20px 21px 22px;
}

.effect-content h3 {
    font-size: 21px;
}

.effect-content p {
    margin: 9px 0 18px;
    font-size: 13px;
}

.effect-top {
    margin-bottom: 13px;
}

.effect-arrow {
    width: 32px;
    height: 32px;
}
.chill-preview {
    overflow: hidden;
}

.chill-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
