/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Prevent scrollbar flash on load */
html, body {
    scrollbar-gutter: stable;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #1a1f2e;  /* Lightened from #0f172a */
    --dark-surface: #2a3142;  /* Lightened from #1e293b */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: rgba(148, 163, 184, 0.15);  /* Slightly more visible */
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --gold: #FFD700;
    --success: #10b981;
    --danger: #ef4444;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark-bg);
    min-height: 100vh;
    line-height: 1.6;
    color: var(--text-primary);
    background-image: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1), transparent 50%),
                      radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.1), transparent 50%);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Top Navigation Bar - Same as Landing Page */
.navbar {
    background: rgba(26, 31, 46, 0.95);  /* Updated to match new --dark-bg */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;  /* Match landing page - vertical padding only */
}

.nav-container {
    max-width: 1400px;  /* Match landing page */
    margin: 0 auto;
    padding: 0 2rem;  /* Horizontal padding moved here to match landing */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;  /* Match landing page */
    font-size: 1.25rem;  /* Match landing page */
}

.logo-icon {
    width: 32px;  /* Match landing page */
    height: 32px;  /* Match landing page */
    border-radius: 8px;
}

.logo-text {
    background: var(--accent-gradient);  /* Match landing page */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.language-select {
    background: var(--dark-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;  /* Match landing page */
    transition: all 0.3s ease;
}

.language-select:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Fix dropdown options background and text color */
.language-select option {
    background: var(--dark-surface);
    color: var(--text-primary);
    padding: 0.5rem;
}

.nav-cart {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.25rem;  /* Match landing page for cart icon */
    transition: color 0.3s ease;
}

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

.nav-account, .nav-logout, .nav-login, .nav-register {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-account:hover, .nav-logout:hover, .nav-login:hover {
    color: var(--text-primary);
}

.nav-register {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;  /* Match landing page */
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-register:hover {
    background: var(--secondary-color);  /* Match landing page */
    transform: translateY(-2px);
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);  /* Match landing page */
    color: white;
    font-size: 0.75rem;  /* Match landing page */
    padding: 2px 6px;
    border-radius: 10px;  /* Match landing page */
    min-width: 18px;
    text-align: center;
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Main Content - Adjusted for Top Navigation */
.main-content {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    padding: 2rem 0 0 0;
    position: relative;
    width: 100%;
}

.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* Header section */
.header-section {
    text-align: center;
    margin-bottom: 30px;
    background: var(--dark-surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.logo-text h1 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Language Selector Styles */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--dark-surface);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.language-selector label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 8px;
}

.language-selector select {
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 12px;
    background: var(--dark-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.language-selector select:hover {
    border-color: var(--primary-color);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}

/* Tutorial alert section */
.tutorial-alert {
    background: linear-gradient(135deg, #3a3f52, #2f3444);  /* Warm dark gradient */
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);  /* Gold border for warmth */
}

.alert-content h3 {
    color: #FFD700;  /* Gold for warmth */
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tutorial-steps {
    margin-bottom: 15px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 10px;
    background: rgba(42, 49, 66, 0.4);  /* Dark warm background */
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.step-number {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.95rem;
    color: #f8fafc;  /* White text for dark background */
    font-weight: 500;
}

.tutorial-note {
    color: #15e230;  /* White text */
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 215, 0, 0.1);  /* Gold background for warmth */
    padding: 10px 15px;
    border-radius: 8px;
    margin: 0;
    border: 1px solid rgba(255, 215, 0, 0.3);  /* Gold border */
}

/* Merdeka Banner - Special Promo */
.merdeka-banner {
    background: linear-gradient(135deg, var(--gold), #FFA500);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.merdeka-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s linear infinite;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.banner-text h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.banner-text p {
    color: #ffffff;  /* Changed to white for better visibility on dark background */
    font-size: 1rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Added shadow for contrast */
}

.banner-text small {
    color: #ffffff;  /* Changed to white for better visibility on dark background */
    font-size: 0.85rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Added shadow for contrast */
}

.banner-btn {
    background: #1a1a1a;
    color: var(--gold);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
}

.banner-btn:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Form container */
.form-container {
    background: linear-gradient(135deg, #3a3f52, #2f3444);  /* Warm dark gradient matching tutorial */
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h2 {
    color: #f8fafc;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #FFD700, #FFA500);  /* Gold gradient for warmth */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: #94a3b8;  /* Light gray for dark background */
    font-size: 1rem;
    font-weight: 500;
}

/* Input group */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #f8fafc;  /* White text for dark background */
    margin-bottom: 8px;
    font-size: 1rem;
}

.label-icon {
    font-size: 1.1rem;
}

.example-text {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.9rem;
}

.input-group input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #0f172a;
}

.input-group input[type="text"]::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

.input-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.input-help {
    margin-top: 5px;
}

.input-help small {
    color: #ff8800;
    font-size: 0.9rem;
}

/* Buttons */
.claim-button {
    width: 100%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
}

.claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.claim-button:active {
    transform: translateY(0);
}

.claim-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.button-icon {
    font-size: 1.2rem;
}

.button-text {
    font-size: 1rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
}

.discord-button,
.otp-button {
    flex: 1;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.otp-button {
    background: linear-gradient(135deg, var(--success), #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.discord-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.otp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Loading spinner */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Results Section */
#resultsContainer {
    animation: fadeInScale 0.5s ease;
}

.message-container {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-content {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Products Section */
.products-section {
    background: var(--dark-surface);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 25px;
}

.section-header h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.important-notice {
    color: var(--gold);
    font-size: 1rem;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: inline-block;
}

.product-cards {
    display: grid;
    gap: 20px;
}

.product-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}

.product-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.product-header h3 {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-content {
    color: #2d3748;
    line-height: 1.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    padding: 10px 0;
}

/* Style each line item as a row */
.product-content .info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-content .info-row:last-child {
    border-bottom: none;
}

.product-content .info-label {
    font-weight: 600;
    color: #1a202c;
    min-width: 140px;
    margin-right: 15px;
    font-size: 0.9rem;
    display: inline-block;
}

.product-content .info-value {
    color: #4a5568;
    flex: 1;
    font-size: 0.9rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; /* Better monospace for values */
    background: rgba(99, 102, 241, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

.product-content strong {
    color: #0f172a;
    font-weight: 600;
}

.product-content br {
    display: block;
    margin: 0.3em 0;
}

.product-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    transition: all 0.2s ease;
    padding: 2px 6px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.product-content a:hover {
    text-decoration: underline;
    background: rgba(99, 102, 241, 0.2);
    transform: translateX(2px);
}

/* No Products */
.no-products {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-products-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.no-products h3 {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.no-products p {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 10px;
}

.no-products strong {
    color: var(--primary-color);
}

/* Special Banner */
.special-banner {
    margin: 30px 0;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: visible; /* Allow card to overflow */
    z-index: 1;
    contain: layout; /* Prevent layout shifts */
}

.banner-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1), transparent 60%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
    border-radius: 12px; /* Match parent border radius */
    overflow: hidden; /* Contain the glow within rounded corners */
    z-index: -1; /* Put glow behind content */
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05); /* Reduced scale to prevent overflow */
    }
}

.special-banner .banner-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    padding-right: 170px; /* Space for the card */
    box-sizing: border-box;
}

.banner-text {
    flex: 1;
    padding-right: 20px;
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.banner-subtitle {
    font-size: 1.1rem;
    color: #ffffff; /* White text */
    margin-bottom: 5px;
    font-weight: 500; /* Added weight for better visibility */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Added shadow for contrast */
}

.banner-note {
    color: #ffffff; /* White text */
    font-style: italic;
    opacity: 1; /* Full opacity for better visibility */
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Added shadow for contrast */
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.banner-btn:hover .btn-arrow {
    transform: translate(2px, -2px);
}

/* Shimmer animation specifically for SteamUnlock card */
@keyframes steamunlock-shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Floating SteamUnlock Card */
.steamunlock-card-container {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50; /* Increased to ensure it's above the banner */
    width: 140px; /* Reduced from 160px */
}

.steamunlock-card {
    display: block;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(30, 41, 59, 0.95));
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 24px rgba(255, 215, 0, 0.3),
                0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    transform: rotate(-5deg) translateZ(0); /* Static tilt */
    transform-origin: center center;
    will-change: transform;
    position: relative;
}

.steamunlock-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FFED4E, #FFA500, #FFD700);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    background-size: 300% 300%;
    animation: steamunlock-shimmer 3s linear infinite;
}

.steamunlock-card:hover {
    transform: rotate(2deg) scale(1.12) translateY(-5px) translateZ(0); /* Reduced scale from 1.18 to 1.12 */
    border-color: #FFED4E;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
                0 0 60px rgba(255, 215, 0, 0.6),
                0 25px 60px rgba(255, 215, 0, 0.4),
                0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 100; /* Ensure it's above other elements when hovered */
    /* Keep dark background - don't change to gold */
}

.steamunlock-card:hover::after {
    opacity: 1;
}

.steamunlock-card .game-card-image {
    width: 100%;
    height: 75px; /* Reduced from 90px */
    overflow: hidden;
    position: relative;
}

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

.steamunlock-card .game-card-content {
    padding: 8px; /* Reduced padding */
    background: transparent;
}

.steamunlock-card .game-title {
    font-size: 0.8rem; /* Further reduced */
    font-weight: 700;
    color: #f8fafc; /* White font when not hovered */
    margin-bottom: 1px;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.steamunlock-card .game-type {
    font-size: 0.6rem; /* Further reduced */
    color: #94a3b8; /* Grey text */
    margin-bottom: 3px;
    font-weight: 500; /* Set consistent weight */
    transition: color 0.3s ease; /* Only transition color, not weight */
    white-space: nowrap; /* Prevent text wrapping */
}

.steamunlock-card .game-price {
    font-size: 0.75rem; /* Further reduced */
    font-weight: 600;
    color: #dc2626; /* Red text */
    display: inline-block;
    padding: 1px 5px; /* Further reduced padding */
    background: rgba(220, 38, 38, 0.15); /* Red background */
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

/* On hover - change text colors to black like homepage */
.steamunlock-card:hover .game-title {
    color: #1a1a1a; /* Black font on hover */
    font-weight: 700; /* Keep same weight as default */
}

.steamunlock-card:hover .game-type {
    color: #1a1a1a; /* Black font on hover */
    /* Don't change font-weight to avoid visual shift */
}

.steamunlock-card:hover .game-price {
    color: #ffffff; /* White text on red background */
    background: rgba(220, 38, 38, 0.8); /* Stronger red background on hover */
    font-weight: 700;
}

/* Promotional Section */
.promo-section {
    margin-bottom: 30px;
    margin-top: 60px;
}

.promo-card {
    background: linear-gradient(135deg, var(--dark-surface), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--gold);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
}

/* Premium Gold Card Styles */
.promo-card.premium-gold {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--gold);
    animation: goldShimmer 3s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2),
                    inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4),
                    inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
}

.shimmer-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.2),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.promo-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.promo-subtitle {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.promo-discount {
    color: var(--gold);
    font-weight: 500;
}

.premium-btn {
    position: relative;
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    color: var(--dark-bg);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.btn-text {
    position: relative;
    z-index: 1;
}

.promo-main-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    gap: 20px;
}

.promo-main-link img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.promo-content h3 {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.promo-actions {
    padding: 0 20px 20px;
}

.discord-btn {
    display: inline-block;
    background: var(--gold);
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background: #FFED4E;
    transform: translateX(5px);
}

/* Footer - Same as Landing Page */
.footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
    padding: 3rem 0 0 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom p {
    margin: 0;
}

/* Animation for results appearing */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    /* Hide floating card on smaller screens to prevent overlap */
    .steamunlock-card-container {
        display: none;
    }

    .special-banner .banner-content {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

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

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

    .nav-right {
        gap: 0.75rem;
    }

    .nav-cart, .nav-account, .nav-logout {
        display: none;
    }

    .main-content {
        margin-top: 70px;
    }

    .main-container {
        padding: 0 15px;
    }

    .logo-text h1 {
        font-size: 2rem;
    }

    .banner-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .action-buttons {
        flex-direction: column;
    }

    .promo-main-link {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }
}