.hidden { display: none !important; }

.primary-btn, .secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #ff1744, #ff2f68, #7c3aed);
}
.secondary-btn { background: rgba(255,255,255,.1); }/* =========================================================
   PIXORA — MODERN WALLPAPER PLATFORM
   Complete responsive stylesheet
   ========================================================= */

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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #08080d;
    color: #f5f5f7;

    line-height: 1.5;

    overflow-x: hidden;

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

body.modal-open {
    overflow: hidden;
}

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

button {
    border: 0;
    cursor: pointer;
}

button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

img,
video {
    max-width: 100%;
}

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

/* =========================================================
   LIGHT MODE
   ========================================================= */

body.light-mode {
    background: #f5f5f7;
    color: #111116;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

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

    gap: 16px;

    padding: 14px 24px;

    background: rgba(8, 8, 13, 0.82);

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.06);

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

.light-mode .topbar {
    background: rgba(255, 255, 255, 0.84);

    border-bottom-color:
        rgba(0, 0, 0, 0.08);
}

.logo {
    flex-shrink: 0;

    font-size: 23px;
    font-weight: 900;

    letter-spacing: -1px;

    color: #ffffff;
}

/* RESTORED PIXORA BRAND COLOR */
.logo span {
    color: #ff1744;
}

.light-mode .logo {
    color: #111116;
}

/* Keep ORA colored in light mode too */
.light-mode .logo span {
    color: #ff1744;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.icon-btn {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.07);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

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

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

.light-mode .icon-btn {
    color: #111116;

    background: rgba(0, 0, 0, 0.06);
}

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

.auth-btn {
    min-height: 42px;

    padding: 0 15px;

    border-radius: 13px;

    color: #ffffff;

    background: #ff1744;

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

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

.auth-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* =========================================================
   THEME TOGGLE
   ========================================================= */

.theme-toggle {
    position: relative;

    width: 64px;
    height: 34px;

    flex-shrink: 0;

    border-radius: 999px;

    background: #202028;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    overflow: hidden;
}

.light-mode .theme-toggle {
    background: #e7e7ec;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.theme-sun,
.theme-moon {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    font-size: 14px;

    pointer-events: none;
}

.theme-sun {
    left: 9px;
}

.theme-moon {
    right: 9px;
}

.theme-knob {
    position: absolute;

    top: 3px;
    left: 3px;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.3s ease;
}

.light-mode .theme-knob {
    transform: translateX(30px);
}

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

.search-panel {
    position: fixed;

    inset: 0;

    z-index: 200;

    display: none;

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

    padding: 90px 20px 20px;

    background:
        rgba(0, 0, 0, 0.62);

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

.search-panel.active {
    display: flex;
}

.search-box {
    width: min(720px, 100%);

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 7px;

    border-radius: 18px;

    background: #15151d;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

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

.search-icon {
    flex-shrink: 0;

    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    border-radius: 12px;

    color: #ff1744;

    cursor: pointer;

    user-select: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.search-icon:hover {
    background: rgba(255, 23, 68, 0.12);
    transform: scale(1.05);
}

.search-box input,
#searchInput {
    width: 100%;

    min-width: 0;

    padding: 13px 15px;

    outline: none;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 15px;
}

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

.clear-search {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 12px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.07);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.clear-search:hover {
    background: #ff1744;
    transform: scale(1.05);
}

.light-mode .search-box {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .search-box input,
.light-mode #searchInput {
    color: #111116;
}

.light-mode .search-icon {
    color: #ff1744;
}

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

.hero {
    width: 100%;

    padding: 18px 24px 0;
}

.hero-slider {
    position: relative;

    width: 100%;

    min-height: 390px;

    overflow: hidden;

    border-radius: 28px;

    background: #12121a;

    border: 1px solid
        rgba(255, 255, 255, 0.06);
}

.hero-slide {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

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

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.15)
        );

    z-index: 1;
}

.hero-slide img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 620px;

    padding: 45px;
}

.hero-content h1 {
    margin-bottom: 12px;

    font-size: clamp(
        38px,
        6vw,
        72px
    );

    line-height: 0.98;

    letter-spacing: -3px;

    font-weight: 950;
}

.hero-content p {
    max-width: 540px;

    color: #d0d0d8;

    font-size: 16px;
}

.hero-dots {
    position: absolute;

    z-index: 4;

    left: 45px;
    bottom: 28px;

    display: flex;

    gap: 7px;
}

.hero-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: rgba(
        255,
        255,
        255,
        0.35
    );

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

.hero-dot.active {
    width: 26px;

    border-radius: 999px;

    background: #ff1744;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    width: 100%;

    padding: 42px 24px 0;
}

.section-heading {
    display: flex;

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

    gap: 15px;

    margin-bottom: 17px;
}

.section-heading h2 {
    font-size: 25px;

    line-height: 1.1;

    letter-spacing: -0.7px;
}

.section-heading p {
    margin-top: 5px;

    color: #898995;

    font-size: 13px;
}

.results-count {
    color: #898995;

    font-size: 12px;

    white-space: nowrap;
}

.text-btn {
    color: #ff1744;

    background: transparent;

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

.text-btn:hover {
    color: #ff4f70;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.category-list {
    width: 100%;

    display: flex;

    gap: 9px;

    overflow-x: auto;

    padding-bottom: 4px;

    scrollbar-width: none;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-btn {
    flex-shrink: 0;

    padding: 9px 15px;

    border-radius: 999px;

    color: #aaaab4;

    background: #14141c;

    border: 1px solid
        rgba(255, 255, 255, 0.06);

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

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

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

    color: #ffffff;

    background: #1c1c26;
}

.category-btn.active {
    color: #ffffff;

    background: #ff1744;

    border-color: #ff1744;
}

.light-mode .category-btn {
    color: #55555f;

    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .category-btn:hover {
    color: #111116;

    background: #eeeeF2;
}

.light-mode .category-btn.active {
    color: #ffffff;

    background: #ff1744;

    border-color: #ff1744;
}

/* =========================================================
   TRENDING GRID
   ========================================================= */

.trending-grid {
    display: grid;

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

    gap: 14px;
}

/* =========================================================
   WALLPAPER GRID
   ========================================================= */

.wallpaper-grid {
    display: grid;

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

    gap: 16px;
}

/* =========================================================
   WALLPAPER CARD
   ========================================================= */

.wallpaper-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    isolation: isolate;

    border-radius: 18px;

    background: #111119;

    border: 1px solid
        rgba(255, 255, 255, 0.06);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.18);

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

/* Prevent accidental decorative overlays */
.wallpaper-card::before,
.wallpaper-card::after {
    content: none !important;
    display: none !important;
}

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

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, 0.3);

    border-color:
        rgba(255, 255, 255, 0.12);
}

.light-mode .wallpaper-card {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.07);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.08);
}

/* =========================================================
   WALLPAPER ART
   ========================================================= */

.wallpaper-art {
    position: relative;

    aspect-ratio: 9 / 13;

    overflow: hidden;

    background: #181820;

    isolation: isolate;
}

.wallpaper-art::before,
.wallpaper-art::after {
    content: none !important;
    display: none !important;
}

.wallpaper-art img.wallpaper-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.wallpaper-card:hover
.wallpaper-art img.wallpaper-image {
    transform: scale(1.045);
}

.art-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: #7e7e89;

    font-size: 36px;

    background:
        radial-gradient(
            circle at center,
            #24242f,
            #101017
        );
}

/* =========================================================
   WALLPAPER CARD BUTTONS
   ========================================================= */

.like-btn,
.preview-btn,
.download-btn {
    position: absolute;

    z-index: 5;

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(0, 0, 0, 0.48);

    border: 1px solid
        rgba(255, 255, 255, 0.08);

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

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

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.like-btn:hover,
.preview-btn:hover,
.download-btn:hover {
    transform: scale(1.08);

    background: #ff1744;
}

.like-btn {
    top: 12px;
    right: 12px;
}

.preview-btn {
    top: 12px;
    left: 12px;
}

.download-btn {
    bottom: 12px;
    right: 12px;
}

.like-btn.liked {
    color: #ff1744;
}

.like-btn.liked:hover {
    color: #ffffff;
}

/* =========================================================
   WALLPAPER INFORMATION
   ========================================================= */

.wallpaper-info {
    position: relative;

    z-index: 10;

    padding: 13px 14px 15px;

    background: #111119;

    isolation: isolate;
}

.wallpaper-info::before,
.wallpaper-info::after {
    content: none !important;
    display: none !important;
}

.light-mode .wallpaper-info {
    background: #ffffff;
}

.wallpaper-info h3 {
    position: relative;

    z-index: 11;

    margin-bottom: 4px;

    font-size: 16px;

    line-height: 1.2;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    color: inherit;
}

.wallpaper-info p {
    position: relative;

    z-index: 11;

    margin: 0;

    color: #a8a8b3;

    font-size: 12px;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    padding: 45px 20px;

    text-align: center;

    border-radius: 18px;

    background: #111119;

    border: 1px dashed
        rgba(255, 255, 255, 0.09);
}

.empty-state h3 {
    margin-bottom: 7px;

    font-size: 18px;
}

.empty-state p {
    color: #898995;

    font-size: 13px;
}

/* =========================================================
   LOAD MORE
   ========================================================= */

.load-more-container {
    display: flex;

    justify-content: center;

    padding: 24px 0 4px;
}

#loadMoreBtn {
    padding: 11px 20px;

    border-radius: 12px;

    color: #ffffff;

    background: #191922;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

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

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

#loadMoreBtn:hover {
    transform: translateY(-2px);

    background: #24242e;
}

/* =========================================================
   RANDOM SECTION
   ========================================================= */

.random-section {
    padding-bottom: 40px;
}

.random-box {
    position: relative;

    display: flex;

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

    gap: 20px;

    padding: 24px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #171720,
            #101016
        );

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

.random-box h3 {
    margin-bottom: 5px;

    font-size: 19px;
}

.random-box p {
    color: #8d8d98;

    font-size: 13px;
}

#randomBtn,
.random-btn {
    flex-shrink: 0;

    padding: 11px 18px;

    border-radius: 12px;

    color: #ffffff;

    background: #ff1744;

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

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

#randomBtn:hover,
.random-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* =========================================================
   MODALS
   ========================================================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 500;

    display: none;

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

    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.76);

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

.modal-content {
    position: relative;

    z-index: 2;

    width: min(
        1050px,
        100%
    );

    max-height: 92vh;

    overflow: auto;

    border-radius: 24px;

    background: #111119;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

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

.modal-close {
    position: absolute;

    z-index: 10;

    top: 14px;
    right: 14px;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(0, 0, 0, 0.58);

    font-size: 20px;
}

.modal-art {
    min-height: 240px;

    display: flex;

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

    background: #08080d;
}

.modal-art img {
    display: block;

    max-height: 70vh;

    width: auto;
    max-width: 100%;

    object-fit: contain;
}

.modal-info {
    padding: 22px;
}

.modal-info h2 {
    margin-bottom: 7px;

    font-size: 24px;

    line-height: 1.1;
}

.modal-info p {
    color: #9999a5;

    font-size: 13px;
}

/* =========================================================
   MODAL ACTIONS
   ========================================================= */

.modal-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 17px;
}

.modal-action {
    min-height: 42px;

    padding: 0 15px;

    border-radius: 12px;

    color: #ffffff;

    background: #20202a;

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

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

.modal-action:hover {
    background: #292934;
}

.modal-action.primary {
    background: #ff1744;

    border-color: #ff1744;
}

.modal-action.liked {
    color: #ff1744;
}

/* =========================================================
   VIDEO SECTION
   ========================================================= */

.video-grid {
    display: grid;

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

    gap: 16px;
}

.video-card {
    overflow: hidden;

    border-radius: 18px;

    background: #111119;

    border: 1px solid
        rgba(255, 255, 255, 0.06);

    cursor: pointer;

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

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

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.3);
}

.video-card-media {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #181820;
}

.video-card-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.video-card:hover
.video-card-media img {
    transform: scale(1.04);
}

.video-placeholder {
    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

    font-size: 42px;
}

.video-play-icon {
    position: absolute;

    top: 50%;
    left: 50%;

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

    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(255, 23, 68, 0.92);

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

.video-card-info {
    padding: 13px 14px 15px;
}

.video-card-info h3 {
    margin-bottom: 4px;

    font-size: 16px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.video-card-info p {
    color: #a8a8b3;

    font-size: 12px;
}

/* =========================================================
   VIDEO MODAL
   ========================================================= */

#videoPreviewModal .modal-content {
    width: min(
        1000px,
        100%
    );
}

#videoPlayer {
    display: block;

    width: 100%;

    max-height: 72vh;

    background: #000;
}

/* =========================================================
   ACCOUNT
   ========================================================= */

#account {
    padding-bottom: 80px;
}

.account-card {
    width: min(
        900px,
        100%
    );

    margin: 0 auto;

    padding: 25px;

    border-radius: 22px;

    background: #111119;

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

.account-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.account-header h2 {
    font-size: 24px;
}

.account-header p {
    color: #92929e;

    font-size: 13px;
}

.account-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.account-actions button {
    min-height: 40px;

    padding: 0 14px;

    border-radius: 11px;

    color: #ffffff;

    background: #20202a;

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

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

.account-actions button:hover {
    background: #292934;
}

.account-actions .danger-btn {
    color: #ffffff;

    background: #b80f31;
}

/* =========================================================
   ACCOUNT STATISTICS
   ========================================================= */

#accountStats {
    display: grid;

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

    gap: 10px;

    margin-bottom: 25px;
}

.pixora-stat {
    padding: 15px;

    border-radius: 15px;

    background: #181820;

    border: 1px solid
        rgba(255, 255, 255, 0.05);
}

.pixora-stat strong {
    display: block;

    margin-bottom: 3px;

    font-size: 21px;
}

.pixora-stat span {
    color: #858591;

    font-size: 11px;
}

/* =========================================================
   UPLOAD PANEL
   ========================================================= */

.user-upload-panel {
    margin-top: 25px;

    padding-top: 24px;

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

.upload-tabs {
    display: flex;

    gap: 8px;

    margin-bottom: 18px;
}

.upload-tabs button {
    padding: 10px 14px;

    border-radius: 10px;

    color: #9a9aa6;

    background: #181820;

    border: 1px solid
        rgba(255, 255, 255, 0.06);

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

.upload-tabs button.active {
    color: #ffffff;

    background: #ff1744;

    border-color: #ff1744;
}

/* =========================================================
   FORMS
   ========================================================= */

.upload-form {
    display: grid;

    gap: 13px;
}

.upload-form label {
    display: grid;

    gap: 7px;

    color: #c8c8d0;

    font-size: 12px;
    font-weight: 700;
}

.upload-form input,
.upload-form select,
.upload-form textarea {
    width: 100%;

    min-height: 44px;

    padding: 11px 13px;

    outline: none;

    border-radius: 11px;

    color: #ffffff;

    background: #181820;

    border: 1px solid
        rgba(255, 255, 255, 0.08);
}

.upload-form textarea {
    min-height: 90px;

    resize: vertical;
}

.upload-form input:focus,
.upload-form select:focus,
.upload-form textarea:focus {
    border-color: #ff1744;

    box-shadow:
        0 0 0 3px
        rgba(255, 23, 68, 0.12);
}

.upload-form input[type="file"] {
    padding: 9px;
}

.upload-form input[type="checkbox"] {
    width: auto;

    min-height: auto;
}

.upload-form .checkbox-row {
    display: flex;

    grid-template-columns: none;

    align-items: flex-start;

    gap: 9px;

    color: #9999a5;

    font-size: 12px;

    font-weight: 500;
}

.upload-form button[type="submit"] {
    min-height: 44px;

    padding: 0 16px;

    border-radius: 11px;

    color: #ffffff;

    background: #ff1744;

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

.upload-message {
    padding: 10px 0;

    font-size: 12px;
}

/* =========================================================
   MY UPLOADS
   ========================================================= */

.my-uploads {
    margin-top: 30px;
}

.my-uploads h3 {
    margin-bottom: 14px;

    font-size: 19px;
}

#myUploadsGrid {
    display: grid;

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

    gap: 13px;
}

.my-upload-card {
    overflow: hidden;

    border-radius: 15px;

    background: #181820;

    border: 1px solid
        rgba(255, 255, 255, 0.06);
}

.my-upload-media {
    aspect-ratio: 16 / 10;

    overflow: hidden;

    display: grid;

    place-items: center;

    background: #101017;

    font-size: 30px;
}

.my-upload-media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.my-upload-info {
    padding: 12px;
}

.my-upload-info h3 {
    margin-bottom: 5px;

    font-size: 14px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.my-upload-info span {
    display: block;

    margin-bottom: 10px;

    color: #888894;

    font-size: 10px;
}

.my-upload-info .danger-btn {
    min-height: 34px;

    padding: 0 11px;

    border-radius: 9px;

    color: #ffffff;

    background: #b80f31;

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

/* =========================================================
   DELETE MODAL
   ========================================================= */

#deleteConfirmModal .modal-content {
    width: min(
        430px,
        100%
    );

    padding: 26px;
}

#deleteConfirmModal h2 {
    margin-bottom: 9px;

    font-size: 21px;
}

#deleteConfirmModal p {
    color: #92929e;

    font-size: 13px;
}

.delete-actions {
    display: flex;

    gap: 9px;

    margin-top: 20px;
}

.delete-actions button {
    flex: 1;

    min-height: 43px;

    border-radius: 11px;

    color: #ffffff;

    background: #20202a;

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

.delete-actions .danger-btn {
    background: #b80f31;
}

/* =========================================================
   BOTTOM NAVIGATION
   ========================================================= */

.bottom-nav {
    position: fixed;

    z-index: 120;

    left: 50%;

    bottom: 13px;

    transform: translateX(-50%);

    width: min(
        620px,
        calc(100% - 24px)
    );

    display: flex;

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

    padding: 7px;

    border-radius: 20px;

    background:
        rgba(17, 17, 25, 0.9);

    border: 1px solid
        rgba(255, 255, 255, 0.08);

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

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

.nav-item {
    min-width: 62px;

    display: flex;

    flex-direction: column;

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

    gap: 2px;

    padding: 7px 8px;

    border-radius: 13px;

    color: #777783;

    background: transparent;

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

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

.nav-item span:first-child {
    font-size: 17px;
}

.nav-item:hover {
    color: #ffffff;

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

.nav-item.active {
    color: #ffffff;

    background: #ff1744;
}

/* =========================================================
   LIGHT MODE — COMPONENTS
   ========================================================= */

.light-mode .section-heading p,
.light-mode .results-count {
    color: #777782;
}

.light-mode .hero-slide::before {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.2)
        );
}

.light-mode .hero-content p {
    color: #e3e3e8;
}

.light-mode .empty-state {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.09);
}

.light-mode #loadMoreBtn {
    color: #111116;

    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .random-box {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .random-box p {
    color: #777782;
}

.light-mode .modal-content {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .modal-info p {
    color: #777782;
}

.light-mode .modal-action {
    color: #111116;

    background: #eeeeF2;

    border-color:
        rgba(0, 0, 0, 0.07);
}

.light-mode .video-card {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.07);
}

.light-mode .video-card-info p {
    color: #777782;
}

.light-mode .account-card {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .account-header p {
    color: #777782;
}

.light-mode #accountStats {
    color: #111116;
}

.light-mode .pixora-stat {
    background: #f4f4f7;

    border-color:
        rgba(0, 0, 0, 0.06);
}

.light-mode .pixora-stat span {
    color: #777782;
}

.light-mode .user-upload-panel {
    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .upload-tabs button {
    color: #666672;

    background: #f1f1f5;

    border-color:
        rgba(0, 0, 0, 0.06);
}

.light-mode .upload-form label {
    color: #44444e;
}

.light-mode .upload-form input,
.light-mode .upload-form select,
.light-mode .upload-form textarea {
    color: #111116;

    background: #f4f4f7;

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .my-upload-card {
    background: #f4f4f7;

    border-color:
        rgba(0, 0, 0, 0.07);
}

.light-mode .my-upload-media {
    background: #e9e9ee;
}

.light-mode .my-upload-info span {
    color: #777782;
}

.light-mode .bottom-nav {
    background:
        rgba(255, 255, 255, 0.9);

    border-color:
        rgba(0, 0, 0, 0.08);
}

.light-mode .nav-item {
    color: #777782;
}

.light-mode .nav-item:hover {
    color: #111116;

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

.light-mode .nav-item.active {
    color: #ffffff;

    background: #ff1744;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ff1744;

    outline-offset: 2px;
}

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

@media (max-width: 1050px) {
    .wallpaper-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .trending-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

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

    #myUploadsGrid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

/* =========================================================
   SMALL TABLET / LARGE PHONE
   ========================================================= */

@media (max-width: 760px) {
    .topbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .auth-btn {
        padding: 0 11px;

        font-size: 11px;
    }

    .theme-toggle {
        width: 58px;
        height: 31px;
    }

    .theme-knob {
        width: 23px;
        height: 23px;
    }

    .light-mode .theme-knob {
        transform: translateX(27px);
    }

    .hero {
        padding: 12px 14px 0;
    }

    .hero-slider {
        min-height: 360px;

        border-radius: 21px;
    }

    .hero-content {
        padding: 28px;
    }

    .hero-content h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .hero-dots {
        left: 28px;
        bottom: 22px;
    }

    .section {
        padding: 32px 14px 0;
    }

    .section-heading h2 {
        font-size: 21px;
    }

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

        gap: 11px;
    }

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

        gap: 11px;
    }

    .video-grid {
        grid-template-columns:
            1fr;

        gap: 12px;
    }

    #myUploadsGrid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    #accountStats {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .account-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .random-box {
        align-items: flex-start;

        flex-direction: column;
    }

    #randomBtn,
    .random-btn {
        width: 100%;
    }

    .bottom-nav {
        bottom: 8px;
    }
}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 480px) {
    .topbar {
        gap: 7px;

        padding: 10px 11px;
    }

    .logo {
        font-size: 18px;
    }

    .top-actions {
        gap: 5px;
    }

    .icon-btn {
        width: 37px;
        height: 37px;

        border-radius: 11px;
    }

    .auth-btn {
        min-height: 37px;

        padding: 0 9px;

        border-radius: 11px;

        font-size: 10px;
    }

    .theme-toggle {
        width: 52px;
        height: 29px;
    }

    .theme-knob {
        width: 21px;
        height: 21px;
    }

    .light-mode .theme-knob {
        transform: translateX(23px);
    }

    .hero-slider {
        min-height: 315px;
    }

    .hero-content {
        padding: 24px;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .section {
        padding-left: 11px;
        padding-right: 11px;
    }

    .wallpaper-grid,
    .trending-grid {
        gap: 8px;
    }

    .wallpaper-card {
        border-radius: 14px;
    }

    .wallpaper-info {
        padding: 10px 11px 12px;
    }

    .wallpaper-info h3 {
        font-size: 13px;
    }

    .wallpaper-info p {
        font-size: 10px;
    }

    .like-btn,
    .preview-btn,
    .download-btn {
        width: 33px;
        height: 33px;

        font-size: 15px;
    }

    .like-btn {
        top: 8px;
        right: 8px;
    }

    .preview-btn {
        top: 8px;
        left: 8px;
    }

    .download-btn {
        right: 8px;
        bottom: 8px;
    }

    #accountStats {
        gap: 7px;
    }

    .pixora-stat {
        padding: 12px;
    }

    .pixora-stat strong {
        font-size: 18px;
    }

    #myUploadsGrid {
        grid-template-columns: 1fr;
    }

    .bottom-nav {
        width: calc(100% - 14px);

        border-radius: 17px;
    }

    .nav-item {
        min-width: 48px;

        padding: 6px 4px;

        font-size: 9px;
    }

    .nav-item span:first-child {
        font-size: 15px;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        border-radius: 18px;
    }

    .modal-info {
        padding: 17px;
    }

    .modal-info h2 {
        font-size: 20px;
    }
}

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

@media (max-width: 360px) {
    .logo {
        font-size: 16px;
    }

    .auth-btn {
        padding: 0 7px;

        font-size: 9px;
    }

    .theme-toggle {
        display: none;
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .section-heading h2 {
        font-size: 19px;
    }

    .wallpaper-grid,
    .trending-grid {
        gap: 6px;
    }

    .like-btn,
    .preview-btn,
    .download-btn {
        width: 30px;
        height: 30px;

        font-size: 13px;
    }
}
/* =========================================================
   PIXORA HERO BRAND COLORS
   ========================================================= */

.hero-content h1 {
    color: #ffffff;
}

.hero-content h1 span {
    color: #ff1744;
}

.hero-content p {
    color: #d0d0d8;
}

.hero-content .text-btn,
.hero-content a {
    color: #ff1744;
}

.hero-content .text-btn:hover,
.hero-content a:hover {
    color: #ff4f70;
}
/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   HIDDEN UTILITY
   ========================================================= */

[hidden] {
    display: none !important;
  }

/* YOUR EXISTING CSS */
...
/* whatever your current final CSS rule is */


/* =========================================================
   PIXORA COLOR RESTORATION
   ========================================================= */

.logo span {
    color: #ff1744;
}

.light-mode .logo span {
    color: #ff1744;
}

.explore-btn,
#exploreBtn {
    background: linear-gradient(135deg, #ff1744, #ff4d6d, #7c3aed);
    color: #fff;
    border: none;
    transition: transform .3s ease, box-shadow .3s ease, background .5s ease;
}

.explore-btn:hover,
#exploreBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 23, 68, .35);
}

button,
.category-btn,
.wallpaper-card,
.video-card,
.nav-item,
.auth-btn,
.explore-btn,
.random-btn,
.text-btn,
.wallpaper-art img,
.video-card-media img {
    transition:
        color .3s ease,
        background-color .3s ease,
        border-color .3s ease,
        transform .3s ease,
        opacity .3s ease,
        box-shadow .3s ease,
        filter .3s ease;
}

.hero-slide {
    transition: opacity .8s ease, transform .8s ease, filter .8s ease;
}

.wallpaper-card:hover .wallpaper-art img,
.video-card:hover .video-card-media img {
    transform: scale(1.04);
}

.category-btn.active {
    background: linear-gradient(135deg, #ff1744, #ff4d6d);
    color: #fff;
    border-color: transparent;
}

.text-btn,
.auth-btn,
.random-btn {
    color: #fff;
}

.text-btn {
    background: #ff1744;
}

.text-btn:hover,
.random-btn:hover,
.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 23, 68, .3);
}

/* =========================================================
   PIXORA HERO SLIDE TRANSITION
   ========================================================= */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    inset: 0;
    transform: scale(1.03);
    transition:
        opacity 1s ease,
        transform 1.2s ease,
        visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: scale(1);
}

/* Smooth colorful glow during slide changes */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 20% 40%,
            rgba(255, 23, 68, 0.22),
            transparent 45%
        ),
        radial-gradient(
            circle at 80% 60%,
            rgba(124, 58, 237, 0.20),
            transparent 45%
        );
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active::before {
    opacity: 1;
}

/* Smooth hero content movement */
.hero-slide .hero-content {
    transform: translateY(18px);
    opacity: 0;
    transition:
        transform .8s ease,
        opacity .8s ease;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

/* Animated hero dots */
.hero-dot {
    transition:
        background-color .4s ease,
        transform .4s ease,
        opacity .4s ease,
        box-shadow .4s ease;
}

.hero-dot.active {
    transform: scale(1.2);
    box-shadow: 0 0 14px rgba(255, 23, 68, .65);
   }

/* =========================================================
   PIXORA — ORIGINAL CALM HERO/BACKGROUND TRANSITION
   ========================================================= */

body {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(180, 220, 255, 0.45),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(210, 190, 255, 0.35),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f8fbff,
            #eef7f4,
            #f7f1ff
        );

    background-size: 180% 180%;

    animation: calmColors 25s ease infinite;

    transition:
        background 1.5s ease,
        color 0.8s ease;
}

@keyframes calmColors {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =========================================================
   PIXORA — DARK CALM MOVING BACKGROUND
   Keeps the current dark design
   ========================================================= */

body {
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 23, 68, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(124, 58, 237, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 50% 80%,
            rgba(40, 80, 160, 0.10),
            transparent 40%
        ),
        #08080d;

    background-size: 180% 180%;

    animation: calmDarkColors 25s ease infinite;

    transition:
        background 1.5s ease,
        color 0.8s ease;
}

@keyframes calmDarkColors {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =========================================================
   PIXORA — FINAL HERO TRANSITION FIX
   ========================================================= */

.hero {
    position: relative;
}

.hero-slider {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: 390px;
}

.hero-slide {
    grid-area: 1 / 1;

    position: relative;
    inset: auto;

    min-height: 390px;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: scale(1.03);

    transition:
        opacity 0.8s ease,
        transform 1s ease,
        visibility 0.8s ease;
}

.hero-slide.active {
    position: relative;
    inset: auto;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: scale(1);

    z-index: 2;
}

/* Keep the hero content transition smooth */
.hero-slide .hero-content {
    transform: translateY(18px);
    opacity: 0;

    transition:
        transform 0.8s ease,
        opacity 0.8s ease;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile hero height */
@media (max-width: 760px) {
    .hero-slider {
        min-height: 360px;
    }

    .hero-slide {
        min-height: 360px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 315px;
    }

    .hero-slide {
        min-height: 315px;
    }
}

/* =========================================================
   PIXORA — FINAL VISUAL POLISH
   Cinematic Hero + Unified Action Buttons
   ========================================================= */

/* =========================================================
   CINEMATIC HERO TRANSITION BACKGROUND
   ========================================================= */

.hero-slider {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 18% 35%,
            rgba(255, 23, 68, 0.28),
            transparent 38%
        ),
        radial-gradient(
            circle at 78% 30%,
            rgba(124, 58, 237, 0.30),
            transparent 40%
        ),
        radial-gradient(
            circle at 55% 85%,
            rgba(30, 90, 180, 0.22),
            transparent 42%
        ),
        #0b0b14;

    background-size: 160% 160%;

    animation: pixoraHeroGlow 16s ease-in-out infinite;
}

/* Soft cinematic light moving behind the slides */
.hero-slider::before {
    content: "";

    position: absolute;
    inset: -20%;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(255, 23, 68, 0.20),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 45%,
            rgba(124, 58, 237, 0.22),
            transparent 35%
        ),
        radial-gradient(
            circle at 50% 90%,
            rgba(40, 100, 200, 0.16),
            transparent 38%
        );

    filter: blur(25px);

    animation: pixoraHeroLight 12s ease-in-out infinite alternate;
}

/* Keep slides above the cinematic background */
.hero-slide {
    grid-area: 1 / 1;

    position: relative;
    inset: auto;

    min-height: 390px;

    z-index: 1;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: scale(1.035);

    transition:
        opacity 0.9s ease,
        transform 1.1s ease,
        visibility 0.9s ease;
}

.hero-slide.active {
    position: relative;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: scale(1);

    z-index: 2;
}

/* Make the transition overlay richer */
.hero-slide::before {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84),
            rgba(0, 0, 0, 0.32),
            rgba(0, 0, 0, 0.16)
        ),
        radial-gradient(
            circle at 75% 45%,
            rgba(124, 58, 237, 0.18),
            transparent 45%
        ),
        radial-gradient(
            circle at 25% 55%,
            rgba(255, 23, 68, 0.16),
            transparent 45%
        );

    z-index: 1;
}

/* Smooth hero text entrance */
.hero-slide .hero-content {
    transform: translateY(18px);
    opacity: 0;

    transition:
        transform 0.75s ease,
        opacity 0.75s ease;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

/* Hero background movement */
@keyframes pixoraHeroGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pixoraHeroLight {
    0% {
        transform: translate3d(-3%, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(3%, -2%, 0) scale(1.05);
    }

    100% {
        transform: translate3d(-2%, 2%, 0) scale(1.02);
    }
}


/* =========================================================
   PIXORA — UNIFIED MAIN ACTION BUTTONS
   ========================================================= */

#exploreBtn,
.auth-btn,
.text-btn,
.random-btn,
#randomBtn,
.modal-action {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ff1744 0%,
            #ff2f68 45%,
            #7c3aed 100%
        );

    border: none;

    box-shadow:
        0 7px 22px rgba(255, 23, 68, 0.22),
        0 5px 18px rgba(124, 58, 237, 0.16);

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

/* Hover */
#exploreBtn:hover,
.auth-btn:hover,
.text-btn:hover,
.random-btn:hover,
#randomBtn:hover,
.modal-action:hover {
    color: #ffffff;

    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 11px 28px rgba(255, 23, 68, 0.30),
        0 8px 24px rgba(124, 58, 237, 0.24);
}

/* Press */
#exploreBtn:active,
.auth-btn:active,
.text-btn:active,
.random-btn:active,
#randomBtn:active,
.modal-action:active {
    transform: translateY(0) scale(0.97);
}


/* =========================================================
   VIEW ALL — MORE POLISHED
   ========================================================= */

.text-btn {
    display: inline-flex;

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

    min-height: 36px;

    padding: 0 13px;

    border-radius: 10px;

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

    white-space: nowrap;
}

.text-btn:hover {
    color: #ffffff;
}


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

#exploreBtn {
    border-radius: 14px;

    min-height: 44px;

    padding: 0 18px;

    font-weight: 800;
}


/* =========================================================
   LOGIN / SIGN UP
   ========================================================= */

.auth-btn {
    border-radius: 13px;
}


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

#randomBtn,
.random-btn {
    border-radius: 12px;
}


/* =========================================================
   HERO DOT POLISH
   ========================================================= */

.hero-dot {
    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-dot.active {
    background: #ff1744;

    box-shadow:
        0 0 14px rgba(255, 23, 68, 0.65);
}


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

@media (max-width: 760px) {
    .hero-slide {
        min-height: 360px;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        min-height: 315px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .hero-slider {
        animation: none;
    }

    .hero-slider::before {
        animation: none;
    }
           }

/* =========================================================
   PIXORA — HERO & EMPTY-STATE BUTTON POLISH
   ========================================================= */

/* All hero action buttons */
.hero .primary-btn {
    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #ff1744 0%,
        #ff2f68 45%,
        #7c3aed 100%
    ) !important;

    border: none !important;
    border-radius: 14px;

    min-height: 44px;
    padding: 0 18px;

    font-weight: 800;

    box-shadow:
        0 7px 22px rgba(255, 23, 68, 0.22),
        0 5px 18px rgba(124, 58, 237, 0.16);

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

.hero .primary-btn:hover {
    color: #ffffff !important;

    transform: translateY(-2px);
    filter: brightness(1.08);

    box-shadow:
        0 11px 28px rgba(255, 23, 68, 0.30),
        0 8px 24px rgba(124, 58, 237, 0.24);
}

.hero .primary-btn:active {
    transform: translateY(0) scale(0.97);
}


/* =========================================================
   SHOW ALL WALLPAPERS BUTTON
   ========================================================= */

#showAllBtn {
    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #ff1744 0%,
        #ff2f68 45%,
        #7c3aed 100%
    ) !important;

    border: none !important;
    border-radius: 12px;

    min-height: 42px;
    padding: 0 17px;

    font-weight: 800;

    box-shadow:
        0 7px 22px rgba(255, 23, 68, 0.22),
        0 5px 18px rgba(124, 58, 237, 0.16);

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

#showAllBtn:hover {
    color: #ffffff !important;

    transform: translateY(-2px);
    filter: brightness(1.08);
}

#showAllBtn:active {
    transform: translateY(0) scale(0.97);
}

/* =========================================================
   PIXORA — BUTTON FIX
   ========================================================= */

.hero button.primary-btn,
#resetFilters {
    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #ff1744 0%,
        #ff2f68 45%,
        #7c3aed 100%
    ) !important;

    border: none !important;

    box-shadow:
        0 7px 22px rgba(255, 23, 68, 0.22),
        0 5px 18px rgba(124, 58, 237, 0.16) !important;

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

.hero button.primary-btn:hover,
#resetFilters:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    filter: brightness(1.08);

    box-shadow:
        0 11px 28px rgba(255, 23, 68, 0.30),
        0 8px 24px rgba(124, 58, 237, 0.24) !important;
}

.hero button.primary-btn:active,
#resetFilters:active {
    transform: translateY(0) scale(0.97);
   }

/* =========================================================
   PIXORA — UNIVERSAL SEARCH AUTOCOMPLETE
   ========================================================= */

#pixoraSearchSuggestions {
    position: absolute !important;

    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;

    z-index: 9999 !important;

    display: none;

    overflow: hidden;

    max-height: 320px;

    overflow-y: auto;

    border-radius: 14px;

    background: #15151d;

    border: 1px solid
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.45);

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

    scrollbar-width: thin;
}

/* Search suggestion buttons */
#pixoraSearchSuggestions button {
    width: 100%;

    min-height: 46px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 14px;

    border: 0;

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.05);

    color: #e9e9ef;

    background: transparent;

    text-align: left;

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

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

/* Remove border from last suggestion */
#pixoraSearchSuggestions button:last-child {
    border-bottom: 0;
}

/* Hover / tap */
#pixoraSearchSuggestions button:hover {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(255, 23, 68, 0.16),
            rgba(124, 58, 237, 0.12)
        );

    padding-left: 18px;
}

/* Light mode */
.light-mode #pixoraSearchSuggestions {
    background: #ffffff;

    border-color:
        rgba(0, 0, 0, 0.08);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18);
}

.light-mode #pixoraSearchSuggestions button {
    color: #33333d;

    border-bottom-color:
        rgba(0, 0, 0, 0.06);
}

.light-mode #pixoraSearchSuggestions button:hover {
    color: #111116;

    background:
        linear-gradient(
            90deg,
            rgba(255, 23, 68, 0.09),
            rgba(124, 58, 237, 0.07)
        );
}

/* Mobile */
@media (max-width: 480px) {
    #pixoraSearchSuggestions {
        max-height: 280px;

        border-radius: 12px;
    }

    #pixoraSearchSuggestions button {
        min-height: 44px;

        padding: 10px 12px;

        font-size: 12px;
    }
}

/* =========================================================
   PIXORA — CREATOR / MESSAGE SYSTEM
   ========================================================= */

.pixora-admin-choice-card span {
    color: #ff1744;
}

#pixoraAdminChoice {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: grid;
    place-items: center;

    padding: 20px;

    background: rgba(0,0,0,.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pixora-admin-choice-card {
    width: min(390px,100%);

    padding: 28px;

    border-radius: 22px;

    background: #12121a;
    border: 1px solid rgba(255,255,255,.09);

    box-shadow:
        0 30px 80px rgba(0,0,0,.5);

    text-align: center;
}

.pixora-choice-logo {
    margin-bottom: 14px;

    font-size: 22px;
    font-weight: 950;
    letter-spacing: 1.5px;
}

.pixora-choice-logo span {
    color: #ff1744;
}

.pixora-admin-choice-card h2 {
    margin-bottom: 5px;
    font-size: 24px;
}

.pixora-admin-choice-card p {
    margin-bottom: 20px;
    color: #92929d;
    font-size: 13px;
}

.pixora-admin-choice-card button {
    width: 100%;
    min-height: 46px;

    margin-top: 9px;

    border-radius: 12px;

    color: #fff;

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

    font-size: 13px;
    font-weight: 850;
}

.pixora-admin-choice-card button:hover {
    background: rgba(255,255,255,.12);
}

#adminDashboardChoice {
    background:
        linear-gradient(
            135deg,
            #ff1744 0%,
            #ff2f68 45%,
            #7c3aed 100%
        );
}

/* Creator/message navigation helpers */

.creator-link,
.message-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 14px;

    border-radius: 11px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #ff1744,
            #7c3aed
        );

    font-size: 12px;
    font-weight: 850;
}

.creator-link:hover,
.message-link:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
           }

/* =====================================================
   PIXORA UI FIXES
   Categories + Card Buttons + Download Options
   ===================================================== */

/* CATEGORY BUTTONS */

.category-btn,
.category-chip {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.category-btn:hover,
.category-chip:hover {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #ff1744,
            #ff2f68,
            #7c3aed
        );
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px
        rgba(255, 23, 68, 0.22);
}

.category-btn.active,
.category-chip.active {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #ff1744 0%,
            #ff2f68 45%,
            #7c3aed 100%
        );
    border-color: transparent;
    box-shadow:
        0 7px 20px
        rgba(255, 23, 68, 0.22);
}

/* WALLPAPER CARD CONTROL BAR */

.pixora-card-controls {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;

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

    gap: 8px;

    z-index: 30;

    pointer-events: none;
}

.pixora-card-action {
    width: 40px;
    height: 40px;

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

    border: none;
    border-radius: 50%;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ff1744,
            #ff2f68,
            #7c3aed
        );

    box-shadow:
        0 6px 18px
        rgba(0, 0, 0, 0.35);

    cursor: pointer;

    pointer-events: auto;

    font-size: 18px;
    font-weight: 900;

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

.pixora-card-action:hover {
    transform: translateY(-2px) scale(1.05);

    box-shadow:
        0 9px 24px
        rgba(255, 23, 68, 0.3);
}

/* CHANNEL BUTTON */

.pixora-channel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    padding: 8px 13px;

    border: none;
    border-radius: 999px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ff1744,
            #ff2f68,
            #7c3aed
        );

    font-size: 0.78rem;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 6px 16px
        rgba(255, 23, 68, 0.2);

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

.pixora-channel-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 20px
        rgba(124, 58, 237, 0.28);
}

/* =====================================================
   DOWNLOAD MODAL
   ===================================================== */

body.pixora-modal-open {
    overflow: hidden;
}

.pixora-download-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

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

    padding: 20px;
}

.pixora-download-modal[hidden] {
    display: none;
}

.pixora-download-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.78);

    backdrop-filter:
        blur(10px);
}

.pixora-download-panel {
    position: relative;

    width: min(
        560px,
        100%
    );

    max-height:
        calc(100vh - 40px);

    overflow-y: auto;

    padding: 26px;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #0b0b14,
            #12121d
        );

    color: #ffffff;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.55);
}

.pixora-download-close {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);

    font-size: 25px;

    cursor: pointer;
}

.pixora-download-heading {
    padding-right: 45px;

    margin-bottom: 25px;
}

.pixora-download-label {
    display: inline-block;

    margin-bottom: 7px;

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 0.16em;

    color: #ff2f68;
}

.pixora-download-heading h2 {
    margin: 0 0 7px;

    font-size: 1.5rem;
}

.pixora-download-heading p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 0.9rem;
}

.pixora-download-group {
    margin-top: 22px;
}

.pixora-download-group h3 {
    margin: 0 0 12px;

    font-size: 0.95rem;
}

/* RATIO BUTTONS */

.pixora-option-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(115px, 1fr)
        );

    gap: 9px;
}

.pixora-option,
.pixora-quality {
    appearance: none;

    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    padding: 13px;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.045);

    text-align: left;

    cursor: pointer;

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

.pixora-option strong,
.pixora-quality strong {
    display: block;

    margin-bottom: 4px;

    font-size: 0.88rem;
}

.pixora-option span,
.pixora-quality span {
    display: block;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;
}

.pixora-option:hover,
.pixora-quality:hover {
    transform: translateY(-2px);

    border-color:
        rgba(255, 47, 104, 0.55);
}

.pixora-option.active,
.pixora-quality.active {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #ff1744,
            #ff2f68,
            #7c3aed
        );

    box-shadow:
        0 8px 22px
        rgba(255, 23, 68, 0.18);
}

.pixora-option.active span,
.pixora-quality.active span {
    color:
        rgba(255, 255, 255, 0.8);
}

/* QUALITY */

.pixora-quality-list {
    display: grid;

    gap: 9px;
}

/* MAIN DOWNLOAD BUTTON */

.pixora-download-main {
    width: 100%;

    margin-top: 25px;

    padding: 14px 18px;

    border: none;

    border-radius: 14px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ff1744 0%,
            #ff2f68 45%,
            #7c3aed 100%
        );

    font-size: 0.95rem;

    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 9px 25px
        rgba(255, 23, 68, 0.22);

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

.pixora-download-main:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(124, 58, 237, 0.3);
}

.pixora-download-main:disabled {
    opacity: 0.65;

    cursor: wait;

    transform: none;
}

.pixora-download-status {
    min-height: 20px;

    margin: 12px 0 0;

    text-align: center;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: 0.78rem;
}

/* LIGHT MODE */

.light-mode .category-btn,
.light-mode .category-chip {
    color: #17171f;

    background:
        rgba(0, 0, 0, 0.045);

    border-color:
        rgba(0, 0, 0, 0.1);
}

.light-mode .category-btn:hover,
.light-mode .category-chip:hover,
.light-mode .category-btn.active,
.light-mode .category-chip.active {
    color: #ffffff;
}

@media (max-width: 520px) {

    .pixora-download-panel {
        padding: 21px;

        border-radius: 20px;
    }

    .pixora-option-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .pixora-card-action {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }
}
