/* =========================
   CAR FINDER ULTIMATE
   BASE STYLE
========================= */


*{
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}



body{

    margin:0;

    background:
    linear-gradient(
        135deg,
        #111,
        #222,
        #0a0a0a
    );

    color:white;

    min-height:100vh;

}






/* HEADER */


.hero{

    text-align:center;

    padding:40px 20px;

    background:
    linear-gradient(
        90deg,
        #111,
        #333,
        #111
    );

    border-bottom:3px solid #d4af37;

}



.hero h1{

    font-size:45px;

    margin:10px;

}



.hero p{

    font-size:18px;

    color:#ddd;

}









/* MAIN */


main{

    width:90%;

    max-width:1200px;

    margin:auto;

    padding:30px;

}









/* CARDS */


.card{

    background:

    rgba(255,255,255,0.08);


    border-radius:20px;


    padding:30px;


    margin:25px auto;


    border:2px solid #555;


    box-shadow:

    0 10px 30px rgba(0,0,0,0.5);


}










/* HIDDEN */


.hidden{

    display:none;

}










/* CATEGORY BUTTON AREA */


.categories{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(220px,1fr));


    gap:20px;

}










button{


    background:

    linear-gradient(
        135deg,
        #333,
        #111
    );


    color:white;


    border:2px solid #777;


    padding:18px;


    border-radius:15px;


    cursor:pointer;


    font-size:17px;


    transition:0.3s;


}






button:hover{


    transform:translateY(-5px);


    border-color:#d4af37;


    box-shadow:

    0 0 20px #d4af37;


}







button:active{


    transform:scale(.95);


}









/* QUESTIONS */


.question{

    margin:35px 0;

    text-align:center;

}





.question h3{

    font-size:25px;

}







.question button{

    margin:8px;

}










/* SLIDERS */


input[type="range"]{


    width:80%;


    height:10px;


    cursor:pointer;


}









/* RESULTS IMAGE */


#finalCarImage,
#resultImage{


    width:90%;


    max-width:700px;


    border-radius:20px;


    margin:20px;


    border:3px solid #d4af37;


}







ul{

    text-align:left;

    max-width:600px;

    margin:auto;

}



li{

    margin:12px;

    font-size:18px;

}








/* LINKS */


.links{


    display:flex;


    justify-content:center;


    gap:20px;


    flex-wrap:wrap;


}









a{

    text-decoration:none;

}









/* MOBILE */


@media(max-width:700px){


.hero h1{

    font-size:32px;

}



main{

    width:100%;

    padding:10px;

}



.card{

    padding:20px;

}


}

/* =========================
   CATEGORY THEMES
========================= */


/* FIRST CAR */

.first-theme{

    background:
    linear-gradient(
        135deg,
        #8b5a2b,
        #3b1f0b
    );

    border-color:#ffcc33;

}







/* SECOND CAR */

.second-theme{

    background:

    linear-gradient(
        135deg,
        #111,
        #333,
        #050505
    );


    border-color:#aaa;

}








/* LUXURY */

.luxury-theme{


    background:

    linear-gradient(
        135deg,
        #111,
        #4b3a00
    );


    border-color:#ffd700;


}








/* SUPERCAR */


.supercar-theme{


    background:

    linear-gradient(
        135deg,
        #330000,
        #990000,
        #111
    );


    border-color:#ff3333;


}









/* DREAM */


.dream-theme{


    background:

    linear-gradient(
        135deg,
        #16002b,
        #4b0082,
        #111
    );


    border-color:#e6ccff;


}









/* CATEGORY TITLE */


.category-title{


    text-align:center;


    font-size:35px;


    margin-bottom:20px;


}









/* PREMIUM CAR BOX */


.car-box{


    border-radius:25px;


    padding:25px;


    background:

    rgba(0,0,0,.5);


    border:2px solid white;


    transition:.4s;


}






.car-box:hover{


    transform:scale(1.03);


}










/* GOLD TEXT */


.gold{


    color:#ffd700;


}









/* CAR PRICE */


.price{


    font-size:25px;


    color:#00ff88;


    font-weight:bold;


}









/* MATCH SCORE */


.score{


    font-size:40px;


    text-align:center;


    color:#ffd700;


    animation:pulse 2s infinite;


}








@keyframes pulse{


0%{

transform:scale(1);

}


50%{

transform:scale(1.08);

}


100%{

transform:scale(1);

}


}










/* IMAGE HOVER */


#finalCarImage:hover{


    transform:scale(1.03);


    transition:.3s;


}








/* MOD CARDS */


.mod-card{


    background:

    rgba(255,255,255,.1);


    padding:15px;


    border-radius:15px;


    margin:10px;


    border-left:5px solid #d4af37;


}










/* BUTTON COLORS */


.category-button{


    min-height:180px;


}






.category-button:hover{


    background:

    linear-gradient(
        135deg,
        #444,
        #111
    );


}

/* =========================
   ADVANCED CAR APP STYLE
========================= */



/* GLASS EFFECT */


.glass{


    background:

    rgba(255,255,255,0.12);


    backdrop-filter:blur(10px);


    border-radius:25px;


}









/* RESULT CARD */


#finalResults{


    text-align:center;


    animation:slideUp .6s ease;


}







@keyframes slideUp{


from{

opacity:0;

transform:translateY(50px);

}


to{

opacity:1;

transform:translateY(0);

}


}









/* CAR NAME */


#finalCarName{


    font-size:45px;


    color:#ffd700;


    text-shadow:

    0 0 15px black;


}








/* CAR DESCRIPTION */


.description{


    font-size:20px;


    line-height:1.6;


    color:#ddd;


}









/* MOD SECTIONS */


#bodyMods,
#performanceMods,
#soundMods,
#styleMods{


    display:grid;


    grid-template-columns:

    repeat(auto-fit,minmax(220px,1fr));


    gap:15px;


    padding:20px;


}









#bodyMods li,
#performanceMods li,
#soundMods li,
#styleMods li{


    list-style:none;


    background:

    rgba(255,255,255,.08);


    padding:20px;


    border-radius:15px;


    border:1px solid #777;


    transition:.3s;


}







#bodyMods li:hover,
#performanceMods li:hover,
#soundMods li:hover,
#styleMods li:hover{


    transform:translateY(-5px);


    border-color:#ffd700;


}









/* RANGE SLIDER */


input[type="range"]{


    appearance:none;


    background:#333;


    border-radius:20px;


}



input[type="range"]::-webkit-slider-thumb{


    appearance:none;


    width:25px;


    height:25px;


    border-radius:50%;


    background:#ffd700;


    cursor:pointer;


}









/* QUESTION TRANSITIONS */


.question{


    animation:fade .5s ease;


}



@keyframes fade{


from{

opacity:0;

}


to{

opacity:1;

}


}










/* BIG ACTION BUTTON */


.find-button{


    width:80%;


    max-width:400px;


    font-size:25px;


    padding:20px;


    margin:30px;


    background:


    linear-gradient(
        135deg,
        #d4af37,
        #8b6508
    );


    color:black;


    font-weight:bold;


}








.find-button:hover{


    box-shadow:

    0 0 30px gold;


}









/* DEAL BUTTON */


.links button{


    background:

    linear-gradient(
        135deg,
        #006400,
        #00aa44
    );


}








/* REDO BUTTON */


button:last-child{


    margin-top:15px;


}








/* SMOOTH PAGE */


html{


    scroll-behavior:smooth;


}

/* =========================
   FINAL VISUAL POLISH
========================= */



/* CARBON BACKGROUND */


body{


background-color:#111;


background-image:


linear-gradient(
45deg,
rgba(255,255,255,.03) 25%,
transparent 25%
),


linear-gradient(
-45deg,
rgba(255,255,255,.03) 25%,
transparent 25%
),


linear-gradient(
45deg,
transparent 75%,
rgba(255,255,255,.03) 75%
),


linear-gradient(
-45deg,
transparent 75%,
rgba(255,255,255,.03) 75%
);


background-size:40px 40px;


}









/* CATEGORY CARDS */


.categories button{


min-height:220px;


display:flex;


flex-direction:column;


justify-content:center;


align-items:center;


}


.categories button h3{


font-size:28px;


margin:10px;


}


.categories button p{


font-size:18px;


color:#ddd;


}








/* EMOJI ICON SIZE */


.categories button:first-letter{


font-size:40px;


}









/* PREMIUM BORDER ANIMATION */


.card{


position:relative;


overflow:hidden;


}



.card::before{


content:"";


position:absolute;


top:0;


left:-100%;


width:100%;


height:3px;


background:#ffd700;


transition:.5s;


}



.card:hover::before{


left:100%;


}









/* IMAGE FRAME */


#finalCarImage{


padding:10px;


background:#000;


box-shadow:


0 0 40px rgba(0,0,0,.8);


transition:.4s;


}








#finalCarImage:hover{


box-shadow:


0 0 40px #ffd700;


}









/* QUIZ BUTTON GROUP */


.question{


background:


rgba(0,0,0,.25);


padding:20px;


border-radius:20px;


border:1px solid rgba(255,255,255,.15);


}









/* SELECTED BUTTON EFFECT */


.selected{


background:#ffd700 !important;


color:black !important;


border-color:white;


transform:scale(1.05);


}









/* FOOTER STYLE IF ADDED */


footer{


text-align:center;


padding:30px;


color:#aaa;


}









/* TABLET */


@media(max-width:900px){


.categories{


grid-template-columns:

repeat(2,1fr);


}


}









/* PHONE */


@media(max-width:600px){


.categories{


grid-template-columns:1fr;


}



.hero h1{


font-size:30px;


}



button{


width:100%;


margin:8px 0;


}


.question h3{


font-size:20px;


}



#finalCarName{


font-size:32px;


}


}