:root {
    --primary: #6C63FF;
    --primary-light: #8B85FF;
    --primary-dark: #5449CC;
    --primary-glow: rgba(108, 99, 255, 0.4);
    
    --neon-purple: #A855F7;
    --neon-pink: #EC4899;
    --neon-blue: #3B82F6;
    
    --bg-dark: #0A0A0F;
    --bg-card: #12121A;
    --bg-card-hover: #1A1A25;
    --bg-input: #1A1A25;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(108, 99, 255, 0.5);
    
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);
    
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(108, 99, 255, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(168, 85, 247, 0.1), transparent),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(59, 130, 246, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .accent {
    background: linear-gradient(135deg, var(--primary), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.admin-link {
    color: var(--primary-light);
    padding: 8px 16px;
    background: rgba(108, 99, 255, 0.15);
    border-radius: var(--radius-sm);
}

.nav-link.admin-link:hover {
    background: rgba(108, 99, 255, 0.25);
}

.mobile-link.admin-link {
    color: var(--primary-light);
    background: rgba(108, 99, 255, 0.1);
    padding: 12px 16px;
    margin: -12px 0;
    border-radius: var(--radius-sm);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-link:last-child {
    border-bottom: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(108, 99, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-disabled {
    background: var(--bg-input);
    color: var(--text-muted);
    cursor: not-allowed;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 100% at 50% 0%, rgba(108, 99, 255, 0.2), transparent 50%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-stats {
    display: flex;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.floating-card {
    position: relative;
    padding: 60px 80px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    animation: float 6s ease-in-out infinite;
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--neon-purple));
    border-radius: var(--radius-xl);
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 2.5rem;
    font-weight: 700;
}

.card-icon {
    color: var(--primary);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.products-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.empty-products-state {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.empty-products-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 50%;
    color: var(--primary);
}

.empty-products-state h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-products-state p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.empty-products-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.empty-products-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sold-products-section {
    margin-top: 60px;
}

.sold-products-collapse {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    overflow: hidden;
}

.sold-products-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-fast);
    user-select: none;
    background: rgba(108, 99, 255, 0.05);
}

.sold-products-summary::-webkit-details-marker {
    display: none;
}

.sold-products-summary:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--text-primary);
}

.sold-products-summary svg {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    color: var(--primary);
}

.sold-products-collapse[open] .sold-products-summary svg {
    transform: rotate(180deg);
}

.sold-products-collapse[open] .sold-products-summary {
    border-bottom: 1px solid var(--border-color);
    background: rgba(108, 99, 255, 0.1);
    color: var(--text-primary);
}

.sold-products-grid {
    padding: 32px 24px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.5s ease calc(var(--delay)) backwards;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.product-card.sold {
    opacity: 0.7;
}

.product-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-input));
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
}

.product-placeholder.large {
    font-size: 6rem;
}

.sold-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sold-overlay span {
    padding: 12px 32px;
    background: var(--danger);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: var(--radius-sm);
    transform: rotate(-5deg);
}

.product-info {
    padding: 24px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
}

.product-details-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-fast);
}

.product-card:hover .product-details-btn {
    opacity: 1;
}

.product-details-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.features-section {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: var(--radius-md);
    color: var(--primary-light);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-page {
    min-height: 100vh;
    padding: 120px 0 60px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.legal-section a {
    color: var(--primary-light);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.legal-section a:hover {
    color: var(--primary);
}

.checkout-terms a {
    color: var(--primary-light);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.checkout-terms a:hover {
    color: var(--primary);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    animation: modalIn 0.3s ease;
}

.modal-sm {
    max-width: 400px;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--danger);
    border-color: var(--danger);
}

.modal-product {
    padding: 32px;
}

.modal-product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-product-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.modal-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.modal-product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.checkout-page {
    min-height: 100vh;
    padding: 120px 0 60px;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.checkout-product {
    position: sticky;
    top: 120px;
}

.checkout-product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.checkout-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.checkout-product-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.checkout-product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.checkout-product-price .label {
    color: var(--text-secondary);
}

.checkout-product-price .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-light);
}

.checkout-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.checkout-form .form-header {
    margin-bottom: 32px;
}

.checkout-form .form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.checkout-form .form-header p {
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-info {
    margin: 32px 0;
    padding: 24px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: var(--radius-md);
}

.payment-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 12px;
}

.payment-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-method-option {
    position: relative;
    display: block;
    padding: 24px;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.payment-method-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--neon-purple));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.payment-method-option:hover {
    border-color: rgba(108, 99, 255, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.payment-method-option.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
}

.payment-method-option.selected::before {
    opacity: 1;
}

.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.payment-method-radio {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.payment-method-radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-normal);
}

.payment-method-option.selected .payment-method-radio {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
}

.payment-method-option.selected .payment-method-radio::after {
    opacity: 1;
    transform: scale(1);
}

.payment-method-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-method-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.payment-method-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.payment-method-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-method-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.payment-method-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-method-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.payment-method-option:hover .payment-badge-small {
    background: rgba(255, 255, 255, 0.06);
}

.payment-badge-small svg {
    flex-shrink: 0;
}

.payment-badge-small.apple-pay {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.payment-badge-small.google-pay {
    background: rgba(255, 255, 255, 0.04);
}

.payment-badge-small.btc {
    background: rgba(247, 147, 26, 0.1);
    border-color: rgba(247, 147, 26, 0.2);
    color: #F7931A;
}

.payment-badge-small.eth {
    background: rgba(98, 126, 234, 0.1);
    border-color: rgba(98, 126, 234, 0.2);
    color: #627EEA;
}

.payment-badge-small.usdc {
    background: rgba(39, 117, 202, 0.1);
    border-color: rgba(39, 117, 202, 0.2);
    color: #2775CA;
}

.stripe-icon,
.coinbase-icon {
    border-radius: 8px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .payment-method-option {
        padding: 20px;
    }
    
    .payment-method-radio {
        top: 20px;
        right: 20px;
    }
    
    .payment-method-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .payment-method-icon-wrapper svg {
        width: 26px;
        height: 26px;
    }
    
    .payment-method-name {
        font-size: 1.05rem;
    }
    
    .payment-method-badges {
        gap: 8px;
    }
    
    .payment-badge-small {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

.checkout-terms {
    margin-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86EFAC;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #FCD34D;
}

.success-page {
    min-height: 100vh;
    padding: 120px 0 60px;
    display: flex;
    align-items: center;
}

.success-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    color: var(--success);
    animation: successPulse 2s ease infinite;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(34, 197, 94, 0);
    }
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.success-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 32px;
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.status-paid {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.order-summary h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: var(--text-secondary);
}

.detail-row .value {
    font-weight: 500;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.success-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.success-icon.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    animation: none;
}

.refresh-hint {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.refresh-hint a {
    color: var(--primary-light);
    text-decoration: underline;
}

.credentials-box {
    background: var(--bg-card);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 0;
    margin: 32px 0;
    text-align: left;
    overflow: hidden;
}

.credentials-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.credentials-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.credentials-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credential-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credential-value-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.credential-value {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--text-primary);
    background: none;
    word-break: break-all;
}

.credential-value.password-hidden {
    -webkit-text-security: disc;
    text-security: disc;
    font-family: inherit;
}

.copy-btn,
.show-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.copy-btn:hover,
.show-btn:hover {
    color: var(--primary-light);
}

.credentials-instructions {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

.credentials-instructions h4 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.instructions-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.credentials-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(245, 158, 11, 0.1);
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--warning);
    font-size: 0.85rem;
}

.credentials-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.auth-wrapper {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-form .btn {
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-light);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.account-page {
    min-height: 100vh;
    padding: 120px 0 60px;
}

.account-header {
    margin-bottom: 40px;
}

.account-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.account-header p {
    color: var(--text-secondary);
}

.account-section {
    margin-bottom: 40px;
}

.account-section h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border-radius: 50%;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

.order-card:hover {
    border-color: var(--primary);
}

.order-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.order-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.order-info {
    flex: 1;
}

.order-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-status {
    flex-shrink: 0;
}

.order-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-light);
    flex-shrink: 0;
}

.order-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-card.paid {
    border-color: rgba(34, 197, 94, 0.3);
}

.view-credentials-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.view-credentials-btn:hover {
    background: rgba(34, 197, 94, 0.2);
}

.order-credentials {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0;
    margin-top: -1px;
    overflow: hidden;
}

.credentials-header-small {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.credentials-header-small svg {
    flex-shrink: 0;
}

.credentials-header-small h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.credentials-content-small {
    padding: 20px;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.credential-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credential-field-enhanced {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credential-field .credential-label,
.credential-field-enhanced .credential-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.credential-field code {
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.credential-value-wrapper-small {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: all var(--transition-fast);
}

.credential-value-wrapper-small:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.credential-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    background: none;
    border: none;
    word-break: break-all;
    font-weight: 500;
}

.credential-code.password-masked {
    letter-spacing: 2px;
}

.credential-value-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}

.copy-btn-small,
.show-btn-small {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.copy-btn-small:hover,
.show-btn-small:hover {
    color: var(--primary-light);
    background: rgba(108, 99, 255, 0.1);
}

.credential-instructions {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.credential-instructions-enhanced {
    margin-top: 20px;
    padding: 16px;
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: var(--radius-sm);
}

.instructions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.instructions-header svg {
    flex-shrink: 0;
}

.instructions-content-enhanced {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

.credentials-warning-small {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    color: var(--warning);
    font-size: 0.85rem;
    margin-top: 16px;
}

.credentials-warning-small svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.orders-section {
    margin-bottom: 32px;
}

.orders-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inactive-orders-collapse {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    overflow: hidden;
}

.inactive-orders-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
    user-select: none;
}

.inactive-orders-summary::-webkit-details-marker {
    display: none;
}

.inactive-orders-summary:hover {
    background: var(--bg-input);
    color: var(--text-primary);
}

.inactive-orders-summary svg {
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.inactive-orders-collapse[open] .inactive-orders-summary svg {
    transform: rotate(180deg);
}

.order-card.inactive {
    opacity: 0.6;
    border-color: var(--border-color);
}

.order-card.inactive:hover {
    opacity: 0.8;
}

.view-credentials-btn.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: var(--success);
}

.credential-instructions strong {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.credential-instructions p {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.account-details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
}

.badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.badge-secondary {
    background: rgba(113, 113, 122, 0.2);
    color: var(--text-muted);
}

.text-muted {
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-visual {
        display: none;
    }
    
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
    
    .checkout-product {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .order-card {
        flex-wrap: wrap;
    }
    
    .order-status,
    .order-amount {
        width: 50%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .checkout-form-wrapper,
    .auth-card {
        padding: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .btn-lg {
        padding: 14px 24px;
    }
}

