:root {
    --bg-main: #313338;
    --bg-secondary: #2b2d31;
    --bg-tertiary: #1e1f22;
    --blurple: #5865F2;
    --blurple-hover: #4752c4;
    --text-primary: #f2f3f5;
    --text-muted: #949ba4;
    --font: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font);
    line-height: 1.6;
}

/* Glassmorphism Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(30, 31, 34, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
    color: white;
    background: var(--blurple);
}

/* Main Content Area */
.content-container {
    max-width: 1200px;
    margin: 100px auto 4rem;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.5s ease-out;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Tabs */
.tab-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Layouts */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* PC Card */
.pc-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.pc-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    mix-blend-mode: screen; /* Removes black background */
    padding: 1rem;
}

.pc-info {
    padding: 1.5rem;
}

.pc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pc-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.pc-price {
    background: var(--bg-tertiary);
    color: #57F287;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pc-specs {
    list-style: none;
    padding: 1rem;
    margin-bottom: 0;
}

.pc-specs li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

.pc-specs li::before {
    content: '•';
    color: var(--blurple);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Specs Accordion */
.specs-accordion {
    margin-top: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
}

.specs-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 0.8rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.specs-toggle::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.specs-toggle.active::after {
    transform: rotate(45deg);
}

.specs-toggle.active {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.specs-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.btn-buy {
    width: 100%;
    background: var(--blurple);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-buy:hover {
    background: var(--blurple-hover);
}

/* Vouches Layout */
.vouches-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.vouch-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.vouch-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blurple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.vouch-content {
    flex: 1;
}

.vouch-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.vouch-username {
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
}

.vouch-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vouch-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Q&A Layout */
.qa-layout {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qa-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.qa-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.qa-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.qa-question.active::after {
    transform: rotate(45deg);
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-tertiary);
}

.qa-answer p {
    padding: 1.5rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
}
