body{
margin:0;
padding:0;
background:#0f172a;
font-family:Arial;
color:white;
}

.popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.7);
display:flex;
justify-content:center;
align-items:center;
z-index:2000;
}

.popup-box{
width:90%;
max-width:330px;
background:#1e293b;
padding:25px;
border-radius:20px;
text-align:center;
border:1px solid #334155;
}

.popup-box h2{
margin-top:0;
color:#ff2a2a;
}

.popup-box p{
font-size:15px;
line-height:1.6;
color:#ddd;
}

.popup-box button{
width:100%;
padding:14px;
margin-top:15px;
border:none;
border-radius:12px;
background:#6366f1;
color:white;
font-size:15px;
font-weight:bold;
cursor:pointer;
}

.navbar{
position:fixed;
top:0;
left:0;
width:100%;
padding:12px;
background:rgba(15,23,42,.95);
backdrop-filter:blur(10px);
z-index:1000;
border-bottom:1px solid #334155;
box-sizing:border-box;
}

.logo{
text-align:center;
font-size:34px;
font-family:'Orbitron',sans-serif;
font-weight:800;
letter-spacing:4px;
background:linear-gradient(90deg,#ff2a2a,#ffffff);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
margin-bottom:5px;
}

.credit{
text-align:center;
font-size:13px;
color:#cbd5e1;
margin-bottom:10px;
letter-spacing:1px;
}

.links{
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
margin-bottom:15px;
}

.links a{
text-decoration:none;
background:#1e293b;
padding:10px 14px;
border-radius:10px;
color:white;
font-size:13px;
border:1px solid #334155;
}

#search{
width:100%;
max-width:450px;
display:block;
margin:auto;
padding:14px;
border:none;
outline:none;
border-radius:14px;
background:#1e293b;
color:white;
font-size:15px;
border:1px solid #334155;
box-sizing:border-box;
}

.tabs{
display:flex;
gap:10px;
margin-top:15px;
}

.tabs button{
flex:1;
padding:13px;
border:none;
border-radius:12px;
background:#1e293b;
color:white;
font-weight:bold;
cursor:pointer;
}

.activeTab{
background:#6366f1 !important;
}

.main{
padding:260px 15px 20px;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:18px;
}

.card{
position:relative;
background:#1e293b;
border-radius:18px;
overflow:hidden;
border:1px solid #334155;
transition:.3s;
box-shadow:0 6px 16px rgba(0,0,0,.35);
animation:show .4s ease;
will-change:transform;
contain:content;
}

.card:hover{
transform:translateY(-5px);
}

.fav{
position:absolute;
top:12px;
right:12px;
width:40px;
height:40px;
border-radius:50%;
background:rgba(0,0,0,.7);
display:flex;
justify-content:center;
align-items:center;
font-size:20px;
z-index:5;
cursor:pointer;
}

.card img{
width:100%;
height:auto;
display:block;
}

.content-box{
padding:14px;
}

.card h2{
font-size:17px;
line-height:1.5;
margin-bottom:10px;
}

.info{
font-size:14px;
color:#cbd5e1;
margin:10px 0;
}

.date-box{
display:flex;
justify-content:space-between;
gap:10px;
flex-wrap:wrap;
}

.price{
font-size:16px;
margin-top:12px;
font-weight:bold;
}

.cut{
text-decoration:line-through;
color:#94a3b8;
margin-right:10px;
}

.free{
color:#00ff66;
font-size:22px;
}

.card button{
margin-top:15px;
width:100%;
padding:13px;
border:none;
border-radius:10px;
background:#6366f1;
color:white;
font-size:14px;
font-weight:bold;
cursor:pointer;
}

@keyframes show{

from{
opacity:0;
transform:translateY(15px);
}

to{
opacity:1;
transform:translateY(0);
}

}

@media(max-width:600px){

.logo{
font-size:26px;
}

.credit{
font-size:11px;
}

.main{
grid-template-columns:1fr;
padding:300px 12px 20px;
gap:15px;
}

.links{
flex-direction:column;
}

}

