/* 
   KAKOBUY Static Styles - 精确匹配 localhost:3000
   此版本去除了所有不必要的复杂性，确保在任何分辨率下都能正确工作。
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary-color: #000000;
    --theme-gradient: linear-gradient(to right, #db2777, #9333ea);
    --theme-solid-primary: #db2777;
    --text-color: #000000;
    --text-gray: #757575;
    --text-light: #9ca3af;
    --bg-color: #ffffff;
    --bg-gray-light: #f8f8f8;
    --bg-gray-mid: #f6f6f6;
    --bg-gray-hover: #f0f0f0;
    --border-color: #f3f4f6;
    --max-width: 1300px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

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

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.05em;
    background-image: var(--theme-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 0.1em;
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 9999px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .header-info { display: none; }
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.discord-btn {
    background-image: var(--theme-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
}

.discord-btn:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(219, 39, 119, 0.3);
}

/* ===== Filters ===== */
.filters-section {
    padding: 48px 0;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg-gray-light);
    color: var(--text-gray);
}

.filter-btn:hover {
    background: var(--bg-gray-hover);
    color: black;
}

.filter-btn.active {
    background-image: var(--theme-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 2px 10px rgba(147, 51, 234, 0.2);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.03;
    pointer-events: none;
    user-select: none;
    font-size: 160px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.05em;
    z-index: 0;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.025em;
    line-height: 1;
    position: relative;
    z-index: 10;
    background-image: linear-gradient(to right, #db2777, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Playfair Display', serif;
}

@media (min-width: 768px) {
    .hero-title { font-size: 72px; }
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 48px 24px;
    padding-bottom: 128px;
}

@media (max-width: 1023px) {
    .product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 639px) {
    .product-grid { grid-template-columns: 1fr !important; }
}

/* ===== Product Card ===== */
.product-card {
    background: white;
    display: block;
    cursor: pointer;
}

.card-image-wrap {
    aspect-ratio: 4/5;
    background: var(--bg-gray-mid);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 24px;
    position: relative;
    transition: background 0.5s ease;
}

.product-card:hover .card-image-wrap {
    background: var(--bg-gray-hover);
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-image-wrap img {
    transform: scale(1.1);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-brand {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.card-name {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.card-price {
    font-size: 15px;
    font-weight: 700;
}

.view-details {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #cbd5e1;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .view-details {
    opacity: 1;
}

/* ===== Product Detail Page ===== */
.detail-page {
    padding: 80px 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 48px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.breadcrumb-item:hover {
    color: black;
}

.breadcrumb-current {
    color: black;
    font-weight: 600;
}

.detail-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 1024px) {
    .detail-grid { 
        grid-template-columns: 1.2fr 0.8fr !important;
        gap: 96px; 
    }
}

.detail-image-box {
    background: #f6f6f6;
    border-radius: 32px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.detail-image-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-brand-tag {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

@media (min-width: 768px) {
    .product-title { font-size: 40px; }
}

.product-price-large {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 48px;
}

.buy-now-btn {
    width: 100%;
    background-image: var(--theme-gradient);
    color: white;
    padding: 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    opacity: 0.95;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.buy-now-btn:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.2);
}

.trust-badges {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 48px;
    margin-bottom: 48px;
}

.detail-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.detail-list-item {
    display: flex;
    gap: 12px;
}

.bullet {
    color: #ec4899;
    font-weight: bold;
}

/* ===== Recommended Products Section ===== */
.recommended-section {
    padding: 80px 0 120px;
    border-top: 1px solid #f3f4f6;
    margin-top: 80px;
}

.recommended-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
}

.rec-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 32px 24px;
}

@media (max-width: 1023px) {
    .rec-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 639px) {
    .rec-grid { grid-template-columns: 1fr !important; }
}

.rec-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rec-image-box {
    aspect-ratio: 1/1;
    background: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rec-card:hover .rec-image-box img {
    transform: scale(1.08);
}

.rec-brand {
    font-size: 13px;
    font-weight: 600;
    color: #dc2626; /* 红色参考主题 */
    text-transform: uppercase;
}

.rec-name {
    font-size: 14px;
    color: #000;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.rec-price {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626; /* 红色参考主题 */
}

/* ===== Footer Info Sections (FAQ & Disclaimer) ===== */
.site-info-sections {
    background: #080808;
    border-top: 1px solid #1a1a1a;
    padding: 64px 0;
    color: #e5e7eb;
}

.info-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.faq-section {
    margin-bottom: 64px;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-title svg {
    color: #ec4899;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 12px;
}

.faq-item p, .faq-item ul {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

.faq-item ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.disclaimer-box {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 32px;
}

.disclaimer-text {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 24px;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #1f1f1f;
}

.transparency-item {
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .faq-grid { grid-template-columns: 1fr; }
    .transparency-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .info-container { padding: 0 20px; }
    .transparency-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.footer {
    background: #000000;
    color: #9ca3af;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.perks-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 48px 0;
    border-bottom: 1px solid #1a1a1a;
}

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

.perk-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.perk-desc {
    font-size: 11px;
    color: #555;
    margin-top: 2px;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border-bottom: 1px solid #1a1a1a;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background-image: var(--theme-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-size: 13px;
    color: #9ca3af;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #151515;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.social-btn:hover {
    background: #ffffff;
    color: black;
    transform: translateY(-2px);
}

.copyright-bar {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 11px;
    color: #333;
    letter-spacing: 0.5px;
}

.payment-tags {
    display: flex;
    gap: 8px;
}

.payment-tag {
    font-size: 9px;
    font-weight: 700;
    color: #333;
    background: #111;
    border: 1px solid #1f1f1f;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .perks-bar { flex-wrap: wrap; }
    .perk { width: calc(50% - 10px); }
    .footer-main { flex-wrap: wrap; gap: 20px; }
    .footer-links { width: 100%; order: 3; flex-wrap: wrap; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .perk { width: 100%; }
    .footer-main { flex-direction: column; align-items: flex-start; }
    .copyright-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}
