*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #070b12;
    color: white;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* CONTENEDOR PRINCIPAL */

.repository-page{
    width: 100%;
    max-width: 1600px;
    margin: auto;
    padding: 70px 60px;
}

/* HEADER */

.repository-header{
    margin-bottom: 70px;
}

.eyebrow{
    font-size: 12px;
    letter-spacing: 2px;
    color: #00c8ff;
    font-weight: 700;
}

.repository-header h1{
    font-size: 54px;
    margin-top: 18px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.repository-header p{
    max-width: 850px;
    color: #98a7bb;
    line-height: 1.9;
    font-size: 16px;
}

/* GRID */

.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

/* CARDS */

.project-card{
    background: rgba(14,19,28,0.92);

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 28px;

    padding: 34px;

    transition: 0.35s ease;

    position: relative;

    overflow: hidden;

    backdrop-filter: blur(12px);
}

.project-card:hover{
    transform: translateY(-6px);

    border-color: rgba(0,200,255,0.28);

    box-shadow: 0 0 40px rgba(0,200,255,0.08);
}

/* CARD DESTACADA */

.featured{
    border: 1px solid rgba(0,200,255,0.22);

    background:
    linear-gradient(
        180deg,
        rgba(0,200,255,0.05),
        rgba(14,19,28,0.95)
    );
}

/* CARD TOP */

.card-top{
    margin-bottom: 24px;
}

.project-type{
    font-size: 12px;
    letter-spacing: 2px;
    color: #00c8ff;
    font-weight: 700;
}

.card-top h2{
    font-size: 32px;
    margin-top: 14px;
}

/* TEXTO */

.project-card p{
    color: #a8b3c7;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* TAGS */

.project-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.project-tags span{
    background: rgba(0,200,255,0.08);

    border: 1px solid rgba(0,200,255,0.16);

    color: #7fdfff;

    padding: 9px 16px;

    border-radius: 999px;

    font-size: 13px;
}

/* BOTÓN */

.project-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    border-radius: 14px;

    background: #00c8ff;

    color: #041018;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s ease;
}

.project-btn:hover{
    background: #4edcff;
}

/* RESPONSIVE */

@media(max-width: 1100px){

    .repository-page{
        padding: 50px 35px;
    }

    .repository-header h1{
        font-size: 42px;
    }

}

@media(max-width: 700px){

    .repository-page{
        padding: 40px 22px;
    }

    .repository-header h1{
        font-size: 34px;
    }

    .projects-grid{
        grid-template-columns: 1fr;
    }

}

/* ORAVEGA SOC / AUDITOR ECOSYSTEM SECTION */

.repository-header{
    margin-bottom: 34px;
}

.ecosystem-banner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    margin-bottom: 42px;
    padding: 30px;
    border: 1px solid rgba(0,200,255,0.22);
    border-radius: 8px;
    background:
    linear-gradient(90deg, rgba(0,200,255,0.12), rgba(14,19,28,0.94)),
    rgba(14,19,28,0.92);
    box-shadow: 0 0 42px rgba(0,200,255,0.08);
}

.ecosystem-banner h2{
    margin-top: 12px;
    font-size: 38px;
}

.ecosystem-banner p{
    max-width: 860px;
    margin-top: 12px;
    color: #a8b3c7;
    line-height: 1.8;
}

.banner-actions,
.project-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.banner-actions{
    justify-content: flex-end;
    min-width: 300px;
}

.project-card{
    border-radius: 8px;
}

.soc-card{
    min-height: auto;
}

.soc-preview{
    position: relative;
    display: grid;
    place-items: center;
    min-height: 120px;
    margin: 20px 0 26px;
    border: 1px solid rgba(0,200,255,0.14);
    border-radius: 8px;
    background:
    linear-gradient(rgba(0,200,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.08) 1px, transparent 1px),
    #06101a;
    background-size: 28px 28px;
    overflow: hidden;
    text-decoration: none;
    transition: 0.3s ease;
}

.soc-preview:hover{
    border-color: rgba(0,200,255,0.38);
    box-shadow: inset 0 0 34px rgba(0,200,255,0.08);
}

.soc-preview::before,
.soc-preview::after{
    content: "";
    position: absolute;
    width: 72%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00c8ff, #ff5268, transparent);
    transform: rotate(10deg);
}

.soc-preview::after{
    width: 55%;
    transform: rotate(-18deg);
    opacity: 0.6;
}

.soc-preview span{
    position: absolute;
    width: 96px;
    height: 52px;
    border: 1px solid rgba(127,223,255,0.42);
    border-radius: 50%;
    transform: rotate(var(--r, 0deg));
}

.soc-preview span:nth-child(2){
    --r: 60deg;
    border-color: rgba(46,214,130,0.4);
}

.soc-preview span:nth-child(3){
    --r: -60deg;
    border-color: rgba(255,180,73,0.42);
}

.soc-preview strong{
    color: #7fdfff;
    font-size: 32px;
    z-index: 1;
}

.project-btn.secondary{
    border: 1px solid rgba(0,200,255,0.22);
    background: rgba(0,200,255,0.08);
    color: #7fdfff;
}

.project-btn.secondary:hover{
    background: rgba(0,200,255,0.16);
    color: white;
}

.soc-entry-actions{
    margin: -6px 0 18px;
}

@media(max-width: 1100px){

    .ecosystem-banner{
        align-items: flex-start;
        flex-direction: column;
    }

    .banner-actions{
        justify-content: flex-start;
        min-width: 0;
    }

    .soc-card{
        grid-column: span 1;
    }

}
