@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/Outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/Outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-wrap: pretty;
}

/* Radius: cards 12px, controls 8px, chips pill. One system. */
:root {
    --font-sans: 'Outfit', ui-sans-serif, system-ui, sans-serif;
    --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;

    --background: 180 42% 6%;
    --foreground: 170 20% 96%;

    --card: 180 32% 9%;
    --card-foreground: 170 20% 96%;

    --popover: 180 32% 9%;
    --popover-foreground: 170 20% 96%;

    --primary: 178 90% 38%;
    --primary-foreground: 180 42% 6%;

    --secondary: 180 24% 12%;
    --secondary-foreground: 170 20% 96%;

    --muted: 178 28% 14%;
    --muted-foreground: 175 10% 68%;

    --accent: 178 28% 14%;
    --accent-foreground: 170 20% 96%;

    --destructive: 0 62.8% 40%;
    --destructive-foreground: 170 20% 96%;

    --border: 180 18% 16%;
    --input: 180 18% 16%;
    --ring: 178 90% 38%;

    --radius: 0.75rem;
    --radius-sm: 0.5rem;
    --radius-pill: 999px;

    --z-header: 100;
    --z-overlay: 1000;
    --z-dropdown: 10000;
    --z-grain: 60;

    --shadow-card: 0 1px 2px hsl(180 40% 2% / 0.28), 0 8px 24px hsl(180 40% 2% / 0.18);
    --shadow-lift: 0 12px 32px hsl(178 90% 8% / 0.35);
    --art-frame: hsl(var(--muted) / 0.72);

    /* Brand colors - teal accent #0abab5 */
    --brand-blue: 178 90% 38%;
    --brand-blue-dark: 178 90% 32%;
    --brand-blue-light: 178 90% 45%;

    --accent-green: 142 50% 42%;
    --accent-green-dark: 142 50% 34%;

    --dark-bg: hsl(var(--background));
    --dark-surface: hsl(var(--card));
    --dark-surface-2: hsl(var(--muted));
    --text-primary: hsl(var(--foreground));
    --text-secondary: hsl(var(--muted-foreground));
}

[data-theme="light"] {
    --background: 168 24% 94%;
    --foreground: 185 22% 12%;

    --card: 0 0% 100%;
    --card-foreground: 185 22% 12%;

    --popover: 0 0% 100%;
    --popover-foreground: 185 22% 12%;

    --primary: 178 85% 30%;
    --primary-foreground: 0 0% 100%;

    --secondary: 168 18% 90%;
    --secondary-foreground: 185 22% 12%;

    --muted: 168 16% 91%;
    --muted-foreground: 180 10% 40%;

    --accent: 168 20% 88%;
    --accent-foreground: 185 22% 12%;

    --destructive: 0 72% 46%;
    --destructive-foreground: 0 0% 100%;

    --border: 168 14% 84%;
    --input: 168 14% 84%;
    --ring: 178 85% 30%;

    --shadow-card: 0 1px 3px hsl(185 25% 20% / 0.08), 0 6px 20px hsl(178 30% 25% / 0.06);
    --shadow-lift: 0 12px 32px hsl(178 40% 25% / 0.14);
    --art-frame: hsl(168 16% 91%);

    --brand-blue: 178 85% 30%;
    --brand-blue-dark: 178 85% 24%;
    --brand-blue-light: 178 75% 36%;

    --dark-bg: hsl(var(--background));
    --dark-surface: hsl(var(--card));
    --dark-surface-2: hsl(var(--muted));
    --text-primary: hsl(var(--foreground));
    --text-secondary: hsl(var(--muted-foreground));
}

html[data-theme="light"],
[data-theme="light"] body {
    background-color: hsl(var(--background));
}

[data-theme="light"] .header {
    background-color: hsl(var(--card) / 0.88);
}

[data-theme="light"] .hero-title .highlight {
    color: hsl(var(--brand-blue));
}

/* ShadCN Component Styles */

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
    height: 2.5rem;
    padding: 0 1.1rem;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn:active:not(:disabled) {
    transform: scale(0.98);
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: hsl(var(--brand-blue));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background-color: hsl(var(--brand-blue-dark));
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary) / 0.8);
}

.btn-outline {
    border: 1px solid hsl(var(--border));
    background-color: transparent;
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.btn-ghost {
    background-color: transparent;
    color: hsl(var(--foreground));
}

.btn-ghost:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.btn-sm {
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    height: 2.75rem;
    padding: 0 2rem;
    font-size: 1rem;
}

/* Input */
.input {
    display: flex;
    height: 2.5rem;
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid hsl(var(--input));
    background-color: hsl(var(--background));
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: hsl(var(--foreground));
}

.input::placeholder {
    color: hsl(var(--muted-foreground));
}

.input:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.input:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Textarea (extends input styles) */
textarea.input {
    min-height: 2.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    resize: vertical;
}

/* Card */
.card {
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    box-shadow: var(--shadow-card);
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

.card-content {
    padding: 1.5rem;
    padding-top: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    padding-top: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 72px 0 80px;
}


/* Grid utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Header Styles */
.header {
    border-bottom: 1px solid hsl(var(--border));
    padding: 0;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    background-color: hsl(var(--background) / 0.78);
    min-height: 64px;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    gap: 16px;
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 24px;
    flex-shrink: 0;
    min-width: 0;
}

.header-logo {
    height: 24px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.header-logo-light {
    display: none;
}

[data-theme="light"] .header-logo-light {
    display: block;
}

[data-theme="light"] .header-logo-dark {
    display: none;
}

.header-logo-dark {
    display: block;
}

.nav-links {
    display: flex;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.nav-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    position: relative;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--muted) / 0.6);
}

.nav-link::after {
    display: none;
}

.nav-link.is-active {
    color: hsl(var(--foreground));
    background-color: hsl(var(--muted));
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.profile-btn {
    background-color: hsl(var(--brand-blue)) !important;
    color: hsl(var(--primary-foreground)) !important;
    border-color: hsl(var(--brand-blue)) !important;
    font-weight: 600;
}

.profile-btn:hover {
    background-color: hsl(var(--brand-blue-dark)) !important;
    border-color: hsl(var(--brand-blue-dark)) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lift);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background-color: var(--dark-surface-2);
    color: var(--brand-blue);
}

.theme-toggle .theme-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

.connect-btn {
    --mdc-theme-primary: var(--brand-blue);
    --mdc-theme-on-primary: var(--text-primary);
    border-color: var(--brand-blue) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.connect-btn:hover {
    background-color: hsl(var(--brand-blue));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--brand-blue));
}

/* Connect Dropdown Styles */
.connect-options {
    position: relative;
}

.connect-dropdown {
    position: relative;
    display: inline-block;
}

.connect-dropdown-menu {
    display: none !important;
    position: fixed;
    right: 16px;
    top: auto;
    bottom: auto;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    min-width: 220px;
    max-width: calc(100vw - 32px);
    z-index: 10000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.connect-dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

/* Desktop: position relative to button */
@media (min-width: 769px) {
    .connect-dropdown-menu {
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        bottom: auto;
        max-width: none;
    }
}

.connect-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    color: hsl(var(--foreground));
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.connect-option:hover,
.connect-option:active {
    background-color: hsl(var(--accent));
}

.connect-option:first-child {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.connect-option:last-child {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.connect-option-icon {
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connect-option-icon.farcaster-icon {
    width: 20px;
    height: 20px;
    font-size: 0;
}

.connect-option-farcaster {
    background-color: #0abab5 !important;
    color: white !important;
}

.connect-option-farcaster:hover,
.connect-option-farcaster:active {
    background-color: #067a77 !important;
    color: white !important;
}

.connect-btn-simple {
    --mdc-theme-primary: var(--brand-blue);
    --mdc-theme-on-primary: var(--text-primary);
    border-color: var(--brand-blue) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.connect-btn-simple:hover {
    --mdc-theme-primary: var(--brand-blue-dark);
    background-color: var(--brand-blue);
    color: var(--text-primary);
}

.wallet-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: var(--dark-surface-2);
    border-radius: 4px;
}

.disconnect-btn {
    padding: 4px 8px;
    min-width: auto;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.disconnect-btn:hover {
    opacity: 1;
    background-color: hsl(var(--destructive) / 0.1);
    color: hsl(var(--destructive));
}

.wallet-address {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    font-variant-numeric: tabular-nums;
}

.wallet-address:hover {
    color: var(--brand-blue);
}

.chain-badge {
    background-color: hsl(var(--brand-blue));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chain-badge:hover {
    background-color: var(--brand-blue-dark);
}

.search-field {
    width: 200px;
}

.search-field .mdc-text-field__input {
    color: var(--text-primary);
}

.search-field .mdc-notched-outline__leading,
.search-field .mdc-notched-outline__notch,
.search-field .mdc-notched-outline__trailing {
    border-color: var(--dark-surface-2) !important;
}

/* Hero Section */
.hero {
    background-color: hsl(var(--background));
    text-align: left;
    padding: 40px 0 28px;
    display: flex;
    align-items: flex-start;
}

.hero-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.hero-copy {
    max-width: 36rem;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 16px;
    color: hsl(var(--foreground));
    text-wrap: balance;
}

.hero-title .highlight {
    color: hsl(var(--brand-blue-light));
    font-style: italic;
    font-weight: 500;
    display: inline;
    padding-bottom: 0.12em;
    line-height: 1.12;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.5;
    color: hsl(var(--muted-foreground));
    margin-bottom: 28px;
    max-width: 38ch;
}

.hero-cta {
    margin-bottom: 0;
}

.hero-cta:hover {
    --mdc-theme-primary: var(--brand-blue-dark);
}

.hero-logo-container,
.hero-tagline {
    display: none;
}

/* Visual Showcase / hero gallery — full-width row of equal square frames */
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    height: auto;
    min-height: 0;
}

.hero-gallery-slot,
.hero-gallery .showcase-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--art-frame);
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid hsl(var(--border));
    display: grid;
    position: relative;
}

.hero-gallery-slot.skeleton,
.showcase-card .showcase-image-placeholder {
    background:
        linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted) / 0.55) 50%, hsl(var(--muted)) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
}

.visual-showcase {
    background-color: var(--dark-bg);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    height: auto;
}

.showcase-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-grid .showcase-card {
    aspect-ratio: 1 / 1;
    height: auto;
    min-width: 0;
    min-height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--art-frame);
    border: 1px solid hsl(var(--border));
    display: grid;
    position: relative;
}

.showcase-card.clickable {
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card.clickable:hover {
    transform: translateY(-4px);
}

.showcase-image {
    background: var(--art-frame);
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
}

.showcase-image.has-art > .showcase-image-placeholder,
.showcase-image > img + .showcase-image-placeholder {
    display: none !important;
}

.hero-gallery .showcase-image,
.showcase-grid .showcase-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.showcase-image-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.showcase-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    font-size: 13px;
}

/* Feature Grid */
.feature-grid {
    background-color: hsl(var(--card));
}

.feature-heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 36px;
    color: hsl(var(--foreground));
    max-width: 18ch;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid hsl(var(--border));
}

.feature-card {
    background: transparent;
    padding: 28px 32px 28px 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid hsl(var(--border));
}

.feature-card:nth-child(odd) {
    padding-right: 32px;
    border-right: 1px solid hsl(var(--border));
}

.feature-card:nth-child(even) {
    padding-left: 32px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: hsl(var(--muted));
    color: hsl(var(--brand-blue-light));
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-name {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
    margin: 0;
}

.feature-text {
    color: hsl(var(--muted-foreground));
    font-size: 0.975rem;
    line-height: 1.55;
    max-width: 42ch;
}

/* Intro Text */
.intro-text {
    background-color: hsl(var(--background));
    text-align: left;
    padding-top: 32px;
}

.intro-content {
    max-width: 40rem;
}

.intro-main {
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 12px;
    color: hsl(var(--foreground));
    text-wrap: balance;
}

.intro-sub {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
}

/* Trending on OpenSea Section */
.trending-opensea-section {
    padding: 60px 0;
    background-color: hsl(var(--background));
}

.trending-opensea-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trending-opensea-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 24px;
}

.trending-opensea-control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trending-opensea-control-label {
    font-size: 12px;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trending-opensea-timeframe-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.trending-opensea-tab-btn {
    padding: 6px 14px;
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    background: transparent;
    color: hsl(var(--muted-foreground));
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.trending-opensea-tab-btn:hover:not(:disabled) {
    border-color: hsl(var(--primary) / 0.5);
    color: hsl(var(--foreground));
}

.trending-opensea-tab-btn.active {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.12);
    color: hsl(var(--primary));
}

.trending-opensea-tab-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.trending-opensea-chain-select {
    min-width: 160px;
}

.trending-opensea-subtitle {
    font-size: 0.95rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.trending-opensea-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.trending-opensea-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.trending-opensea-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px hsl(var(--foreground) / 0.1);
    border-color: hsl(var(--primary));
}

.trending-opensea-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.trending-opensea-category {
    font-size: 12px;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trending-opensea-chain-label {
    font-size: 12px;
    font-weight: 600;
    color: hsl(var(--foreground) / 0.75);
}

.trending-opensea-first-review {
    font-size: 12px;
    font-weight: 600;
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1.3;
}

/* Recently Reviewed Collections Section */
.recently-reviewed-collections-section {
    padding: 60px 0;
    background-color: hsl(var(--background));
}

.recently-reviewed-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.recently-reviewed-collection-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.recently-reviewed-collection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px hsl(var(--foreground) / 0.1);
    border-color: hsl(var(--primary));
}

.collection-logo-container {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--muted));
    flex-shrink: 0;
}

.collection-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.collection-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
}

.collection-logo-placeholder svg {
    width: 48px;
    height: 48px;
}

.collection-info {
    width: 100%;
}

.collection-name {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-date {
    font-size: 13px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.loading-collections,
.no-collections {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: hsl(var(--muted-foreground));
}

/* Welcome Section */
.welcome-section {
    background-color: hsl(var(--card));
    padding: 60px 0;
    border-bottom: 1px solid hsl(var(--border));
}

.welcome-content {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.welcome-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    flex-shrink: 0;
    background: radial-gradient(circle, #0abab5 0%, #067a77 100%);
}

.welcome-text {
    flex: 1;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: hsl(var(--foreground));
    margin: 0 0 8px 0;
    line-height: 1.15;
}

.welcome-username-link {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.welcome-username-link:hover {
    color: hsl(var(--brand-blue-light));
    opacity: 0.9;
}

.welcome-subtitle {
    font-size: 16px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.welcome-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.welcome-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.welcome-stat .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1;
}

.welcome-stat .stat-value-loading {
    width: 40px;
    height: 32px;
    background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted) / 0.5) 50%, hsl(var(--muted)) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.welcome-stat .stat-label {
    font-size: 13px;
    color: hsl(var(--muted-foreground));
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.welcome-stat .stat-value {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 40px 0;
    }
    
    .welcome-title {
        font-size: 28px;
    }
    
    .welcome-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .welcome-stats {
        justify-content: center;
        gap: 24px;
    }
    
    .welcome-stat .stat-value {
        font-size: 24px;
    }
}

/* Popular Section - Two Column Layout */
.popular-section {
    background-color: var(--dark-surface);
}

.popular-layout {
    display: grid;
    grid-template-columns: 80% 20%;
    gap: 40px;
    align-items: start;
}

.popular-reviews-column {
    width: 100%;
}

.popular-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.popular-reviews-content,
.popular-lists-content,
.popular-reviewers-content {
    width: 100%;
}

/* Popular Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.review-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-surface-2);
}

.review-item:last-child {
    border-bottom: none;
}

.review-item.clickable {
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    margin: 0 -20px;
    padding: 20px;
}

.review-item.clickable:hover {
    background-color: var(--dark-surface-2);
}

.review-image {
    width: 120px;
    height: 148px;
    background: var(--art-frame);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.review-image-placeholder {
    display: none !important;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--art-frame);
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
}

.review-image:not(:has(img)) .review-image-placeholder {
    display: flex !important;
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 10px;
}

.review-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
}

.review-year {
    color: var(--text-secondary);
    font-size: 14px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background-color: var(--dark-bg);
    flex-shrink: 0;
}

.author-name {
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.author-name:hover {
    color: hsl(var(--primary));
    text-decoration: underline;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.star-filled {
    color: var(--accent-green);
    font-size: 18px;
}

.star-half {
    color: var(--accent-green);
    font-size: 18px;
}

.review-rating .star {
    color: hsl(var(--muted));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.review-rating .star svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.review-rating .star.star-filled {
    color: hsl(142 76% 36%);
}

.review-rating .star.star-filled svg {
    fill: currentColor;
    stroke: currentColor;
}

.rating-value {
    color: var(--text-primary);
    font-weight: 500;
    margin-left: 5px;
    font-size: 14px;
}

.review-text {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 14px;
}

.review-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    margin-top: 8px;
}

.review-stats svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* Latest Reviews Section */
.latest-reviews-section {
    background-color: var(--dark-surface);
}

.latest-reviews-content {
    width: 100%;
}

.latest-reviews-content .reviews-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.latest-reviews-content .review-item,
.latest-reviews-content .review-item.clickable {
    flex-direction: column;
    margin: 0;
    padding: 16px;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    gap: 14px;
}

.latest-reviews-content .review-image {
    width: 100%;
    height: 260px;
    border-radius: var(--radius-sm);
}

.popular-reviews-content .review-image {
    width: 132px;
    height: 164px;
}

.popular-section {
    background-color: hsl(var(--card));
}

.latest-reviews-section {
    background-color: hsl(var(--background));
}

@media (max-width: 768px) {
    .latest-reviews-content .reviews-list {
        grid-template-columns: 1fr;
    }
}

.loading-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Collection Detail Page */
.collection-detail-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.collection-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--dark-surface);
    border-radius: 8px;
}

.collection-image-container {
    flex-shrink: 0;
}

.collection-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius);
    background-color: var(--art-frame);
}

.collection-image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0abab5 0%, #067a77 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.collection-image-placeholder .material-icons {
    font-size: 64px;
}

.collection-info {
    flex: 1;
}

.collection-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.collection-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
    align-items: center;
}

.collection-address {
    font-family: var(--font-mono);
}

.collection-category {
    background-color: var(--dark-surface-2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: capitalize;
    color: var(--text-primary);
}

.collection-chain {
    text-transform: capitalize;
    padding: 4px 12px;
    background-color: var(--dark-surface-2);
    border-radius: 4px;
}

.collection-browse-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.collection-browse-section .section-title {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    padding: 20px 0;
}

.load-more-btn {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.collection-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.collection-tags-section {
    margin: 20px 0;
}

.collection-rating-summary {
    margin-top: 20px;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-display .star {
    font-size: 24px;
}

.rating-display .rating-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-display .rating-count {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Collector page hero */
.collector-hero {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 32px 40px;
    margin-bottom: 32px;
}

.collector-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
    color: hsl(var(--foreground));
}

.collector-subtitle {
    font-size: 16px;
    color: hsl(var(--muted-foreground));
    margin: 0 0 16px 0;
}

.collector-address {
    margin-bottom: 20px;
}

.collector-address code {
    display: inline-block;
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
    font-size: 13px;
    padding: 8px 14px;
    background-color: hsl(var(--muted));
    border-radius: 8px;
    color: hsl(var(--muted-foreground));
    letter-spacing: 0.02em;
    word-break: break-all;
    max-width: 100%;
}

@media (min-width: 640px) {
    .collector-address code {
        word-break: normal;
    }
}

.collector-rating {
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.collector-rating .collector-rating-stars {
    color: hsl(var(--accent-green));
    letter-spacing: 2px;
}

.collector-rating .collector-rating-meta {
    color: hsl(var(--muted-foreground));
    font-weight: 400;
    font-size: 0.9em;
}

.collector-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.collector-actions .btn {
    flex-shrink: 0;
}

.collector-grid-section {
    margin-top: 8px;
}

.collector-grid-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: hsl(var(--foreground));
}

/* Creations page hero */
.creations-hero {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 32px 40px;
    margin-bottom: 32px;
}

.creations-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px 0;
    color: hsl(var(--foreground));
}

.creations-subtitle {
    font-size: 16px;
    color: hsl(var(--muted-foreground));
    margin: 0 0 16px 0;
}

.creations-address {
    margin-bottom: 20px;
}

.creations-address code {
    display: inline-block;
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
    font-size: 13px;
    padding: 8px 14px;
    background-color: hsl(var(--muted));
    border-radius: 8px;
    color: hsl(var(--muted-foreground));
    letter-spacing: 0.02em;
    word-break: break-all;
    max-width: 100%;
}

@media (min-width: 640px) {
    .creations-address code {
        word-break: normal;
    }
}

.creations-message {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0 0 24px 0;
    padding: 12px 16px;
    background-color: hsl(var(--muted));
    border-radius: 8px;
    border-left: 3px solid hsl(var(--ring));
}

.creations-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.creations-actions .btn {
    flex-shrink: 0;
}

.creations-grid-section {
    margin-top: 8px;
}

.creations-grid-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: hsl(var(--foreground));
}

/* Collection Browser Styles */
.collection-browser-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.browser-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
}

.browser-header-image {
    flex-shrink: 0;
}

.browser-header-image .collection-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius);
    background-color: var(--art-frame);
}

.browser-header-info {
    flex: 1;
}

.browser-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: hsl(var(--foreground));
}

.browser-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    flex-wrap: wrap;
    align-items: center;
}

.browser-address {
    font-family: var(--font-mono);
}

.browser-chain {
    text-transform: capitalize;
    padding: 4px 12px;
    background-color: hsl(var(--muted));
    border-radius: 8px;
}

.browser-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    max-width: 600px;
}

.browser-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.browser-sidebar {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
}

.browser-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid hsl(var(--border));
}

.browser-filters-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
}

.browser-filters-content {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.loading-filters {
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

.no-traits {
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

.trait-filter-group {
    margin-bottom: 32px;
}

.trait-filter-group:last-child {
    margin-bottom: 0;
}

.trait-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.trait-filter-title {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
}

.trait-filter-count {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
}

.trait-filter-values {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.trait-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 1px solid transparent;
}

.trait-filter-item:hover {
    background-color: hsl(var(--muted) / 0.5);
}

.trait-filter-item.active {
    background-color: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.trait-filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: hsl(var(--primary));
}

.trait-filter-label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.trait-value {
    font-size: 14px;
    color: hsl(var(--foreground));
    font-weight: 500;
}

.trait-rarity {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.trait-rarity.rarity-very-rare {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.trait-rarity.rarity-rare {
    background-color: rgba(192, 192, 192, 0.2);
    color: #c0c0c0;
}

.trait-rarity.rarity-uncommon {
    background-color: rgba(0, 191, 255, 0.2);
    color: #00bfff;
}

.trait-rarity.rarity-common {
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
}

.browser-results {
    flex: 1;
}

.browser-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
}

.browser-results-info {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.browser-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shuffle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: all 0.2s ease;
}

.shuffle-btn:hover {
    background: hsl(var(--accent));
    color: hsl(var(--foreground));
    border-color: hsl(var(--accent-foreground) / 0.2);
}

.shuffle-btn.active {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

.shuffle-btn .material-icons {
    font-size: 20px;
}

.browser-sort label {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.sort-select {
    padding: 8px 12px;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    color: hsl(var(--foreground));
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.sort-select:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.sort-select:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.browser-nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.random-loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: hsl(var(--muted-foreground));
}

.random-loading-state .spinner {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.random-loading-state p {
    font-size: 14px;
    margin: 0;
}

@media (max-width: 1024px) {
    .browser-main {
        grid-template-columns: 1fr;
    }
    
    .browser-sidebar {
        position: static;
        max-height: none;
    }
    
    .browser-filters-content {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .browser-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .browser-header-image {
        align-self: center;
    }
    
    .browser-toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .browser-sort {
        width: 100%;
    }
    
    .sort-select {
        width: 100%;
    }
    
    .browser-nfts-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
}

.collection-actions {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--dark-surface);
    border-radius: 8px;
}

.collection-actions-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.browse-filters-btn {
    text-decoration: none;
    display: inline-block;
}

.connect-wallet-prompt {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.collection-reviews-section {
    margin-top: 40px;
}

.collection-reviews-section .section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* Popular Lists */
.lists-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.list-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-surface-2);
}

.list-item:last-child {
    border-bottom: none;
}

.list-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.list-image {
    background: linear-gradient(135deg, #0abab5 0%, #067a77 100%);
    border-radius: 4px;
}

.list-content {
    flex: 1;
}

.list-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.list-author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #d32f2f;
    flex-shrink: 0;
}

.list-author-name {
    color: var(--text-secondary);
    font-size: 12px;
}

.list-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.4;
}

.list-count {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 8px;
}

.list-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 12px;
}

.stat-item .material-icons {
    font-size: 16px;
}

/* Popular Reviewers */
.reviewers-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reviewer-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-surface-2);
}

.reviewer-item:last-child {
    border-bottom: none;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background: linear-gradient(135deg, #0abab5 0%, #067a77 100%);
    flex-shrink: 0;
}

.reviewer-content {
    flex: 1;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.reviewer-stats {
    color: var(--text-secondary);
    font-size: 12px;
}

/* Recent Stories */
.recent-stories {
    background-color: var(--dark-bg);
}

.story-card {
    background-color: var(--dark-surface-2);
    border-radius: 8px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: repeating-conic-gradient(#f0f0f0 0% 25%, #e0e0e0 0% 50%) 50% / 20px 20px;
}

.story-content {
    padding: 20px;
}

.story-publication {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 15px;
}

.story-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-primary);
}

.story-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.story-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.story-link {
    color: var(--brand-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.story-link:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

/* Recent Showdowns */
.recent-showdowns {
    background-color: var(--dark-surface);
}

.showdown-card {
    background-color: var(--dark-surface-2);
    border-radius: 8px;
    overflow: hidden;
}

.showdown-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: repeating-conic-gradient(#f0f0f0 0% 25%, #e0e0e0 0% 50%) 50% / 20px 20px;
}

.showdown-content {
    padding: 20px;
}

.showdown-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.showdown-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Recent News */
.recent-news {
    background-color: var(--dark-bg);
}

.news-card {
    background-color: var(--dark-surface-2);
    border-radius: 8px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: repeating-conic-gradient(#f0f0f0 0% 25%, #e0e0e0 0% 50%) 50% / 20px 20px;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.news-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: hsl(var(--card));
    padding: 48px 0 28px;
    border-top: 1px solid hsl(var(--border));
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.footer-links {
    display: flex;
    gap: 8px 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: hsl(var(--foreground));
}

.footer-brand {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.footer-copyright {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    font-size: 12px;
}

/* Section Title */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: hsl(var(--foreground));
    padding-bottom: 0;
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Compact single-row header: logo left, actions + hamburger right.
       Opaque background so content doesn't ghost through while scrolling. */
    .header {
        padding: 0;
        min-height: 56px;
        background-color: hsl(var(--background) / 0.94);
        backdrop-filter: blur(16px);
    }

    .header-nav {
        height: 56px;
    }

    .header-logo-link {
        margin-right: 0;
        margin-bottom: 0;
        width: auto;
        flex: 1;
        justify-content: flex-start;
    }

    .header-logo {
        height: 21px;
        max-width: 105px;
        object-fit: contain;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .nav-links {
        display: none;
    }

    .header.mobile-menu-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        gap: 0;
        background-color: hsl(var(--card));
        border-bottom: 1px solid hsl(var(--border));
        padding: 8px 24px 16px;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    }

    .header.mobile-menu-open .nav-link {
        padding: 14px 4px;
        border-bottom: 1px solid hsl(var(--border) / 0.5);
    }

    .header.mobile-menu-open .nav-link:last-child {
        border-bottom: none;
    }

    .nav-actions {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .connect-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .connect-dropdown {
        position: relative;
    }
    
    .connect-dropdown-menu {
        min-width: 200px;
        max-width: calc(100vw - 32px);
    }
    
    .hero {
        min-height: 0;
        padding: 28px 0 24px;
        align-items: flex-start;
    }

    .hero-stack {
        gap: 16px;
    }

    .hero-gallery,
    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
        min-height: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(odd) {
        border-right: none;
        padding-right: 0;
    }

    .feature-card:nth-child(even) {
        padding-left: 0;
    }
    
    .popular-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Medium breakpoint - between mobile and desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-logo-link {
        margin-right: 20px;
        flex-shrink: 0;
    }
    
    .header-logo {
        height: 27px;
        max-width: 135px;
        object-fit: contain;
    }
    
    .nav-links {
        gap: 4px;
        flex-wrap: nowrap;
        font-size: 13px;
    }

    .nav-link {
        padding: 6px 8px;
        font-size: 0.8125rem;
    }
    
    .nav-actions {
        flex-shrink: 0;
        gap: 12px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* NFT Detail Page Styles */
.nft-detail-container {
    min-height: 100dvh;
    padding: 20px 0;
}

.nft-detail-loading,
.nft-detail-error {
    text-align: center;
    padding: 60px 20px;
}

.nft-detail-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--dark-surface-2);
    border-top-color: var(--brand-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.back-button svg {
    flex-shrink: 0;
    display: block;
}

.nft-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.nft-detail-image-section {
    position: sticky;
    top: 80px;
    height: fit-content;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible !important;
}

.nft-image-wrapper {
    width: fit-content !important;
    max-width: 100%;
    background-color: transparent;
    border-radius: var(--radius);
    overflow: visible !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    margin: 0 auto;
}

.nft-detail-image {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: 90vh !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: var(--radius);
    margin: 0 auto;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Ensure no clipping on image or its containers */
.nft-detail-image-section *,
.nft-image-wrapper * {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Force image to maintain aspect ratio and not be constrained to square */
.nft-detail-image[src] {
    aspect-ratio: unset !important;
    object-position: center !important;
}

.nft-detail-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-surface-2);
    color: var(--text-secondary);
    gap: 12px;
}

.nft-detail-image-placeholder .material-icons {
    font-size: 48px;
    opacity: 0.5;
}

.nft-detail-image-placeholder span:not(.material-icons) {
    font-size: 14px;
    opacity: 0.7;
}

.nft-audio-section {
    margin-top: 20px;
}

.audio-player-container {
    width: 100%;
    position: relative;
}

.audio-player {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audio-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.audio-player-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--accent));
    border-radius: calc(var(--radius) - 2px);
    color: hsl(var(--accent-foreground));
    flex-shrink: 0;
}

.audio-player-info {
    flex: 1;
    min-width: 0;
}

.audio-player-title {
    font-size: 16px;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-player-label {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audio-player-controls {
    width: 100%;
}

.audio-player-controls audio {
    width: 100%;
    height: 40px;
    outline: none;
}

.audio-player-controls audio::-webkit-media-controls-panel {
    background-color: hsl(var(--background));
}

.audio-player-controls audio::-webkit-media-controls-play-button {
    background-color: hsl(var(--primary));
    border-radius: 50%;
}

.audio-player-controls audio::-webkit-media-controls-current-time-display,
.audio-player-controls audio::-webkit-media-controls-time-remaining-display {
    color: hsl(var(--foreground));
}

.audio-player-error {
    padding: 12px;
    background-color: hsl(var(--destructive) / 0.1);
    border: 1px solid hsl(var(--destructive) / 0.3);
    border-radius: calc(var(--radius) - 2px);
    color: hsl(var(--destructive));
    font-size: 14px;
    text-align: center;
}

.audio-player-container.loading {
    opacity: 0.7;
    pointer-events: none;
}

.audio-player-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid hsl(var(--muted-foreground));
    border-top-color: hsl(var(--primary));
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.nft-detail-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nft-detail-name {
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.nft-detail-collection {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.nft-detail-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.nft-detail-tags-section {
    margin: 20px 0;
}

.nft-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: var(--dark-surface-2);
    border-radius: 8px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.meta-item strong {
    color: var(--text-secondary);
    min-width: 80px;
}

.meta-item code {
    font-family: var(--font-mono);
    color: var(--brand-blue);
    word-break: break-all;
}

.chain-name {
    text-transform: uppercase;
    color: var(--brand-blue);
    font-weight: 600;
}

.nft-attributes {
    margin-top: 20px;
}

.nft-attributes h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.attribute-item {
    padding: 10px;
    background-color: var(--dark-surface-2);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.attribute-trait {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attribute-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Rating Form Styles */
.rating-form {
    padding: 30px;
    background-color: var(--dark-surface);
    border-radius: 8px;
    margin-bottom: 30px;
}

.rating-form-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.star-rating-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star {
    cursor: pointer;
    color: hsl(var(--muted));
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.star:hover {
    color: hsl(142 76% 36%);
}

.star svg {
    width: 24px;
    height: 24px;
    transition: all 0.2s ease;
    stroke: currentColor;
}

.star.star-filled {
    color: hsl(142 76% 36%);
}

.star.star-filled svg {
    fill: currentColor;
    stroke: currentColor;
}

.rating-value-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.review-text-container {
    margin-bottom: 20px;
}

/* Review textarea uses .input class from ShadCN */

.submit-review-btn {
    --mdc-theme-primary: var(--brand-blue);
    --mdc-theme-on-primary: var(--text-primary);
}

.submit-review-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Review Card Styles */
.review-card {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-address {
    font-family: var(--font-mono);
    font-size: 14px;
    color: hsl(var(--foreground));
    font-weight: 500;
    transition: color 0.2s ease;
}

.reviewer-address:hover {
    color: hsl(var(--primary));
    text-decoration: underline;
}

.review-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-rating-display {
    display: flex;
    gap: 2px;
}

.review-rating-display .star {
    color: hsl(var(--muted));
    cursor: default;
}

.review-rating-display .star svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.review-rating-display .star.star-filled {
    color: hsl(142 76% 36%);
}

.review-rating-display .star.star-filled svg {
    fill: currentColor;
    stroke: currentColor;
}

.review-card-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-card-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--dark-surface-2);
    flex-wrap: wrap;
}

.review-share-container {
    margin-left: auto;
}

@media (max-width: 768px) {
    .review-card-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-share-container {
        margin-left: 0;
        width: 100%;
    }
}

/* Reaction Buttons Styles */
.reaction-buttons {
    display: flex;
    gap: 0.75rem;
}

.reaction-btn.active {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

/* Comment Section Styles */
.comment-section {
    margin-top: 15px;
}

.comment-header {
    margin-bottom: 10px;
}

/* Comment toggle uses .btn-ghost from ShadCN */

.comment-content {
    margin-top: 15px;
}

.comment-content.hidden {
    display: none;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    padding: 12px;
    background-color: var(--dark-surface-2);
    border-radius: 4px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author {
    font-family: var(--font-mono);
    font-size: 12px;
    color: hsl(var(--foreground));
    font-weight: 500;
    transition: color 0.2s ease;
}

.comment-author:hover {
    color: hsl(var(--primary));
    text-decoration: underline;
}

.comment-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.comment-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.comment-form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Comment input uses .input class from ShadCN */

.submit-comment-btn {
    align-self: flex-start;
}

.no-comments {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

/* Review List Styles */
.review-list {
    margin-top: 30px;
}

.review-list-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loading-reviews,
.no-reviews,
.error-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

/* Review list pagination */
.review-list .load-more-container {
    margin-top: 24px;
    padding: 16px 0;
}

.collection-reviews-section .load-more-container {
    margin-top: 24px;
    padding: 16px 0;
}

.review-success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background-color: var(--accent-green);
    color: var(--text-primary);
    border-radius: 4px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Profile Page Styles */
.profile-container {
    min-height: 100dvh;
    padding: 20px 0;
}

.profile-loading,
.profile-error {
    text-align: center;
    padding: 60px 20px;
}

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

.profile-info {
    margin-top: 20px;
}

.profile-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.profile-address {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.address-code {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
    word-break: break-all;
}

.address-formatted {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: hsl(var(--primary));
}

.stat-label {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-ratings-section {
    margin-top: 40px;
}

.ratings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid hsl(var(--border));
    margin-bottom: 30px;
}

.profile-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    bottom: -1px;
}

.profile-tab:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--accent));
}

.profile-tab.active {
    color: hsl(var(--foreground));
    border-bottom-color: hsl(var(--primary));
}

.profile-tab-content {
    margin-top: 20px;
}

.tab-panel {
    display: block;
}

.tab-panel.hidden {
    display: none;
}

.profile-review-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.profile-comment-item,
.profile-liked-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Followers & Following Section */
.followers-following-section {
    margin-top: 20px;
}

.followers-following-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid hsl(var(--border));
    margin-bottom: 24px;
}

.followers-tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    bottom: -1px;
}

.followers-tab-btn:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--accent));
}

.followers-tab-btn.active {
    color: hsl(var(--foreground));
    border-bottom-color: hsl(var(--primary));
}

.followers-subtab-content {
    margin-top: 20px;
}

.followers-subtab-panel {
    display: block;
}

.followers-subtab-panel.hidden {
    display: none;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.follower-item,
.following-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    transition: all 0.2s ease;
}

.follower-item:hover,
.following-item:hover {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.follower-item .user-avatar,
.following-item .user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.follower-item .user-info,
.following-item .user-info {
    flex: 1;
    min-width: 0;
}

.follower-item .user-info h4,
.following-item .user-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.follower-item .user-meta,
.following-item .user-meta {
    margin: 0;
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    font-family: var(--font-mono);
}

.follower-item .follow-user-btn,
.following-item .unfollow-user-btn {
    flex-shrink: 0;
}

.stat-item.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.stat-item.clickable:hover {
    transform: translateY(-2px);
}

/* Tastemaker Badge Styles */
.tastemaker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    background-color: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    position: relative;
    cursor: help;
    transition: all 0.2s ease;
    overflow: visible;
    z-index: 10;
}

.tastemaker-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tastemaker-badge.badge-sm {
    padding: 2px 6px;
    font-size: 11px;
}

.tastemaker-badge.badge-sm .badge-icon {
    width: 14px;
    height: 14px;
}

.tastemaker-badge.badge-sm .badge-icon svg {
    width: 12px;
    height: 12px;
}

.tastemaker-badge.badge-md {
    padding: 4px 10px;
    font-size: 12px;
}

.tastemaker-badge.badge-md .badge-icon {
    width: 18px;
    height: 18px;
}

.tastemaker-badge.badge-md .badge-icon svg {
    width: 16px;
    height: 16px;
}

.tastemaker-badge.badge-lg {
    padding: 6px 14px;
    font-size: 14px;
}

.tastemaker-badge.badge-lg .badge-icon {
    width: 22px;
    height: 22px;
}

.tastemaker-badge.badge-lg .badge-icon svg {
    width: 20px;
    height: 20px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 99999;
    margin-top: 8px;
    min-width: 280px;
}

.tastemaker-badge:hover .badge-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.tastemaker-tooltip-content {
    background-color: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    font-size: 12px;
}

.tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid hsl(var(--border));
}

.tooltip-header strong {
    font-size: 13px;
    color: hsl(var(--foreground));
}

.tooltip-score {
    font-size: 11px;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
}

.tooltip-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breakdown-label {
    color: hsl(var(--muted-foreground));
    font-size: 11px;
}

.breakdown-value {
    color: hsl(var(--foreground));
    font-weight: 600;
    font-size: 11px;
}

.tooltip-stats {
    display: flex;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid hsl(var(--border));
    font-size: 11px;
    color: hsl(var(--muted-foreground));
}

/* Badge level specific styles */
.badge-bronze {
    border-color: #b87333;
}

.badge-silver {
    border-color: #a8a8a8;
}

.badge-gold {
    border-color: #daa520;
}

.badge-platinum {
    border-color: #b8b8b8;
}

/* Tastemaker Stats Section */
.tastemaker-stats-section {
    margin-top: 30px;
    padding: 20px;
    background-color: hsl(var(--muted));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
}

.tastemaker-stats-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tastemaker-stats-title {
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.tastemaker-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.tastemaker-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tastemaker-stat-label {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tastemaker-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.tastemaker-stat-subvalue {
    font-size: 11px;
    color: hsl(var(--muted-foreground));
}

/* Influence Metrics Styles */
.influence-metrics {
    margin-top: 20px;
}

.influential-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 16px;
}

.influence-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.influence-metric-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background-color: hsl(var(--muted));
    border-radius: 8px;
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}

.influence-metric-item:hover {
    background-color: hsl(var(--accent));
    transform: translateY(-2px);
}

.influence-metric-item.high {
    border-left: 3px solid #10b981;
}

.influence-metric-item.medium {
    border-left: 3px solid #f59e0b;
}

.influence-metric-item.low {
    border-left: 3px solid hsl(var(--border));
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: hsl(var(--accent));
    color: hsl(var(--foreground));
    flex-shrink: 0;
}

.metric-icon-early {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.metric-icon-helpful {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.metric-icon-trending {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.metric-icon-followers {
    background-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.metric-icon-tastemaker {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.metric-content {
    flex: 1;
    min-width: 0;
}

.metric-label {
    font-size: 11px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 16px;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 2px;
}

.metric-subvalue {
    font-size: 11px;
    color: hsl(var(--muted-foreground));
}

/* Review Quality Indicators */
.review-quality-indicators {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.early-review-badge,
.high-quality-review-badge,
.detailed-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.early-review-badge {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.high-quality-review-badge {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.detailed-review-badge {
    background-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.early-review-badge svg,
.high-quality-review-badge svg,
.detailed-review-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.comments-list,
.liked-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.review-item-link {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.review-item-link:hover {
    color: hsl(var(--primary));
}

.review-item-link strong {
    margin-right: 5px;
    color: hsl(var(--muted-foreground));
}

.review-item-date {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
}

.review-item-rating {
    display: flex;
    gap: 2px;
}

.review-item-rating .star {
    display: inline-flex;
    align-items: center;
    color: hsl(var(--muted));
    transition: color 0.2s ease;
}

.review-item-rating .star svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: all 0.2s ease;
}

.review-item-rating .star.star-filled {
    color: hsl(142 76% 36%);
}

.review-item-rating .star.star-filled svg {
    fill: currentColor;
    stroke: currentColor;
}

.review-item-text {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-item-actions {
    padding-top: 15px;
    border-top: 1px solid hsl(var(--border));
}

.view-nft-link {
    color: hsl(var(--primary));
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-nft-link:hover {
    text-decoration: underline;
}

/* Profile Comment Item */
.comment-item-header,
.liked-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.comment-item-info,
.liked-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.comment-item-link,
.liked-item-link {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.comment-item-link:hover,
.liked-item-link:hover {
    color: hsl(var(--primary));
}

.comment-item-date,
.liked-item-date {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
}

.comment-item-text,
.liked-item-text {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-item-actions,
.liked-item-actions {
    padding-top: 15px;
    border-top: 1px solid hsl(var(--border));
}

.liked-item-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    margin-bottom: 15px;
}

.liked-item-stats svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.liked-item-rating {
    display: flex;
    gap: 2px;
}

.liked-item-rating .star {
    display: inline-flex;
    align-items: center;
    color: hsl(var(--muted));
    transition: color 0.2s ease;
}

.liked-item-rating .star svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: all 0.2s ease;
}

.liked-item-rating .star.star-filled {
    color: hsl(142 76% 36%);
}

.liked-item-rating .star.star-filled svg {
    fill: currentColor;
    stroke: currentColor;
}

.no-ratings {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* NFT Card Clickable */
.nft-card.clickable {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nft-card.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Collection Search Results */
.collection-search-results {
    margin-top: 20px;
}

.search-results-subtitle {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.search-results-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.owner-search-results {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-surface-2);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.collection-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-card.clickable {
    cursor: pointer;
}

.collection-card.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.collection-card-image {
    width: 100%;
    min-height: 160px;
    background-color: var(--art-frame);
}

img.collection-card-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
}

.collection-card-info {
    padding: 15px;
}

.collection-card-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    line-height: 1;
}

.verified-badge::before {
    content: '✓';
    margin-right: 2px;
}

.collection-card-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.collection-card-contract {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--brand-blue);
}

/* Search Results Popover */
.search-results {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.search-results.is-open {
    display: flex !important;
    pointer-events: auto;
}

.search-results-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.search-results-panel {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background-color: var(--dark-surface);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--dark-surface-2);
}

.search-results-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.search-results-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.search-results-close:hover {
    background-color: var(--dark-surface-2);
    color: var(--text-primary);
}

.search-results-search-container {
    padding: 20px 32px;
    border-bottom: 1px solid var(--dark-surface-2);
}

.search-field-popover {
    width: 100%;
    position: relative;
}

.search-field-popover .mdc-text-field__input {
    color: var(--text-primary);
    padding-right: 80px;
}

.search-field-popover .mdc-notched-outline__leading,
.search-field-popover .mdc-notched-outline__notch,
.search-field-popover .mdc-notched-outline__trailing {
    border-color: var(--dark-surface-2) !important;
}

.search-field-popover .mdc-text-field__icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-loading-indicator {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark-surface-2);
    border-top-color: var(--brand-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.search-results-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    min-height: 200px;
}

.search-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    text-align: center;
}

.search-empty-state .material-icons {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.search-empty-state p {
    font-size: 16px;
    margin: 0;
}

.search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.search-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dark-surface-2);
    border-top-color: var(--brand-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

.search-loading p {
    font-size: 16px;
    margin: 0;
}

.search-error {
    padding: 20px;
    background-color: rgba(244, 67, 54, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.error-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #f44336;
}

.error-message .material-icons {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.error-message p {
    margin: 0;
    font-size: 14px;
}

.error-message > div {
    flex: 1;
}

.cors-error-message {
    color: var(--text-primary);
}

.cors-error-message p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.6;
}

.cors-error-message p:first-child {
    color: #f44336;
    font-weight: 500;
}

.cors-error-message code {
    background-color: var(--dark-surface-2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--brand-blue);
    word-break: break-all;
}

.example-addresses {
    margin: 12px 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.example-addresses li {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.6;
}

.search-tip {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--dark-surface-2);
    color: var(--text-secondary);
    font-size: 13px;
    font-style: italic;
}

.cors-error-message ol {
    margin: 12px 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.cors-error-message ol li {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.6;
}

.cors-error-message a {
    color: var(--brand-blue);
    text-decoration: none;
}

.cors-error-message a:hover {
    text-decoration: underline;
}

.cors-error-message pre {
    background: var(--dark-surface-2);
    padding: 12px;
    border-radius: 4px;
    margin: 8px 0;
    overflow-x: auto;
    font-size: 12px;
    border: 1px solid var(--dark-surface-2);
}

.cors-error-message pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
    word-break: normal;
}

.search-nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.owned-nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.nft-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nft-image-container {
    width: 100%;
    min-height: 200px;
    max-height: 400px;
    background-color: var(--art-frame);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.nft-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.nft-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.nft-info {
    padding: 16px;
}

.nft-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nft-token-id {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    font-family: var(--font-mono);
}

.nft-attributes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.nft-attribute {
    font-size: 11px;
    color: var(--text-secondary);
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Responsive adjustments for detail page */
@media (max-width: 968px) {
    .nft-detail-body {
        grid-template-columns: 1fr;
    }
    
    .nft-detail-image-section {
        position: static;
    }
    
    .attributes-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .audio-player {
        padding: 16px;
    }
    
    .audio-player-header {
        gap: 10px;
    }
    
    .audio-player-icon {
        width: 40px;
        height: 40px;
    }
    
    .audio-player-title {
        font-size: 14px;
    }
    
    .audio-player-label {
        font-size: 11px;
    }
}

/* Reviews Page */
.reviews-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.reviews-page-header {
    margin-bottom: 28px;
}

.reviews-page-header .page-title {
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

/* Feed Page Styles */
.feed-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.feed-page-header {
    margin-bottom: 30px;
}

.feed-page-header .page-title {
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

.feed-page-header .page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.feed-controls {
    margin-bottom: 40px;
    padding: 16px 20px;
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-card);
}

.feed-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.feed-reviews-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Show 2 columns on larger screens */
@media (min-width: 1024px) {
    .feed-reviews-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feed-review-card {
    background-color: var(--dark-surface);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--dark-surface-2);
}

.feed-review-nft-info {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-surface-2);
}

.feed-nft-link {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.feed-nft-link:hover {
    opacity: 0.8;
}

.feed-nft-image {
    height: 160px;
    width: auto;
    min-width: 96px;
    max-width: 220px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--art-frame);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-nft-image img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.feed-nft-image-placeholder {
    height: 100px;
    width: 100px;
    min-width: 100px;
    border-radius: 8px;
    background-color: var(--dark-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.feed-nft-image-placeholder .material-icons {
    font-size: 32px;
}

.feed-nft-details {
    flex: 1;
    min-width: 0;
}

.feed-nft-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-collection-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty-state,
.error-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state p,
.error-state p {
    font-size: 16px;
    margin: 0 0 20px 0;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.loading-container .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dark-surface-2);
    border-top-color: var(--brand-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

.loading-container p {
    font-size: 16px;
    margin: 0;
}

.popular-reviews-section {
    margin-bottom: 60px;
}

.popular-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.review-card-large {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.review-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.review-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: var(--art-frame);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.review-card-image-placeholder {
    display: none;
    position: absolute;
    inset: 0;
    background: var(--art-frame);
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
}

.review-card-image:not(:has(img)) .review-card-image-placeholder {
    display: flex;
}

.review-card-content {
    padding: 20px;
}

.review-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.review-card-collection {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.review-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
}

.review-card-author .author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--dark-surface-2);
    flex-shrink: 0;
}

.review-card-author .author-name {
    color: var(--text-secondary);
}

.review-card-author .review-date {
    color: var(--text-secondary);
    margin-left: auto;
}

.review-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.review-card-rating .star {
    font-size: 18px;
}

.review-card-rating .rating-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 4px;
}

.review-card-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.review-card-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

.review-card-stats svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}

/* Just Reviewed Section */
.just-reviewed-section {
    margin-bottom: 60px;
}

.just-reviewed-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
}

.just-reviewed-row::-webkit-scrollbar {
    height: 6px;
}

.just-reviewed-row::-webkit-scrollbar-track {
    background: var(--dark-surface-2);
    border-radius: 3px;
}

.just-reviewed-row::-webkit-scrollbar-thumb {
    background: var(--dark-surface);
    border-radius: 3px;
}

.just-reviewed-row::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.just-reviewed-item {
    flex-shrink: 0;
    width: 132px;
    height: 164px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--art-frame);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.just-reviewed-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.just-reviewed-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.just-reviewed-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0abab5 0%, #067a77 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.just-reviewed-placeholder .material-icons {
    font-size: 32px;
}

@media (max-width: 768px) {
    .popular-reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .just-reviewed-item {
        width: 112px;
        height: 140px;
    }
}

/* Tags Component Styles */
.tags-component {
    margin: 20px 0;
}

.tags-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tags-title {
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
}

.connect-prompt {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.tags-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
}

.loading-tags,
.no-tags {
    color: hsl(var(--muted-foreground));
    font-size: 14px;
    padding: 10px 0;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border-radius: 16px;
    font-size: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tag-item:hover {
    background-color: hsl(var(--accent));
    transform: translateY(-1px);
}

.tag-name {
    font-weight: 500;
}

.tag-count {
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.tag-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.tag-remove-btn:hover {
    background-color: hsl(var(--destructive) / 0.2);
    color: hsl(var(--destructive));
}

.tag-remove-btn svg {
    width: 12px;
    height: 12px;
}

.add-tag-container {
    margin-top: 16px;
    padding: 16px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
}

.add-tag-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tag-input {
    flex: 1;
    min-width: 0;
}

.tag-hint {
    margin-top: 8px;
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0;
}

/* Add to List Button */
.add-to-list-btn {
    margin-top: 12px;
}

.nft-detail-actions-section,
.collection-actions-section {
    margin: 12px 0;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background-color: hsl(var(--card));
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid hsl(var(--border));
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
    background-color: hsl(var(--muted));
}

.modal-body {
    padding: 20px;
}

/* Add to List Modal */
.add-to-list-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid hsl(var(--border));
}

.tab-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.tab-btn.active {
    color: hsl(var(--foreground));
    border-bottom-color: hsl(var(--primary));
}

.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

.lists-select {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: hsl(var(--muted));
    border-radius: 8px;
    border: 1px solid hsl(var(--border));
    transition: background-color 0.2s ease;
}

.list-option:hover {
    background-color: hsl(var(--accent));
}

.list-option-info {
    flex: 1;
}

.list-option-name {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 4px 0;
}

.list-option-meta {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0 0 4px 0;
}

.list-option-desc {
    font-size: 13px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    line-height: 1.4;
}

.no-lists {
    text-align: center;
    padding: 40px 20px;
    color: hsl(var(--muted-foreground));
}

/* Form Styles */
.create-list-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.form-group .input {
    width: 100%;
}

.char-count {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    text-align: right;
}

.form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

/* Lists Page */
.lists-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.lists-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin: 0;
}

.popular-lists-section,
.latest-lists-section {
    margin-bottom: 60px;
}

.lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.list-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.list-card.clickable {
    cursor: pointer;
}

.list-card.clickable:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.list-card.clickable:hover::before {
    transform: scaleX(1);
}

.list-card-header {
    margin-bottom: 12px;
}

.list-card-title {
    font-size: 20px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 8px 0;
}

.list-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.list-card-owner {
    color: hsl(var(--primary));
    text-decoration: none;
}

.list-card-owner:hover {
    text-decoration: underline;
}

.list-card-description {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.list-card-stats {
    display: flex;
    gap: 16px;
    align-items: center;
}

.list-card-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.list-card-stat svg {
    width: 16px;
    height: 16px;
}

.list-card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: hsl(var(--muted-foreground));
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.list-card.clickable:hover .list-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: hsl(var(--primary));
}

/* List Detail Page */
.list-detail-page {
    min-height: 100dvh;
    padding: 40px 0;
}

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

.list-header-content {
    margin-top: 20px;
}

.list-title {
    font-size: 32px;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin: 0 0 12px 0;
}

.list-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.list-owner {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
}

.list-owner:hover {
    text-decoration: underline;
}

.list-description {
    font-size: 16px;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 800px;
}

.list-owner-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.btn-destructive {
    background-color: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
    border-color: hsl(var(--destructive));
}

.btn-destructive:hover {
    background-color: hsl(var(--destructive) / 0.9);
}

.list-items-section {
    margin-bottom: 40px;
}

#list-items-container {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.list-item-card {
    position: relative;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.list-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.list-item-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.list-item-image-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--art-frame);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    max-height: 400px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.list-item-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: contain;
}

.list-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
}

.list-item-info {
    padding: 12px;
    background-color: hsl(var(--card));
    border-top: 1px solid hsl(var(--border));
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.list-item-collection {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item-name {
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.remove-item-btn {
    background-color: hsl(var(--background) / 0.9);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    background-color: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
    border-color: hsl(var(--destructive));
    transform: scale(1.05);
}

.remove-item-btn:hover {
    background-color: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
}

/* Enhanced Mixed View - Type Badges */
.list-item-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.nft-badge {
    background-color: hsl(var(--primary) / 0.15);
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary) / 0.3);
}

.collection-badge {
    background-color: hsl(var(--brand-blue) / 0.15);
    color: hsl(var(--brand-blue-light));
    border: 1px solid hsl(var(--brand-blue) / 0.3);
}

.list-item-type-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Collection Card Specific Styles */
.list-item-card-collection {
    border-color: hsl(var(--brand-blue) / 0.2);
}

.list-item-card-collection:hover {
    border-color: hsl(var(--brand-blue) / 0.5);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px hsl(var(--brand-blue) / 0.1);
}

.collection-image-container {
    background: linear-gradient(135deg, hsl(var(--brand-blue) / 0.1) 0%, hsl(var(--muted)) 100%);
}

.collection-info {
    padding: 16px;
    gap: 8px;
}

.collection-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.list-item-symbol {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.collection-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid hsl(var(--border) / 0.5);
}

.collection-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.collection-stat .stat-label {
    font-size: 10px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.collection-stat .stat-value {
    font-size: 13px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

/* NFT Card Specific Styles */
.list-item-card-nft {
    border-color: hsl(var(--border));
}

.nft-image-container {
    background-color: var(--art-frame);
}

.nft-info {
    padding: 12px;
}

/* Reorder buttons positioning */
.list-item-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.list-item-card:hover .list-item-actions {
    opacity: 1;
}

.reorder-btn {
    background-color: hsl(var(--background) / 0.9);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}

.reorder-btn:hover {
    background-color: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary) / 0.3);
    transform: scale(1.05);
}

.list-interactions {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid hsl(var(--border));
}

/* Edit List Form */
.edit-list-form-container {
    margin-top: 20px;
    padding: 20px;
    background-color: hsl(var(--muted));
    border-radius: 8px;
    border: 1px solid hsl(var(--border));
}

.edit-list-form h3 {
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 16px 0;
}

.loading-items,
.no-items {
    text-align: center;
    padding: 40px 20px;
    color: hsl(var(--muted-foreground));
}

.success-message {
    padding: 12px 16px;
    background-color: hsl(var(--accent-green));
    color: white;
    border-radius: 4px;
    margin-top: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .lists-grid {
        grid-template-columns: 1fr;
    }
    
    .lists-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .modal-content {
        max-width: 100%;
        margin: 10px;
    }
    
    #list-items-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .collection-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .list-item-type-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .list-item-type-badge svg {
        width: 10px;
        height: 10px;
    }
}

/* Search Page Styles */
.search-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.search-page-header {
    margin-bottom: 28px;
    text-align: left;
}

.search-page-header .page-title {
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

.search-page-header .page-subtitle {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.search-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.search-page-search-container {
    margin-bottom: 32px;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
    flex: 1;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.filter-select {
    padding: 8px 12px;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-sm);
    color: hsl(var(--foreground));
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-select:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.filter-select:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.filter-input {
    padding: 8px 12px;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    color: hsl(var(--foreground));
    font-size: 14px;
    transition: all 0.2s ease;
    width: 100%;
}

.filter-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.filter-input:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.filter-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.search-field-large {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-field-large .input {
    width: 100%;
    padding: 16px 48px 16px 16px;
    font-size: 16px;
    border-radius: 8px;
}

.search-page-results {
    margin-top: 40px;
}

.search-page-loading,
.search-page-error {
    text-align: center;
    padding: 40px 20px;
}

.search-page-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.search-page-empty-state svg {
    margin: 0 auto 20px;
    opacity: 0.5;
}

.search-page-empty-state p {
    font-size: 18px;
    margin-bottom: 20px;
}

.search-examples {
    margin-top: 24px;
}

.search-examples ul {
    list-style: none;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.search-examples li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-page-collection-info {
    margin-bottom: 40px;
}

.search-page-nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.search-page-nfts-grid .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 18px;
}

.user-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.user-card.clickable {
    cursor: pointer;
}

.user-card.clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary)) / 0.7);
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-address {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 8px 0;
}

.user-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.user-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Members Page Styles */
.members-page {
    min-height: 100dvh;
    padding: 20px 0;
}

.members-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: hsl(var(--muted-foreground));
}

.members-controls {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.select {
    padding: 8px 12px;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    color: hsl(var(--foreground));
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select:hover {
    border-color: hsl(var(--primary));
}

.select:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.member-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.member-card.clickable {
    cursor: pointer;
}

.member-card.clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.member-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: hsl(var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent-foreground));
    flex-shrink: 0;
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-address {
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 4px 0;
    font-family: var(--font-mono);
}

.member-full-address {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    word-break: break-all;
    font-family: var(--font-mono);
}

.member-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
}

.member-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}

.member-stat .stat-value {
    font-size: 20px;
    font-weight: 600;
    color: hsl(var(--primary));
}

.member-stat .stat-label {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.stat-stars .star {
    display: inline-flex;
    align-items: center;
    color: hsl(var(--muted));
    transition: color 0.2s ease;
}

.stat-stars .star svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.stat-stars .star.star-filled {
    color: hsl(142 76% 36%);
}

.stat-stars .star.star-filled svg {
    fill: currentColor;
    stroke: currentColor;
}

.member-card-actions {
    display: flex;
    justify-content: flex-end;
}

/* Featured Tastemakers Styles */
.featured-tastemakers-content {
    width: 100%;
}

.featured-tastemakers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
    overflow: visible;
    padding-bottom: 20px; /* Extra space for tooltips */
}

.featured-tastemaker-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.featured-tastemaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.featured-tastemaker-card.clickable {
    cursor: pointer;
}

.featured-tastemaker-card.clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.4);
}

.featured-tastemaker-card.clickable:hover::before {
    transform: scaleX(1);
}

.featured-tastemaker-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-tastemaker-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.featured-tastemaker-avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    flex-shrink: 0;
    border: 2px solid hsl(var(--border));
    transition: border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.featured-tastemaker-card:hover .featured-tastemaker-avatar {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.featured-tastemaker-info {
    flex: 1;
    min-width: 0;
}

.featured-tastemaker-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    position: relative;
    z-index: 5;
}

/* Ensure badge tooltips appear above everything in featured tastemakers */
.featured-tastemaker-card .tastemaker-badge {
    position: relative;
    z-index: 10;
}

.featured-tastemaker-card .tastemaker-badge:hover {
    z-index: 100000;
}

.featured-tastemaker-card .badge-tooltip {
    z-index: 100000;
}

.featured-tastemaker-name {
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
    line-height: 1.3;
}

.featured-tastemaker-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    flex-wrap: wrap;
}

.featured-tastemaker-stats .stat-item {
    color: hsl(var(--foreground));
    font-weight: 500;
}

.featured-tastemaker-stats .stat-separator {
    color: hsl(var(--muted-foreground));
    opacity: 0.5;
}

.featured-tastemaker-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.featured-tastemaker-actions .btn {
    min-width: 80px;
}

/* Responsive adjustments for members page */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-tastemakers-list {
        grid-template-columns: 1fr;
    }
    
    .featured-tastemaker-card {
        padding: 20px;
    }
    
    .featured-tastemaker-avatar {
        width: 56px;
        height: 56px;
    }
    
    .members-controls {
        justify-content: flex-start;
    }
    
    .member-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .page-title {
        font-size: 28px;
    }
}

/* Tags Page Styles */
.tags-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.tags-page-header {
    margin-bottom: 30px;
}

.tags-page-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: space-between;
}

.tags-page-controls .search-controls {
    flex: 1;
    min-width: 200px;
}

.tags-page-controls .filter-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-label {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.tags-page-content {
    margin-top: 20px;
}

.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.tag-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.tag-card.clickable {
    cursor: pointer;
}

.tag-card.clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.tag-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tag-card-name {
    font-size: 20px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
    font-family: var(--font-mono);
}

.tag-card-stats {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
}

.tag-card-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.tag-card-stat .stat-value {
    font-size: 18px;
    font-weight: 600;
    color: hsl(var(--primary));
}

.tag-card-stat .stat-label {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-card-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s ease, transform 0.2s ease;
}

.tag-card.clickable:hover .tag-card-arrow {
    color: hsl(var(--primary));
    transform: translateX(4px);
}

/* Tag Detail Page Styles */
.tag-detail-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.tag-detail-header {
    margin-bottom: 30px;
}

.back-btn {
    margin-bottom: 20px;
}

.tag-detail-title-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tag-detail-title-section .page-title {
    font-size: 48px;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin: 0;
    font-family: var(--font-mono);
}

.tag-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.tag-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tag-stat-item .stat-value {
    font-size: 24px;
    font-weight: 600;
    color: hsl(var(--primary));
}

.tag-stat-item .stat-label {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-detail-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.tag-detail-controls .filter-controls,
.tag-detail-controls .sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.tag-detail-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 1px solid hsl(var(--border));
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: hsl(var(--muted-foreground));
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--accent));
}

.tab-btn.active {
    color: hsl(var(--primary));
    border-bottom-color: hsl(var(--primary));
}

.tag-detail-content {
    margin-top: 20px;
}

.tag-detail-content .nfts-grid,
.tag-detail-content .collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.tag-detail-content .nft-card,
.tag-detail-content .collection-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-detail-content .nft-card.clickable,
.tag-detail-content .collection-card.clickable {
    cursor: pointer;
}

.tag-detail-content .nft-card.clickable:hover,
.tag-detail-content .collection-card.clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.nft-card-image,
div.collection-card-image {
    width: 100%;
    height: 240px;
    background-color: var(--art-frame);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nft-card-image img,
div.collection-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.nft-image-placeholder,
.collection-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
}

.nft-card-content,
.collection-card-content {
    padding: 16px;
}

.nft-card-title,
.collection-card-title {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 8px 0;
}

.nft-card-contract,
.collection-card-chain {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0 0 12px 0;
    font-family: var(--font-mono);
}

.nft-card-tag-count,
.collection-card-tag-count {
    margin-top: 8px;
}

.tag-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Responsive adjustments for tags pages */
@media (max-width: 768px) {
    .tags-grid {
        grid-template-columns: 1fr;
    }
    
    .tags-page-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tag-detail-title-section .page-title {
        font-size: 32px;
    }
    
    .tag-detail-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tag-detail-content .nfts-grid,
    .tag-detail-content .collections-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
}

/* Enhanced Filtering and Sorting Styles */

/* Reviews Page Controls */
.reviews-controls {
    margin-bottom: 30px;
}

.reviews-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    padding: 20px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.reviews-results-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid hsl(var(--border));
}

.results-count {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Lists Page Controls */
.lists-controls {
    margin-bottom: 30px;
}

.lists-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    padding: 20px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.lists-results-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid hsl(var(--border));
}

/* Review List Component Filters */
.review-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.review-list-filters {
    margin-bottom: 20px;
    padding: 16px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
}

.review-filters-content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

/* Filter Checkbox */
.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: hsl(var(--foreground));
    user-select: none;
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: hsl(var(--primary));
}

.filter-checkbox-label span {
    line-height: 1.5;
}

/* Feed Page Controls */
.feed-controls {
    margin-bottom: 30px;
}

.feed-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    padding: 20px;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
}

/* Responsive adjustments for filter controls */
@media (max-width: 768px) {
    .reviews-filters,
    .lists-filters,
    .feed-filters,
    .review-filters-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .review-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Discovery Page Styles */
.discovery-page {
    min-height: 100dvh;
    padding: 40px 0;
}

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

.discovery-header .page-title {
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

.discovery-header .page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.discovery-section {
    margin-bottom: 60px;
}

.discovery-section .section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: var(--dark-surface);
    border-radius: 12px;
    border: 1px solid var(--dark-surface-2);
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0abab5 0%, #067a77 100%);
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-address {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.user-stats {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    align-items: center;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.recommendation-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-card);
}

.recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.recommendation-image {
    width: 100%;
    height: 240px;
    background-color: var(--art-frame);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.recommendation-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.recommendation-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.recommendation-info {
    padding: 16px;
}

.recommendation-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommendation-collection {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommendation-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
    align-items: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.trending-review-card {
    background-color: var(--dark-surface);
    border-radius: 12px;
    border: 1px solid var(--dark-surface-2);
    padding: 16px;
    display: flex;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trending-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trending-review-image {
    width: 88px;
    height: 110px;
    border-radius: var(--radius-sm);
    background-color: var(--art-frame);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-review-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.trending-review-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.trending-review-info {
    flex: 1;
    min-width: 0;
}

.trending-review-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.trending-review-collection {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.trending-review-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--text-secondary);
    align-items: center;
    margin-bottom: 8px;
}

.reviewer-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.reviewer-link:hover {
    text-decoration: underline;
}

.trending-review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.trending-review-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.empty-message {
    color: var(--text-secondary);
    font-style: italic;
    padding: 20px;
    text-align: center;
}



/* Taste Profile Styles */
.taste-profile {
    margin-top: 20px;
}

.taste-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.taste-profile-section {
    padding: 20px;
    background-color: hsl(var(--muted));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
}

.taste-profile-section-title {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 16px 0;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.distribution-bar-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.distribution-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: hsl(var(--muted-foreground));
}

.distribution-count {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.distribution-bar {
    width: 100%;
    height: 8px;
    background-color: hsl(var(--accent));
    border-radius: 4px;
    overflow: hidden;
}

.distribution-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    transition: width 0.3s ease;
}

.rating-style-indicator {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.style-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.style-badge.style-generous {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.style-badge.style-selective {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.style-badge.style-balanced {
    background-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.style-badge.style-critical {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.style-description {
    font-size: 13px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    line-height: 1.5;
}

.favorite-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.favorite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: hsl(var(--accent));
    border-radius: 6px;
}

.favorite-item-name {
    font-size: 13px;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.favorite-item-count {
    font-size: 11px;
    color: hsl(var(--muted-foreground));
}

.favorite-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: hsl(var(--accent));
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: hsl(var(--foreground));
    font-family: var(--font-mono);
}

.review-quality-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quality-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid hsl(var(--border));
}

.quality-metric:last-child {
    border-bottom: none;
}

.quality-label {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
}

.quality-value {
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--foreground));
}

/* Tastemaker Spotlight Styles */
.tastemaker-spotlight-page {
    min-height: 100dvh;
    padding: 40px 0;
}

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

.spotlight-hero {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.spotlight-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0abab5 0%, #067a77 100%);
    flex-shrink: 0;
}

.spotlight-info {
    flex: 1;
    min-width: 0;
}

.spotlight-title {
    font-size: 36px;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin: 0;
}

.spotlight-address {
    font-family: var(--font-mono);
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 8px 0;
    word-break: break-all;
}

.spotlight-rank {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.rank-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
}

.rank-text {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
}

.spotlight-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.spotlight-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.spotlight-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: hsl(var(--muted));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-reviews {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.stat-icon-score {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.stat-icon-helpful {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.stat-icon-early {
    background-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.stat-icon-followers {
    background-color: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.stat-icon-rating {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.spotlight-section {
    margin-bottom: 60px;
}

.spotlight-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.spotlight-review-card {
    background-color: hsl(var(--muted));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    padding: 16px;
    display: flex;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.spotlight-review-image {
    width: 88px;
    height: 110px;
    border-radius: var(--radius-sm);
    background-color: var(--art-frame);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-review-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.spotlight-review-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
}

.spotlight-review-info {
    flex: 1;
    min-width: 0;
}

.spotlight-review-name {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotlight-review-collection {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotlight-review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.spotlight-review-engagement {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: hsl(var(--muted-foreground));
}

.spotlight-similar-users {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.spotlight-similar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: hsl(var(--muted));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-similar-user:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.similar-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0abab5 0%, #067a77 100%);
    flex-shrink: 0;
}

.similar-user-info {
    flex: 1;
    min-width: 0;
}

.similar-user-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0 0 4px 0;
}

.similar-user-info p {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Profile Edit Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background-color: hsl(var(--card));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid hsl(var(--border));
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--foreground));
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    background-color: hsl(var(--input));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    color: hsl(var(--foreground));
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.form-help {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin-top: 6px;
    margin-bottom: 0;
}

.username-availability {
    margin-top: 8px;
    font-size: 12px;
}

.availability-success {
    color: #10b981;
}

.availability-error {
    color: #ef4444;
}

.gradient-picker {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gradient-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gradient-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid hsl(var(--border));
}

.gradient-preview-label {
    font-size: 12px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.color-pickers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.color-picker-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-picker-label {
    font-size: 13px;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.color-picker-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-picker {
    width: 60px;
    height: 40px;
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    cursor: pointer;
    background: none;
    padding: 0;
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.color-hex-input {
    flex: 1;
    padding: 8px 10px;
    background-color: hsl(var(--input));
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    color: hsl(var(--foreground));
    font-size: 13px;
    font-family: var(--font-mono);
}

.color-hex-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.gradient-presets {
    padding-top: 16px;
    border-top: 1px solid hsl(var(--border));
}

.presets-label {
    font-size: 13px;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 12px;
}

.preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preset-btn {
    padding: 8px 16px;
    background-color: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    color: hsl(var(--foreground));
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-btn:hover {
    background-color: hsl(var(--accent));
    transform: translateY(-1px);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--border));
    margin-top: 24px;
}

/* Profile Avatar Styles */
.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 24px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid hsl(var(--border));
    flex-shrink: 0;
}

.profile-details {
    flex: 1;
    min-width: 0;
}

.profile-info {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.edit-profile-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Reviewer Avatar Styles */
.reviewer-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviewer-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Comment Avatar Styles */
.comment-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* List Owner Avatar Styles */
.list-owner-avatar-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Stats Page Styles */
.stats-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.activity-chart {
    min-height: 200px;
    padding: 1rem 0;
}

.error-state {
    text-align: center;
    padding: 3rem 1rem;
    color: hsl(var(--muted-foreground));
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid hsl(var(--muted));
    border-top-color: hsl(var(--primary));
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Share Button Styles */
.share-button-container {
    position: relative;
    display: inline-block;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.share-button svg {
    flex-shrink: 0;
    display: block;
}

.share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background-color: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 50;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.share-dropdown.hidden {
    display: none;
}

.share-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: calc(var(--radius) - 4px);
    background-color: transparent;
    border: none;
    color: hsl(var(--popover-foreground));
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    width: 100%;
    text-align: left;
}

.share-menu-item:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.share-menu-item:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.share-menu-item svg {
    flex-shrink: 0;
    display: block;
    width: 16px;
    height: 16px;
}

.share-menu-item img {
    flex-shrink: 0;
    display: block;
    width: 16px;
    height: 16px;
}

.farcaster-share-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

[data-theme="light"] .farcaster-share-icon {
    filter: brightness(0) invert(0);
    opacity: 0.8;
}

.share-menu-item span {
    flex: 1;
}

/* Toast Notification */
.share-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: hsl(var(--popover));
    color: hsl(var(--popover-foreground));
    padding: 0.75rem 1.25rem;
    border-radius: calc(var(--radius) - 2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .share-dropdown {
        right: auto;
        left: 0;
        min-width: 180px;
    }
    
    .share-toast {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(100px);
        max-width: calc(100% - 32px);
    }
    
    .share-toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* Starter Pack Page Styles */
.starterpack-page {
    min-height: 100dvh;
    padding: 40px 0;
}

.starterpack-header {
    margin-bottom: 40px;
    text-align: center;
}

.starterpack-header .page-title {
    color: hsl(var(--foreground));
    margin-bottom: 8px;
}

.starterpack-header .page-subtitle {
    font-size: 18px;
    color: hsl(var(--muted-foreground));
    margin-bottom: 12px;
}

.starterpack-description {
    font-size: 16px;
    color: hsl(var(--muted-foreground));
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.starterpack-content {
    max-width: 1400px;
    margin: 0 auto;
}

.starterpack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    padding: 0 20px;
}

.starterpack-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.starterpack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: hsl(var(--primary) / 0.3);
}

.starterpack-card-image {
    width: 100%;
    height: 300px;
    background-color: var(--art-frame);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.starterpack-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.starterpack-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    gap: 8px;
}

.starterpack-image-placeholder .material-icons {
    font-size: 48px;
    opacity: 0.5;
}

.starterpack-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.starterpack-card-title {
    font-size: 20px;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
    line-height: 1.3;
}

.starterpack-card-artist {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    font-weight: 500;
}

.starterpack-card-collection {
    font-size: 14px;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

.starterpack-card-note {
    font-size: 13px;
    color: hsl(var(--muted-foreground));
    margin: 0;
    font-style: italic;
    line-height: 1.5;
    padding: 12px;
    background-color: hsl(var(--muted) / 0.3);
    border-radius: 8px;
    border-left: 3px solid hsl(var(--primary));
}

.starterpack-card-rating {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid hsl(var(--border));
}

.starterpack-card-actions {
    margin-top: auto;
    padding-top: 12px;
}

.rating-success-message {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
    border: 1px solid hsl(var(--primary) / 0.2);
}

/* Responsive adjustments for starter pack page */
@media (max-width: 768px) {
    .starterpack-header .page-title {
        font-size: 36px;
    }
    
    .starterpack-header .page-subtitle {
        font-size: 16px;
    }
    
    .starterpack-description {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .starterpack-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .starterpack-card-content {
        padding: 16px;
    }
}

/* ============================================
   Server status banner (shown when API is unreachable)
   ============================================ */
#server-status-banner {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    background-color: hsl(38, 92%, 50%);
    color: hsl(26, 83%, 14%);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

#server-status-banner button {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

/* ============================================
   Shared section error state with retry
   ============================================ */
.section-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 20px;
    text-align: center;
}

.section-error-message {
    color: hsl(var(--muted-foreground));
    font-size: 15px;
    margin: 0;
}

.section-error .retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    background: transparent;
    color: hsl(var(--foreground));
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.section-error .retry-btn:hover {
    background-color: hsl(var(--accent));
}

/* ============================================
   Toast notifications
   ============================================ */
#toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    width: max-content;
    max-width: calc(100vw - 32px);
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
    cursor: pointer;
    max-width: 100%;
}

.toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-success .toast-icon { color: hsl(var(--accent-green, 150 60% 45%)); }
.toast-error .toast-icon { color: hsl(var(--destructive)); }
.toast-info .toast-icon { color: hsl(var(--ring)); }

.toast-message {
    line-height: 1.4;
    word-break: break-word;
}

/* Clickable example queries in the search empty state */
.search-example-query {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    color: hsl(var(--ring));
    text-decoration: underline;
    cursor: pointer;
}

.search-example-query:hover {
    opacity: 0.8;
}

/* ============================================
   Design refresh: grain, skip link, motion, product chrome
   ============================================ */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: var(--z-grain);
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

[data-theme="light"] body::before {
    opacity: 0.028;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: calc(var(--z-header) + 1);
    background: hsl(var(--brand-blue));
    color: hsl(var(--primary-foreground));
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.page-title,
.feed-page-header .page-title,
.reviews-page-header .page-title,
.search-page-header .page-title,
.discovery-header .page-title,
.starterpack-header .page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.page-subtitle,
.feed-page-header .page-subtitle {
    max-width: 52ch;
}

.empty-state,
.error-state,
.no-reviews,
.no-collections,
.loading-reviews,
.loading-collections {
    padding: 48px 20px;
    text-align: center;
    color: hsl(var(--muted-foreground));
    background: hsl(var(--card));
    border: 1px dashed hsl(var(--border));
    border-radius: var(--radius);
}

.feed-page,
.search-page,
.reviews-page,
.lists-page,
.members-page,
.discovery-page,
.tags-page {
    min-height: 100dvh;
}

.feed-review-card,
.review-card.card {
    box-shadow: var(--shadow-card);
    border-radius: var(--radius);
}

.filter-select,
.filter-label + select {
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.icon-svg {
    display: block;
    flex-shrink: 0;
}

.connect-option-icon svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .theme-icon svg,
.theme-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy {
        animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-gallery {
        animation: fade-up 0.75s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
}

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

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

    .hero-gallery-slot.skeleton,
    .showcase-card .showcase-image-placeholder,
    .welcome-stat .stat-value-loading {
        animation: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .header {
        background-color: hsl(var(--background));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Art frames: NFT and collection art never crop. Avatars/pfps may still use cover. */
.art-frame,
.hero-gallery-slot,
.showcase-card,
.showcase-image,
.review-image,
.review-card-image,
.recommendation-image,
.nft-card-image,
div.collection-card-image,
.starterpack-card-image,
.spotlight-review-image,
.trending-review-image,
.just-reviewed-item,
.feed-nft-image,
.list-item-image-container,
.nft-image-container,
.collection-logo-container,
.browser-header-image,
.curated-nft-image {
    background-color: var(--art-frame);
}

.showcase-image-img,
.review-image img,
.review-card-image img,
.feed-nft-image img,
.list-item-image,
.nft-image,
.nft-detail-image,
.starterpack-image,
.recommendation-image img,
.spotlight-review-image img,
.trending-review-image img,
.just-reviewed-item img,
img.collection-card-image,
.nft-card-image img,
div.collection-card-image img,
.collection-logo,
.collection-image,
.browser-header-image .collection-image,
.art-frame img,
img.art-frame-img,
.curated-nft-image img {
    object-fit: contain !important;
    object-position: center center;
}

.curated-nft-image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.art-placeholder-icon {
    width: 40px;
    height: 40px;
    opacity: 0.45;
}

/* Placeholders must not sit beside loaded art (letterbox leftover). */
:is(
    .review-image,
    .review-card-image,
    .recommendation-image,
    .feed-nft-image,
    .spotlight-review-image,
    .trending-review-image,
    .starterpack-card-image,
    .nft-image-container,
    .list-item-image-container,
    .collection-logo-container,
    .showcase-image,
    .nft-image-wrapper,
    .curated-nft-image,
    div.collection-card-image,
    .collection-image-container,
    .browser-header-image
):has(> img:not([style*="display: none"])) {
    position: relative;
}

:is(
    .review-image,
    .review-card-image,
    .recommendation-image,
    .feed-nft-image,
    .spotlight-review-image,
    .trending-review-image,
    .starterpack-card-image,
    .nft-image-container,
    .list-item-image-container,
    .collection-logo-container,
    .showcase-image,
    .nft-image-wrapper,
    .curated-nft-image,
    div.collection-card-image,
    .collection-image-container,
    .browser-header-image
):has(> img:not([style*="display: none"])) > [class*="placeholder"] {
    display: none !important;
}
