body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

:root {
    --primary-color: #6fbeff;
    --secondary-color: #000;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    perspective: 1000px;
    position: relative;
    z-index: 10;
}

.card {
    width: 600px;
    height: 826px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    
    transition: transform 0.6s;
    transform-style: preserve-3d;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: translateY(-100%);
    transition: transform 0.6s;
}

.card-image {
    width: 100%;
    height: 560px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 1s ease-in-out;
}

.card-content {
    padding: 20px;
    transform-style: preserve-3d;
}

.card-title {
    font-size: 40px;
    margin-bottom: 0px;
    transform: translateZ(50px);
    font-family: Poppins, sans-serif;
    font-weight: 700;
    background-image: linear-gradient( 135deg, #5EFCE8 10%, #736EFE 100%);    
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3))
}

.card-description {
    font-size: 28px;
    margin-bottom: 20px;
    transform: translateZ(30px);
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    margin-top: 4px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  

}

.card-image {
    width: 100%;
    height: 560px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 20px;
    transform: translateZ(70px);
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%; /* Adjust this value to control the height of the gradient */
    background-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.0));
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    transition: filter 1s ease;
}
.card-image:hover::before {
    filter: grayscale(100%);
}

.card-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    z-index: 1;
    font-family: "Nunito", sans-serif;
    font-style: italic;
    font-weight: 800;
    color: hsl(0, 0%, 85%);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.chains {
    position: absolute;
    background-image: url('media/LockRes.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    z-index: 2; /* Ensures it's above the gradient overlays */
}


.card-actions {
    display: flex;
    justify-content: space-between;
    transform: translateZ(40px);
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn:hover {
    transform: scale(1.05) translateZ(5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

#custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
}

.cursor-content {
    transform-style: preserve-3d;
    opacity: 0.85;
}

#custom-cursor img {
    display: block;
    width: 24px;
    height: 24px;
}

  
  .hidden {
    display: none;
  }


@media (max-width: 500px) {
    .card {
        width: 90%;
        height: 65%;
    }
    .card-image{
        height: 80vw;
    }
    .card-text{
        font-size: 16px;
    }
}
@media (max-width: 425px) {
    .card {
        width: 90%;
        height: 70%;
    }
    .card-image{
        height: 80vw;
    }
    .card-text{
        font-size: 16px;
    }
    .card-title{
        font-size: 36px;
    }

    .card-description{
        font-size: 20px;
    }
}
@media (max-width: 400px) {
    .card {
        width: 90%;
        height: 65%;
    }
    .card-image{
        height: 80vw;
    }
    .card-text{
        font-size: 16px;
    }
    .card-title{
        font-size: 36px;
    }

    .card-description{
        font-size: 20px;
    }
}

@media (max-width: 390px) {
    .card {
        height: 80%;
    }
}
@media (max-width: 360px) {
    .card {
        height: 80%;
    }
}

@media (max-width: 350px) {
    .card {
        width: 90%;
        height: 55%;
    }
    .card-image{
        height: 80vw;
    }

    .card-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        transform: translateZ(40px);
    }
    .btn {
        margin-bottom: 12px;
    }

    .card-title{
        font-size: 36px;
    }
    .card-description{
        font-size: 18px;
    }

}


@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-BoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}