
/* =========================================================
   CONTAINER PRINCIPAL
========================================================= */

.welcome-container {
    position: relative;

    text-align: center;

    padding:
        90px 24px
        70px;

    overflow: hidden;
}

/* glow ambiente */

.welcome-container::before {
    content: "";

    position: absolute;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    width: 700px;
    height: 700px;


    pointer-events: none;
    z-index: 0;
}

/* =========================================================
   HEADER
========================================================= */

.welcome-header {
    position: relative;
    z-index: 2;
}

.welcome-logo {
    width: 145px;

    margin-bottom: 28px;

    filter:
        drop-shadow(0 10px 25px rgba(0,0,0,0.7))
        drop-shadow(0 0 20px rgba(255,0,0,0.12));

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.welcome-logo:hover {
    transform: translateY(-4px) scale(1.02);

    filter:
        drop-shadow(0 14px 35px rgba(0,0,0,0.85))
        drop-shadow(0 0 30px rgba(255,0,0,0.2));
}

.welcome-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;

    margin: 0;

    letter-spacing: -1.5px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #d8d8d8 30%,
            #ff4d4d 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 30px rgba(255,255,255,0.03);
}

.welcome-header p {
    margin-top: 14px;

    font-size: 1rem;
    font-weight: 400;

    color: #8d8d8d;

    letter-spacing: 0.2px;
}

/* =========================================================
   GRID
========================================================= */

.menu-list-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 10px;
}

/* =========================================================
   LINKS
========================================================= */

.menu-card-link {
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   CARD BASE
========================================================= */

.menu-card.list-mode {
    position: relative;
    padding: 24px 30px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(24,24,24,0.98),
            rgba(10,10,10,0.98)
        );

    border:
        1px solid rgba(255,255,255,0.06);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.65),
        inset 0 1px 0 rgba(255,255,255,0.03);

    backdrop-filter: blur(14px);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* linha premium topo */

.menu-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,0,0,0.8),
            transparent
        );

    opacity: 0.7;
}

/* glow interno */

.menu-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(255,0,0,0.08),
            transparent 45%
        );

    pointer-events: none;
}

/* =========================================================
   HOVER
========================================================= */

.menu-card:hover {
    transform:
        translateY(-10px)
        scale(1.015);

    border-color:
        rgba(255,0,0,0.18);

    box-shadow:
        0 35px 80px rgba(0,0,0,0.85),
        0 0 35px rgba(255,0,0,0.12);
}

/* =========================================================
   CARD DASHBOARD (DESTAQUE PRINCIPAL)
========================================================= */

.menu-card-link:first-child .menu-card {
    background:
        linear-gradient(
            145deg,
            rgba(34,10,10,0.98),
            rgba(10,10,10,1)
        );
    border: 1px solid rgba(255,0,0,0.18);
    box-shadow:
        0 15px 40px rgba(0,0,0,0.6),
        0 0 20px rgba(255,0,0,0.1);
}

.menu-card-link:first-child .menu-card::before {
    height: 3px;
    background:
        linear-gradient(
            90deg,
            transparent,
            #ff2a2a,
            #ff7a7a,
            #ff2a2a,
            transparent
        );
    opacity: 1;
}

.menu-card-link:first-child .menu-card::after {
    background:
        radial-gradient(
            circle at left center,
            rgba(255,0,0,0.18),
            transparent 60%
        );
}

.menu-card-link:first-child .menu-card:hover {
    transform: translateX(8px);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.8),
        0 0 25px rgba(255,0,0,0.22);
}

/* selo */

.menu-card-link:first-child .menu-card .card-badge {
    position: absolute;

    top: 18px;
    right: 18px;

    padding:
        8px 12px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #ff2a2a,
            #7a0000
        );

    color: #fff;

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;

    box-shadow:
        0 8px 18px rgba(255,0,0,0.28);
}

/* =========================================================
   ÍCONE
========================================================= */

.card-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.card-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: radial-gradient(circle, rgba(255,0,0,0.15), transparent 80%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.menu-card:hover .card-icon::before {
    opacity: 1;
}

.card-icon svg {
    position: relative;
    z-index: 2;

    width: 52px;
    height: 52px;

    color: var(--cor-destaque);

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.menu-card:hover .card-icon svg {
    transform:
        scale(1.12)
        translateY(-2px);

    filter:
        drop-shadow(0 0 18px rgba(255,0,0,0.35));
}

/* dashboard icon */

.menu-card-link:first-child .card-icon svg {
    color: #ff4d4d;

    filter:
        drop-shadow(0 0 14px rgba(255,0,0,0.22));
}

/* =========================================================
   TÍTULO
========================================================= */

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
    letter-spacing: -0.2px;
}

/* dashboard destaque */

.menu-card-link:first-child h2 {
    background: linear-gradient(135deg, #ffffff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   TEXTO
========================================================= */

.menu-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #9b9b9b;
    margin: 0;
    max-width: 100%;
}

/* =========================================================
   MICRO INTERAÇÃO
========================================================= */

.menu-card:hover p {
    color: #c2c2c2;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 768px) {
    .menu-card.list-mode {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }
    .card-icon {
        margin: 0 auto;
    }
    .menu-card h2 {
        font-size: 1.2rem;
    }
    .welcome-header p {
        font-size: 0.95rem;
    }
}

