.links-page,
.links-hero,
.links-layout,
.link-card,
.dest-card,
.links-sidebar,
.sidebar-widget {
    box-sizing: border-box;
}

.links-hero {
    background:
        radial-gradient(circle at top left, rgba(53, 116, 240, .22), transparent 32%),
        radial-gradient(circle at top right, rgba(58, 190, 64, .16), transparent 30%),
        linear-gradient(135deg, #071629 0%, #10213c 58%, #3574F0 100%);
    border-bottom: 1px solid rgba(255,255,255,.10);
    padding: 3rem 0 2.25rem;
    color: #ffffff;
}

.links-hero h1 {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.links-hero p {
    color: rgba(255,255,255,.88) !important;
}

.links-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    color: #dbeafe;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.links-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    padding: 2.5rem 0 3rem;
    align-items: start;
}

.link-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, .34);
    border-radius: 18px;
    padding: 1.2rem 1.35rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all .22s ease;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.link-card:hover {
    border-color: rgba(53, 116, 240, .42);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .13);
    transform: translateY(-2px);
}

.link-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(53, 116, 240, .10);
    border: 1px solid rgba(53, 116, 240, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    text-decoration: none;
}

.link-title {
    font-size: 1rem;
    font-weight: 900;
    color: #102033;
    text-decoration: none;
    line-height: 1.35;
    display: block;
    margin-bottom: .32rem;
    transition: color .2s;
}

.link-title:hover {
    color: #3574F0;
}

.link-url {
    font-size: .76rem;
    color: #64748b;
    font-family: Consolas, Monaco, monospace;
    display: block;
    margin-bottom: .45rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 420px;
}

.link-desc {
    font-size: .9rem;
    color: #475569;
    line-height: 1.55;
    margin: .25rem 0 0;
}

.link-meta {
    display: flex;
    gap: .75rem;
    margin-top: .7rem;
    font-size: .78rem;
    color: #64748b;
    flex-wrap: wrap;
}

.link-visit-btn {
    margin-left: auto;
    align-self: center;
    flex-shrink: 0;
    background: #3574F0 !important;
    border-color: #3574F0 !important;
    color: #ffffff !important;
    font-weight: 900;
}

.link-visit-btn:hover {
    background: #245fd1 !important;
    border-color: #245fd1 !important;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dest-card {
    background: #ffffff;
    border: 1px solid rgba(53, 116, 240, .22);
    border-radius: 18px;
    padding: 1.25rem;
    transition: all .22s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.dest-card:hover {
    border-color: rgba(53, 116, 240, .50);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .13);
}

.dest-card div[style*="color:var(--white)"] {
    color: #102033 !important;
}

.dest-card div[style*="color:var(--gray-400)"] {
    color: #475569 !important;
}

.dest-card div[style*="color:var(--gray-600)"] {
    color: #64748b !important;
}

.links-sidebar {
    position: sticky;
    top: 84px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, .34);
    border-radius: 18px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.widget-title {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #3574F0;
    font-weight: 900;
    margin-bottom: 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid #e5eaf2;
}

.rules-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .55rem 0;
    border-bottom: 1px solid #edf2f7;
    font-size: .86rem;
    color: #475569;
    line-height: 1.45;
}

.rules-list li:last-child {
    border: none;
}

.rules-list li::before {
    content: '✓';
    color: #16a34a;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: .05rem;
}

.rules-list li.proib::before {
    content: '✗';
    color: #dc2626;
}

.filter-chip {
    display: inline-block;
    padding: .42rem .85rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 900;
    border: 1px solid #d7e2ee;
    color: #475569;
    background: #ffffff;
    text-decoration: none;
    transition: all .18s ease;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(15, 23, 42, .04);
}

.filter-chip:hover {
    color: #3574F0;
    border-color: rgba(53, 116, 240, .38);
    background: #f8fbff;
}

.filter-chip.active {
    background: #3574F0;
    border-color: #3574F0;
    color: #ffffff;
}

.links-layout .form-control {
    background: #f8fbff;
    border: 1px solid #d7e2ee;
    color: #102033;
    border-radius: 12px;
}

.links-layout .form-control:focus {
    border-color: #3574F0;
    box-shadow: 0 0 0 4px rgba(53, 116, 240, .12);
}

.links-layout .form-label {
    color: #102033;
    font-weight: 900;
}

.links-layout .alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.links-layout .alert-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

.links-layout .text-gold {
    color: #3574F0 !important;
}

.links-layout code {
    color: #245fd1 !important;
    background: #eff6ff;
    border-radius: 5px;
    padding: .08rem .25rem;
}

.links-layout .badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border-radius: 999px;
    padding: .34rem .6rem;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
}

.links-layout .badge-primary,
.links-layout .badge-info {
    background: #eff6ff;
    color: #245fd1;
    border: 1px solid #bfdbfe;
}

.links-layout .badge-success {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.links-layout .badge-warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.links-layout .badge-accent {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.links-layout .badge-muted {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

@media(max-width: 900px) {
    .links-layout {
        grid-template-columns: 1fr;
    }

    .links-sidebar {
        position: static;
    }
}

@media(max-width: 620px) {
    .link-card {
        flex-direction: column;
    }

    .link-visit-btn {
        width: 100%;
        margin-left: 0;
    }

    .link-url {
        max-width: 100%;
    }
}
.sidebar-widget-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: rgba(53, 116, 240, .28);
}
/* ========== HERO LINKS - PADRONIZAÇÃO DOS NÚMEROS ========== */

.links-hero div[style*="text-align:center"] {
    min-width: 82px;
    display: grid !important;
    grid-template-rows: 20px 26px 16px;
    align-items: center;
    justify-items: center;
}

.links-hero div[style*="font-size:2rem"],
.links-hero div[style*="font-size:1.5rem"] {
    font-size: 1.5rem !important;
    line-height: 1 !important;
}

.links-hero div[style*="text-transform:uppercase"] {
    font-size: .7rem !important;
    line-height: 1.15 !important;
}