/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange-primary: #FF6B35;
    --orange-dark: #E85A2A;
    --orange-light: #FF8C5A;
    --orange-glow: rgba(255, 107, 53, 0.3);
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #151515;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #2a2a2a;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
    --shadow-orange: 0 0 20px var(--orange-glow);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
}

.logo-csgo {
    color: var(--orange-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-orange);
}

.badge-icon {
    color: var(--orange-primary);
    font-size: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-title-accent {
    color: var(--orange-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.btn-primary {
    background: var(--orange-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--orange-light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* Features Grid */
.features {
    background: var(--bg-darker);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skins Grid */
.featured-skins,
.popular-skins {
    background: var(--bg-dark);
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skin-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
}

.skin-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-primary);
    background: var(--bg-card-hover);
}

.skin-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-light));
}

.skin-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
    display: block;
}

.skin-info {
    padding: 1.5rem;
}

.skin-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skin-weapon {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.skin-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.rarity-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.rarity-covert {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.rarity-classified {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.rarity-restricted {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.rarity-mil-spec {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.condition-badge {
    padding: 0.375rem 0.875rem;
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.skin-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--orange-primary);
    margin-bottom: 0;
}

/* Shop Page */
.shop-main {
    padding: 3rem 0;
    min-height: calc(100vh - 80px);
    background: var(--bg-dark);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.filter-select {
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.filter-select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.filter-select:hover {
    border-color: var(--orange-primary);
}

/* Message */
.message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem auto;
    max-width: 600px;
    display: none;
    font-weight: 500;
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    box-shadow: var(--shadow-lg);
}

.message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.message.success {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    border: 1px solid rgba(34, 197, 94, 1);
}

.message.error {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: 1px solid rgba(239, 68, 68, 1);
}

/* Utility Classes */
.loading,
.empty-state,
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.empty-state {
    grid-column: 1 / -1;
}

.error-state {
    grid-column: 1 / -1;
    color: #ef4444;
}

/* Dashboard Styles */
.dashboard-main {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-primary);
}

.dashboard-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--orange-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

/* Profile Card */
.profile-card {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-darker);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.info-value.balance-value {
    color: var(--orange-primary);
    font-size: 1.25rem;
}

/* Add Balance Section */
.add-balance-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.add-balance-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.balance-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.balance-input-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.balance-input-group input:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px var(--orange-glow);
}

.balance-input-group input::placeholder {
    color: var(--text-secondary);
}

.add-balance-section small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

/* Purchases Card */
.purchases-card {
    min-height: 500px;
}

.purchases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .purchases-grid {
        grid-template-columns: 1fr;
    }
}

.purchase-item {
    background: var(--bg-darker);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.purchase-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-orange);
    border-color: var(--orange-primary);
}

.purchase-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.purchase-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.purchase-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.purchase-weapon {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.purchase-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.rarity-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rarity-badge.rarity-consumer {
    background: rgba(176, 195, 217, 0.2);
    color: #b0c3d9;
    border: 1px solid #b0c3d9;
}

.rarity-badge.rarity-industrial {
    background: rgba(94, 152, 217, 0.2);
    color: #5e98d9;
    border: 1px solid #5e98d9;
}

.rarity-badge.rarity-milspec {
    background: rgba(75, 105, 255, 0.2);
    color: #4b69ff;
    border: 1px solid #4b69ff;
}

.rarity-badge.rarity-restricted {
    background: rgba(136, 71, 255, 0.2);
    color: #8847ff;
    border: 1px solid #8847ff;
}

.rarity-badge.rarity-classified {
    background: rgba(211, 44, 230, 0.2);
    color: #d32ce6;
    border: 1px solid #d32ce6;
}

.rarity-badge.rarity-covert {
    background: rgba(235, 75, 75, 0.2);
    color: #eb4b4b;
    border: 1px solid #eb4b4b;
}

.rarity-badge.rarity-unknown {
    background: rgba(128, 128, 128, 0.2);
    color: #808080;
    border: 1px solid #808080;
}

.condition-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 107, 53, 0.2);
    color: var(--orange-primary);
    border: 1px solid var(--orange-primary);
}

.purchase-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-primary);
    margin: 0;
}

.purchase-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.empty-state .btn {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--orange-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--orange-light);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Legal Pages Styles */
.page-header {
    text-align: center;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 3rem;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--orange-primary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 0 15px 2rem;
    }
    
    .legal-content ul,
    .legal-content ol {
        margin-left: 1.5rem;
    }
}

/* Image Slider */
.image-slider-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}

.image-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.slide:hover .slide-image {
    transform: scale(1.05);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 1rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--orange-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: var(--orange-primary);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Auto-play animation */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.slider-track.auto-sliding {
    animation: slide 20s infinite linear;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .skins-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .shop-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .slide-image {
        height: 350px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Cart Styles */
.cart-link {
    position: relative;
    display: inline-block;
    padding-right: 8px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: 0;
    background: var(--orange-primary);
    color: white;
    border-radius: 50%;
    min-width: 20px;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0;
    line-height: 1;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
    box-sizing: border-box;
    flex-shrink: 0;
    transform: translateX(50%);
}

/* Show badge when it has content - perfect centering with flexbox */
.cart-badge:not(:empty) {
    display: flex;
}

/* For numbers with 2+ digits, expand width but keep height same */
.cart-badge.multi-digit {
    min-width: 22px;
    width: auto;
    padding: 0 5px;
    border-radius: 11px;
    transform: translateX(50%);
}

.cart-main {
    padding: 3rem 0;
    min-height: calc(100vh - 80px);
    background: var(--bg-dark);
}

.cart-content {
    margin-top: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    align-items: center;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

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

.cart-item-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cart-item-weapon {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.cart-item-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-width: 200px;
}

.price-per-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.price-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-primary);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--orange-primary);
}

.qty-input {
    width: 60px;
    padding: 0.5rem;
    text-align: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
}

.remove-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.cart-summary {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 400px;
    margin-left: auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--orange-primary);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-cart p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--orange-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
}

.cart-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Checkout Styles */
.checkout-main {
    padding: 3rem 0;
    min-height: calc(100vh - 80px);
    background: var(--bg-dark);
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.checkout-items {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.checkout-items h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

.checkout-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

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

.checkout-item-details h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.checkout-item-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkout-item-price {
    font-weight: 700;
    color: var(--orange-primary);
    font-size: 1.1rem;
}

.checkout-form-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.checkout-form-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--orange-primary);
    background: var(--bg-card-hover);
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: var(--orange-primary);
}

.payment-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.order-total {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
}

.total-amount {
    color: var(--orange-primary);
}

/* Authentication Pages Styles */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--bg-dark);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.5s ease-out;
}

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

.auth-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.auth-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 0.875rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: var(--bg-card-hover);
}

.form-group input:hover {
    border-color: var(--orange-light);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.form-group small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: -0.25rem;
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--orange-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--orange-light);
    text-decoration: underline;
}

/* Message positioning for auth pages */
.auth-card #message {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1rem 0;
    max-width: 100%;
}

.auth-card #message.show {
    animation: slideDown 0.3s ease-out;
}

/* Add Balance Button */
.btn-add-balance {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.btn-add-balance:hover {
    background: linear-gradient(135deg, var(--orange-light), var(--orange-primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5);
}

.btn-add-balance:active {
    transform: translateY(0);
}

.btn-add-balance:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .btn-add-balance {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
    
    .btn-add-balance::after {
        content: '💰';
        margin-left: 0.25rem;
    }
    
    .btn-add-balance {
        text-indent: -999px;
        overflow: hidden;
        width: 40px;
        padding: 0.4rem;
    }
}

/* Button styles for nav */
.btn-register,
.btn-login,
.btn-logout {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-register {
    background: var(--orange-primary);
    color: white;
    border: 1px solid var(--orange-primary);
}

.btn-register:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-login {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    color: var(--text-primary);
    border-color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.1);
}

.btn-logout {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-logout:hover {
    color: #ef4444;
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.balance-display {
    color: var(--orange-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive auth styles */
@media (max-width: 768px) {
    .auth-container {
        padding: 2rem 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .auth-card h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .slide-image {
        height: 250px;
    }
    
    .slider-controls {
        padding: 0 0.5rem;
    }
    
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    
    .prev-btn {
        left: 0.5rem;
    }
    
    .next-btn {
        right: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-price {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-summary {
        max-width: 100%;
        margin-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .skins-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
}
