* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --background: #09090b;
    --surface: #111114;
    --surface-2: #18181d;

    --border: #27272d;

    --text: #ffffff;
    --muted: #96969f;

    --purple: #8b5cf6;
    --purple-dark: #7c3aed;

    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.5;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}


/* =====================================================
   HEADER
===================================================== */

.header {

    height: 72px;

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(9,9,11,.94);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.header-container {

    width: min(1300px, 92%);

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -.5px;
}

.logo-icon {

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: var(--purple);

    color: white;
}

.logo-purple {
    color: #a78bfa;
}


/* NAVIGATION */

.navigation {

    display: flex;

    align-items: center;

    gap: 30px;
}

.navigation a {

    color: #a0a0a8;

    font-size: 13px;

    font-weight: 500;

    transition: .25s;
}

.navigation a:hover,
.navigation .nav-active {

    color: white;
}


/* ACTIONS */

.header-actions {

    display: flex;

    align-items: center;

    gap: 8px;
}

.header-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #aaa;

    background: transparent;

    transition: .25s;
}

.header-icon:hover {

    color: white;

    background: var(--surface-2);
}

.login-button {

    margin-left: 5px;

    padding: 9px 17px;

    border-radius: 7px;

    background: white;

    color: #111;

    font-size: 12px;

    font-weight: 700;
}

.mobile-menu {

    display: none;

    width: 38px;

    height: 38px;

    border-radius: 7px;

    background: var(--surface-2);

    color: white;
}


/* =====================================================
   SEARCH
===================================================== */

.search-overlay {

    position: fixed;

    inset: 0;

    z-index: 3000;

    display: none;

    align-items: flex-start;

    justify-content: center;

    padding-top: 130px;

    background: rgba(0,0,0,.86);

    backdrop-filter: blur(12px);
}

.search-overlay.show {
    display: flex;
}

.search-container {

    width: min(800px, 90%);

    position: relative;
}

.search-container h2 {

    margin-bottom: 25px;

    font-size: 30px;
}

.close-search {

    position: absolute;

    right: 0;

    top: -50px;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: var(--surface-2);

    color: white;
}

.large-search {

    height: 65px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    gap: 15px;

    background: var(--surface-2);

    border: 1px solid #36363e;

    border-radius: 12px;
}

.large-search i {
    color: var(--purple);
}

.large-search input {

    flex: 1;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    font-size: 16px;
}

.search-suggestions {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 18px;

    flex-wrap: wrap;

    color: #777;
}

.search-suggestions button {

    padding: 7px 13px;

    border-radius: 20px;

    color: #aaa;

    background: var(--surface-2);

    border: 1px solid var(--border);
}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 630px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;
}

.hero-background {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 75% 50%,
            rgba(124,58,237,.18),
            transparent 35%
        ),

        radial-gradient(
            circle at 10% 30%,
            rgba(139,92,246,.08),
            transparent 30%
        );
}

.hero-container {

    width: min(1250px, 90%);

    margin: auto;

    position: relative;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 50px;
}

.hero-content {
    padding: 80px 0;
}

.hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 18px;

    color: #a78bfa;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.hero h1 {

    max-width: 650px;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.02;

    letter-spacing: -4px;

    margin-bottom: 22px;
}

.hero h1 span {
    color: #a78bfa;
}

.hero p {

    max-width: 560px;

    color: #92929a;

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 30px;
}

.hero-buttons {

    display: flex;

    gap: 10px;
}

.primary-button,
.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 13px 20px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    transition: .25s;
}

.primary-button {

    color: white;

    background: var(--purple);
}

.primary-button:hover {

    background: var(--purple-dark);

    transform: translateY(-2px);
}

.secondary-button {

    color: #ddd;

    background: var(--surface-2);

    border: 1px solid var(--border);
}

.secondary-button:hover {
    background: #222229;
}

.hero-stats {

    display: flex;

    gap: 40px;

    margin-top: 45px;
}

.hero-stats div {

    display: flex;

    flex-direction: column;
}

.hero-stats strong {

    font-size: 20px;
}

.hero-stats span {

    color: #6f6f77;

    font-size: 11px;
}


/* PHONE */

.hero-phone-area {

    min-height: 570px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}

.phone {

    width: 270px;

    height: 535px;

    padding: 7px;

    position: relative;

    border: 2px solid #35353d;

    border-radius: 38px;

    background: #15151a;

    transform: rotate(5deg);

    box-shadow:
        0 40px 90px rgba(0,0,0,.6),
        0 0 90px rgba(139,92,246,.1);

    z-index: 2;
}

.phone img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 31px;
}

.phone-speaker {

    width: 85px;

    height: 21px;

    position: absolute;

    left: 50%;

    top: 10px;

    transform: translateX(-50%);

    border-radius: 20px;

    background: #09090b;

    z-index: 5;
}

.phone-shadow {

    position: absolute;

    width: 300px;

    height: 400px;

    background: rgba(139,92,246,.18);

    filter: blur(100px);

    border-radius: 50%;
}

.floating-info {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 12px 15px;

    border-radius: 10px;

    background: rgba(20,20,25,.88);

    border: 1px solid #32323a;

    backdrop-filter: blur(15px);

    font-size: 11px;
}

.floating-info i {
    color: #a78bfa;
}

.floating-one {
    left: 0;
    top: 120px;
}

.floating-two {
    right: 0;
    bottom: 120px;
}


/* =====================================================
   SECTION
===================================================== */

.section {

    width: min(1250px, 90%);

    margin: auto;

    padding: 80px 0;
}

.section-title {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 28px;
}

.section-title span {

    display: block;

    margin-bottom: 7px;

    color: #a78bfa;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;
}

.section-title h2 {

    font-size: 30px;

    letter-spacing: -1px;
}

.section-title > a {

    color: #888;

    font-size: 12px;

    display: flex;

    gap: 7px;

    align-items: center;
}

.section-title > a:hover {
    color: white;
}


/* =====================================================
   CATEGORY
===================================================== */

.category-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 12px;
}

.category {

    height: 225px;

    position: relative;

    overflow: hidden;

    border-radius: 11px;

    background: var(--surface-2);
}

.category img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;
}

.category:hover img {
    transform: scale(1.08);
}

.category-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 16px;

    background:
        linear-gradient(
            transparent 25%,
            rgba(0,0,0,.92)
        );
}

.category-overlay i {

    margin-bottom: 7px;

    color: #c4b5fd;
}

.category-overlay h3 {
    font-size: 15px;
}

.category-overlay p {

    color: #8a8a91;

    font-size: 10px;
}


/* =====================================================
   WALLPAPER GRID
===================================================== */

.wallpaper-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.wallpaper-card {

    overflow: hidden;

    border-radius: 12px;

    background: var(--surface);

    border: 1px solid var(--border);

    transition: .3s;
}

.wallpaper-card:hover {

    transform: translateY(-5px);

    border-color: #393943;
}

.wallpaper-image {

    height: 390px;

    position: relative;

    overflow: hidden;
}

.wallpaper-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;
}

.wallpaper-card:hover
.wallpaper-image img {
    transform: scale(1.04);
}

.favorite-button,
.preview-button {

    width: 37px;

    height: 37px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: absolute;

    border-radius: 50%;

    color: white;

    background: rgba(0,0,0,.55);

    backdrop-filter: blur(8px);

    transition: .25s;
}

.favorite-button {

    top: 12px;

    right: 12px;
}

.preview-button {

    bottom: 12px;

    right: 12px;

    opacity: 0;
}

.wallpaper-card:hover
.preview-button {
    opacity: 1;
}

.favorite-button:hover,
.preview-button:hover {

    background: var(--purple);
}

.favorite-button.active {

    background: var(--purple);

    color: white;
}

.wallpaper-info {

    min-height: 67px;

    padding: 14px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.wallpaper-info h3 {

    font-size: 13px;

    margin-bottom: 3px;
}

.wallpaper-info span {

    color: #73737b;

    font-size: 10px;
}

.download-button {

    width: 38px;

    height: 38px;

    border-radius: 8px;

    background: #202027;

    color: #999;

    transition: .25s;
}

.download-button:hover {

    color: white;

    background: var(--purple);
}


/* =====================================================
   SOUNDS
===================================================== */

.sound-section {

    background: #0d0d11;

    border-top: 1px solid #1d1d22;

    border-bottom: 1px solid #1d1d22;
}

.sound-list {

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.sound-item {

    min-height: 70px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 10px 14px;

    border-radius: 10px;

    background: var(--surface);

    border: 1px solid var(--border);
}

.play-button {

    width: 38px;

    height: 38px;

    border-radius: 50%;

    background: var(--purple);

    color: white;
}

.sound-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: #202027;

    color: #a78bfa;
}

.sound-details {
    flex: 1;
}

.sound-details h3 {
    font-size: 13px;
}

.sound-details span {

    color: #6e6e76;

    font-size: 10px;
}

.sound-duration {

    color: #686870;

    font-size: 11px;
}

.sound-download {

    width: 35px;

    height: 35px;

    border-radius: 7px;

    background: #202027;

    color: #999;
}


/* =====================================================
   CTA
===================================================== */

.cta {

    width: min(1100px, 90%);

    margin: 70px auto;

    padding: 80px 30px;

    text-align: center;

    border-radius: 20px;

    background:

        radial-gradient(
            circle at center,
            rgba(139,92,246,.2),
            transparent 55%
        ),

        #121217;

    border: 1px solid #292931;
}

.cta span {

    color: #a78bfa;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.cta h2 {

    max-width: 600px;

    margin: 12px auto;

    font-size: 42px;

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.cta p {

    color: #7d7d85;

    max-width: 500px;

    margin: 0 auto 25px;
}


/* =====================================================
   FOOTER
===================================================== */

footer {

    border-top: 1px solid var(--border);

    padding: 60px 0 25px;
}

.footer-container {

    width: min(1250px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;
}

.footer-brand p {

    max-width: 280px;

    margin: 15px 0;

    color: #6d6d75;

    font-size: 12px;
}

.social-icons {

    display: flex;

    gap: 7px;
}

.social-icons a {

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--surface-2);

    color: #888;
}

.social-icons a:hover {

    background: var(--purple);

    color: white;
}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {

    margin-bottom: 8px;

    font-size: 13px;
}

.footer-column a {

    color: #6d6d75;

    font-size: 11px;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {

    width: min(1250px, 90%);

    margin: 45px auto 0;

    padding-top: 18px;

    display: flex;

    justify-content: space-between;

    border-top: 1px solid #1e1e23;

    color: #555;

    font-size: 10px;
}


/* =====================================================
   PREVIEW MODAL
===================================================== */

.preview-modal {

    position: fixed;

    inset: 0;

    z-index: 4000;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(0,0,0,.9);

    backdrop-filter: blur(10px);
}

.preview-modal.show {
    display: flex;
}

.preview-content {

    width: min(850px, 100%);

    max-height: 90vh;

    overflow: hidden;

    border-radius: 15px;

    background: #15151a;

    border: 1px solid #33333b;

    position: relative;
}

.preview-content > img {

    width: 100%;

    max-height: 70vh;

    display: block;

    object-fit: contain;

    background: #050507;
}

.close-preview {

    width: 38px;

    height: 38px;

    position: absolute;

    top: 12px;

    right: 12px;

    z-index: 5;

    border-radius: 50%;

    background: rgba(0,0,0,.7);

    color: white;
}

.preview-details {

    padding: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.preview-details h2 {
    font-size: 18px;
}

.preview-details p {

    color: #777;

    font-size: 11px;

    margin-top: 3px;
}