/* Custom Dark Aesthetic - MagiCollector.com */
body {
    background-color: #0b0f19 !important;
    color: #f1f5f9 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #0e1626;
    padding: 30px 20px 15px 20px;
    text-align: center;
    border-bottom: 2px solid #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

header img {
    max-width: 320px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
}

/* Category Navigation Menu Capsule Tabs */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
    display: inline-block;
    transition: all 0.2s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #ffffff;
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Product Showcase Balanced Multi-Column Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    background-color: #1f2937;
    margin-bottom: 16px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.product-description {
    font-size: 0.95rem;
    color: #9ca3af;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #1f2937;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Classic PayPal Form Button Layout */
.paypal-button {
    background-color: #f59e0b;
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.paypal-button:hover {
    background-color: #d97706;
}

/* Dynamic New Item Badging */
.badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    letter-spacing: 0.05em;
    z-index: 10;
}

/* Accordion FAQ Section Layout Rules */
.faq-section {
    max-width: 800px;
    margin: 80px auto 40px auto;
    padding: 0 20px;
}

.faq-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.75rem;
}

.faq-item {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    text-align: left;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-trigger::after {
    content: '+';
    font-size: 1.3rem;
    color: #3b82f6;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-trigger::after {
    transform: rotate(45deg);
    color: #ef4444;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background: #0e1626;
}

.faq-content-inner {
    padding: 20px;
    color: #9ca3af;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid #1f2937;
}

.faq-content-inner strong {
    color: #ffffff;
}
.faq-content-inner a {
    color: #3b82f6;
    text-decoration: none;
}
.faq-content-inner a:hover {
    text-decoration: underline;
}

.faq-content, .faq-item, [class*="faq-trigger"] {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Newsletter Subscription Box Footer */
.newsletter-footer {
    background-color: #0e1626;
    border-top: 1px solid #1e293b;
    padding: 60px 20px 40px 20px;
    margin-top: 80px;
    text-align: center;
}

.newsletter-box {
    max-width: 500px;
    margin: 0 auto 30px auto;
    background: #111827;
    border: 1px solid #1f2937;
    padding: 30px;
    border-radius: 12px;
}

.newsletter-box h3 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.3rem;
}

.newsletter-box p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 12px;
    background: #1f2937;
    border: 1px solid #374151;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.95rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: #3b82f6;
}

footer {
    color: #4b5563;
    font-size: 0.85rem;
    margin-top: 20px;
}
