:root {
    --a-bg-gradient: linear-gradient(135deg, #0e0a06 0%, #1a110a 50%, #261b11 100%);
    --a-card-bg: rgba(36, 24, 13, 0.85);
    --a-border: rgba(217, 119, 6, 0.25);
    --a-accent: #d97706;
    --a-text: #fef3c7;
    --a-text-sub: #b45309;
    --a-red: #ef4444;
}
body.amber-body {
    margin: 0;
    padding: 0;
    background: var(--a-bg-gradient);
    background-attachment: fixed;
    color: var(--a-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}
a {
    color: var(--a-text);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: var(--a-accent);
}
.amber-header {
    height: 64px;
    background: var(--a-card-bg);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--a-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.amber-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.amber-logo img {
    height: 24px;
}
.amber-header-nav {
    display: flex;
    gap: 20px;
}
.amber-header-link {
    color: var(--a-text-sub);
    font-weight: 600;
}
.amber-header-link.amber-active, .amber-header-link:hover {
    color: var(--a-accent);
}
.amber-notice-bar {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
}
.amber-notice-inner {
    background: var(--a-card-bg);
    border: 1px solid var(--a-border);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.amber-notice-dot {
    width: 8px;
    height: 8px;
    background: var(--a-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--a-accent);
}
.amber-notice-text {
    font-size: 13px;
    color: var(--a-text);
}
.amber-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.amber-layout-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 768px) {
    .amber-layout-flex {
        flex-direction: row;
    }
    .amber-sidebar {
        width: 240px;
        flex-shrink: 0;
    }
    .amber-main-content {
        flex-grow: 1;
    }
}
.amber-sidebar-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--a-text-sub);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.amber-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.amber-sidebar-menu a {
    display: block;
    padding: 12px 16px;
    background: var(--a-card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--a-border);
    border-radius: 12px;
    font-weight: 600;
    color: var(--a-text);
    transition: all 0.3s;
}
.amber-sidebar-menu a:hover {
    color: var(--a-accent);
    border-color: var(--a-accent);
    box-shadow: 0 0 12px var(--a-border);
}
.amber-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.amber-section-title::before {
    content: "";
    width: 4px;
    height: 14px;
    background: var(--a-accent);
    border-radius: 2px;
}
.amber-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
@media (min-width: 1024px) {
    .amber-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.amber-card {
    perspective: 1000px;
    text-decoration: none;
}
.amber-card-inner {
    background: var(--a-card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--a-border);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
}
.amber-card:hover .amber-card-inner {
    transform: rotateY(8deg) rotateX(8deg) translateZ(8px);
    border-color: var(--a-accent);
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.25);
}
.amber-badge-auto {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid var(--a-accent);
    color: var(--a-text);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
    z-index: 10;
}
.amber-product-img-box {
    width: 100%;
    aspect-ratio: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--a-border);
    transform: translateZ(20px);
}
.amber-product-img-box img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}
.amber-product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateZ(15px);
}
.amber-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}
.amber-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.amber-product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--a-accent);
}
.amber-product-sales {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.amber-detail-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 768px) {
    .amber-detail-flex {
        flex-direction: row;
    }
    .amber-detail-left {
        flex: 1;
    }
    .amber-detail-right {
        width: 380px;
        flex-shrink: 0;
    }
}
.amber-detail-img {
    width: 100%;
    height: 200px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--a-border);
}
.amber-detail-img img {
    max-width: 40%;
    max-height: 80%;
    object-fit: contain;
}
.amber-detail-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}
.amber-status-tag {
    display: inline-block;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--a-border);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.amber-desc-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}
.amber-desc-content {
    line-height: 1.8;
    color: var(--a-text);
}
.amber-desc-content img {
    max-width: 100%;
}
.amber-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--a-border);
    margin-bottom: 20px;
}
.amber-price-large {
    font-size: 24px;
    font-weight: 800;
    color: var(--a-accent);
}
.amber-stock-status {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.amber-form-item {
    margin-bottom: 16px;
}
.amber-form-label {
    display: block;
    font-size: 12px;
    color: var(--a-text-sub);
    margin-bottom: 6px;
    font-weight: 600;
}
.amber-form-input {
    width: 100%;
    height: 42px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--a-border);
    border-radius: 8px;
    color: #fff;
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
    font-weight: 600;
}
.amber-form-input:focus {
    border-color: var(--a-accent);
}
.amber-submit-btn {
    width: 100%;
    height: 46px;
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    color: var(--a-text);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.amber-submit-btn:hover {
    border-color: var(--a-accent);
}
.amber-submit-btn:disabled {
    background: rgba(0,0,0,0.1);
    color: var(--a-text-sub);
    border-color: var(--a-border);
    cursor: not-allowed;
}
.amber-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.amber-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--a-card-bg);
    border: 1px solid var(--a-border);
    padding: 16px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 12px;
}
.amber-item-name {
    flex: 1;
    min-width: 200px;
    font-weight: 700;
}
.amber-item-price {
    font-weight: 800;
    color: var(--a-accent);
}
.amber-item-stock {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.amber-btn-buy {
    background: var(--a-card-bg);
    border: 2px solid var(--a-border);
    color: var(--a-text);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}
.amber-btn-buy:hover {
    border-color: var(--a-accent);
}
.amber-btn-lock {
    background: rgba(0,0,0,0.1);
    color: var(--a-text-sub);
    border: 2px solid var(--a-border);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    cursor: not-allowed;
}
.amber-small-box {
    max-width: 500px;
    margin: 40px auto;
}
.amber-tab-bar {
    display: flex;
    border-bottom: 2px solid var(--a-border);
    margin-bottom: 20px;
}
.amber-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: var(--a-text-sub);
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.amber-tab-item.amber-active {
    color: var(--a-text);
    border-bottom-color: var(--a-accent);
}
.amber-table {
    width: 100%;
    border-collapse: collapse;
}
.amber-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(0,0,0,0.3);
    padding: 12px;
    font-size: 12px;
    color: var(--a-text-sub);
    text-align: center;
    border-bottom: 2px solid var(--a-border);
}
.amber-table-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 16px 12px;
    text-align: center;
    align-items: center;
    border-bottom: 2px solid var(--a-border);
}
.amber-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.amber-pay-btn {
    background: rgba(0,0,0,0.3);
    border: 2px solid var(--a-border);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
}
.amber-pay-btn:hover {
    border-color: var(--a-accent);
}
.amber-pay-btn img {
    height: 24px;
}
.amber-footer {
    background: var(--a-card-bg);
    border-top: 2px solid var(--a-border);
    padding: 30px 0;
    margin-top: 60px;
}
.amber-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 16px;
}
.amber-footer-copyright {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.amber-footer-nav {
    display: flex;
    gap: 20px;
}
.amber-footer-nav a {
    font-size: 12px;
    color: var(--a-text-sub);
    font-weight: 600;
}
.amber-footer-nav a:hover {
    color: var(--a-accent);
}
.amber-title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--a-accent);
}
.amber-title-sub {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.amber-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 2px dashed var(--a-border);
}
.amber-price-total {
    border-bottom: none;
    font-size: 16px;
    font-weight: 800;
    color: var(--a-accent);
    margin-top: 10px;
}
.amber-pay-success {
    color: #10b981;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}
.amber-mobile-card {
    background: rgba(0,0,0,0.3);
    border: 2px solid var(--a-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.amber-mt-20 {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .amber-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}