:root { --primary-color: #35903e; --dark-text: #2F3542; --light-text: #5A616B; --tier-c-bg: linear-gradient(145deg, #f8f9fa, #e9ecef); --tier-b-bg: linear-gradient(145deg, #28a745, #218838); --tier-a-bg: linear-gradient(145deg, #9b59b6, #8e44ad); --tier-s-bg: linear-gradient(145deg, #FFC312, #F79F1F); } .vehicle-database-container.fifa-style, .vehicle-database-container.fifa-style * { box-sizing: border-box; font-family: 'Inter', sans-serif; margin: 0; padding: 0; } .vehicle-database-container.fifa-style { width: 100%; padding: 20px 0; position: relative; } .filters-container { margin-bottom: 40px; padding: 24px; background: #FFFFFF; border-radius: 16px; border: 1px solid #EAEAEA; box-shadow: 0 8px 30px rgba(0,0,0,0.07); } .filter-title { font-size: 20px; font-weight: 700; color: var(--dark-text); margin-bottom: 20px; text-align: center; } .filter-controls { display: flex; flex-direction: column; gap: 20px; } .filter-group { width: 100%; } .filter-group label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 8px; color: #2F3542; } .filter-group select, .sort-button, .reset-button { width: 100%; padding: 12px 16px; border: 2px solid #EAEAEA; border-radius: 12px; background-color: #F9F9F9; font-size: 16px; font-weight: 500; cursor: pointer; transition: border-color 0.3s ease, box-shadow 0.3s ease; text-align: left; color: var(--dark-text); } .filter-group select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232F3542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 1em; } .filter-group select:focus, .sort-button:focus, .reset-button:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(53, 144, 62, 0.1); } .sort-button { display: flex; justify-content: space-between; align-items: center; } .sort-button .sort-icon { transition: transform 0.3s ease; } .sort-button.desc .sort-icon { transform: rotate(180deg); } .reset-button { background-color: #6c757d; border-color: #6c757d; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; transition: background-color 0.3s ease, transform 0.2s ease; } .reset-button:hover { background-color: #5a6268; border-color: #5a6268; } .reset-button:active { transform: scale(0.98); } .reset-button svg { width: 16px; height: 16px; } @media (min-width: 992px) { .filter-title { text-align: left; } .filter-controls { display: grid; grid-template-columns: repeat(5, 1fr); align-items: flex-end; } } .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 30px; } .no-results { text-align: center; padding: 50px; font-size: 18px; color: #5A616B; display: none; } .card-scene { background-color: transparent; perspective: 1500px; display: block; transition: transform 0.3s ease; } .card-scene:hover { transform: translateY(-5px); } .card-scene.hidden { display: none; } .card-flipper { position: relative; width: 100%; height: 100%; transition: transform 0.8s; transform-style: preserve-3d; cursor: pointer; will-change: transform; } .card-scene.is-flipped .card-flipper { transform: rotateY(180deg); } .card-face { width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); color: #FFFFFF; --border-color-alpha: rgba(255, 255, 255, 0.2); --stat-label-color-alpha: rgba(255, 255, 255, 0.7); transform: translateZ(0); } .card-face-front { padding: 12px; } .card-face-back { position: absolute; top: 0; left: 0; transform: rotateY(180deg); padding: 20px; justify-content: space-between; } .card-face.tier-c { background: var(--tier-c-bg); color: var(--dark-text); --border-color-alpha: rgba(0,0,0,0.1); --stat-label-color-alpha: #5A616B;} .card-face.tier-b { background: var(--tier-b-bg); } .card-face.tier-a { background: var(--tier-a-bg); } .card-face.tier-s { background: var(--tier-s-bg); } .card-face::before { content: ''; position: absolute; top: 0; left: -150%; width: 70%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-30deg); transition: left 0.7s ease-in-out; z-index: 5; } .card-scene:hover .card-face::before { left: 150%; } .card-header { text-align: center; padding: 8px; position: relative; z-index: 2; height: 38px; } .brand-text { font-size: 24px; font-weight: 900; text-transform: uppercase; color: inherit; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); } .tier-c .brand-text { text-shadow: none; } .card-image { margin: -20px 0; position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; } .card-image img { max-width: 100%; height: 180px; object-fit: contain; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4)); } .card-name { text-align: center; font-size: 22px; font-weight: 700; padding-bottom: 8px; text-transform: uppercase; border-top: 1px solid var(--border-color-alpha); margin: 10px 0 0 0; padding-top: 8px; position: relative; z-index: 2; } .card-slogan { text-align: center; font-size: 13px; font-style: italic; padding: 0 8px 8px 8px; position: relative; z-index: 2; color: var(--stat-label-color-alpha); min-height: 36px; } .card-tier { text-align: center; padding: 8px; border-top: 1px solid var(--border-color-alpha); border-bottom: 1px solid var(--border-color-alpha); margin-bottom: 8px; } .card-tier-text { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .card-tier-text strong { font-weight: 800; } .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; padding: 8px; position: relative; z-index: 2; flex-grow: 1; } .stat-item { text-align: center; } .stat-item .value { font-size: 22px; font-weight: 800; line-height: 1.1; } .stat-item .label { font-size: 11px; font-weight: 600; color: var(--stat-label-color-alpha); text-transform: uppercase; margin-top: 2px; } .card-colors { padding: 8px; margin-top: 12px; border-top: 1px solid var(--border-color-alpha); position: relative; z-index: 2; min-height: 48px; display: flex; align-items: center; justify-content: center; } .color-swatches { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; } .color-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0,0,0,0.2); } .card-face:not(.tier-c) .color-swatch { border-color: rgba(255, 255, 255, 0.6); } .card-details-title { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 15px; border-bottom: 2px solid var(--border-color-alpha); padding-bottom: 10px;} .card-details-list { list-style: none; padding: 0; text-align: left; flex-grow: 1; font-size: 14px; } .card-details-list li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color-alpha); } .card-details-list li:last-child { border-bottom: none; } .card-details-list strong { font-weight: 700; display: block; margin-bottom: 4px; color: var(--stat-label-color-alpha); text-transform: uppercase; font-size: 11px; } .details-button { display: block; width: 100%; padding: 18px; font-size: 16px; text-align: center; background-color: rgba(255, 255, 255, 0.2); color: #FFF; border-radius: 10px; text-decoration: none; font-weight: 800; transition: background-color 0.3s, transform 0.2s ease; margin-top: auto; cursor: pointer; } .details-button:active { transform: scale(0.98); } .tier-c .details-button { background-color: var(--primary-color); color: #FFF; } .details-button:hover { background-color: rgba(255, 255, 255, 0.4); } .tier-c .details-button:hover { background-color: #218838; } .db-loader { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.8); z-index: 10; display: flex; align-items: center; justify-content: center; transition: opacity 0.4s ease, visibility 0.4s ease; opacity: 1; visibility: visible; } .db-loader.hidden { opacity: 0; visibility: hidden; } .spinner { width: 50px; height: 50px; border: 5px solid #f3f3f3; border-top: 5px solid var(--primary-color); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .vehicle-database-container.fifa-style .compare-toggle-btn { position: absolute; top: 8px; right: 8px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background-color: rgba(0,0,0,0.4); color: white; border: 2px solid white; font-size: 32px; font-weight: 300; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; } .vehicle-database-container.fifa-style .compare-toggle-btn:hover { background-color: rgba(0,0,0,0.6); transform: scale(1.1); } .vehicle-database-container.fifa-style .card-scene.is-selected .compare-toggle-btn { background-color: var(--primary-color); border-color: white; } .vehicle-database-container.fifa-style .comparison-bar { position: fixed; bottom: -150px; left: 0; right: 0; z-index: 10000; background: #2F3542; padding: 15px; box-shadow: 0 -5px 20px rgba(0,0,0,0.2); transition: bottom 0.4s ease-in-out; } .vehicle-database-container.fifa-style .comparison-bar.visible { bottom: 0; } .vehicle-database-container.fifa-style .comparison-bar-inner { max-width: 800px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; } .vehicle-database-container.fifa-style .comparison-slots { display: flex; gap: 15px; flex-grow: 1; } .vehicle-database-container.fifa-style .comparison-slot { flex: 1; background: #4A5568; border-radius: 8px; padding: 10px; display: flex; align-items: center; gap: 10px; color: white; font-size: 14px; min-height: 60px; } .vehicle-database-container.fifa-style .comparison-slot img { width: 40px; height: 40px; object-fit: contain; border-radius: 4px; } .vehicle-database-container.fifa-style .comparison-slot-placeholder { color: #718096; } .vehicle-database-container.fifa-style .comparison-actions button { padding: 10px 15px; border-radius: 8px; border: none; font-weight: 700; cursor: pointer; transition: all 0.2s ease; } .vehicle-database-container.fifa-style .compare-now-btn { background-color: var(--primary-color); color: white; } .vehicle-database-container.fifa-style .compare-now-btn:disabled { background-color: #5A616B; cursor: not-allowed; } .vehicle-database-container.fifa-style .compare-clear-btn { background-color: transparent; color: #a0aec0; border: 1px solid #a0aec0; } .vehicle-database-container.fifa-style .compare-clear-btn:hover { background-color: #a0aec0; color: #2F3542; } .vehicle-database-container.fifa-style .comparison-modal { position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; backdrop-filter: blur(5px); } .vehicle-database-container.fifa-style .comparison-modal.visible { opacity: 1; visibility: visible; } .vehicle-database-container.fifa-style .comparison-content { background: white; border-radius: 16px; width: 90%; max-width: 900px; max-height: 90vh; overflow-y: auto; padding: 30px; position: relative; } .vehicle-database-container.fifa-style .comparison-close-btn { position: absolute; top: 15px; right: 15px; background: transparent; border: none; font-size: 24px; cursor: pointer; color: #718096; } .vehicle-database-container.fifa-style .comparison-table { width: 100%; border-collapse: collapse; margin-top: 20px; } .vehicle-database-container.fifa-style .comparison-table th, .vehicle-database-container.fifa-style .comparison-table td { padding: 12px; text-align: center; border-bottom: 1px solid #EAEAEA; } .vehicle-database-container.fifa-style .comparison-table th { font-weight: 800; font-size: 18px; } .vehicle-database-container.fifa-style .comparison-table td:first-child { text-align: left; font-weight: 700; color: var(--light-text); } .vehicle-database-container.fifa-style .comparison-table .compare-winner { color: var(--primary-color); font-weight: 800; } .vehicle-database-container.fifa-style .comparison-table .compare-winner::after { content: '🏆'; margin-left: 5px; }