/* =========================================================
   DIYOFX — PREMIUM RESPONSIVE SYSTEM
   Black / Silver / White
========================================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #050505;
    color: #f5f5f5;

    line-height: 1.5;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 12px;
    z-index: 1000;

    width: calc(100% - 24px);
    height: 68px;

    margin: 0 12px;

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

    padding: 0 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;

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

    box-shadow:
        0 10px 35px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.055);

    overflow: hidden;
}

.header::before {
    content: "";

    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.22),
            transparent
        );

    pointer-events: none;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 12px;

    color: #fff;

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

    letter-spacing: -0.5px;
}

.brand img {
    width: 48px;
    height: 48px;

    object-fit: cover;

    border-radius: 50%;

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

    box-shadow:
        0 0 14px rgba(255,255,255,.15),
        0 0 30px rgba(255,255,255,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.brand:hover img {
    transform: scale(1.05);

    box-shadow:
        0 0 18px rgba(255,255,255,.28),
        0 0 35px rgba(255,255,255,.10);
}

/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 8px;
}


/* =========================================================
   CART
========================================================= */

.cart-btn {
    width: 44px;
    height: 44px;

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

    border: 1px solid transparent;
    border-radius: 13px;

    background: transparent;

    color: #bfc0c2;

    cursor: pointer;

    font-size: 20px;

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

.cart-btn:hover {
    color: #fff;

    background: rgba(255,255,255,.06);

    border-color: rgba(255,255,255,.12);

    box-shadow:
        0 0 20px rgba(255,255,255,.06);
}

.cart-btn:active {
    transform: scale(.92);
}


/* =========================================================
   MENU
========================================================= */

.menu-btn {
    position: relative;

    width: 48px;
    height: 48px;

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

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.085),
            rgba(255,255,255,.025)
        );

    color: #eeeeee;

    cursor: pointer;

    font-size: 22px;

    box-shadow:
        0 0 0 1px rgba(255,255,255,.025),
        0 7px 22px rgba(0,0,0,.35),
        0 0 22px rgba(255,255,255,.055);

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

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

.menu-btn::before {
    content: "";

    position: absolute;
    inset: 1px;

    border-radius: 13px;

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

    pointer-events: none;
}

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

    border-color: rgba(255,255,255,.28);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.13),
            rgba(255,255,255,.045)
        );

    box-shadow:
        0 10px 28px rgba(0,0,0,.42),
        0 0 28px rgba(255,255,255,.12);
}

.menu-btn:active {
    transform: scale(.93);
}

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

.hero {
    position: relative;

    min-height: 860px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(480px, .9fr);

    align-items: center;

    gap: 40px;

    padding:
        90px
        clamp(40px, 8vw, 120px);

    overflow: hidden;
}


/* =========================================================
   HERO BACKGROUND GLOW
========================================================= */

.hero-bg-glow {
    position: absolute;

    width: 620px;
    height: 620px;

    right: 5%;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025) 40%,
            transparent 72%
        );

    filter: blur(90px);

    pointer-events: none;

    animation:
        heroGlow 7s ease-in-out infinite;
}

@keyframes heroGlow {

    0%,
    100% {
        transform:
            translateY(-50%)
            scale(1);

        opacity: .55;
    }

    50% {
        transform:
            translateY(-50%)
            scale(1.1);

        opacity: .85;
    }
}


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

.hero-content {
    position: relative;

    z-index: 5;

    max-width: 650px;
}

.hero-brand {
    display: block;

    margin-bottom: 24px;

    color: #bcbcbc;

    font-size: 15px;
    font-weight: 500;

    letter-spacing: 3px;

    text-shadow:
        0 0 20px rgba(255,255,255,.12);
}


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

.hero h1 {
    margin: 0;

    color: #f5f5f5;

    font-size:
        clamp(
            58px,
            6vw,
            94px
        );

    font-weight: 700;

    line-height: .96;

    letter-spacing: -3px;

    text-shadow:
        0 0 35px rgba(255,255,255,.08);
}

.hero h1 span {
    color: #737373;

    text-shadow:
        0 0 18px rgba(255,255,255,.08);
}


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

.hero p {
    max-width: 600px;

    margin-top: 30px;

    color: #969696;

    font-size: 20px;

    line-height: 1.7;

    font-weight: 400;
}


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

.hero-actions {
    display: flex;

    gap: 16px;

    width: 100%;
    max-width: 650px;

    margin-top: 38px;
}

.hero-actions a {
    flex: 1;

    min-height: 66px;

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

    padding: 0 26px;

    border-radius: 20px;

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

    letter-spacing: .1px;

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

/* PRIMARY */

.primary-btn {
    color: #080808;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #d7d7d7
        );

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

    box-shadow:
        0 12px 35px rgba(255,255,255,.08),
        inset 0 1px 0 rgba(255,255,255,.95);
}

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

    box-shadow:
        0 18px 45px rgba(255,255,255,.15),
        0 0 30px rgba(255,255,255,.08);
}


/* SECONDARY */

.secondary-btn {
    color: #f2f2f2;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );

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

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

    box-shadow:
        0 10px 30px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.06);
}

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

    border-color:
        rgba(255,255,255,.32);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.11),
            rgba(255,255,255,.04)
        );

    box-shadow:
        0 15px 40px rgba(255,255,255,.07);
}

.hero-actions a:active {
    transform: scale(.98);
}


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

.hero-visual {
    position: relative;

    min-height: 560px;

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

    z-index: 3;
}

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

.hero-logo-glow {
    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.18),
            rgba(255,255,255,.04) 42%,
            transparent 70%
        );

    filter: blur(35px);

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

    pointer-events: none;
}

@keyframes logoGlow {

    0%,
    100% {
        transform: scale(.96);
        opacity: .55;
    }

    50% {
        transform: scale(1.08);
        opacity: .85;
    }
}


/* =========================================================
   MAIN HERO LOGO
========================================================= */

.hero-logo {
    position: relative;

    width: 350px;
    height: 350px;

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

    border-radius: 50%;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            #151515 0%,
            #050505 68%
        );

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

    box-shadow:
        0 0 0 1px rgba(255,255,255,.05),
        0 0 55px rgba(255,255,255,.10),
        inset 0 0 55px rgba(255,255,255,.035);

    animation:
        logoFloat 5s ease-in-out infinite;
}

.hero-logo img {
    width: 72%;
    height: 72%;

    object-fit: contain;

    filter:
        drop-shadow(0 0 12px rgba(255,255,255,.55))
        drop-shadow(0 0 35px rgba(255,255,255,.18));
}


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

.logo-shine {
    position: absolute;

    top: -30%;
    left: -80%;

    width: 45%;
    height: 160%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.3),
            transparent
        );

    transform: rotate(25deg);

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

    pointer-events: none;
}

@keyframes logoShine {

    0% {
        left: -80%;
    }

    45%,
    100% {
        left: 140%;
    }
}

/* =========================================================
   ORBIT RINGS
========================================================= */

.hero-orbit {
    position: absolute;

    width: 410px;
    height: 410px;

    border-radius: 50%;

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

    animation:
        orbitRotate 18s linear infinite;
}

.hero-orbit::before {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 18px;
    left: 50%;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 12px #fff,
        0 0 25px rgba(255,255,255,.55);
}

.hero-orbit-small {
    width: 465px;
    height: 465px;

    border-color:
        rgba(255,255,255,.055);

    animation:
        orbitRotate 25s linear infinite reverse;
}

.hero-orbit-small::before {
    width: 4px;
    height: 4px;

    top: auto;
    bottom: 25px;

    box-shadow:
        0 0 10px #fff;
}

@keyframes orbitRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes logoFloat {

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

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


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

.hero-code {
    position: absolute;

    bottom: 35px;

    color: #686868;

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

    letter-spacing: 5px;
}


/* =========================================================
   STUDIO
========================================================= */

.studio {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;

    padding:
        130px
        clamp(38px, 8vw, 120px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(255,255,255,.055),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #090909,
            #0d0d0d
        );

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

    border-bottom:
        1px solid rgba(255,255,255,.045);
}

.studio::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    background:
        rgba(255,255,255,.055);

    filter: blur(110px);

    pointer-events: none;
}

.studio::after {
    content: "";

    position: absolute;

    left: 8%;
    right: 8%;

    top: 50%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.08),
            transparent
        );

    pointer-events: none;
}

.studio-content {
    position: relative;

    z-index: 2;

    max-width: 900px;
}

.studio-label {
    display: block;

    margin-bottom: 22px;

    color: #8d8d8d;

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

    letter-spacing: 5px;

    text-transform: uppercase;
}

.studio-content h2 {
    color: #f5f5f5;

    font-size:
        clamp(
            48px,
            7vw,
            92px
        );

    font-weight: 700;

    line-height: 1;

    letter-spacing: -3px;

    text-shadow:
        0 0 30px rgba(255,255,255,.07);
}

.studio-content p {
    max-width: 650px;

    margin-top: 28px;

    color: #858585;

    font-size: 21px;

    line-height: 1.7;
}


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

.studio-cards {
    margin-top: 55px;

    display: grid;

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

    gap: 20px;
}

.studio-card {
    position: relative;

    min-height: 230px;

    display: flex;
    align-items: center;

    gap: 22px;

    padding: 30px 26px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.015)
        );

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

    border-radius: 24px;

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

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 20px 50px rgba(0,0,0,.35);

    overflow: hidden;

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

.studio-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -70px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    filter: blur(45px);

    pointer-events: none;
}

.card-number {
    align-self: flex-start;

    color:
        rgba(255,255,255,.4);

    font-size: 11px;

    letter-spacing: 3px;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    margin-bottom: 7px;

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

    letter-spacing: -.7px;
}

.card-info p {
    color:
        rgba(255,255,255,.48);

    font-size: 16px;

    line-height: 1.5;
}

.card-arrow {
    color:
        rgba(255,255,255,.65);

    font-size: 28px;

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

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

    border-color:
        rgba(255,255,255,.28);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 25px 60px rgba(0,0,0,.5);
}

.studio-card:hover .card-arrow {
    transform: translateX(7px);

    color: #fff;
}


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

.footer {
    position: relative;

    margin-top: 0;

    padding:
        100px
        clamp(38px, 8vw, 120px)
        35px;

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

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255,255,255,.06),
            transparent 45%
        ),
        #050505;

    overflow: hidden;
}

.footer::before {
    content: "";

    position: absolute;

    top: -80px;
    left: 50%;

    width: 260px;
    height: 140px;

    transform: translateX(-50%);

    background:
        rgba(255,255,255,.08);

    filter: blur(70px);

    pointer-events: none;
}

.footer-brand {
    position: relative;

    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius: 50%;

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

    box-shadow:
        0 0 20px rgba(255,255,255,.14);
}

.footer-brand h3 {
    margin: 18px 0 5px;

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

    letter-spacing: -.5px;
}

.footer-brand p {
    color:
        rgba(255,255,255,.4);

    font-size: 13px;

    letter-spacing: 2px;
}

.footer-links {
    position: relative;

    z-index: 1;

    display: flex;
    flex-wrap: wrap;

    gap: 14px 28px;

    margin-top: 48px;
}

.footer-links a,
.footer-socials a {
    color:
        rgba(255,255,255,.55);

    font-size: 14px;

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

.footer-links a:hover,
.footer-socials a:hover {
    color: #fff;
}

.footer-socials {
    position: relative;

    z-index: 1;

    display: flex;

    gap: 26px;

    margin-top: 30px;
}

.footer-bottom {
    position: relative;

    z-index: 1;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-top: 55px;

    padding-top: 22px;

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

    color:
        rgba(255,255,255,.28);

    font-size: 11px;

    letter-spacing: .5px;
}

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

@media (max-width: 768px) {

    /* HEADER */

    .header {
        top: 10px;

        width: calc(100% - 20px);

        height: 64px;

        margin: 0 10px;

        padding: 0 14px;

        border-radius: 18px;
    }

    .brand {
        gap: 11px;

        font-size: 21px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .cart-btn {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .menu-btn {
        width: 44px;
        height: 44px;

        font-size: 20px;
    }


    /* HERO */

    .hero {
        min-height: auto;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 25px;

        padding:
            70px
            22px
            90px;
    }

    .hero-visual {
        order: 1;

        min-height: 330px;

        width: 100%;
    }

    .hero-content {
        order: 2;

        max-width: none;

        text-align: left;
    }

    .hero-logo {
        width: 220px;
        height: 220px;
    }

    .hero-logo-glow {
        width: 270px;
        height: 270px;
    }

    .hero-orbit {
        width: 255px;
        height: 255px;
    }

    .hero-orbit-small {
        width: 290px;
        height: 290px;
    }

    .hero-code {
        bottom: 3px;

        font-size: 8px;

        letter-spacing: 3px;
    }

    .hero-brand {
        margin-bottom: 20px;

        font-size: 15px;
    }

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

        letter-spacing: -2px;
    }

    .hero p {
        margin-top: 26px;

        font-size: 17px;

        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;

        max-width: none;

        margin-top: 34px;

        gap: 14px;
    }

    .hero-actions a {
        width: 100%;

        min-height: 64px;

        border-radius: 20px;

        font-size: 17px;
    }


    /* STUDIO */

    .studio {
        min-height: auto;

        padding:
            90px
            38px
            100px;
    }

    .studio-label {
        margin-bottom: 20px;

        font-size: 11px;

        letter-spacing: 4px;
    }

    .studio-content h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .studio-content p {
        margin-top: 24px;

        font-size: 16px;

        line-height: 1.65;
    }

    .studio::after {
        left: 38px;
        right: 38px;
    }


    /* STUDIO CARDS */

    .studio-cards {
        margin-top: 45px;

        grid-template-columns: 1fr;

        gap: 16px;
    }

    .studio-card {
        min-height: 220px;

        padding: 26px 22px;

        border-radius: 22px;
    }

    .card-info h3 {
        font-size: 25px;
    }

    .card-info p {
        font-size: 15px;
    }


    /* FOOTER */

    .footer {
        padding:
            80px
            38px
            30px;
    }

    .footer-links {
        gap: 14px 24px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;

        margin-top: 45px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-visual {
        min-height: 285px;
    }

    .hero-logo {
        width: 205px;
        height: 205px;
    }

    .hero-logo-glow {
        width: 250px;
        height: 250px;
    }

    .hero-orbit {
        width: 240px;
        height: 240px;
    }

    .hero-orbit-small {
        width: 275px;
        height: 275px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .studio {
        padding-left: 28px;
        padding-right: 28px;
    }

    .studio-content h2 {
        font-size: 43px;
    }

    .footer {
        padding-left: 28px;
        padding-right: 28px;
    }
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }
}
/* =========================
   PRESETS PAGE
========================= */

.presets-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 110px 0 120px;
}

.presets-header {
    max-width: 700px;
    margin-bottom: 55px;
}

.presets-label {
    display: block;
    margin-bottom: 16px;

    color: #8f8f8f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
}

.presets-header h1 {
    margin: 0;

    color: #f5f5f5;
    font-size: clamp(48px, 7vw, 82px);
    line-height: .95;
    letter-spacing: -3px;
}

.presets-header p {
    margin: 24px 0 0;

    color: #858585;
    font-size: 18px;
    line-height: 1.7;
}


/* =========================
   PRESET GRID
========================= */

.preset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* =========================
   PRESET CARD
========================= */

.preset-card {
    position: relative;
    display: block;

    overflow: hidden;

    text-decoration: none;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(145, 145, 145, .12),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.018)
        );

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

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 20px 70px rgba(0,0,0,.35);

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


/* subtle glow */

.preset-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -45% -20%;

    height: 220px;

    background: radial-gradient(
        ellipse,
        rgba(255,255,255,.10),
        transparent 65%
    );

    pointer-events: none;
}


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

.preset-thumbnail {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #090909;
}

.preset-thumbnail::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.55),
            transparent 55%
        );

    pointer-events: none;
}

.preset-thumbnail img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s cubic-bezier(.2,.7,.2,1),
        filter .6s ease;
}


/* =========================
   CARD INFO
========================= */

.preset-card-info {
    position: relative;
    z-index: 2;

    padding: 28px 30px 32px;
}

.preset-card-info > span {
    display: block;

    margin-bottom: 12px;

    color: #777;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
}

.preset-card-info h2 {
    margin: 0;

    color: #f4f4f4;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.05;
    letter-spacing: -1px;
}

.preset-card-info p {
    margin: 14px 0 22px;

    max-width: 420px;

    color: #888;

    font-size: 15px;
    line-height: 1.6;
}

.preset-card-info strong {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #e8e8e8;

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

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


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

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

    border-color: rgba(255,255,255,.22);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        0 28px 90px rgba(0,0,0,.55),
        0 0 45px rgba(255,255,255,.035);
}

.preset-card:hover .preset-thumbnail img {
    transform: scale(1.045);

    filter: brightness(1.08);
}

.preset-card:hover .preset-card-info strong {
    gap: 16px;
    color: #fff;
}


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

@media (max-width: 700px) {

    .presets-page {
        width: min(100% - 32px, 560px);

        padding: 95px 0 90px;
    }

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

    .presets-label {
        font-size: 10px;
        letter-spacing: 4px;
    }

    .presets-header h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .presets-header p {
        font-size: 16px;
        line-height: 1.55;
    }

    .preset-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .preset-card {
        border-radius: 24px;
    }

    .preset-card-info {
        padding: 23px 22px 26px;
    }

    .preset-card-info h2 {
        font-size: 27px;
    }

    .preset-card-info p {
        font-size: 14px;
    }

}


/* =========================
   TOUCH DEVICES
========================= */

@media (hover: none) {

    .preset-card:active {
        transform: scale(.985);

        border-color: rgba(255,255,255,.20);
    }

    .preset-card:active .preset-thumbnail img {
        transform: scale(1.025);
    }

}

/* =========================
   CARD DETAIL PAGE
========================= */

.card-page {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 120px;
}


/* BACK */

.card-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    color: #888;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: color .25s ease, gap .25s ease;
}

.card-back:hover {
    color: #fff;
    gap: 14px;
}


/* PREVIEW */

.card-preview {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #090909;

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

    box-shadow:
        0 25px 80px rgba(0,0,0,.45),
        0 0 60px rgba(255,255,255,.025);
}

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

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(0,0,0,.45)
        );

    pointer-events: none;
}

.card-preview img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* INFO */

.card-info {
    padding: 38px 5px 30px;
}

.card-label {
    display: block;

    margin-bottom: 14px;

    color: #777;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
}

.card-info h1 {
    margin: 0;

    color: #f5f5f5;

    font-size: clamp(40px, 7vw, 72px);
    line-height: .95;

    letter-spacing: -3px;
}

.card-description {
    max-width: 620px;

    margin: 22px 0 0;

    color: #888;

    font-size: 17px;
    line-height: 1.7;
}


/* ACTIONS */

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-top: 15px;
}

.detail-btn {
    position: relative;

    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;
    min-height: 68px;

    padding: 0 22px;

    color: #ededed;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.018)
        );

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

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

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05);

    cursor: pointer;

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

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

    border-color: rgba(255,255,255,.22);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.09),
            rgba(255,255,255,.025)
        );

    box-shadow:
        0 12px 35px rgba(0,0,0,.3),
        0 0 30px rgba(255,255,255,.025);
}

.detail-icon {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    color: #ddd;

    background: rgba(255,255,255,.055);

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

    font-size: 13px;
}


/* MATERIALS */

.card-materials {
    position: relative;

    margin-top: 85px;
    padding-top: 42px;
}

.materials-line {
    width: 100%;
    height: 1px;

    margin-bottom: 42px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.13),
            transparent
        );
}

.materials-label {
    display: block;

    margin-bottom: 13px;

    color: #777;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
}

.card-materials h2 {
    margin: 0;

    color: #f3f3f3;

    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -1.5px;
}

.card-materials p {
    max-width: 560px;

    margin: 15px 0 25px;

    color: #858585;

    font-size: 15px;
    line-height: 1.65;
}

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

    min-height: 52px;

    padding: 0 22px;

    color: #111;

    background: #f0f0f0;

    border: 1px solid rgba(255,255,255,.5);
    border-radius: 14px;

    text-decoration: none;

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

    box-shadow:
        0 10px 35px rgba(255,255,255,.07);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

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

    box-shadow:
        0 15px 45px rgba(255,255,255,.13);
}


/* =========================
   QR MODAL
========================= */

.qr-modal {
    position: fixed;

    inset: 0;

    z-index: 999;

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

    padding: 20px;

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

    backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.qr-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-modal-content {
    position: relative;

    width: min(390px, 100%);

    padding: 38px 30px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.09),
            rgba(255,255,255,.025)
        );

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 26px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.65);
}

.qr-close {
    position: absolute;

    top: 15px;
    right: 17px;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 50%;

    color: #aaa;

    background: rgba(255,255,255,.06);

    font-size: 22px;

    cursor: pointer;
}

.qr-label {
    display: block;

    margin-bottom: 10px;

    color: #777;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
}

.qr-modal-content h2 {
    margin: 0 0 25px;

    color: #f2f2f2;

    font-size: 27px;
}

.qr-placeholder {
    display: grid;
    place-items: center;

    width: 210px;
    height: 210px;

    margin: 0 auto 20px;

    color: #111;

    background: #f4f4f4;

    border-radius: 18px;

    font-size: 28px;
    font-weight: 800;
}

.qr-modal-content p {
    margin: 0;

    color: #777;

    font-size: 13px;
}


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

@media (max-width: 700px) {

    .card-page {
        width: min(100% - 28px, 560px);

        padding: 75px 0 85px;
    }

    .card-preview {
        border-radius: 22px;
    }

    .card-info {
        padding-top: 30px;
    }

    .card-info h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .card-description {
        font-size: 15px;
    }

    .detail-btn {
        min-height: 62px;

        border-radius: 16px;
    }

    .card-materials {
        margin-top: 65px;
    }

    .materials-btn {
        width: 100%;
    }

}

/* =========================
   MATERIALS PAGE
========================= */

.materials-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 110px 0 120px;
}

.materials-header {
    max-width: 700px;
    margin-bottom: 55px;
}

.materials-label {
    display: block;
    margin-bottom: 16px;

    color: #8a8a8a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
}

.materials-header h1 {
    margin: 0;

    color: #f5f5f5;
    font-size: clamp(48px, 7vw, 82px);
    line-height: .95;
    letter-spacing: -3px;
}

.materials-header p {
    margin: 24px 0 0;

    color: #858585;
    font-size: 18px;
    line-height: 1.7;
}


/* =========================
   MATERIALS GRID
========================= */

.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* =========================
   MATERIAL CARD
========================= */

.material-card {
    position: relative;

    display: block;

    overflow: hidden;

    text-decoration: none;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(160,160,160,.12),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.018)
        );

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

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 20px 70px rgba(0,0,0,.35);

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

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

    position: absolute;

    left: -20%;
    right: -20%;
    bottom: -45%;

    height: 220px;

    background: radial-gradient(
        ellipse,
        rgba(255,255,255,.10),
        transparent 65%
    );

    pointer-events: none;
}


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

.material-thumbnail {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #090909;
}

.material-thumbnail::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.55),
            transparent 55%
        );

    pointer-events: none;
}

.material-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s cubic-bezier(.2,.7,.2,1),
        filter .6s ease;
}


/* =========================
   CARD INFO
========================= */

.material-card-info {
    position: relative;
    z-index: 2;

    padding: 28px 30px 32px;
}

.material-card-info > span {
    display: block;

    margin-bottom: 12px;

    color: #777;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
}

.material-card-info h2 {
    margin: 0;

    color: #f4f4f4;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.05;
    letter-spacing: -1px;
}

.material-card-info p {
    margin: 14px 0 22px;

    color: #888;

    font-size: 14px;
    line-height: 1.6;
}

.material-card-info strong {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #e8e8e8;

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

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


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

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

    border-color: rgba(255,255,255,.22);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        0 28px 90px rgba(0,0,0,.55),
        0 0 45px rgba(255,255,255,.035);
}

.material-card:hover .material-thumbnail img {
    transform: scale(1.045);

    filter: brightness(1.08);
}

.material-card:hover .material-card-info strong {
    gap: 16px;
    color: #fff;
}


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

@media (max-width: 700px) {

    .materials-page {
        width: min(100% - 32px, 560px);

        padding: 95px 0 90px;
    }

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

    .materials-label {
        font-size: 10px;
        letter-spacing: 4px;
    }

    .materials-header h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .materials-header p {
        font-size: 16px;
        line-height: 1.55;
    }

    .materials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .material-card {
        border-radius: 24px;
    }

    .material-card-info {
        padding: 23px 22px 26px;
    }

    .material-card-info h2 {
        font-size: 27px;
    }

}


/* =========================
   TOUCH
========================= */

@media (hover: none) {

    .material-card:active {
        transform: scale(.985);

        border-color: rgba(255,255,255,.20);
    }

    .material-card:active .material-thumbnail img {
        transform: scale(1.025);
    }

}
/* =========================================================
   LEGAL / ABOUT PAGES
========================================================= */

.legal-page {
    position: relative;
    min-height: 70vh;
    padding: 150px clamp(38px, 8vw, 120px) 120px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255,255,255,.055),
            transparent 35%
        );
}


/* HERO */

.legal-hero {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin-bottom: 90px;
}

.legal-label {
    display: block;

    margin-bottom: 24px;

    color: #858585;

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

    letter-spacing: 5px;

    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;

    color: #f5f5f5;

    font-size:
        clamp(
            52px,
            8vw,
            100px
        );

    font-weight: 700;

    line-height: .95;

    letter-spacing: -4px;

    text-shadow:
        0 0 35px rgba(255,255,255,.07);
}

.legal-hero h1 span {
    color: #737373;
}

.legal-hero p {
    max-width: 650px;

    margin-top: 30px;

    color: #858585;

    font-size: 20px;

    line-height: 1.7;
}


/* CONTENT */

.legal-content {
    position: relative;
    z-index: 2;

    max-width: 1000px;
}


/* BLOCK */

.legal-block {
    display: grid;

    grid-template-columns:
        80px
        minmax(0, 1fr);

    gap: 25px;

    padding: 45px 0;

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

.legal-block:last-of-type {
    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.legal-number {
    padding-top: 5px;

    color:
        rgba(255,255,255,.3);

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

    letter-spacing: 3px;
}

.legal-block h2 {
    margin: 0;

    color: #eeeeee;

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

    letter-spacing: -.7px;
}

.legal-block p {
    max-width: 700px;

    margin-top: 12px;

    color:
        rgba(255,255,255,.48);

    font-size: 16px;

    line-height: 1.7;
}


/* FINAL NOTE */

.legal-note {
    margin-top: 70px;

    padding: 35px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.018)
        );

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

    border-radius: 22px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        0 20px 50px rgba(0,0,0,.3);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.legal-note strong {
    display: block;

    color: #f5f5f5;

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

.legal-note p {
    margin-top: 6px;

    color:
        rgba(255,255,255,.4);

    font-size: 14px;
}


/* MOBILE */

@media (max-width: 768px) {

    .legal-page {
        padding:
            110px
            22px
            90px;
    }

    .legal-hero {
        margin-bottom: 60px;
    }

    .legal-label {
        margin-bottom: 20px;

        font-size: 10px;

        letter-spacing: 4px;
    }

    .legal-hero h1 {
        font-size:
            clamp(
                48px,
                14vw,
                65px
            );

        letter-spacing: -2.5px;
    }

    .legal-hero p {
        margin-top: 24px;

        font-size: 17px;

        line-height: 1.6;
    }

    .legal-block {
        grid-template-columns: 1fr;

        gap: 12px;

        padding: 35px 0;
    }

    .legal-number {
        padding: 0;

        font-size: 10px;
    }

    .legal-block h2 {
        font-size: 24px;
    }

    .legal-block p {
        font-size: 15px;

        line-height: 1.65;
    }

    .legal-note {
        margin-top: 50px;

        padding: 28px 24px;
    }

}
/* =========================================================
   CONTACT
========================================================= */

.contact-email,
.contact-link {
    display: inline-block;

    margin-top: 18px;

    color: #d8d8d8;

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

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

.contact-email:hover,
.contact-link:hover {
    color: #fff;

    transform: translateX(5px);
}
.detail-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.detail-btn.premium {
    cursor: pointer;
}
/* =========================================================
   DIYOFX — BLACK / WHITE / SILVER LOADER
========================================================= */

.diyofx-loader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #171717 0%,
            #090909 45%,
            #000000 100%
        );

    color: #ffffff;

    transition:
        opacity .8s ease,
        visibility .8s ease;

}


/* HIDDEN */

.diyofx-loader.hidden {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}


/* =========================================================
   SUBTLE BACKGROUND
========================================================= */

.diyofx-loader::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 49.8%,
            rgba(255,255,255,.025) 50%,
            transparent 50.2%
        );

    pointer-events: none;

}


.diyofx-loader::after {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .035;

    background:
        repeating-linear-gradient(
            0deg,
            #fff 0px,
            #fff 1px,
            transparent 1px,
            transparent 5px
        );

    pointer-events: none;

}


/* =========================================================
   CENTER
========================================================= */

.loader-center {

    position: relative;

    z-index: 3;

    text-align: center;

}


/* =========================================================
   OUTER RING
========================================================= */

.loader-ring {

    position: absolute;

    left: 50%;

    top: 50%;

    border-radius: 50%;

    pointer-events: none;

    transform:
        translate(-50%, -50%);

}


.loader-ring-outer {

    width: 180px;

    height: 180px;

    border:

        1px solid
        rgba(255,255,255,.13);

    border-top-color:
        rgba(255,255,255,.8);

    animation:
        loaderRotate 4s
        linear infinite;

}


.loader-ring-inner {

    width: 125px;

    height: 125px;

    border:

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

    border-bottom-color:
        rgba(255,255,255,.6);

    animation:
        loaderRotateReverse 3s
        linear infinite;

}


/* =========================================================
   SYMBOL
========================================================= */

.loader-symbol {

    font-size: 30px;

    line-height: 1;

    color: #ffffff;

    text-shadow:
        0 0 15px
        rgba(255,255,255,.25);

    animation:
        loaderSymbol 2s
        ease-in-out infinite;

}


/* =========================================================
   BRAND
========================================================= */

.loader-brand {

    margin-top: 15px;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: 6px;

    color: #ffffff;

}


.loader-brand span {

    color: #a7a7a7;

}


/* =========================================================
   BOTTOM INFO
========================================================= */

.loader-bottom {

    position: absolute;

    z-index: 4;

    left: 50%;

    bottom: 70px;

    width: min(360px, 72%);

    transform:
        translateX(-50%);

}


/* STATUS */

.loader-status {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 9px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;

    color: #9b9b9b;

}


/* LINE */

.loader-line {

    width: 100%;

    height: 1px;

    overflow: hidden;

    background:
        rgba(255,255,255,.12);

}


/* PROGRESS */

.loader-progress {

    width: 0%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #555,
            #fff,
            #777
        );

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

    transition:
        width .15s linear;

}


/* SUBTITLE */

.loader-subtitle {

    margin-top: 12px;

    font-size: 8px;

    letter-spacing: 4px;

    text-align: center;

    color: #555;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes loaderRotate {

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

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

}


@keyframes loaderRotateReverse {

    from {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

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

}


@keyframes loaderSymbol {

    0%,
    100% {

        transform:
            scale(1)
            rotate(0deg);

        opacity: .75;

    }

    50% {

        transform:
            scale(1.12)
            rotate(45deg);

        opacity: 1;

    }

}