/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #390099, #9E0059, #FF0054);
    color: white;
    min-height: 100vh;
}

/* =========================
   NAVBAR
========================= */
nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;

    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo,
nav h1,
nav a {
    color: white;
    text-decoration: none;

    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 800;

    transition: 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    margin-left: 0;
}

nav a:hover {
    color: #FF5400;
    transform: translateY(-1px);
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 100%;
    min-height: calc(100vh - 90px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 40px 20px;
}

/* =========================
   CARD DESIGN
========================= */
.card {
    width: 100%;
    max-width: 450px;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;

    padding: 40px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.25);

    animation: fadeIn 0.8s ease;
}

.card h1{
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: 800;
}
.card h2 {
    font-size: 34px;
    margin-bottom: 20px;
    font-weight: 800;
}

.card p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* =========================
   LIST
========================= */
.card ul {
    list-style: none;
    margin-top: 20px;
}

.card ul li {
    margin-bottom: 14px;
    padding-left: 30px;
    position: relative;
    font-size: 17px;
}

.card ul li::before {
    content: "🚀";
    position: absolute;
    left: 0;
}

/* =========================
   INPUTS
========================= */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 14px;

    border: none;
    outline: none;
    border-radius: 12px;

    background: rgba(255,255,255,0.2);
    color: white;

    font-size: 16px;
    font-family: 'Nunito', sans-serif;
}

.input-group input::placeholder {
    color: rgba(255,255,255,0.7);
}

/* =========================
   BUTTONS
========================= */
.btn {
    width: 100%;

    display: inline-block;

    padding: 14px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(135deg, #FF5400, #FFBD00);

    color: white;

    font-size: 17px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;

    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* =========================
   LINKS
========================= */
.link {
    color: #ff0054;
    text-decoration: none;
    font-weight: 700;
}

.link:hover {
    text-decoration: underline;
}

/* =========================
   TINDER STYLE SWIPE BUTTON
========================= */
.tinder-btn-container {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 40px;
}

.tinder-btn {
    padding: 16px 42px;

    border-radius: 999px;

    background: linear-gradient(135deg, #ff0054, #FF5400);

    color: white;

    text-decoration: none;

    font-family: 'Nunito', sans-serif;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 0.5px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        0 0 25px rgba(255,84,0,0.35);

    transition: all 0.25s ease;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 10px;
}

.tinder-btn:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.3),
        0 0 35px rgba(255,84,0,0.45);
}

.tinder-btn:active {
    transform: scale(0.98);
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

/* =========================
   RESPONSIVE DESIGN
========================= */
@media(max-width: 768px) {

    nav {
        padding: 18px 20px;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    .logo,
    nav h1,
    nav a {
        font-size: 18px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .container {
        min-height: auto;
        padding: 35px 18px;
    }

    .card {
        max-width: 100%;
        padding: 28px;
        border-radius: 22px;
    }

    .card h1 {
        text-align: center;
        font-size: 30px;
        justify-content: center;
        align-items: center;
    }
    .card h2 {
        font-size: 28px;
    }

    .card p,
    .card ul li {
        font-size: 16px;
    }

    .tinder-btn {
        padding: 15px 34px;
        font-size: 18px;
    }
}

@media(max-width: 480px) {

    nav {
        padding: 16px;
    }

    .logo,
    nav h1,
    nav a {
        font-size: 16px;
    }

    .nav-links {
        gap: 12px;
    }

    .card {
        padding: 24px;
    }

    .card h1,
    .card h2 {
        font-size: 25px;
    }

    .tinder-btn {
        width: 100%;
        max-width: 260px;

        padding: 14px 24px;

        font-size: 17px;
        text-align: center;
    }
}
img {
    width: 50px;
    height: auto;
    border-radius: 1px;
}

/* =========================
   ACCOUNT BUTTON
========================= */
.account-btn-container {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 40px;
}

.account-btn {
    padding: 16px 42px;

    border-radius: 22px;

    background:  rgba(255,255,255,0.12);

    color: white;

    text-decoration: none;

    font-family: 'Nunito', sans-serif;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 0.5px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        0 0 25px rgba(255,84,0,0.35);

    transition: all 0.25s ease;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 10px;
}

.account-btn:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.3),
        0 0 35px rgba(255,84,0,0.45);
}

.account-btn:active {
    transform: scale(0.98);
}


/* =========================
   SMALL BUTTONS
========================= */
.small-btn-container {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 30px;
}

.small-btn {
    padding: 10px 30px;

    border-radius: 999px;

    background:  rgba(255,255,255,0.12);

    color: white;

    text-decoration: none;

    font-family: 'Nunito', sans-serif;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 0.5px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        0 0 25px rgba(255,84,0,0.35);

    transition: all 0.25s ease;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.small-btn:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.3),
        0 0 35px rgba(255,84,0,0.45);
}

.small-btn:active {
    transform: scale(0.98);
}

/* =========================
   SWIPE MODE
========================= */

.swipe-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
}

#cardStack{
    position:relative;
    width:420px;
    height:620px;
}

.swipe-card{
    position:absolute;

    width:100%;
    height:100%;

    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,0.2);
    border-radius:24px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,0.25);

    transition:0.4s ease;
}

.swipe-card img{
    width:100%;
    height:340px;
    object-fit:cover;

    border-radius:0;
}

.card-info{
    padding:25px;
    color:white;
}

.card-info h2{
    font-size:30px;
    font-weight:800;
    margin-bottom:10px;
}

.card-info p{
    font-size:17px;
    margin-bottom:10px;
    color:white;
}

.swipe-buttons{
    display:flex;
    justify-content:center;
    gap:35px;
    margin-top:30px;
}

.swipe-action{
    width:80px;
    height:80px;

    border:none;
    border-radius:50%;

    cursor:pointer;

    font-size:30px;

    color:white;

    transition:all .25s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        0 0 25px rgba(255,84,0,0.35);
}

.swipe-action:hover{
    transform:translateY(-3px) scale(1.08);
}

.swipe-action.like{
    background:linear-gradient(
        135deg,
        #00C853,
        #69F0AE
    );
}

.swipe-action.dislike{
    background:linear-gradient(
        135deg,
        #FF0054,
        #FF5400
    );
}

.swipe-right{
    transform:
        translateX(800px)
        rotate(30deg);

    opacity:0;
}

.swipe-left{
    transform:
        translateX(-800px)
        rotate(-30deg);

    opacity:0;
}

.swipe-indicator{
    position:absolute;

    top:40px;

    padding:10px 20px;

    font-size:26px;
    font-weight:800;

    border:4px solid;

    border-radius:12px;

    opacity:0;

    transition:0.2s ease;
}

.swipe-card:hover .swipe-indicator{
    opacity:.35;
}

.swipe-indicator.like{
    right:20px;

    color:#69F0AE;
    border-color:#69F0AE;
}

.swipe-indicator.nope{
    left:20px;

    color:#FF5400;
    border-color:#FF5400;
}

.finished{
    text-align:center;

    font-size:26px;
    font-weight:800;

    color:white;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    #cardStack{
        width:340px;
        height:560px;
    }

    .swipe-card img{
        height:280px;
    }

    .card-info h2{
        font-size:24px;
    }

    .swipe-action{
        width:70px;
        height:70px;
        font-size:26px;
    }
}

@media(max-width:480px){

    #cardStack{
        width:300px;
        height:520px;
    }

    .swipe-card img{
        height:240px;
    }

    .card-info{
        padding:18px;
    }

    .card-info h2{
        font-size:22px;
    }

    .card-info p{
        font-size:15px;
    }
}

/* =========================
   WISHLIST / CATALOG
========================= */

.catalog{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
    gap:20px;
    margin-top:25px;
}

.catalog-item{
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,0.2);
    border-radius:18px;

    padding:15px;

    cursor:pointer;

    transition:0.25s ease;

    text-align:center;
}

.catalog-item:hover{
    transform:translateY(-5px) scale(1.03);
}

.catalog-item img{
    width:100%;
    height:120px;
    object-fit:cover;

    border-radius:12px;
    margin-bottom:10px;
}

.catalog-item h3{
    font-size:16px;
    font-weight:800;
}

/* =========================
   MODAL
========================= */

.modal{
    display:none;
    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.6);

    justify-content:center;
    align-items:center;

    z-index:9999;
}

.modal-content{
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,0.2);
    border-radius:20px;

    padding:25px;

    width:350px;

    color:white;

    text-align:center;
}

.modal-content img{
    width:100%;
    height:180px;
    object-fit:cover;

    border-radius:12px;
    margin-bottom:15px;
}

.close{
    float:right;
    font-size:24px;
    cursor:pointer;
}

.request-box{
    background:rgba(255,255,255,.1);
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
}

.request-box h3{
    margin-bottom:10px;
}

.request-box p{
    margin-bottom:8px;
}

.catalog{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
    margin-top:25px;
}

.catalog-item{
    background:rgba(255,255,255,0.12);
    border-radius:20px;
    overflow:hidden;
    cursor:pointer;
    transition:.25s;
}

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

.catalog-item img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.catalog-item h3{
    padding:15px;
    text-align:center;
}

@media(max-width:900px){

    .catalog{
        grid-template-columns:repeat(2, 1fr);
    }

}

@media(max-width:600px){

    .catalog{
        grid-template-columns:1fr;
    }

}

.garage{
    max-width: 1100px;
    margin: 0 auto;
}

.garage-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.garage-card{
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.2s;
}

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

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

.garage-info{
    padding: 12px;
}

.status{
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.status.available{
    background: #2ecc71;
    color: #000;
}

.status.hidden{
    background: #f39c12;
    color: #000;
}

.btn{
    width: 100%;
    padding: 10px;
    border: none;
    background: #222;
    color: white;
    cursor: pointer;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.btn:hover{
    background: #333;
}