:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333;
    --accent-color: #c0392b;
    --text-color: #ffffff;
    --background-color: #000000;
    --card-background: #1a1a1a;
    --hover-color: #2c2c2c;
    --success-color: #28a745;
    --error-color: #dc3545;
    --pending-color: #ffc107;
    --border-color: #444;
    --input-bg: #333;
    --button-text: #fff;
    --accent-hover: #a93226;
    --text-muted: #aaa;
    --text-secondary: #888;
    --text-dark: #000000;
    --border-light: #222;
    --border-white: #fff;
    --background-light: #f0f0f0;
    --background-dark: #111;
    --background-red: #ff3b3b;
    --background-green: #4CAF50;
    --status-pending-bg: #fff3cd;
    --status-pending-text: #856404;
    --status-success-bg: #d4edda;
    --status-success-text: #155724;
    --status-error-bg: #f8d7da;
    --status-error-text: #721c24;
    --gradient-primary: #667eea;
    --gradient-secondary: #764ba2;
    --gradient-accent: #f093fb;
    --color-light-gray: #b0b0b0;
    --color-light-bg: #f0f0f0;
    --color-white: #fff;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --border-radius-md: 6px;
    --border-radius-lg: 8px;
    --border-radius-xxl: 25px;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --transition-base: 0.3s ease;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: var(--spacing-md);
}
#walletNotConnected {
    text-align: center;
    padding: 40px 20px;
}
.metamask-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--card-background);
    border: 1px solid var(--border-white);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s;
}
.metamask-link:hover {
    background-color: var(--hover-color);
    text-decoration: none;
}
.metamask-link img {
    width: 24px;
    height: 24px;
}
.header {
    background-color: var(--primary-color);
    padding: var(--spacing-md) 0 0 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 25px;
    width: auto;
}
.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}
.nav-links {
    display: flex;
    gap: var(--spacing-md);
}
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}
.wallet-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.wallet-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.wallet-button img {
    width: 20px;
    height: 20px;
}
.user-thumbnail {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 16px;
    border: 2px solid var(--border-color);
    background: var(--primary-color);
    transition: transform 0.2s ease;
}
.user-thumbnail:hover {
    transform: scale(1.1);
}
.main-menu-bar {
    width: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0;
    z-index: 10;
}
.main-menu-list {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    padding-left: 40px;
}
.main-menu-list li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: color 0.2s;
}
.main-menu-list li a:hover {
    color: var(--text-secondary);
}
.profile-section {
    background: var(--card-background);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.form-group label {
    color: var(--text-color);
    font-weight: bold;
}
.form-group input,
.form-group textarea {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--input-bg);
    color: var(--text-color);
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.thumbnail-preview {
    margin-top: 10px;
}
.thumbnail-preview img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}
.save-button {
    padding: 10px 20px;
    background: var(--accent-color);
    color: var(--button-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
.save-button:hover {
    background: var(--accent-hover);
}
.footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 20px 0;
    margin-top: 20px;
    padding-top: 30px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-nav-column {
    text-align: center;
}
.footer-nav-column h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}
.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav-column ul li {
    margin-bottom: var(--spacing-sm);
}
.footer-nav-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-base);
    font-weight: normal;
    font-size: 0.85em;
}
.footer-nav-column ul li a:hover {
    color: var(--accent-color);
}

.footer-logo {
    text-align: center;
    margin-bottom: 5px;
}
.footer-logo img {
    height: 24px;
}
.footer-language {
    text-align: center;
}
.language-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
}
.language-text {
    font-weight: normal;
    font-size: 14px;
}
.footer-nav {
}
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-nav-list li {
    margin: 0;
}
.footer-nav-list a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-nav-list a:hover {
    color: #ccc;
}
.footer-copyright {
    text-align: center;
}
.footer-copyright p {
    margin: 0;
    color: #999;
    font-weight: normal;
    font-size: 12px;
}
.user-info {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}



.dropdown-menu {
    display:none;
    position:absolute;
    top:48px;
    right:0;
    min-width:220px;
    background:#111;
    color:#fff;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
    padding:12px 0;
    z-index:1000;
}

.dropdown-menu.active{
    display:block;
}

.dropdown-menu a{
    display:block;
    padding:8px 20px;
    text-decoration:none;
    color:#fff;
    transition:background 0.2s;
}

.dropdown-menu a:hover{
    background:#222;
}

.dropdown-group-title{
    display:flex;
    align-items:center;
    padding:3px 16px 1px 16px;
    opacity:0.8;
    margin-top:6px;
}

.dropdown-group-title .group-icon{
    display:inline-block;
    width:1em;
    height:1em;
    margin-right:6px;
    vertical-align:middle;
}

.dropdown-group-title:first-child{
    margin-top:0;
}

.dropdown-group-divider{
    height:1px;
    background:#222;
    margin:4px 0 2px 0;
    border:none;
}

.dropdown-menu .dropdown-group-title:first-child{
    margin-top:0;
}

.dropdown-menu .dropdown-wallet-connect,.dropdown-menu .dropdown-wallet-disconnect{
    font-weight:bold;
    color:#ffd700;
}

.dropdown-menu .dropdown-wallet-disconnect{
    color:#ff6666;
}




.wallet-address {
    display: none;
}


.token-selection {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}
.token-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
}
.token-button:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.token-button.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.token-icon {
    width: 24px;
    height: 24px;
}
.purchase-button-container {
    text-align: center;
    margin: 20px 0;
}
.purchase-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}
.purchase-button:disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
}
.purchase-button:hover:not(:disabled) {
    background-color: var(--accent-hover);
}
.content-wrapper {
    display: flex;
    gap: 20px;
}
.main-content {
    flex: 1;
}
.sidebar {
    width: 300px;
    background-color: var(--card-background);
    padding: 20px;
    border-right: 1px solid var(--border-color);
}
.sidebar .profile-section {
    margin-bottom: 30px;
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.sidebar .profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}
.sidebar .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar .profile-info {
    margin-bottom: 20px;
}
.sidebar .profile-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}
.sidebar .wallet-address {
    font-family: monospace;
    font-size: 0.9em;
    color: var(--text-muted);
    word-break: break-all;
    margin-bottom: 15px;
}
.sidebar .edit-profile-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.sidebar .edit-profile-btn:hover {
    background-color: var(--accent-hover);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--accent-color);
    color: var(--button-text);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: var(--font-size-base);
    transition: background-color var(--transition-base);
}
.button:hover {
    background-color: var(--accent-hover);
}

.upload-bg {
    background: var(--card-background);
    min-height: 100vh;
    padding: 40px 0;
}
.upload-wrapper {
    background: var(--secondary-color);
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 32px 40px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
.upload-title {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
        text-align: center;
    }
.upload-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 32px;
    text-align: center;
    }
.upload-form-area {
        display: flex;
        justify-content: center;
    margin-bottom: 32px;
}
.upload-file-input {
    display: none;
}
.upload-btn {
    background: var(--text-color);
color: var(--text-dark);
border: 1px solid var(--text-secondary);
    border-radius: 4px;
    padding: 10px 32px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    transition: background 0.2s, color 0.2s;
    }
.upload-btn:disabled {
    background: var(--background-light);
color: var(--text-secondary);
    cursor: not-allowed;
}
.error-message {
    color: var(--error-color);
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
}
.alert-box {
    background: var(--background-dark);
    border-radius: var(--border-radius-md);
    padding: 14px 16px;
    margin-bottom: 24px;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    }
.childporn-alert {
    border-color: var(--background-yellow);
}
.alert-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
        align-items: center;
}
.alert-icon {
    color: var(--background-yellow);
    font-size: 1.1rem;
    margin-right: 6px;
}
.alert-yellow {
    color: var(--background-yellow);
    font-weight: bold;
    margin-right: 2px;
}
.alert-white {
    color: var(--text-color);
}
.alert-desc {
    color: var(--text-color);
    font-size: 0.8rem;
    margin-top: 4px;
}
.alert-bold {
    font-weight: bold;
}
.info-box {
    background: var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: 16px 16px;
    margin-bottom: 24px;
    color: var(--text-color);
}
.info-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.info-col {
    flex: 1 1 300px;
    }
.info-title {
    font-size: 0.75rem;
    font-weight: normal;
    margin-bottom: 8px;
    color: var(--text-color);
}
.info-box ul {
    color: var(--text-color);
    font-size: 0.75rem;
    margin: 0;
    padding-left: 20px;
}
.info-box ul li {
    margin-bottom: 5px;
}
.warning-alert {
    border-color: var(--error-color);
}
.warning-alert .alert-title {
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: normal;
}
.warning-alert ul {
    color: var(--text-color);
    font-size: 0.75rem;
    margin: 0;
    padding-left: 20px;
}
.warning-alert ul li {
    margin-bottom: 5px;
}
.alert-red {
    color: var(--error-color);
    font-weight: bold;
}
.alert-yellow-small {
    color: var(--background-yellow);
    font-size: 0.75rem;
    font-weight: normal;
}
.childporn-center {
    text-align: center;
}
.alert-bold-center {
    display: block;
    font-weight: bold;
    font-size: 0.75rem;
    text-align: center;
    margin-bottom: 2px;
    color: var(--background-yellow);
}
.alert-bold-center span {
    color: var(--background-yellow);
    font-weight: bold;
    font-size: 0.75rem;
}
.alert-white.childporn-center {
    color: var(--text-color);
    display: inline-block;
    text-align: center;
        width: 100%;
    font-size: 0.75rem;
    font-weight: normal;
    }
.upload-form-area.dragover {
    border: 2px dashed var(--background-yellow);
    background: var(--border-color);
}
.upload-wrapper.dragover {
    background: var(--border-color) !important;
    border: 2px dashed var(--background-yellow) !important;
    transition: background 0.2s, border 0.2s;
}
.progress-container {
    margin: 20px 0;
}
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: var(--background-green);
    transition: width 0.3s ease;
}
.progress-text {
    margin-top: 5px;
    font-size: 14px;
    color: var(--text-secondary);
}
.button-group {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.submit-btn, .cancel-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.submit-btn {
    background-color: var(--background-green);
    color: white;
}
.submit-btn:disabled {
    background-color: var(--background-gray);
    cursor: not-allowed;
}
.cancel-btn {
    background-color: var(--background-red-light);
    color: white;
}
.status-converting {
    color: var(--pending-color);
    font-weight: bold;
}
.status-published {
    color: var(--success-color);
    font-weight: bold;
}
.status-error {
    color: var(--error-color);
    font-weight: bold;
}
.cart-icon { position: relative; display: inline-block; }
.cart-icon img { width: 36px; height: 36px; }
.cart-badge { position: absolute; top: 2px; right: 2px; background: var(--background-red); color: var(--text-color); border-radius: 50%; font-size: 10px; font-weight: bold; min-width: 14px; height: 14px; line-height: 14px; text-align: center; z-index: 2; padding: 0 2px; }
.hero-banner { background: linear-gradient(135deg, var(--gradient-primary) 0%, var(--gradient-secondary) 50%, var(--gradient-accent) 100%); border: 2px solid rgba(255,255,255,0.15); border-radius: var(--border-radius-xxl); padding: 0.3rem 0.5rem 1rem 0.5rem; margin: 0.4rem auto; text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3); width: 60%; }
.hero-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(240, 147, 251, 0.1) 0%, transparent 50%); }
.hero-banner-content { position: relative; z-index: 2; margin-top: 0.2rem; }
.hero-banner h1 { font-size: 2.5rem; font-weight: 900; margin: 0.2rem 0 0 0; background: linear-gradient(45deg, var(--color-white), var(--color-light-bg)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 8px 16px rgba(0,0,0,0.4); display: block; margin-right: 0; }
.hero-banner-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.95); margin-bottom: 0.5rem; font-weight: 300; display: block; }
.hero-features { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 0.5rem; }
.hero-feature-tag { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--color-white); padding: 0.6rem 1.2rem; border-radius: var(--border-radius-xxl); font-size: 0.9rem; font-weight: 600; backdrop-filter: blur(20px); transition: all 0.4s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.hero-feature-tag:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.features {
    padding: 40px 0 !important;
    display: block !important;
}
.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    margin: 0 0 0.8rem 0;
    color: var(--text-color);
}
.section-subtitle {
    text-align: center;
    color: var(--color-light-gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-weight: 300;
}
.features-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}
.feature-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-primary), var(--gradient-secondary), var(--gradient-accent));
}
.feature-item:hover {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.feature-emoji {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.feature-tag {
    background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-secondary));
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-xxl);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.8rem;
}
.feature-description {
    color: var(--color-lighter-gray);
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 300;
}
.cta-section {
    padding: 0;
    background: linear-gradient(135deg, var(--gradient-primary) 0%, var(--gradient-secondary) 50%, var(--gradient-accent) 100%);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--border-radius-xxl);
    margin: 1rem auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 60%;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
}
.cta-content {
    position: relative;
    z-index: 2;
    padding: 0.2rem 0;
}
.cta-button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-xxl);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.cta-button:active {
    transform: translateY(-2px);
}

.thumbnail-cell {
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.thumbnail-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2em;
    z-index: 2;
}
.thumbnail-action {
    display: block;
}
.thumbnail-action.hidden {
    display: none;
}
.thumbnail-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
    display: none;
}
.thumbnail-delete-btn.visible {
    display: block;
}
.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.thumbnail-no-image {
    color: var(--text-color);
    font-size: 1em;
}
.thumbnail-input {
    display: none;
}
.main-thumbnail-box {
    width: 220px;
    height: 220px;
    background: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
}
.main-thumbnail-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2em;
    z-index: 2;
}
.main-thumbnail-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.main-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.main-thumbnail-no-image {
    color: var(--text-color);
    font-size: 1.5em;
}
.edit-form {
    margin-bottom: 32px;
}
.form-section {
    background: var(--card-background);
    border-radius: 8px;
    padding: 24px 32px;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.form-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
}
.form-required {
    color: var(--error-color);
    font-size: 0.9em;
}
.form-input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--background-dark);
    color: var(--text-color);
    font-size: 1.1em;
}
.form-textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--background-dark);
    color: var(--text-color);
    font-size: 1.1em;
    resize: vertical;
}
.form-number {
    width: 120px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--background-dark);
    color: var(--text-color);
    font-size: 1.1em;
}
.form-number-small {
    width: 60px;
    margin-left: 8px;
}
.form-number-stock {
    width: 80px;
    margin-left: 8px;
}
.submit-button {
    width: 220px;
    background: var(--error-color);
    color: var(--text-color);
    border: none;
    border-radius: 6px;
    padding: 16px 0;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    display: block;
}
.message-success {
    background: var(--success-color);
    color: var(--text-color);
    padding: 16px;
    margin: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
.message-error {
    background: var(--error-color);
    color: var(--text-color);
    padding: 16px;
    margin: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
.video-preview {
    margin-bottom: 32px;
    text-align: center;
}
.video-player {
    width: 100%;
    max-width: 600px;
    background: var(--background-dark);
    border-radius: 8px;
}
.video-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}
.video-status {
    color: var(--success-color);
    font-size: 0.9em;
}
.video-status-converting {
    color: var(--pending-color);
    font-size: 0.9em;
}
.video-download {
    color: var(--pending-color);
    text-decoration: none;
    font-size: 0.9em;
    padding: 4px 8px;
    border: 1px solid var(--pending-color);
    border-radius: 4px;
}
.video-error {
    color: var(--error-color);
    background: var(--card-background);
    padding: 40px;
    border-radius: 8px;
}
.product-detail-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: var(--spacing-md);
    background-color: var(--background-color);
    color: var(--text-color);
}
.limited-alert {
    background: linear-gradient(90deg, var(--color-pink), #ff5e62);
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
    border-radius: 6px;
}
.limited-alert a {
    color: #fff;
    text-decoration: underline;
}
.time-limited-alert {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 16px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.time-limited-alert a {
    color: var(--text-color);
    text-decoration: underline;
}
.product-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.product-main {
    flex: 1;
    min-width: 0;
}
.product-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.product-main-image {
    width: 320px;
    height: 320px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.product-info {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--card-background);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}
.product-title {
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 0 var(--spacing-md) 0;
    word-break: break-all;
}
.product-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8em;
}
.like-count {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.8em;
}
.star-rating {
    color: var(--accent-color);
    font-size: 0.8em;
}
.star-filled {
    color: var(--accent-color);
}
.star-empty {
    color: var(--text-muted);
}
.author-name {
    color: var(--text-muted);
    font-size: 0.75em;
}
.device-tags {
    color: var(--text-color);
    font-size: 0.75em;
}
.device-tag {
    background: var(--secondary-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65em;
}
.sale-date {
    color: var(--text-color);
    font-size: 0.75em;
}
.limited-info {
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.75em;
    background: var(--background-yellow);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin: 2px 0;
}
.seller-info {
    margin-top: 8px;
    font-size: 0.75em;
    color: var(--text-muted);
    background: var(--card-background);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
.sample-images-grid {
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.sample-video {
    width: 90%;
    max-width: 100%;
    aspect-ratio: 16/9;
    display: block;
    margin: 0 auto;
    background: var(--background-dark);
    border-radius: 6px;
    object-fit: contain;
}

.section-content {
    color: var(--text-color);
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.section-divider {
    margin: var(--spacing-xl) 0 0 0;
    padding: 16px 0 0 0;
    border-top: 1px solid var(--border-color);
}
.review-stars {
    color: var(--accent-color);
    font-size: 1.2em;
}
.review-item {
    background: var(--card-background);
    padding: 12px 16px;
    border-radius: 6px;
    color: var(--text-color);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}
.review-author {
    color: var(--text-muted);
    font-size: 0.9em;
}
.view-all-reviews-btn {
    padding: 14px 40px;
    font-size: 1.1em;
    background: var(--accent-color);
    color: var(--text-color);
    font-weight: bold;
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
    cursor: pointer;
}
.view-all-reviews-btn:hover {
    background: var(--accent-hover);
}
.product-sidebar {
    min-width: 300px;
    max-width: 360px;
    width: 100%;
    background: var(--card-background);
    padding: 24px 20px 20px 20px;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.product-price {
    font-size: 1.3em;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 8px;
}
.add-to-cart-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 1.1em;
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius-md);
    margin: 16px 0 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.price-history-btn {
    width: 100%;
    padding: 8px 0;
    font-size: 1em;
    background: var(--secondary-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.upload-spa-container {
    background: var(--color-dark-gray);
    border-radius: 8px;
    padding: 24px 32px;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.upload-progress-header {
    color: var(--color-red-light);
    font-weight: bold;
    margin-bottom: 8px;
}
.upload-progress-cancel {
    float: right;
}
.upload-progress-cancel a {
    color: var(--color-blue-light);
    text-decoration: underline;
}
.upload-progress-container {
    background: var(--background-dark);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}
.upload-progress-bar {
    background: var(--color-red-light);
    width: 0%;
    height: 28px;
    transition: width 0.3s;
}
.upload-progress-text {
    position: absolute;
    margin-top: -28px;
    width: 100%;
    text-align: center;
    color: var(--color-white);
    font-weight: bold;
}
.upload-progress-list {
    margin: 0;
    padding-left: 20px;
    color: var(--color-white);
    font-size: 0.95em;
}
.upload-form-section {
    background: var(--color-dark-gray);
    border-radius: 8px;
    padding: 24px 32px;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.upload-form-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
}
.upload-form-required {
    color: var(--color-red-light);
    font-size: 0.9em;
}
.upload-form-input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #181818;
    color: #fff;
    font-size: 1.1em;
}
.upload-form-textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #181818;
    color: #fff;
    font-size: 1.1em;
    resize: vertical;
}
.upload-form-number {
    width: 120px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #181818;
    color: #fff;
    font-size: 1.1em;
}
.upload-form-number-small {
    width: 80px;
    margin-left: 8px;
}
.upload-form-number-stock {
    width: 60px;
    margin-left: 8px;
}
.upload-form-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.upload-form-col {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.upload-form-col-main {
    text-align: center;
}
.upload-form-col-side {
    flex: 1;
}
.upload-thumbnail-container {
    width: 220px;
    height: 220px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
}
.upload-thumbnail-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2em;
    z-index: 2;
}
.upload-thumbnail-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.upload-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.upload-thumbnail-no-image {
    color: #fff;
    font-size: 1.5em;
}
.upload-thumbnail-delete {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
}
.upload-sample-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 110px);
    gap: 8px;
}
.upload-sample-cell {
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.upload-sample-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1em;
    z-index: 2;
}
.upload-sample-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.upload-sample-no-image {
    color: #fff;
    font-size: 1em;
}
.upload-sample-delete {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
}
.upload-btn-bulk {
    background: #fff;
    color: #222;
    font-weight: bold;
}
.upload-btn-submit {
    width: 220px;
    background: #888;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 16px 0;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    display: block;
}
.upload-btn-submit:disabled {
    background: #888;
}
.upload-btn-submit:enabled {
    background: #ff4444;
    color: #fff;
}
.upload-warning-box {
    background: #ff6f7b;
    color: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    font-size: 1.1em;
}
.upload-warning-title {
    font-weight: bold;
    font-size: 1.2em;
}
.upload-warning-list {
    margin: 8px 0 0 20px;
}
.upload-char-count {
    color: #fff;
    margin-top: 4px;
}
.upload-form-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.upload-form-label {
    color: #fff;
}
.upload-form-label-required {
    color: #ff3333;
}
.upload-form-label-optional {
    color: #ff3333;
}
.cart-layout {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: var(--spacing-xl) auto 0 auto;
    padding: 0 16px;
    align-items: flex-start;
}
.cart-main {
    flex: 2;
    min-width: 0;
}
.cart-sidebar {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
}
.cart-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 16px;
}
.cart-empty {
    color: #fff;
    background: #222;
    padding: 32px;
    text-align: center;
    border-radius: 8px;
}
.cart-item {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
}
.cart-item-image {
    display: block;
    width: 100px;
    height: 100px;
    min-width: 100px;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    margin-right: 16px;
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-content {
    flex: 1;
    min-width: 0;
}
.cart-item-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cart-item-author {
    color: #aaa;
    font-size: 0.95em;
    margin-top: 4px;
}
.cart-item-price {
    text-align: right;
    min-width: 80px;
}
.cart-item-price-value {
    color: #ff4081;
    font-size: 1.1em;
    font-weight: bold;
}
.cart-item-remove {
    margin-top: 8px;
}
.cart-item-remove-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.95em;
}
.cart-subtotal {
    font-size: 1.1em;
    color: #fff;
    text-align: right;
    margin-top: 8px;
}
.cart-subtotal-value {
    font-weight: bold;
    color: #ff4081;
}
.cart-payment-section {
    background: #222;
    padding: 24px 20px 20px 20px;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
.cart-payment-title {
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 12px;
}
.cart-payment-amount {
    font-size: 1.2em;
    color: #ff4081;
    font-weight: bold;
    margin-bottom: 8px;
}
.cart-payment-success {
    color: #4caf50;
    font-weight: bold;
    margin: 16px 0;
}
.cart-payment-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 1.1em;
    background: #ff4081;
    color: #fff;
    border: none;
    border-radius: 6px;
    margin: 16px 0 8px 0;
}
.cart-points-section {
    background: #222;
    padding: 24px 20px 20px 20px;
    border-radius: 8px;
    box-sizing: border-box;
}
.cart-points-title {
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    margin-bottom: 12px;
}
.cart-points-current {
    color: #fff;
    margin-bottom: 12px;
}
.cart-token-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.cart-token-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}
.cart-token-btn-usdt {
    background: #26a69a;
    color: #fff;
}
.cart-token-btn-dai {
    background: #fbc02d;
    color: #222;
}
.cart-purchase-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 1em;
    background: #ff4081;
    color: #fff;
    border: none;
    border-radius: 6px;
}
.cart-purchase-btn:disabled {
    background: #666;
    cursor: not-allowed;
}
.cart-gas-info {
    margin-top: 10px;
    font-size: 0.8em;
    color: #888;
    line-height: 1.4;
    text-align: left;
}
.cart-gas-status {
    color: #ff3333;
    font-weight: bold;
}
.cart-gas-price {
    color: #ff3333;
    font-weight: bold;
}
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.cart-modal-content {
    background: #222;
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    min-width: 320px;
    max-width: 90vw;
}
.cart-modal-title {
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 16px;
}
.cart-modal-amount {
    color: #ff4081;
    font-weight: bold;
}
.cart-modal-buttons {
    margin-bottom: 16px;
}
.cart-modal-btn {
    margin: 0 8px;
    padding: 8px 24px;
    font-size: 1em;
    border: none;
    border-radius: 6px;
}
.cart-modal-btn-usdt {
    background: #26a69a;
    color: #fff;
}
.cart-modal-btn-dai {
    background: #fbc02d;
    color: #222;
}
.cart-modal-cancel {
    background: #444;
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 4px;
}
.point-history-layout {
    display: flex;
    gap: 20px;
}
.point-history-main {
    flex: 1;
}
.point-history-title {
    color: #fff;
    margin-bottom: 16px;
}
.point-history-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.point-history-tab {
    padding: 8px 16px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.point-history-tab:hover {
    background: #444;
}
.point-history-tab.active {
    background: #ff4081;
}
.point-history-pane {
    display: none;
}
.point-history-pane.active {
    display: block;
}
.point-history-table {
    width: 100%;
    background: #222;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    font-size: 12px;
}
.point-history-table th {
    background: #333;
    font-size: 12px;
    padding: 8px;
    text-align: left;
}
.point-history-table td {
    font-size: 12px;
    padding: 8px;
    border-bottom: 1px solid #333;
}
.point-history-table tr:hover {
    background: #2a2a2a;
}
.point-history-link {
    font-size: 12px;
    color: #8cf;
    text-decoration: none;
}
.point-history-link:hover {
    text-decoration: underline;
} 
.items-layout {
    display: flex;
    gap: 20px;
}
.items-main {
    flex: 1;
}
.items-search-panel {
    margin-bottom: 20px;
}
.items-result-info {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.items-result-count {
    margin-right: 16px;
}
.items-table {
    width: 100%;
    background: #222;
    color: #fff;
    border-collapse: collapse;
    font-size: 0.85em;
}
.items-table th {
    padding: 8px;
    font-weight: normal;
    cursor: pointer;
    background: #222;
}
.items-table td {
    padding: 8px;
    text-align: center;
    background: #232323;
    border-bottom: 2px solid #333;
    font-size: 0.85em;
    font-weight: normal;
}
.items-table tr:hover {
    background: #2a2a2a;
}
.items-thumbnail {
    width: 48px;
    height: 48px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #eee;
}
.items-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.items-title {
    white-space: pre-line;
    line-height: 1.1;
    font-size: 0.95em;
    color: #fff;
}
.items-title-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}
.items-status {
    font-size: 0.8em;
}
.items-status-published {
    color: #00aa00;
}
.items-status-converting {
    color: #ffaa00;
}
.items-status-error {
    color: #ff3333;
}
.items-status-default {
    color: #ffffff;
}
.items-empty {
    text-align: center;
    color: #aaa;
}
.items-pagination {
    margin-top: 20px;
    text-align: center;
}
.items-pagination a {
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
}
.items-pagination a.active {
    font-weight: bold;
    color: #ff0;
}
.items-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.items-action-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}
.items-action-link:hover {
    opacity: 0.8;
}
.product-gallery {
    margin-bottom: 2rem !important;
}
.main-image-container {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 1rem !important;
}
.main-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}
.sample-images {
    margin-top: 1.5rem !important;
}
.sample-images h5 {
    margin-bottom: 1rem !important;
    color: #fff !important;
    font-size: 1.25rem !important;
}


.sample-video {
    margin-top: 1.5rem !important;
}
.sample-video h5 {
    margin-bottom: 1rem !important;
    color: #fff !important;
    font-size: 1.25rem !important;
}
.sample-video video {
    border-radius: 8px !important;
}
.price-section {
    margin-bottom: 1.5rem !important;
}
.price {
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #e74c3c !important;
}
.stats {
    color: #666 !important;
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
}
.stats span {
    margin-right: 1rem !important;
}
.description {
    border-top: 1px solid #eee !important;
    padding-top: 1rem !important;
    margin-bottom: 1.5rem !important;
}
.description h5 {
    margin-bottom: 0.5rem !important;
    color: #fff !important;
}
.description p {
    color: #fff !important;
    line-height: 1.6 !important;
}
.author-info {
    border-top: 1px solid #eee !important;
    padding-top: 1rem !important;
    margin-bottom: 1.5rem !important;
}
.author-info h5 {
    margin-bottom: 0.5rem !important;
    color: #fff !important;
}
.author-info p {
    color: #fff !important;
}
.purchase-section {
    margin-top: 2rem !important;
}
.purchase-btn {
    margin-bottom: 0.5rem !important;
}
.error-message {
    color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    border: 1px solid #dc3545 !important;
    border-radius: 4px !important;
    padding: 0.75rem 1rem !important;
    margin: 1rem 0 !important;
    text-align: center !important;
}
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.header-content .logo img {
    height: 24px !important;
}
.search-box {
    flex: 1 !important;
    max-width: 470px !important;
    margin: 0 40px !important;
    display: flex !important;
}
.search-box input[type="text"] {
    flex: 1 !important;
    padding: 8px 12px !important;
    font-size: 16px !important;
    border: none !important;
    outline: none !important;
}
.search-btn {
    background: #d39c27 !important;
    border: none !important;
    width: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}
.search-btn i {
    color: #fff !important;
    font-size: 22px !important;
}


.wallet-btn {
    background: #222 !important;
    color: #fff !important;
    border: 2px solid transparent !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    margin-left: 8px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: visible !important;
    background-clip: padding-box !important;
}

.metamask-btn {
    border-color: #f6851b !important;
}

.metamask-btn:hover {
    background-color: rgba(246, 133, 27, 0.1) !important;
    border-color: #f6851b !important;
}

.google-btn {
    border-color: #4285f4 !important;
}

.google-btn:hover {
    background-color: rgba(66, 133, 244, 0.1) !important;
    border-color: #4285f4 !important;
}

.auth-btn {
    border-color: #666 !important;
}

.auth-btn:hover {
    background-color: rgba(102, 102, 102, 0.1) !important;
    border-color: #888 !important;
}

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background: var(--card-background);
    border-radius: 12px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.auth-modal-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
}

.auth-modal-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.auth-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.auth-modal-body {
    padding: 24px;
}

.auth-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.auth-option:last-child {
    margin-bottom: 0;
}

.auth-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-color);
}

.metamask-option:hover {
    border-color: #f6851b;
    background-color: rgba(246, 133, 27, 0.1);
}

.google-option:hover {
    border-color: #4285f4;
    background-color: rgba(66, 133, 244, 0.1);
}

.auth-option img,
.auth-option svg {
    width: 24px;
    height: 24px;
}

.auth-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.auth-option-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.auth-option-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.auth-option-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
    font-weight: 400;
}
.wallet-btn::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: linear-gradient(45deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080) !important;
    background-size: 400% 400% !important;
    border-radius: 8px !important;
    z-index: -1 !important;
    animation: rainbow-border 3s linear infinite !important;
    pointer-events: none !important;
}

@keyframes rainbow-border {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.wallet-btn img {
    width: 22px !important;
    height: 22px !important;
    margin-right: 6px !important;
}
.wallet-link {
    color: #007bff !important;
    text-decoration: underline !important;
}
.no-video-message {
    color: #888 !important;
}
.review-count {
    color: #fff !important;
}
.review-button-container {
    text-align: center !important;
    margin-top: 16px !important;
}
.header-actions {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
}
@media (max-width: 900px) {
    .search-box {
        max-width: 350px !important;
        margin: 0 10px !important;
    }
}
@media (max-width: 768px) {

    .logo {
        margin-bottom: 15px;
        text-align: center;
    }




    .sidebar {
        display: none;
    }
    .metamask-link-container {
        flex-direction: column;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-item {
        padding: 2rem;
    }
    .feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .feature-emoji {
        font-size: 2rem;
    }

    .form-section {
        padding: 16px;
        margin-bottom: 16px;
    }
    .main-thumbnail-box {
        width: 180px;
        height: 180px;
    }
    .submit-button {
        width: 100%;
        max-width: 300px;
    }
}
@media (max-width: 700px) {
    .upload-wrapper {
        padding: 20px;
    }
}


@media (max-width: 480px) {

}

.product-title-text {
    font-size: 0.9em;
    font-weight: bold;
    color: #fff;
    flex: 1;
    height: auto;
    line-height: 1.2em;
    overflow: hidden;
    word-break: break-all;
    word-wrap: break-word;
}

.product-card-cart-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    padding: 0;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.product-card-cart-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .hero-banner {
        width: 95% !important;
        margin: 10px auto !important;
    }
    .header-content {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 10px !important;
    }
    .search-box {
        max-width: 100% !important;
        width: 100% !important;
    }
    .header-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }
}
