/* V2 styles with ads, two-column layout, avatars, admin */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Verdana", Verdana;
    background: #050608;
    color: #e5e5e5;
}

/* ---------- Global link styling ---------- */

a {
    color: #8fb3ff;
    text-decoration: none;
    transition:
        color 0.15s ease,
        text-shadow 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(111, 159, 255, 0.65);
}

a:active {
    color: #d0e0ff;
}

/* ---------- Layout wrapper ---------- */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ---------- Header & nav (slim) ---------- */

/* ---------- Header & simple nav ---------- */

.site-header {
    border-bottom: 1px solid #181b23;
    background: #050608;
    position: sticky;      /* or remove if you don't want sticky */
    top: 0;
    z-index: 40;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;          /* keeps the bar short */
}

/* logo */

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.logo span {
    color: #6f9fff;
}

.logo-icon {
    width: 35px;
    height: 35px;
}

/* simple thin nav */

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
    margin-left: auto;
    padding: 0;
}

/* make SURE no old styles leak in */
.nav a {
    display: inline-block;
    padding: 0;            /* kill any big pill padding */
    margin: 0;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cfd2e8;
    text-decoration: none;
    line-height: 1;        /* no tall lines */
}

.nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 4px rgba(111, 159, 255, 0.6);
}

/* mobile: stack nav below logo */

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 0.4rem 0.2rem;
        gap: 0.4rem;
    }

    .nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.8rem;
    }
}


/* ---------- Announcement bar ---------- */

.announce-bar {
    background: #0b0d16;
    border-bottom: 1px solid #191d2b;
    border-top: 1px solid #191d2b;
}

.announce-inner {
    padding: 0.55rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 44px;
}

.announce-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(246, 204, 88, 0.15);
    border: 1px solid rgba(246, 204, 88, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #f6cc58;
}

.announce-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.86rem;
    color: #dbe4ff;
}

.announce-title {
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.74rem;
    color: #f6cc58;
}

.announce-body {
    line-height: 1.3;
    color: #e3e7ff;
}

.announce-body a {
    color: #ffdd7a;
    text-decoration: underline;
}
.announce-body a:hover {
    color: #fff3c2;
}

/* ==== Premium ad banner strip ==== */

.ad-banner-wrapper {
    border-top: 1px solid #141726;
    border-bottom: 1px solid #141726;
    background:
        radial-gradient(circle at 0% 0%, rgba(111,159,255,0.16) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(163,120,255,0.18) 0, transparent 55%),
        #050608;
    padding: 0.7rem 0 0.9rem;
}

.ad-banner-row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(6,12,32,0.95), rgba(3,5,15,0.98));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/* individual ad "cards" */

.ad-banner {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(72, 104, 210, 0.55);
    background:
        linear-gradient(135deg, rgba(13,25,62,0.95), rgba(12,18,42,0.96));
    box-shadow: 0 0 0 0 rgba(72, 104, 210, 0.75);
    transition:
        transform 0.12s ease-out,
        box-shadow 0.18s ease-out,
        border-color 0.18s ease-out,
        background 0.18s ease-out;
}

.ad-banner a:hover {
    transform: translateY(-1px);
    border-color: rgba(135, 171, 255, 0.95);
    background:
        linear-gradient(135deg, rgba(26,48,108,0.98), rgba(20,32,85,0.98));
    box-shadow: 0 0 22px rgba(72, 104, 210, 0.7);
}

/* logos inside */

.ad-banner img {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
}

/* small "Sponsored" pill in the corner (optional, no HTML needed) */

.ad-banner-wrapper::before {
    content: "AD";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -0.1rem;
    left: 1.4rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(151, 179, 255, 0.7);
    background: rgba(5, 10, 28, 0.95);
    color: #c9d6ff;
}

/* mobile: stack ads vertically */

@media (max-width: 720px) {
    .ad-banner-row {
        flex-direction: column;
        padding-inline: 0.7rem;
    }

    .ad-banner a {
        padding-block: 0.65rem;
    }

    .ad-banner-wrapper::before {
        left: 1rem;
    }
}


/* ===== HOME PAGE LAYOUT (breach-style) ===== */

.home-main {
    padding-top: 1.2rem;
}

/* HERO SECTION */

.home-hero {
    margin-bottom: 2rem;
    
    background: #050608; /* match page background */
}

.home-hero-inner {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem 0 1.7rem;
}

.home-hero-logo-wrap {
    margin: 0.5rem 0 0.75rem;
    display: flex;
    justify-content: center;      /* center horizontally */
}


.home-hero-logo {
    max-width: 180px;             /* controls how wide it can get */
    width: 100%;                  /* shrink on smaller screens */
    height: auto;                 /* keep aspect ratio */
    object-fit: contain;          /* never stretch/crop */
}


/* main hero card */

.home-hero-card {
    flex: 1 1 60%;
    position: relative;
    padding: 1.6rem 1.8rem 1.8rem;
    border-radius: 10px;
    border: 1px solid #181b23;
    background:
        radial-gradient(circle at 0% 0%, rgba(127, 154, 255, 0.18) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(157, 120, 255, 0.14) 0, transparent 55%),
        linear-gradient(135deg, #0b0f1c 0%, #050608 75%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.home-hero-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9aa4ff;
    margin-bottom: 0.3rem;
}

.home-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.home-hero-subtitle {
    font-size: 0.95rem;
    color: #c4ccff;
    max-width: 520px;
    line-height: 1.5;
    margin-bottom: 0.95rem;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.home-hero-button {
    font-size: 0.95rem;
    padding: 0.55rem 1.4rem;
}

.home-hero-secondary {
    font-size: 0.9rem;
    color: #9fb0ff;
}

.home-hero-secondary:hover {
    text-decoration: underline;
}

/* small chips under buttons */

.home-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.1rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1.3;
}

.chip-soft {
    background: rgba(111, 159, 255, 0.1);
    border: 1px solid rgba(111, 159, 255, 0.5);
    color: #dbe4ff;
}

.chip-outline {
    border: 1px solid #353a55;
    color: #aeb8ff;
}

/* right-side hero info card */

.home-hero-side {
    flex: 0 0 32%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-hero-side-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9aa4ff;
    margin-bottom: 0.5rem;
}

.home-hero-side-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.86rem;
    color: #d0d7ff;
}

.home-hero-side-list li {
    margin-bottom: 0.35rem;
    position: relative;
    padding-left: 0.9rem;
}

.home-hero-side-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.02rem;
    color: #6f9fff;
}

/* MAIN GRID BELOW HERO */

.home-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.home-column.home-left {
    flex: 1 1 60%;
}

.home-column.home-right {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-info-card {
    font-size: 0.9rem;
}

/* responsive tweaks */

@media (max-width: 900px) {
    .home-hero-inner {
        flex-direction: column;
        padding-top: 1.3rem;
        padding-bottom: 1.4rem;
    }

    .home-hero-card {
        flex: 1 1 auto;
        padding: 1.4rem 1.3rem 1.6rem;
    }

    .home-hero-title {
        font-size: 1.6rem;
    }

    .home-hero-subtitle {
        font-size: 0.9rem;
    }

    .home-hero-side {
        flex: 1 1 auto;
    }

    .home-grid {
        flex-direction: column;
    }

    .home-column.home-left,
    .home-column.home-right {
        flex: 1 1 100%;
    }
}


/* ---------- Main layout ---------- */

.main-content {
    padding: 1.5rem 0 2.5rem;
}

.layout-two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.column-main {
    flex: 1 1 60%;
}

.column-sidebar {
    flex: 1 1 35%;
}

@media (max-width: 800px) {
    .layout-two-column {
        flex-direction: column;
    }
}

/* ---------- Cards ---------- */

.card {
    background: #0b0d12;
    border: 1px solid #181b23;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.card-header {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
}

/* ---------- Forms ---------- */

form {
    margin-top: 1rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    background: #050608;
    border: 1px solid #262a35;
    border-radius: 4px;
    padding: 0.5rem 0.6rem;
    color: #e5e5e5;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

textarea {
    min-height: 200px;
    font-family: monospace;
}

button,
.button {
    display: inline-block;
    border: none;
    border-radius: 4px;
    padding: 0.45rem 0.9rem;
    font-size: 0.95rem;
    cursor: pointer;
    background: #396cff;
    color: #fff;
    text-decoration: none;
}
button:hover,
.button:hover {
    filter: brightness(1.1);
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.errors {
    color: #ff6666;
    margin-bottom: 0.5rem;
    list-style: disc;
    padding-left: 1.1rem;
    font-size: 0.9rem;
}

.success {
    color: #7cff7c;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.muted {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

/* ---------- Pastes ---------- */

.paste-row {
    margin-bottom: 0.8rem;
}

.paste-row-title a {
    color: #f4c95d;
    text-decoration: none;
    font-weight: 500;
}
.paste-row-title a:hover {
    color: #ffe89c;
    text-shadow: 0 0 6px rgba(244, 201, 93, 0.6);
}

.paste-row-meta {
    font-size: 0.8rem;
    color: #888;
}

.paste-row-meta a {
    color: #8fb3ff;
}
.paste-row-meta a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(111, 159, 255, 0.65);
}

.paste-row-small {
    margin-bottom: 0.5rem;
}
.paste-row-small a {
    text-decoration: none;
    color: #f4c95d;
}
.paste-row-small a:hover {
    color: #ffe89c;
    text-shadow: 0 0 6px rgba(244, 201, 93, 0.6);
}

.paste-content {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 0.9rem;
    background: #050608;
    border-radius: 4px;
    padding: 0.8rem;
    border: 1px solid #181b23;
}

.burn-label {
    color: #ff6666;
}

/* ---------- Text ads ---------- */

.text-ad {
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    background: #131623;
    border: 1px solid #262a35;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}
.text-ad a {
    color: #f5c542;
    text-decoration: none;
}
.text-ad a:hover {
    color: #ffe89c;
}

/* ---------- User display / avatars / profile stats ---------- */

.user-display .username-core.username-admin {
    color: #ff4f6e !important;
}

.user-display .username-core.username-moderator {
    color: #ffa640 !important;
}

.user-display .username-core.username-user {
    color: #8fb3ff !important;
}

.profile-stats {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-stat {
    background: #050608;
    border: 1px solid #181b23;
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
    min-width: 130px;
}

.profile-stat-label {
    font-size: 0.75rem;
    color: #9aa2c0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-stat-value {
    margin-top: 0.15rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.25rem;
    position: relative;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: block;
}

/* animated frames (optional cosmetic) */

.user-avatar.frame-glow-blue {
    box-shadow: 0 0 0 0 rgba(88, 150, 255, 0.9);
    animation: frame-glow-blue 1.8s ease-out infinite;
}

@keyframes frame-glow-blue {
    0%   { box-shadow: 0 0 0 0 rgba(88,150,255,0.9); }
    70%  { box-shadow: 0 0 0 4px rgba(88,150,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(88,150,255,0); }
}

.user-avatar.frame-pulse-purple {
    box-shadow: 0 0 0 0 rgba(180,120,255,0.9);
    animation: frame-pulse-purple 1.6s ease-out infinite;
}

@keyframes frame-pulse-purple {
    0%   { box-shadow: 0 0 0 0 rgba(180,120,255,0.9); }
    60%  { box-shadow: 0 0 0 4px rgba(180,120,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(180,120,255,0); }
}

.username-core {
    font-weight: 600;
}

.username-item {
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    border: 1px solid #333;
}

.badge-og {
    border-color: #f5c542;
    color: #f5c542;
}
.prefix-elite {
    border-color: #ff4f81;
    color: #ff4f81;
}
.suffix-shadow {
    border-color: #888;
    color: #888;
}

/* ---------- Themes ---------- */

.theme-dark {
    background: #050608;
    color: #e5e5e5;
}
.theme-light {
    background: #f6f6f9;
    color: #111;
}
.theme-light .card {
    background: #fff;
    border-color: #ddd;
}
.theme-light input,
.theme-light textarea,
.theme-light select {
    background: #fff;
    color: #111;
}

/* ---------- Admin ---------- */

/* --- Admin page layout --- */

.admin-page {
    margin-top: 1.2rem;
}

/* tab strip at top of card */
.admin-tabs {
    margin-bottom: 0.9rem;
}

.admin-tabs a {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    margin-right: 0.45rem;
    border-radius: 999px;
    background: #0b0d12;
    border: 1px solid #262a35;
    color: #9aa4ff;
    font-size: 0.85rem;
    text-decoration: none;
}

.admin-tabs a:hover {
    background: #151a28;
    border-color: #396cff;
    color: #ffffff;
}

.admin-tabs a.active {
    background: #396cff;
    border-color: #396cff;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(57, 108, 255, 0.45);
}

/* main admin tables */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.4rem;
    font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
    border: 1px solid #181b23;
    padding: 0.35rem 0.55rem;
}

.admin-table th {
    background: #101320;
    color: #9aa4ff;
    font-weight: 600;
    text-align: left;
}

.admin-table tr:nth-child(even) td {
    background: #090b12;
}

.admin-table tr:hover td {
    background: #141828;
}

/* inline forms + buttons inside table rows */

.inline-form {
    display: inline-block;
    margin: 0;
}

.admin-table .inline-form select[name="role"] {
    font-size: 0.8rem;
    padding: 0.15rem 0.25rem;
    margin-right: 0.15rem;
    background: #05060b;
    border-radius: 4px;
    border: 1px solid #262a35;
    color: #e5e5e5;
}

.admin-table .inline-form button {
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    margin-left: 0.15rem;
}

.section-title-small {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ---------- Inventory ---------- */

.inventory-list {
    margin-top: 0.5rem;
}
.inventory-row {
    border-top: 1px solid #181b23;
    padding-top: 0.6rem;
    margin-top: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.inventory-name {
    font-size: 0.9rem;
}
.inventory-type {
    font-size: 0.75rem;
    color: #888;
}
.inventory-desc {
    font-size: 0.8rem;
    color: #aaa;
}

/* ---------- User profile ---------- */

.profile-banner {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid #181b23;
}

.profile-banner-default {
    background: radial-gradient(circle at top, #272b3d 0%, #0b0d12 60%);
}

.profile-card {
    margin-bottom: 1.5rem;
}

.profile-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.profile-main-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.profile-name .user-display {
    font-size: 1.1rem;
}

.profile-location {
    font-size: 0.85rem;
    color: #a0a7c2;
}

.profile-bio {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #e1e4ff;
}

.profile-bio.empty {
    color: #777;
    font-style: italic;
}

.profile-links {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-links a {
    font-size: 0.82rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #2e3650;
    color: #c8d5ff;
    text-decoration: none;
    background: linear-gradient(120deg, #181c28, #141824);
}

.profile-links a:hover {
    border-color: #4b6fff;
    color: #ffffff;
}

.user-bio {
    margin-bottom: 1rem;
    white-space: pre-wrap;
}
.user-bio.empty {
    color: #777;
}

.user-bio a {
    color: #8fb3ff;
}
.user-bio a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(111, 159, 255, 0.65);
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid #222;
    padding: 1rem 0 2rem;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}

.site-footer a {
    color: #8fb3ff;
}
.site-footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(111, 159, 255, 0.65);
}

/* ---------- Icon library / picker ---------- */

.icon-upload-form {
    margin-bottom: 1rem;
}

.icon-library-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.icon-card {
    background: #05060b;
    border: 1px solid #181b23;
    border-radius: 6px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-width: 200px;
}

.icon-preview img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: contain;
    background: #000;
}

.icon-meta {
    font-size: 0.8rem;
}

.icon-name {
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.icon-path {
    color: #777;
    font-family: monospace;
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
}

.icon-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.icon-option {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #181b23;
    background: #05060b;
    cursor: pointer;
    font-size: 0.8rem;
}

.icon-option input[type="radio"] {
    margin: 0;
}

.icon-option-image img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
    background: #000;
}

.icon-option:hover {
    border-color: #396cff;
}

/* Auth pages (login / register) */

.auth-page {
    min-height: calc(100vh - 140px); /* header + footer space */
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
}

.auth-card {
    max-width: 420px;
    margin: 0 auto;
}

/* ===== New Paste Composer ===== */

.new-paste-page {
    padding: 1.4rem 0 2.5rem;
}

.new-paste-hero {
    margin-bottom: 1rem;
}

.new-paste-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.new-paste-hero-subtitle {
    font-size: 0.9rem;
    color: #a5acc7;
}

.new-paste-layout {
    margin-top: 0.6rem;
}

/* main editor card gets a very soft highlight */
.new-paste-main-card {
    background:
        radial-gradient(circle at 0% 0%, rgba(111, 159, 255, 0.09) 0, transparent 55%),
        #0b0d12;
}

/* tighter labels for this page */
.new-paste-label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: block;
}

/* options & tips */

.new-paste-options-card {
    font-size: 0.88rem;
}

.small-muted {
    font-size: 0.78rem;
    margin-top: 0.1rem;
    margin-bottom: 0;
}

.new-paste-help-card {
    font-size: 0.85rem;
}

.new-paste-tips {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.new-paste-tips li {
    position: relative;
    padding-left: 0.95rem;
    margin-bottom: 0.35rem;
    color: #c5c9e6;
}

.new-paste-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #6f9fff;
}

/* bottom action bar */

.new-paste-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.new-paste-actions button {
    padding: 0.5rem 1.4rem;
}

.new-paste-actions-note {
    font-size: 0.8rem;
    color: #9ba1c1;
}

/* stack nicely on mobile */

@media (max-width: 800px) {
    .new-paste-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .new-paste-actions button {
        width: 100%;
        text-align: center;
    }
}

/* ==== Premium Upload card tweaks ==== */

/* ==== Premium Upload / Ads card tweaks ==== */

.upload-card,
.ad-card {
    max-width: 900px;
    margin: 1.8rem auto 2.8rem;
    border-radius: 10px;
    border: 1px solid #20263a;
    background:
        radial-gradient(circle at 0% 0%, rgba(111, 159, 255, 0.14) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(147, 120, 255, 0.16) 0, transparent 55%),
        #050608;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
}


.upload-card-header,
.ad-card-header {
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.upload-card-header .card-title,
.ad-card-header .card-title {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.upload-pill {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(111, 159, 255, 0.6);
    background: rgba(8, 16, 40, 0.9);
    color: #c7d5ff;
}

.upload-subtitle {
    margin-bottom: 1rem !important;
    font-size: 0.86rem;
    color: #c4ccff;
}

/* nicer success box */

.upload-success {
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.9rem;
    background: rgba(26, 44, 92, 0.6);
    border: 1px solid rgba(87, 142, 255, 0.7);
}

.upload-success-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #e9f1ff;
}

.upload-success-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8rem;
    align-items: center;
}

.upload-success-row .label {
    color: #9aa7d8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.upload-success-row code {
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: #050914;
    border: 1px solid #262f4f;
    font-size: 0.76rem;
}

/* form layout */

.upload-form label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca7d4;
}

.upload-form input[type="text"] {
    margin-bottom: 1rem;
}

/* file row + button */

.upload-file-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.3rem;
}

.upload-file-row input[type="file"] {
    flex: 1 1 auto;
    font-size: 0.85rem;
    color: #cfd4ff;
}

/* make the upload button feel primary */

.upload-button {
    flex: 0 0 auto;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #396cff, #6f9fff);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(57,108,255,0.8);
    transition:
        transform 0.1s ease,
        box-shadow 0.2s ease,
        filter 0.15s ease;
}

.upload-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(57,108,255,0.6);
}

.upload-button:active {
    transform: translateY(0);
    box-shadow: 0 0 6px rgba(57,108,255,0.5);
}


/* mobile: stack file input + button */

@media (max-width: 720px) {
    .upload-file-row {
        flex-direction: column;
        align-items: stretch;
    }

    .upload-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ==== Buy Ads premium styling (matches Upload) ==== */

/* pill reuses upload-pill base */
.ad-pill {
    @extend .upload-pill; /* if your CSS doesn't support @extend, ignore this – next rules override */
    border-color: rgba(111, 159, 255, 0.9);
}

/* fallback in plain CSS if @extend isn't supported: */
.ad-pill {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(111, 159, 255, 0.9);
    background: rgba(8, 16, 40, 0.95);
    color: #c7d5ff;
}

.ad-subtitle {
    margin-bottom: 0.75rem;
    font-size: 0.86rem;
    color: #c4ccff;
}

.ad-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.ad-meta-chip {
    font-size: 0.75rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid #2b3250;
    background: rgba(9, 13, 28, 0.9);
    color: #c7d1ff;
}

/* success state when an order is created */
.ad-success {
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.9rem;
    background: rgba(22, 60, 96, 0.7);
    border: 1px solid rgba(87, 142, 255, 0.9);
}

.ad-success-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #e9f1ff;
}

.ad-success-body {
    font-size: 0.8rem;
    color: #d3defe;
}

.ad-success-note {
    display: inline-block;
    margin-top: 0.1rem;
    color: #9fb2ff;
}

/* labels + price line */
.ad-form label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca7d4;
}

.ad-price-line {
    margin-top: 0.3rem;
    margin-bottom: 0.9rem;
}

/* main Coinbase button */
.ad-button {
    padding: 0.55rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #396cff, #6f9fff);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(57,108,255,0.8);
    transition:
        transform 0.1s ease,
        box-shadow 0.2s ease,
        filter 0.15s ease;
}

.ad-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(57,108,255,0.6);
}

.ad-button:active {
    transform: translateY(0);
    box-shadow: 0 0 6px rgba(57,108,255,0.5);
}

/* mobile tweaks */
@media (max-width: 720px) {
    .ad-card {
        margin-top: 1.2rem;
    }

    .ad-meta-row {
        flex-direction: column;
    }

    .ad-button {
        width: 100%;
        text-align: center;
    }
}




