/* ==========================================
   ESTRUTURA BASE DOS CARDS
   ========================================== */
.project-card {
    flex: 0 0 240px;
    height: 135px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: scale(1.06);
    z-index: 10;
    border-color: #00FF66;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 255, 102, 0.3);
}

.card-media {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-red {
    background-color: #E50914;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
}

/* ==========================================
   CARDS UNIMED
   ========================================== */
.unimed-card {
    background: linear-gradient(135deg, #008744 0%, #006633 100%);
    border: 1px solid rgba(0, 255, 102, 0.3);
}

.unimed-media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 12px;
}

.unimed-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.unimed-logo-circle {
    width: 34px;
    height: 34px;
    background-color: #FFFFFF;
    color: #008744;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.unimed-titles {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.unimed-main-title {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.unimed-sub-title {
    font-size: 9.5px;
    color: #e0f2e9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

/* ==========================================
   CARDS EM CONSTRUÇÃO
   ========================================== */
.construction-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    cursor: default;
}

.construction-card:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.construction-media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 12px;
}

.construction-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.construction-icon {
    font-size: 20px;
}

.construction-title {
    font-size: 13px;
    font-weight: 700;
    color: #888888;
    letter-spacing: 0.5px;
}

.badge-dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================
   CARDS BANCO DE DADOS (SUPABASE / NHOST)
   ========================================== */
.db-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.supabase-card {
    background: linear-gradient(135deg, #1c1c1c 0%, #13241d 100%);
    border-color: rgba(62, 207, 142, 0.25);
}
.supabase-card:hover {
    border-color: #3ecf8e;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(62, 207, 142, 0.35);
}

.nhost-card {
    background: linear-gradient(135deg, #1f1b29 0%, #15111e 100%);
    border-color: rgba(0, 136, 255, 0.25);
}
.nhost-card:hover {
    border-color: #0088ff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 136, 255, 0.35);
}

.db-media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 12px;
}

.db-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.db-icon-container {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}

.db-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.db-titles {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.db-main-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-sub-title {
    font-size: 10px;
    color: #a0a0a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-db {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
}

.badge-supabase {
    background-color: rgba(62, 207, 142, 0.15);
    color: #3ecf8e;
    border: 1px solid rgba(62, 207, 142, 0.3);
}

.badge-nhost {
    background-color: rgba(0, 136, 255, 0.15);
    color: #0088ff;
    border: 1px solid rgba(0, 136, 255, 0.3);
}

/* ==========================================
   CARDS IDES
   ========================================== */
.ide-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.colab-card {
    background: linear-gradient(135deg, #201e1a 0%, #151412 100%);
    border-color: rgba(255, 179, 0, 0.25);
}
.colab-card:hover {
    border-color: #ffb300;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 179, 0, 0.35);
}

.datalab-card {
    background: linear-gradient(135deg, #13221e 0%, #0d1714 100%);
    border-color: rgba(5, 229, 152, 0.25);
}
.datalab-card:hover {
    border-color: #05E598;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(5, 229, 152, 0.35);
}

.replit-card {
    background: linear-gradient(135deg, #241a15 0%, #17110d 100%);
    border-color: rgba(242, 98, 7, 0.25);
}
.replit-card:hover {
    border-color: #F26207;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(242, 98, 7, 0.35);
}

.vscode-card {
    background: linear-gradient(135deg, #161e2b 0%, #0d121a 100%);
    border-color: rgba(0, 122, 204, 0.25);
}
.vscode-card:hover {
    border-color: #007ACC;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 122, 204, 0.35);
}

.stackblitz-card {
    background: linear-gradient(135deg, #141e2a 0%, #0e141c 100%);
    border-color: rgba(19, 137, 253, 0.25);
}
.stackblitz-card:hover {
    border-color: #1389FD;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(19, 137, 253, 0.35);
}

.ide-media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 12px;
}

.ide-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ide-icon-container {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}

.ide-svg, .ide-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ide-titles {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ide-main-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ide-sub-title {
    font-size: 10px;
    color: #a0a0a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-ide {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
}

.badge-colab {
    background-color: rgba(255, 179, 0, 0.15);
    color: #ffb300;
    border: 1px solid rgba(255, 179, 0, 0.3);
}

.badge-datalab {
    background-color: rgba(5, 229, 152, 0.15);
    color: #05E598;
    border: 1px solid rgba(5, 229, 152, 0.3);
}

.badge-replit {
    background-color: rgba(242, 98, 7, 0.15);
    color: #F26207;
    border: 1px solid rgba(242, 98, 7, 0.3);
}

.badge-vscode {
    background-color: rgba(0, 122, 204, 0.15);
    color: #007ACC;
    border: 1px solid rgba(0, 122, 204, 0.3);
}

.badge-stackblitz {
    background-color: rgba(19, 137, 253, 0.15);
    color: #1389FD;
    border: 1px solid rgba(19, 137, 253, 0.3);
}

/* ==========================================
   CARDS IAS (GEMINI, GPT, CLAUDE)
   ========================================== */
.ai-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gemini-card {
    background: linear-gradient(135deg, #1b1e2e 0%, #101322 100%);
    border-color: rgba(138, 123, 246, 0.25);
}
.gemini-card:hover {
    border-color: #8A7BF6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(138, 123, 246, 0.35);
}

.gpt-card {
    background: linear-gradient(135deg, #181818 0%, #0d0d0d 100%);
    border-color: rgba(255, 255, 255, 0.15);
}
.gpt-card:hover {
    border-color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 255, 255, 0.25);
}

.claude-card {
    background: linear-gradient(135deg, #2a1d1a 0%, #1b110f 100%);
    border-color: rgba(217, 119, 87, 0.25);
}
.claude-card:hover {
    border-color: #d97757;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 12px rgba(217, 119, 87, 0.35);
}

.ai-media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 12px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-icon-container {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}

.claude-icon-bg {
    background-color: rgba(217, 119, 87, 0.1);
}

.ai-svg, .ai-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-titles {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-main-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-sub-title {
    font-size: 10px;
    color: #a0a0a0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-ai {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
}

.badge-gemini {
    background-color: rgba(138, 123, 246, 0.15);
    color: #8A7BF6;
    border: 1px solid rgba(138, 123, 246, 0.3);
}

.badge-gpt {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-claude {
    background-color: rgba(217, 119, 87, 0.15);
    color: #d97757;
    border: 1px solid rgba(217, 119, 87, 0.3);
}

/* ==========================================
   RESPONSIVIDADE DOS CARDS (CELULAR)
   ========================================== */
@media (max-width: 768px) {
    .project-card {
        flex: 0 0 200px;
        height: 120px;
        scroll-snap-align: start;
    }

    .unimed-main-title, 
    .db-main-title, 
    .ide-main-title, 
    .ai-main-title {
        font-size: 12px;
    }

    .unimed-sub-title, 
    .db-sub-title, 
    .ide-sub-title, 
    .ai-sub-title {
        font-size: 9px;
    }

    .unimed-logo-circle {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .db-icon-container,
    .ide-icon-container,
    .ai-icon-container {
        width: 30px;
        height: 30px;
        padding: 4px;
    }
}