
:root {
    --primary-blue: #2563eb;
    --bg-black: #000000;
    --card-bg: rgba(10, 10, 10, 0.7);
    --border-color: rgba(255, 255, 255, 0.05);
}

@font-face {
    font-family: 'MiFuenteCustom';
    src: url('/fonts/fuentee.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: var(--bg-black);
    color: white;
    font-family: 'MiFuenteCustom', 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

.main-title {
    font-family: 'MiFuenteCustom', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px; 
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

.subtitle {
    font-family: 'Inter', sans-serif; 
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.7;
    font-size: 0.9rem;
}

.id-text {
    font-family: 'MiFuenteCustom', sans-serif;
    letter-spacing: 2px; 
    font-size: 1.3rem;
    color: var(--primary-blue);
}

.name-text {
    font-family: 'MiFuenteCustom', sans-serif;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links a {
    letter-spacing: 2px;
    font-size: 0.85rem;
}


.stars-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 50% 10%, #1d4ed822 0%, transparent 50%),
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 150px 150px, #2563eb, rgba(0,0,0,0));
    background-size: 100% 100%, 300px 300px, 400px 400px;
    z-index: -1;
}


.subtitle {
    font-family: 'MiFuenteCustom', sans-serif;
    letter-spacing: 5px; 
    font-size: 0.85rem;
    
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: normal; 
    margin-top: 10px;
    display: block; 
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #000000;
    display: block;
}

.stars-container { display: none; } 

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%; 
    max-width: 1100px; 
    margin: 30px auto; 
    padding: 20px 45px; 
    background: rgba(10, 10, 10, 0.85); 
    border: 1.5px solid rgba(37, 99, 235, 0.6); 
    border-radius: 100px; 
    backdrop-filter: blur(15px);
    
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    font-weight: 900;
    font-size: 1.6rem;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.nav-logo span {
    color: var(--primary-blue);
    text-shadow: 0 0 15px var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 40px; 
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1px;
}

.nav-links a.active {
    color: var(--primary-blue);
}

.nav-socials {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 25px;
    display: flex;
    gap: 22px;
}

.nav-socials a {
    color: white;
    font-size: 1.4rem;
    transition: 0.3s;
}

.nav-socials a:hover {
    color: var(--primary-blue);
    transform: scale(1.15);
}

.hero-section { text-align: center; padding: 60px 0; }
.main-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0;
}
.blue-glow {
    color: var(--primary-blue);
    text-shadow: 0 0 30px rgba(37, 99, 235, 0.8);
}
.subtitle {
    color: rgba(165, 165, 165, 0.8);
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 10px;
    font-size: 0.8rem;
}

.search-wrapper { max-width: 500px; margin: -20px auto 40px; }
.search-wrapper input {
    width: 100%; padding: 12px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px; color: white; outline: none;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.img-container {
    width: 80px; height: 60px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

.img-container img {
    max-width: 100%;
    filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.5));
}

.info { margin-left: 20px; flex-grow: 1; }
.info .id-text {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 1.1rem;
    display: block;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}
.info .name-text {
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.chevron { color: rgba(255,255,255,0.2); transition: 0.3s; }
.vehicle-card:hover .chevron { color: var(--primary-blue); transform: translateX(5px); }

.audio-toggle {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(10,10,10,0.8); border: 1px solid var(--primary-blue);
    color: white; cursor: pointer; backdrop-filter: blur(10px);
}

.vehicle-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
    box-shadow: 0 10px 30px rgba(0, 81, 255, 0.425);
}

.vehicle-card {
    display: flex !important;
    position: relative !important;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    align-items: center;
    text-decoration: none;
    cursor: pointer; 
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.6s ease, 
                border-color 0.6s ease,
                background 0.6s ease !important;
    
    will-change: transform;
}

.vehicle-card:hover {
    transform: translateY(-8px) translateX(6px) rotate(1deg) scale(1.02) !important;
    border-color: var(--primary-blue) !important;
    background: rgba(37, 99, 235, 0.08) !important;
    box-shadow: -5px 12px 25px rgba(1, 120, 255, 0.349), 
                0 0 15px rgba(0, 81, 255, 0.466) !important;
    z-index: 100 !important;
}

.vehicle-card:hover .img-container img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.8));
}

.img-container img {
    transition: all 0.5s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal {
    display: none; 
    position: fixed;
    z-index: 3000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(12px); 
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(145deg, #0f0f0f, #050505);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(37, 99, 235, 0.4); 
    width: 90%;
    max-width: 850px;
    border-radius: 24px;
    position: relative;
    color: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(37, 99, 235, 0.1);
    animation: modalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #555;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.close-modal:hover {
    color: white;
    background: rgba(235, 37, 37, 0.8);
    transform: rotate(90deg);
}

.modal-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.modal-image-side {
    text-align: center;
}

.modal-img {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.4));
    transition: transform 0.5s ease;
}

.modal-img:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
}

.modal-badge {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    padding-left: 15px;
    border-left: 3px solid var(--primary-blue);
}

.label {
    display: block;
    font-size: 0.65rem;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.value {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: #eee;
}

.value.active {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

@media (max-width: 768px) {
    .modal-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }
    .modal-title {
        font-size: 2rem;
    }
    .info-item {
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 0 0 10px 0;
    }
}

.vehicle-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
