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

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --gold: #d4af37;
    --light: #f5f5f5;
    --text: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
}

/* Header */
header {
    background: var(--primary);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "🃏 ⚾ 🏀 🏈 🎯 🏆 🌟 📦 🔒 ✅ 🏅 ⭐";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    opacity: 0.08;
    white-space: nowrap;
    animation: float 30s linear infinite;
}

.hero::after {
    content: "";
    position: absolute;
    top: 15%;
    right: -3%;
    width: 250px;
    height: 350px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 3px solid #d4af37;
    border-radius: 12px;
    transform: rotate(-12deg);
    opacity: 0.25;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.hero-PSA-slabs {
    position: absolute;
    top: 20%;
    left: -2%;
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, #2a2a4e 0%, #1a1a2e 100%);
    border: 3px solid #e94560;
    border-radius: 12px;
    transform: rotate(10deg);
    opacity: 0.2;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.hero-PSA-slabs::before {
    content: "BGS 9.5";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e94560;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.hero::after::before {
    content: "PSA 10";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d4af37;
    font-size: 2rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
    to { text-shadow: 0 0 30px rgba(212, 175, 55, 0.9), 0 0 50px rgba(212, 175, 55, 0.3); }
}

.hero-content p {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.3rem !important;
    color: #fff !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 2px;
}

.hero-note {
    font-size: 1rem !important;
    color: #888 !important;
    margin-top: 2rem !important;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--gold) 0%, #b8962e 100%);
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6) !important;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gold);
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Featured Section */
.featured {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.featured h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-card {
    position: relative;
    background: linear-gradient(145deg, #2a2a4e, #1a1a2e);
    border: 2px solid var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.featured-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #1a1a2e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.9); }
}

.featured-grade {
    background: linear-gradient(135deg, #d4af37, #b8962e) !important;
    color: #1a1a2e !important;
}

.featured-price {
    font-size: 1.8rem !important;
    color: var(--gold) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Inventory Section */
.inventory {
    padding: 6rem 2rem;
    background: white;
}

.inventory h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.inventory-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card-item {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

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

.card-image img {
    transition: transform 0.3s ease;
}

.card-image {
    height: 250px;
    background: linear-gradient(135deg, #ddd 0%, #eee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #999;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-team {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.card-grade {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gold);
    color: var(--primary);
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.card-price {
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: bold;
}

.coming-soon {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

.inventory-note {
    text-align: center;
    margin-top: 3rem;
    color: #666;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--primary);
    color: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #ccc;
}

.features {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.feature p {
    color: #ccc;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--light);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact > p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--accent);
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

/* Footer */
footer {
    background: var(--secondary);
    color: #888;
    text-align: center;
    padding: 2rem;
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.8rem;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.8;
}

.social-icon:hover {
    transform: scale(1.3);
    opacity: 1;
}

/* Shopify Buy Button */
.shopify-button {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    margin-top: 0.8rem;
    background: #96bf48;
    color: white !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.shopify-button:hover {
    background: #7ba33a;
}

.featured .shopify-button {
    background: var(--gold);
    color: var(--primary) !important;
}

.featured .shopify-button:hover {
    background: #b8962e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}
/* Inventory Controls */
.inventory-controls {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0 2rem;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--gold);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-btn {
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.page-btn:hover {
    background: var(--accent);
}

.page-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#page-info {
    font-weight: bold;
    color: var(--primary);
}

/* Sort Select */
.sort-select {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    outline: none;
}

.sort-select:focus {
    border-color: var(--gold);
}

/* Scores Section */
.scores-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    text-align: center;
}

.scores-section h2 {
    margin-bottom: 1rem;
    color: var(--gold);
}

.scores-embed {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}
