:root {
    --primary-gold: #8A6A2F;
    --primary-gold-hover: #A67C3C;
    --bg-dark: #1a1a1a;
    --bg-darker: #0d0d0d;
    --bg-card: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: #3d3d3d;
    --success: #4CAF50;
    --error: #f44336;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-gold-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(26, 26, 26, 0.75);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.6) 100%);
    z-index: -1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-tag {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-social {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 20px;
}

.hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-primary);
}

.hero-social a:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Button Groups - add spacing between buttons */
.mt-3 .btn + .btn {
    margin-left: 15px;
}

/* Cards */
.card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

/* Support section merchandise cards */
#support .card {
    height: 100%;
}

#support .card h4 {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#support .card .text-gold {
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

#support .card .text-muted {
    min-height: 3rem;
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

#support .card .btn {
    margin-top: auto;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-gold);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px rgba(138, 106, 47, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-gold);
    transform: translateY(-3px);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Responsive Design */
/* Mobile Navigation */
.mobile-nav {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.mobile-cart-link:hover {
    color: var(--primary-gold);
}

.mobile-menu-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: var(--primary-gold);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-radius: 0 0 10px 10px;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    nav {
        position: relative;
    }
    
    .hero-content-wrapper {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-social {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        justify-content: flex-start;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--bg-card);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Merchandise Preview Images */
.merch-preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 1rem;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.card:hover .merch-preview-image img {
    transform: scale(1.05);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Player Cards - Lakers Style */
.player-card {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    transition: var(--transition);
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.player-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.player-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.player-jersey {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    transform: translate(30%, 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.player-jersey-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--bg-dark);
    transform: translate(-15%, -15%);
}

.player-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 3;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
}

.player-position {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.player-name {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.player-physical {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.player-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--primary-gold);
}

.team-logo-watermark {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    z-index: 2;
}

/* Coaching Staff Cards */
.coach-card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.coach-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coach-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.coach-card:hover .coach-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.coach-info {
    padding: 1.5rem;
    text-align: center;
}

.coach-name {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.coach-position {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.coach-experience {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Cart Styles */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
    transition: var(--transition);
}

.cart-count.hidden {
    display: none;
}

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-modal.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal-content {
    background: var(--bg-card);
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.cart-modal.active .cart-modal-content {
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin: 0;
    color: var(--primary-gold);
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--primary-gold);
}

.cart-items {
    padding: 20px;
    min-height: 200px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    background-color: var(--bg-dark);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.cart-item-size {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-gold);
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border-color: var(--primary-gold);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-btn:disabled:hover {
    background: var(--bg-dark);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.quantity-display {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 30px;
    text-align: center;
    border-radius: 3px;
    font-weight: bold;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #f44336;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-darker);
}

.cart-total {
    font-size: 1.25rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-gold);
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .cart-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-controls {
        align-self: center;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--primary-gold);
    color: var(--bg-dark);
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cart-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-notification i {
    font-size: 1.2rem;
}

/* Cookie Consent Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border-top: 2px solid var(--primary-gold);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-settings-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-settings-btn:hover {
    color: var(--primary-gold);
}

.cookie-policy-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-policy-link:hover {
    color: var(--primary-gold);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: var(--bg-card);
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--primary-gold);
}

.cookie-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.cookie-close:hover {
    color: var(--primary-gold);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

.cookie-category h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.cookie-required {
    background: var(--text-muted);
    color: var(--bg-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.cookie-category p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text-muted);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--primary-gold);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Roster Scroll Container */
.roster-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.roster-scroll-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    margin: 0 10px;
}

/* Hide scrollbar but keep functionality */
.roster-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.roster-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px;
}

.roster-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.roster-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-hover);
}

/* Player Card Preview for Homepage */
.player-card-preview {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    min-width: 280px;
    width: 280px;
    height: 360px;
    flex-shrink: 0;
    transition: var(--transition);
}

.player-card-preview:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.player-card-preview .player-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.player-card-preview .player-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.player-card-preview .team-logo-watermark {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    opacity: 0.3;
    z-index: 2;
}

.player-card-preview .player-jersey {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    transform: translate(30%, 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.player-card-preview .player-jersey-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bg-dark);
    transform: translate(-15%, -15%);
}

.player-card-preview .player-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 3;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
}

.player-card-preview .player-position {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.player-card-preview .player-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0;
    text-transform: uppercase;
}

/* Roster Navigation Arrows */
.roster-nav-arrow {
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 10;
    font-size: 1.25rem;
}

.roster-nav-arrow:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.roster-nav-arrow:active {
    transform: scale(0.95);
}

.roster-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.roster-nav-arrow:disabled:hover {
    background: var(--bg-card);
    color: var(--primary-gold);
    transform: none;
}

.roster-nav-left {
    margin-right: 10px;
}

.roster-nav-right {
    margin-left: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .cookie-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
    
    /* Roster mobile adjustments */
    .roster-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .player-card-preview {
        min-width: 240px;
        width: 240px;
        height: 320px;
    }
    
    .player-card-preview .player-jersey-number {
        font-size: 2rem;
    }
    
    .player-card-preview .player-name {
        font-size: 1.2rem;
    }
    
    /* Fix button spacing in mobile - especially for upcoming games section */
    .mt-3 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .mt-3 .btn {
        width: 100%;
        max-width: 250px;
        margin-left: 0; /* Override desktop spacing for mobile */
    }
    
    /* Fix button spacing for shop/donation buttons on homepage */
    .mt-4 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .mt-4 .btn {
        width: 100%;
        max-width: 280px;
        margin-left: 0 !important; /* Override inline style on mobile */
    }
}

/* Pre-Order Banner */
.pre-order-banner {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #B8860B 100%);
    color: var(--bg-dark);
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.pre-order-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon fill="rgba(26,26,26,0.1)" points="0,0 100,100 0,100"/></svg>');
    background-size: 100px 100px;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.pre-order-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pre-order-icon {
    font-size: 3rem;
    color: var(--bg-dark);
    opacity: 0.8;
}

.pre-order-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--bg-dark);
}

.pre-order-text p {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: rgba(26, 26, 26, 0.8);
}

.pre-order-text p strong {
    color: var(--bg-dark);
}

.btn-gold {
    background: var(--bg-dark);
    color: var(--primary-gold);
    border: 2px solid var(--bg-dark);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: transparent;
    color: var(--bg-dark);
    border-color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 26, 26, 0.3);
}

/* Mobile responsiveness for pre-order banner */
@media (max-width: 768px) {
    .pre-order-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .pre-order-icon {
        font-size: 2rem;
    }
    
    .pre-order-text h3 {
        font-size: 1.5rem;
    }
    
    .pre-order-text p {
        font-size: 0.9rem;
    }
    
    .btn-gold {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Pre-Order Badges and Notes for Merchandise Cards */
.pre-order-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gold);
    color: var(--bg-dark);
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(138, 106, 47, 0.3);
    animation: pulse 2s infinite;
}

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

.pre-order-note {
    font-size: 0.85rem;
    color: var(--primary-gold) !important;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Ensure cards have relative positioning for badges */
.card {
    position: relative;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pre-order-badge {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .pre-order-note {
        font-size: 0.8rem;
    }
}