/* ============================================
   DICELEXIA — Useful Links Page Styles
   ============================================ */

/* --- Page Layout --- */
.links-page {
    min-height: 100vh;
    padding: 120px 2rem 60px;
    position: relative;
    z-index: 1;
}

.links-page .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* --- Header --- */
.links-header {
    text-align: center;
    margin-bottom: 3rem;
}

.links-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(200, 168, 78, 0.2);
    margin-bottom: 0.5rem;
}

.links-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* --- Section --- */
.links-section {
    margin-bottom: 3rem;
}

.links-section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-accent);
}

/* --- Links Grid --- */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* --- Link Card --- */
.link-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--border);
    transition: var(--transition);
}

.link-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.link-card:hover::before {
    background: var(--accent);
}

.link-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.link-info h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    letter-spacing: 0.5px;
}

.link-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.link-url {
    font-size: 0.75rem;
    color: var(--accent-dim);
    letter-spacing: 0.5px;
}

.link-card:hover .link-url {
    color: var(--accent);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .links-header h1 {
        font-size: 1.8rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .link-card {
        padding: 1rem;
    }

    .link-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .links-header h1 {
        font-size: 1.5rem;
    }

    .link-card {
        padding: 0.85rem;
    }

    .link-icon {
        font-size: 1.3rem;
    }
}
