:root {
    --primary: #FF5722;
    --secondary: #4CAF50;
    --accent: #FFEB3B;
    --dark: #333;
    --light: #F9F9F9;
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Segoe UI', sans-serif;
}

body {
    background-color: #E3F2FD;
    color: var(--dark);
    height: 100vh;
    overflow: hidden;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

header {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

nav {
    display: flex;
    gap: 5px;
}

.nav-btn {
    flex: 1;
    padding: 10px 5px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
}

.nav-btn.active {
    background: white;
    color: var(--primary);
}

main {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

.card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: 3px solid #eee;
}

h2 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.4;
}

.car-viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ddd;
    margin-bottom: 15px;
}

.car-viewer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 235, 59, 0.6);
    border: 3px solid var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 10px rgba(255, 235, 59, 0); }
    100% { transform: translate(-50%, -50%) scale(0.9); box-shadow: 0 0 0 0 rgba(255, 235, 59, 0); }
}

.feedback-area {
    padding: 15px;
    background: #fff;
    border-left: 5px solid var(--primary);
    border-radius: 4px;
    min-height: 80px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.checklist {
    list-style: none;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.check-item:active {
    background: #e8f5e9;
}

.check-item input {
    width: 24px;
    height: 24px;
    accent-color: var(--secondary);
}

.check-item label {
    flex: 1;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.score-display {
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: bold;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.car-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #eee;
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-card h3 {
    padding: 10px;
    text-align: center;
    font-size: 1rem;
}

footer {
    background: #f1f1f1;
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* Icons styling */
[data-lucide] {
    width: 1.2em;
    height: 1.2em;
}