@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

.careers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.job-listings {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.job-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #0f0;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.job-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.1),
        rgba(0, 255, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    border-color: #f0f;
}

.job-title {
    color: #f0f;
    font-size: 24px;
    margin-bottom: 10px;
    font-family: "Press Start 2P", cursive;
    text-shadow: 2px 2px 0 #0ff;
    position: relative;
    display: inline-block;
}

.job-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0f0, #f0f, #0ff);
    animation: scanline 2s linear infinite;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.job-location {
    color: #0f0;
    font-size: 18px;
    margin-bottom: 15px;
    font-family: "VT323", monospace;
    text-shadow: 0 0 5px #0f0;
}

.job-description {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: "VT323", monospace;
    flex-grow: 1;
}

.apply-btn {
    display: inline-block;
    background: #000;
    color: #0f0;
    border: 2px solid #0f0;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 16px;
    font-family: "Press Start 2P", cursive;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px #0f0;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    align-self: flex-start;
    margin-top: auto;
}

.apply-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 0, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.apply-btn:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 20px #0f0;
    transform: scale(1.05);
    text-shadow: none;
}

.apply-btn:hover::before {
    animation: shine 1s infinite;
}

/* Responsive Design */
@media screen and (min-width: 768px) {
    .job-listings {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-title {
        font-size: 28px;
    }

    .job-location {
        font-size: 20px;
    }

    .job-description {
        font-size: 18px;
    }

    .apply-btn {
        font-size: 18px;
        padding: 12px 24px;
    }

}

@media screen and (min-width: 992px) {
    .job-listings {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .careers-container {
        padding: 10px;
    }

    .job-card {
        padding: 15px;
    }

    .job-title {
        font-size: 20px;
    }

    .job-location {
        font-size: 16px;
    }

    .job-description {
        font-size: 14px;
    }

    .apply-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}
}