:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --success-color: #48bb78;
    --error-color: #f56565;
    --warning-color: #ed8936;
    --info-color: #4299e1;
    
    --border-radius: 0.75rem;
    --border-radius-sm: 0.5rem;
    --border-radius-lg: 1rem;
    
    --transition: all 0.2s ease;
}

/* Light theme (default) */
:root,
[data-theme="light"] {
    --bg-color: #f7fafc;
    --bg-secondary: #edf2f7;
    --card-bg: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-muted: #a0aec0;
    --border-color: #e2e8f0;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Dark theme */
[data-theme="dark"] {
    --bg-color: #1a202c;
    --bg-secondary: #2d3748;
    --card-bg: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --border-color: #4a5568;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}


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



body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 4rem;
}

/* Smooth theme transitions */
*,
*::before,
*::after {
    transition: 
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.navbar {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.navbar h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar h1 a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



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

/* Navigation Dropdowns */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: inherit;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown-btn:hover .dropdown-icon,
.nav-dropdown-menu.show ~ .nav-dropdown-btn .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition);
    font-size: 0.9rem;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.nav-dropdown-menu a:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.nav-dropdown-menu a:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Navigation responsive text */
@media (max-width: 1024px) {
    .nav-text {
        display: none;
    }
    
    .nav-dropdown-btn .nav-text {
        display: none;
    }
}

.user-info {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.logout {
    color: var(--error-color) !important;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--border-color);
}

.login-form {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.login-form h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Styles pour les options du select */
.form-group select option {
    background: var(--card-bg, #ffffff);
    color: var(--text-primary, #2d3748);
    padding: 0.5rem;
}

.form-group select option:hover,
.form-group select option:focus {
    background: var(--primary-color, #667eea);
    color: white;
}

.form-group select option:checked {
    background: var(--primary-color, #667eea);
    color: white;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    transition: var(--transition);
    font-weight: 500;
}

.checkbox-group label:hover,
.radio-group label:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
}

/* Style pour les inputs cachés */
.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* État sélectionné */
.checkbox-group label:has(input:checked),
.radio-group label:has(input:checked) {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.checkbox-group label:has(input:checked):hover,
.radio-group label:has(input:checked):hover {
    background: var(--primary-dark, #5a67d8);
    transform: translateY(-2px);
}

/* Fallback pour les navigateurs sans :has() */
.checkbox-group label.checked,
.radio-group label.checked {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

/* Toggle Switch Styles */
.toggle-switch-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    justify-content: flex-start;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    min-width: 35px;
    text-align: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 36px;
    cursor: pointer;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e2e8f0;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.toggle-slider:before {
    content: "✕";
    height: 30px;
    width: 30px;
    margin-left: 2px;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: bold;
    flex-shrink: 0;
}


/* État activé */
.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.toggle-switch input:checked + .toggle-slider:before {
    margin-left: 36px;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    content: "✓";
    color: var(--primary-color);
}

/* Labels actifs */
.toggle-switch input:not(:checked) ~ .toggle-switch-container .toggle-label:first-child,
.toggle-switch input:checked ~ .toggle-switch-container .toggle-label:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Alternative avec sélecteur adjacent */
.toggle-switch-container:has(input:not(:checked)) .toggle-label:first-child,
.toggle-switch-container:has(input:checked) .toggle-label:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hover effects */
.toggle-switch:hover .toggle-slider {
    border-color: var(--primary-color);
}

.toggle-switch:hover .toggle-slider:before {
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4);
}

/* Focus states */
.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Animation améliorée */
.toggle-switch:active .toggle-slider:before {
    width: 30px;
}

.toggle-switch input:checked:active + .toggle-slider:before {
    transform: translateX(30px);
}

/* Container pour les inputs de galerie */
#gallery-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Suppression des animations d'ajout */
#gallery-inputs * {
    animation: none !important;
    transition: none !important;
}

/* Seulement les transitions pour focus/hover */
.gallery-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.remove-gallery-btn {
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

/* Styles pour les champs de galerie avec bouton de suppression */
.input-with-remove {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    width: 100%;
}

.input-with-remove .gallery-input {
    flex: 1;
    margin-bottom: 0;
    height: 48px;
}

.remove-gallery-btn {
    background: var(--error-color, #ef4444);
    border: none;
    color: white;
    padding: 0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    flex-shrink: 0;
    position: relative;
}

.remove-gallery-btn:hover {
    background: #dc2626;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.remove-gallery-btn:active {
    transform: scale(0.98);
}

/* Styles pour les inputs de galerie normaux */
.gallery-input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0.75rem;
    height: 48px;
    box-sizing: border-box;
}

.gallery-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Suppression du margin-bottom pour les derniers éléments */
.gallery-input:last-child,
.input-with-remove:last-child {
    margin-bottom: 0;
}

/* Fix pour éviter l'accumulation de margin */
.input-with-remove {
    margin-bottom: 0 !important;
}

/* Espacement pour le bouton d'ajout */
#addGalleryInput {
    margin-top: 1rem;
}

/* Styles pour les tags de jeu dans le header */
.game-tags {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.25rem;
    flex-wrap: wrap;
}

.game-type-tag {
    background: var(--primary-color, #667eea);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.players-tag {
    background: var(--info-color, #4299e1);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.crossplay-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
}

.crossplay-tag.crossplay-yes {
    background: var(--success-color, #10b981);
    color: white;
}

.crossplay-tag.crossplay-no {
    background: var(--text-muted, #a0aec0);
    color: white;
    position: relative;
}

.crossplay-tag.crossplay-no::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    right: 2px;
    height: 2px;
    background: var(--error-color, #ef4444);
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 1px;
}

/* Styles pour les boutons de réaction avec texte */
.reaction-btn-compact {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.reaction-text {
    font-size: 0.75rem;
    opacity: 0.9;
}

.reaction-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* États actifs avec texte visible */
.reaction-btn-compact.active .reaction-text {
    opacity: 1;
}

.reaction-btn-compact.active .reaction-count {
    background: var(--primary-color);
    color: white;
}

.error {
    background: rgba(245, 101, 101, 0.1);
    color: var(--error-color);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--error-color);
}

.success {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success-color);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--success-color);
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}


.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.user-btn:hover {
    background: var(--border-color);
    transform: translateY(-1px);
}

.user-avatar {
    font-size: 1.2rem;
}

.user-name {
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.user-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.admin-item {
    color: var(--primary-color);
}

.admin-item:hover {
    background: rgba(102, 126, 234, 0.1);
}

.logout-item {
    color: var(--error-color);
}

.logout-item:hover {
    background: rgba(245, 101, 101, 0.1);
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--border-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.theme-toggle i {
    transition: var(--transition);
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

.theme-toggle-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.footer-section ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.stats p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.install-banner {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    z-index: 1000;
    transition: bottom 0.3s ease;
    max-width: 90vw;
}

.install-banner.show {
    bottom: 2rem;
}

.install-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.install-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.filters {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.filter-group select {
    margin-bottom: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.625rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.25rem;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* Options pour les filtres aussi */
.filter-group select option {
    background: var(--card-bg, #ffffff);
    color: var(--text-primary, #2d3748);
    padding: 0.5rem;
}

.filter-group select option:hover,
.filter-group select option:focus {
    background: var(--primary-color, #667eea);
    color: white;
}

.filter-group select option:checked {
    background: var(--primary-color, #667eea);
    color: white;
}

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

.filter-actions {
    display: flex;
    gap: 0.75rem;
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.filter-actions .btn {
    min-width: 100px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.filters-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.filters-header i {
    font-size: 1rem;
    color: var(--primary-color);
}

.games-count {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.game-card {
    background: var(--card-bg);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

/* Filtres compacts */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.page-title h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-title .games-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

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

.filters-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.filters-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.filter-indicator {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.quick-filters select {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1em 1em;
}

.quick-filters select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.filters-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.filter-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-form-inline select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.375rem 1.5rem 0.375rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.375rem center;
    background-repeat: no-repeat;
    background-size: 0.8em 0.8em;
    height: 2rem;
    min-width: 120px;
}

.filter-form-inline select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour filtres compacts */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-compact {
        justify-content: space-between;
    }
    
    .filter-form-inline {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .filter-form-inline select {
        min-width: auto;
    }
}

/* Sélecteurs de vue */
.view-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-toggle {
    display: flex;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 0.25rem;
    border: 1px solid var(--border-color);
}

.view-btn {
    background: none;
    border: none;
    padding: 0.375rem 0.5rem;
    border-radius: calc(var(--border-radius-sm) - 0.25rem);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    background: var(--card-bg);
    color: var(--text-primary);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.view-btn i {
    font-size: 0.875rem;
}

/* Vue tableau */
.games-table-container {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.games-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.games-table thead {
    background: var(--bg-secondary);
}

.games-table th {
    padding: 0.75rem 0.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    position: relative;
}

.games-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.games-table th.sortable:hover {
    background: var(--primary-color);
    color: white;
}

.sort-icon {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    opacity: 0.5;
    transition: var(--transition);
}

.sort-icon.active {
    opacity: 1;
    color: var(--primary-color);
}

.games-table th.sortable:hover .sort-icon {
    opacity: 1;
    color: white;
}

.games-table td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.game-row {
    cursor: pointer;
    transition: var(--transition);
}

.game-row:hover {
    background: var(--bg-secondary);
}

.game-info {
    min-width: 200px;
    height: 48px;
}

.game-info strong {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1;
}

.table-type-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.table-players {
    font-weight: 600;
    color: var(--text-primary);
}

.table-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.table-platform-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.125rem 0.375rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.6875rem;
    border: 1px solid var(--border-color);
}

.table-platform-more {
    background: var(--text-muted);
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.6875rem;
    font-weight: 500;
}

.table-price {
    font-weight: 500;
    color: var(--success-color);
}

.table-popularity {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
}

.table-proposer {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.table-actions {
    min-width: 80px;
}

.table-reactions {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.table-reaction-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.375rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.table-reaction-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.table-reaction-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.table-reaction-btn.disabled {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.table-reaction-btn.disabled:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.text-success {
    color: var(--success-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Responsive pour tableau */
@media (max-width: 1024px) {
    .games-table th:nth-child(4),
    .games-table td:nth-child(4) {
        display: none; /* Masquer les plateformes */
    }
    
    .games-table th:nth-child(8),
    .games-table td:nth-child(8) {
        display: none; /* Masquer "proposé par" */
    }
}

@media (max-width: 768px) {
    .view-controls {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .games-table-container {
        overflow-x: auto;
        margin: 1rem -1.5rem;
        padding: 0 1.5rem;
    }
    
    .games-table {
        min-width: 600px;
    }
    
    .games-table th,
    .games-table td {
        padding: 0.5rem 0.375rem;
    }
    
    .game-info {
        min-width: 150px;
    }
    
    .games-table th:nth-child(5),
    .games-table td:nth-child(5) {
        display: none; /* Masquer le prix sur mobile */
    }
}

/* Jeu Featured */
.featured-game {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

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

.featured-header h3 {
    margin: 0;
    color: var(--warning-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-popularity {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
}

.featured-card {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    border: 1px solid var(--border-color);
}

.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-image {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    align-self: center;
}

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

.featured-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.featured-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.625rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.125rem;
    box-shadow: var(--shadow-sm);
}

.featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    min-height: 140px;
}

.featured-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-description {
    flex: 1;
    margin-bottom: 0.5rem;
}

.featured-meta {
    margin-top: auto;
}

.featured-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.featured-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.featured-description {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-meta {
    margin-bottom: 0.5rem;
}

.featured-all-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    align-items: center;
}

.featured-type-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-players-tag,
.featured-crossplay-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-platform-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.25rem 0.375rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.6875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
}

.featured-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.featured-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.featured-proposer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.featured-reactions {
    display: flex;
    gap: 0.375rem;
}

.featured-reaction-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 0.375rem 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.featured-reaction-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.featured-reaction-btn.active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: white;
}

.featured-reaction-btn.disabled {
    background: rgba(128, 128, 128, 0.2);
    border-color: rgba(128, 128, 128, 0.3);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    opacity: 0.5;
}

.featured-reaction-btn.disabled:hover {
    background: rgba(128, 128, 128, 0.2);
    border-color: rgba(128, 128, 128, 0.3);
    color: rgba(255, 255, 255, 0.4);
}

.featured-right {
    flex-shrink: 0;
    width: 180px;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-interested {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-interested-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.featured-interested-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.featured-interested-user {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.6875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-interested-more {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Responsive pour featured */
@media (max-width: 768px) {
    .featured-card {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        height: auto;
    }
    
    .featured-image {
        width: 100%;
        height: 200px;
        align-self: center;
        max-width: 300px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .featured-reactions {
        justify-content: center;
    }
    
    .featured-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .featured-right {
        width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1rem;
    }
}

/* Pagination */
.pagination-container {
    margin-top: 2rem;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.pagination-page {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
    min-width: 2.5rem;
    text-align: center;
}

.pagination-page:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.pagination-page.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 0.5rem;
    font-weight: bold;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .pagination-page {
        padding: 0.375rem 0.5rem;
        font-size: 0.8125rem;
        min-width: 2rem;
    }
}

.game-image-placeholder {
    height: 200px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}

.game-info-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.game-info-compact .info-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.reaction-btn-compact {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
}

.reaction-btn-compact:hover {
    background: var(--border-color);
    transform: translateY(-1px);
}

.reaction-btn-compact.active {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.reaction-btn-compact.disabled {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.reaction-btn-compact.disabled:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-muted);
    transform: none;
}

.game-content .game-reactions {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    margin-top: 0;
    flex-shrink: 0;
}

.game-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.02);
}

.price-badge-card {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
}

.game-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 160px;
}

.game-header {
    margin-top: auto;
    margin-bottom: 1rem;
}

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

.game-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.game-title a:hover {
    text-decoration: underline;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.proposer {
    color: var(--text-secondary);
}

.price {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

.games-grid .game-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.info-item {
    color: var(--text-secondary);
}

.info-item strong {
    color: var(--text-primary);
}

.game-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.game-description .comment {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.game-reactions {
    display: flex;
    gap: 1rem;
}

.reaction-group {
    flex: 1;
}

.reaction-btn {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.reaction-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.reaction-btn.active {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.users-list {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.form-container h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.game-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.export-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.export-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.export-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.export-info ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

.export-info li {
    margin-bottom: 0.25rem;
}

.export-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.profile-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.current-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.profile-avatar .avatar-large {
    font-size: 3rem;
    display: block;
}

.profile-info h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.avatar-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    max-width: 480px;
}

.avatar-option {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    background: var(--bg-secondary);
    aspect-ratio: 1;
    min-height: 50px;
}

.avatar-option:hover {
    border-color: var(--primary-color);
    background: var(--card-bg);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.avatar-option input[type="radio"] {
    display: none;
}

.avatar-option input[type="radio"]:checked + .avatar-preview {
    color: var(--primary-color);
    transform: scale(1.1);
}

.avatar-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.avatar-preview {
    font-size: 1.25rem;
    transition: var(--transition);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.help-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--error-color) !important;
}

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

.bi {
    display: inline-block;
    vertical-align: middle;
}

/* Game Detail Page Styles - New Design */
.game-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
}

.breadcrumb-link:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.breadcrumb-current {
    font-weight: 600;
    color: var(--text-primary);
}

.game-hero {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.game-hero-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.hero-placeholder i {
    font-size: 4rem;
}

.game-hero-content {
    padding: 2rem;
    position: relative;
}

.game-header {
    margin-bottom: 1.5rem;
}

.game-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.game-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.game-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    width: fit-content;
    box-shadow: var(--shadow-md);
}

.game-quick-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-item.crossplay-yes {
    color: var(--success-color);
    background: rgba(72, 187, 120, 0.1);
}

.stat-item.crossplay-no {
    color: var(--error-color);
    background: rgba(245, 101, 101, 0.1);
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.reaction-buttons {
    display: flex;
    gap: 0.75rem;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    font-weight: 600;
}

.reaction-btn:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.reaction-btn.active {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.game-detail-image {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.game-detail-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.game-detail-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.game-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.game-detail-price {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.game-detail-links {
    margin-bottom: 2rem;
}

.game-detail-reactions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reaction-btn-large {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.reaction-btn-large:hover {
    background: var(--border-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.reaction-btn-large.active {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.reaction-btn-large i {
    font-size: 1.5rem;
}

.reaction-btn-large .count {
    font-size: 1.5rem;
    font-weight: 700;
}

.reaction-btn-large .label {
    font-size: 0.875rem;
    font-weight: 500;
}

.game-detail-users {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
}

.users-section {
    margin-bottom: 1.5rem;
}

.users-section:last-child {
    margin-bottom: 0;
}

.users-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.users-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.user-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.user-badge.interested {
    background: rgba(237, 137, 54, 0.1);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.user-badge.owner {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.game-detail-sidebar {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    height: fit-content;
}

.game-specs h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.spec-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    flex: 1;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
}

.platform-badge {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.game-description-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.game-description-section h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.game-description-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.game-comment {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.game-comment h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.comment-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.no-games {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.no-games-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.no-games-btn {
    margin-top: 1rem;
}

    
    .container {
        padding: 1.5rem;
    }
    
    .game-detail-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-detail-title {
        font-size: 2rem;
    }
    
    .game-detail-reactions {
        flex-direction: column;
    }
    
    .reaction-btn-large {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .spec-value {
        text-align: left;
    }
    
    .platforms {
        justify-content: flex-start;
    }
    
}

@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0.75rem;
        min-height: 56px;
    }
    
    .navbar h1 {
        font-size: 1rem;
    }
    
    .navbar h1 i {
        font-size: 1.125rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.5rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .nav-links {
        padding: 0.75rem;
        max-height: 70vh;
    }
    
    .nav-links > a {
        font-size: 1rem;
        padding: 0.875rem 0;
    }
    
    .nav-links > a i {
        font-size: 1.125rem;
        width: 20px;
    }
    
    .nav-dropdown-btn {
        font-size: 1rem;
        padding: 0.875rem 0;
    }
    
    .nav-dropdown-menu a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .user-btn {
        font-size: 1rem;
        padding: 0.875rem 0;
    }
    
    .theme-toggle {
        right: 3.5rem;
        padding: 0.5rem;
    }
    
    .theme-toggle i {
        font-size: 1.125rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filters {
        padding: 1rem;
    }
    
    .filter-form {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .filters-header {
        margin-bottom: 0.75rem;
    }
    
    .filters-header h3 {
        font-size: 0.9375rem;
    }
    
    .filter-actions {
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-actions .btn {
        min-width: 80px;
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .game-info {
        grid-template-columns: 1fr;
    }
    
    .game-reactions {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .export-actions {
        flex-direction: column;
    }
    
    .avatar-selector {
        grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .avatar-option {
        padding: 0.5rem;
        min-height: 45px;
    }
    
    .avatar-preview {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .navbar h1 {
        font-size: 1.25rem;
    }
    
    .nav-links a {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .login-form {
        margin: 2rem auto;
        padding: 1.5rem;
    }
    
    .form-container,
    .export-container {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

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

/* Game Detail Page Styles */
.game-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Modern Hero Section */
.game-hero-modern {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    min-height: 400px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.3);
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 2;
}

.hero-content-container {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    height: 100%;
    min-height: 400px;
    align-items: center;
}

.hero-left {
    flex-shrink: 0;
}

.game-cover {
    position: relative;
    width: 210px;
    height: 297px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
}

.game-cover:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 12px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}


.cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 4rem;
}

.price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(10px);
}

.hero-right {
    flex: 1;
    color: white;
}

.game-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.game-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.meta-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.game-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-card.crossplay-available i {
    color: #10b981;
}

.stat-card.crossplay-unavailable i {
    color: #ef4444;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Boutons compacts sur la jaquette */
.cover-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-cover:hover .cover-actions {
    opacity: 1;
}

.btn-store-compact,
.btn-delete-compact {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-store-compact {
    background: var(--primary-color);
    color: white;
}

.btn-store-compact:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

.btn-delete-compact {
    background: #ef4444;
    color: white;
}

.btn-delete-compact:hover {
    background: #dc2626;
    transform: scale(1.1);
}


/* Bouton Delete en haut à droite du hero */
.btn-delete-hero {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

.btn-delete-hero:hover {
    background: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Infos meta en bas à droite du hero */
.hero-meta-bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    z-index: 15;
}

.hero-meta-bottom .meta-item {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(15px);
    transition: all 0.2s ease;
}

.hero-meta-bottom .meta-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    border-color: #8b5cf6;
}

.hero-meta-bottom .meta-item i {
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 1;
}

.hero-meta-bottom .meta-item strong {
    font-weight: 700;
    color: var(--primary-color);
}

/* Bouton Store en bas de la jaquette */
.store-bottom {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
}

.btn-store-main {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-weight: 500;
    font-size: 0.7rem;
    text-decoration: none;
    min-width: 80px;
    height: 28px;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.btn-store-main:hover {
    background: #5a67d8;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.btn-store-main i {
    font-size: 0.7rem;
}

/* Section communauté avant galerie/trailer */
.community-section-early {
    margin: 2rem 0;
    padding: 0 1rem;
}

.community-section-early .game-community-card {
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
}

.game-community-card .card-content {
    overflow: visible;
    position: relative;
}



/* Section réactions dans communauté */
.reaction-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.reaction-buttons-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
}


/* Reaction buttons - circular design */
.reaction-btn-modern {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 100px;
    height: 45px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

/* Reaction buttons hover and active states */
.reaction-btn-modern:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.reaction-btn-modern.interested.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.reaction-btn-modern.owned.active {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.reaction-btn-modern.wishlist.active {
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-color: #ec4899;
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.reaction-btn-modern.disabled {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.reaction-btn-modern.disabled:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-secondary);
    border-color: var(--text-muted);
    color: var(--text-muted);
}

/* Count badge - floating design */
.reaction-btn-modern .count {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    position: absolute;
    top: -5px;
    right: -5px;
    line-height: 1;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.reaction-btn-modern.interested.active .count {
    background: #d97706;
}

.reaction-btn-modern.owned.active .count {
    background: #059669;
}

/* Button icons */
.btn-store i,
.btn-delete i,
.reaction-btn-modern i {
    font-size: 1rem;
}

/* Button text */
.reaction-btn-modern .label {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive Design for Modern Hero */
@media (max-width: 768px) {
    .hero-content-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .game-cover {
        width: 168px;
        height: 237px;
        margin: 0 auto;
        transform: none;
        box-shadow: var(--shadow-xl);
    }
    
    .game-cover:hover {
        transform: translateY(-3px);
        box-shadow: 
            0 15px 30px rgba(0, 0, 0, 0.4),
            0 6px 12px rgba(0, 0, 0, 0.3);
    }
    
    .game-title-modern {
        font-size: 1.8rem;
    }
    
    .game-meta-modern {
        justify-content: center;
        gap: 1rem;
    }
    
    .game-stats-modern {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .cover-actions {
        position: static;
        opacity: 1;
        margin-top: 0.5rem;
        justify-content: center;
    }
    
    .btn-store-compact,
    .btn-delete-compact {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .reaction-buttons-modern {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .reaction-btn-modern {
        width: 200px;
        height: 40px;
        min-width: unset;
        font-size: 0.75rem;
    }
    
    .reaction-btn-modern .count {
        font-size: 0.65rem;
        padding: 1px 5px;
        min-width: 18px;
        top: -4px;
        right: -4px;
    }
    
    .community-section-early {
        margin: 1.5rem 0;
        padding: 0 0.5rem;
    }
    
    .btn-store-badge {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        margin-left: 0.3rem;
    }
    
    .btn-delete-hero {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    .hero-meta-bottom {
        bottom: 15px;
        right: 15px;
        gap: 0.3rem;
    }
    
    .hero-meta-bottom .meta-item {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        border-radius: 16px;
        border-width: 1.5px;
    }
    
    .hero-meta-bottom .meta-item i {
        font-size: 0.8rem;
    }
    
    .store-bottom {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .btn-store-main {
        min-width: 70px;
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
        height: 24px;
        border-radius: 12px;
    }
    
    .btn-store-main i {
        font-size: 0.6rem;
    }
}

/* Anciens styles supprimés pour éviter les conflits */

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

.game-description-card {
    grid-column: 1 / -1;
}

.game-description-card,
.game-specs-card,
.game-community-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.game-description-card:hover,
.game-specs-card:hover,
.game-community-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.card-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-content {
    padding: 1.5rem;
}

.description-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.personal-comment {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.comment-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.specs-grid {
    display: grid;
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.spec-item:hover {
    background: var(--bg-hover);
    transform: translateX(4px);
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-content {
    flex: 1;
}

.spec-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.spec-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.spec-value.available {
    color: #10b981;
    font-weight: 600;
}

.spec-value.unavailable {
    color: #ef4444;
    font-weight: 600;
}

.platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.platform-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.community-section {
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
}

.community-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.users-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 15px 0;
    margin: -15px 0;
}

/* Avatars dans les jeux uniquement - pas le header */
.game-users .user-avatar,
.users-avatars .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.game-users .user-avatar.interested,
.users-avatars .user-avatar.interested {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.game-users .user-avatar.owner,
.users-avatars .user-avatar.owner {
    background: linear-gradient(135deg, #10b981, #059669);
}

.game-users .user-avatar.wishlist,
.users-avatars .user-avatar.wishlist {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.game-users .user-avatar:hover,
.users-avatars .user-avatar:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.game-users .user-avatar:hover::before,
.users-avatars .user-avatar:hover::before {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 0.5rem 0.875rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    pointer-events: none;
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease forwards;
}

/* Flèche du tooltip */
.game-users .user-avatar:hover::after,
.users-avatars .user-avatar:hover::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--text-primary);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    animation: tooltipFadeIn 0.2s ease forwards;
}

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

/* ================================
   WISHLIST PAGE STYLES
   ================================ */

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

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

.wishlist-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.wishlist-game-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.wishlist-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-card:hover .wishlist-game-image img {
    transform: scale(1.05);
}

.wishlist-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 3rem;
}

.wishlist-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.wishlist-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wishlist-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.wishlist-price {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.wishlist-meta {
    margin-bottom: 1.2rem;
}

.wishlist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wishlist-type-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.wishlist-players-tag {
    background: var(--surface-color);
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.wishlist-crossplay-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.wishlist-users {
    margin-bottom: 1.2rem;
}

.wishlist-users-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.wishlist-users-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.wishlist-user {
    background: linear-gradient(135deg, #ec4899, #be185d);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.wishlist-user-more {
    background: var(--text-muted);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.wishlist-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.btn-wishlist-store {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-wishlist-store:hover {
    background: linear-gradient(135deg, #3b82f6, var(--primary-color));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.btn-wishlist-reaction {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    font-size: 1.1rem;
}

.btn-wishlist-reaction:hover {
    border-color: #ec4899;
    color: #ec4899;
    transform: translateY(-1px);
}

.btn-wishlist-reaction.active {
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-color: #ec4899;
    color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wishlist-card {
        margin: 0 1rem;
    }
    
    .wishlist-game-image {
        height: 160px;
    }
    
    .wishlist-content {
        padding: 1.2rem;
    }
}

/* ================================
   GAME DETAIL HERO CLEAN VERSION
   ================================ */

.game-hero-modern {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.btn-delete-hero {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-delete-hero:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) brightness(0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 2;
}

.hero-content-container {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: flex-start;
}

.hero-left {
    flex-shrink: 0;
}

.game-cover {
    position: relative;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cover-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.cover-placeholder {
    width: 100%;
    height: 280px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

.price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.store-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.btn-store-main {
    width: 100%;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.7rem;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-store-main:hover {
    background: #3b82f6;
    text-decoration: none;
    color: white;
    transform: translateY(-1px);
}

.hero-right {
    flex: 1;
    min-width: 0;
}

.game-info {
    color: white;
}

.game-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.game-stats-modern {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
}

.crossplay-available {
    border-left: 3px solid #10b981;
}

.crossplay-unavailable {
    border-left: 3px solid #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .game-cover {
        width: 160px;
        margin: 0 auto;
    }
    
    .cover-image {
        height: 224px;
    }
    
    .cover-placeholder {
        height: 224px;
    }
    
    .game-title-modern {
        font-size: 2rem;
    }
    
    .game-stats-modern {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
    }
}

/* Responsive Design for Game Detail Page */
@media (max-width: 768px) {
    .game-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-hero-content {
        padding: 1.5rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .game-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .reaction-buttons {
        justify-content: center;
    }
    
    .game-quick-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-header,
    .card-content {
        padding: 1rem;
    }
    
    .specs-grid {
        gap: 1rem;
    }
    
    .spec-item {
        padding: 0.75rem;
    }
    
    .users-avatars {
        gap: 0.5rem;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
}

/* Media Section (Gallery & Trailer) Styles */
.media-section {
    margin: 2rem 0;
    display: grid;
    gap: 2rem;
}

.trailer-section {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.trailer-section h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin: 0;
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trailer-container {
    padding: 1.5rem;
    background: var(--bg-secondary);
}

.trailer-container iframe,
.trailer-container video {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.gallery-section {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-section h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin: 0;
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gallery-carousel {
    padding: 1.5rem;
}

.carousel-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.carousel-track {
    position: relative;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active,
.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin-top: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
}

.carousel-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.carousel-thumbnails::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.carousel-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

.thumbnail:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

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

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-btn.prev {
    left: -80px;
}

.lightbox-btn.next {
    right: -80px;
}

/* Media Section Responsive */
@media (max-width: 768px) {
    .media-section {
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .trailer-section h2,
    .gallery-section h2 {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .trailer-container,
    .gallery-carousel {
        padding: 1rem;
    }
    
    .trailer-container iframe,
    .trailer-container video {
        height: 250px;
    }
    
    .carousel-track {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev {
        left: 0.5rem;
    }
    
    .carousel-btn.next {
        right: 0.5rem;
    }
    
    .carousel-thumbnails {
        gap: 0.5rem;
    }
    
    .thumbnail {
        width: 80px;
        height: 50px;
    }
    
    .lightbox-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .lightbox-btn.prev {
        left: -60px;
    }
    
    .lightbox-btn.next {
        right: -60px;
    }
    
    .lightbox-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .lightbox-btn.prev {
        left: 10px;
    }
    
    .lightbox-btn.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

/* Steam Auto-fill Styles */
.steam-autofill-section {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.steam-autofill-section h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.steam-url-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.steam-url-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.steam-url-input::placeholder {
    color: var(--text-muted);
}

.loading-indicator {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
}

.loading-indicator .spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Gallery inputs styling */
.gallery-input {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.gallery-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.input-with-remove {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.input-with-remove .gallery-input {
    margin-bottom: 0;
}

.remove-gallery-btn {
    padding: 0.5rem;
    min-width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: var(--border-radius-sm);
}

/* Form improvements for new fields */
.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input[type="url"],
.form-group input[type="text"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Styles pour toutes les options de select */
select option {
    background: var(--card-bg, #ffffff) !important;
    color: var(--text-primary, #2d3748) !important;
    padding: 0.5rem !important;
}

select option:hover,
select option:focus {
    background: var(--primary-color, #667eea) !important;
    color: white !important;
}

select option:checked {
    background: var(--primary-color, #667eea) !important;
    color: white !important;
}

/* Mode sombre */
[data-theme="dark"] select option {
    background: var(--card-bg, #2d3748) !important;
    color: var(--text-primary, #f7fafc) !important;
}

[data-theme="dark"] select option:hover,
[data-theme="dark"] select option:focus,
[data-theme="dark"] select option:checked {
    background: var(--primary-color, #667eea) !important;
    color: white !important;
}

/* Success and error styling improvements */
.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.success::before {
    content: "✓";
    font-weight: bold;
    font-size: 1.1rem;
}

.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.error::before {
    content: "⚠";
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steam-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .steam-autofill-section {
        padding: 1rem;
    }
    
    .input-with-remove {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .remove-gallery-btn {
        align-self: flex-end;
        width: auto;
    }
}

/* ================================
   EXTENSION PAGE DISABLED STYLES
   ================================ */

.browser-card.disabled {
    opacity: 0.5;
    background: var(--bg-secondary);
    pointer-events: none;
}

.browser-card.disabled .browser-icon {
    color: var(--text-muted);
}

.browser-card.disabled h3 {
    color: var(--text-muted);
}

.browser-card.disabled p {
    color: var(--text-muted);
}

.tab-btn.disabled {
    opacity: 0.5;
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
}

.tab-content.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.tab-content.disabled .step-item {
    opacity: 0.5;
}

.tab-content.disabled .step-number {
    background: var(--text-muted);
    color: var(--bg-primary);
}

/* Bouton désactivé spécifique */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--text-muted) !important;
    border-color: var(--text-muted) !important;
    pointer-events: none;
}

.btn:disabled:hover,
.btn[disabled]:hover {
    transform: none;
    box-shadow: none;
}

/* Jeu populaire dans le tableau */
.popular-game-row {
    background: linear-gradient(90deg, rgba(255, 138, 0, 0.1) 0%, transparent 100%);
    border-left: 3px solid #ff8a00;
}

.popular-flame {
    color: #ff8a00;
    font-size: 1.1rem;
    margin-left: 0.5rem;
    animation: flicker 2s ease-in-out infinite alternate;
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 138, 0, 0.6);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
        text-shadow: 0 0 10px rgba(255, 138, 0, 0.8);
    }
}