* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #0b1120;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #080d1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-name {
    color: #ef4444;
    font-weight: 800;
    font-size: 18px;
}

.back-btn {
    background-color: #991b1b;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background-color: #dc2626;
}

.main-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.mars-card {
    background-color: #111827;
    border-radius: 20px;
    max-width: 850px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    padding: 35px 20px;
    text-align: center;
}

.project-tag {
    background-color: rgba(0, 0, 0, 0.25);
    color: #fca5a5;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card-header h1 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 6px;
}

.card-header .subtitle {
    color: #fca5a5;
    font-size: 14px;
    font-weight: 600;
}

.card-content {
    padding: 30px;
}

.description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 25px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.info-box {
    background-color: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.info-title {
    color: #fca5a5;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-desc {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.4;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-footer {
    background-color: #0d1322;
    text-align: center;
    padding: 15px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 650px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .top-header {
        padding: 15px 20px;
    }
}