/**
 * Links Page Styles
 * Design: Litlink風リンク集、Guideページと同じトンマナ
 */

/* ===== Variables (Guide と共通) ===== */
:root {
    --links-primary: #39b7ff;
    --links-secondary: #0095e8;
    --links-accent: #39b7ff;
    --links-accent-light: #a8e0ff;
    --links-accent-dark: #0095e8;
    --links-light: #f0f9ff;
    --links-dark: #1a202c;
    --links-gray: #5a7184;
    --links-white: #ffffff;

    --links-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --links-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --links-font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    --links-radius: 12px;
    --links-radius-lg: 16px;
}

/* ===== Base ===== */
.lp-links {
    font-family: var(--links-font-main);
    color: var(--links-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #f0f9ff 0%, #f0f9ff 50%, #e8f4ff 100%);
    min-height: 100vh;
    padding-bottom: 40px;
}

.lp-links *,
.lp-links *::before,
.lp-links *::after {
    box-sizing: border-box;
}

.links-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Profile Section ===== */
.links-profile {
    padding: 60px 0 40px;
    text-align: center;
    color: var(--links-dark);
}

.links-profile__image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(57, 183, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.links-profile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.links-profile__name {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.links-profile__tagline {
    font-size: 14px;
    color: var(--links-accent-dark);
    margin: 0 0 8px;
    font-weight: 600;
}

.links-profile__sub {
    font-size: 13px;
    color: var(--links-gray);
    margin: 0 0 16px;
    font-weight: 400;
}

.links-profile__bio {
    font-size: 13px;
    color: var(--links-gray);
    margin: 0 0 16px;
    line-height: 1.7;
}

.links-profile__more {
    display: inline-block;
    font-size: 12px;
    color: var(--links-gray);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(57, 183, 255, 0.4);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.links-profile__more:hover {
    background: rgba(57, 183, 255, 0.1);
    color: var(--links-dark);
    border-color: var(--links-accent);
}

/* ===== Links Section ===== */
.links-section {
    padding: 0 0 20px;
}

/* ===== Links Group ===== */
.links-group {
    margin-bottom: 32px;
}

.links-group__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--links-gray);
    margin: 0 0 12px;
    padding-left: 4px;
}

/* ===== Link Card ===== */
.links-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 10px;
    background: var(--links-white);
    border-radius: var(--links-radius-lg);
    text-decoration: none;
    color: var(--links-dark);
    box-shadow: var(--links-shadow);
    transition: all 0.2s ease;
}

.links-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--links-shadow-lg);
}

.links-card:active {
    transform: translateY(0);
}

/* Icon */
.links-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.links-card__icon svg {
    width: 22px;
    height: 22px;
}

/* Icon Colors */
.links-card__icon--line {
    background: #06C755;
    color: white;
}

.links-card__icon--line-work {
    background: linear-gradient(135deg, #06C755 0%, #00B341 100%);
    color: white;
}

.links-card__icon--x {
    background: #000000;
    color: white;
}

.links-card__icon--facebook {
    background: #1877F2;
    color: white;
}

.links-card__icon--quest {
    background: linear-gradient(135deg, var(--links-accent) 0%, var(--links-accent-dark) 100%);
    color: white;
}

.links-card__icon--career {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: white;
}

.links-card__icon--menta {
    background: #4A90D9;
    color: white;
}

.links-card__icon--note {
    background: #41C9B4;
    color: white;
}

.links-card__icon--connpass {
    background: #E14C4A;
    color: white;
}

.links-card__icon--img {
    background: transparent;
    overflow: hidden;
}

.links-card__icon--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.links-card__content {
    flex: 1;
    min-width: 0;
}

.links-card__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--links-dark);
    margin-bottom: 2px;
}

.links-card__desc {
    display: block;
    font-size: 12px;
    color: var(--links-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow */
.links-card__arrow {
    font-size: 18px;
    color: var(--links-gray);
    opacity: 0.5;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.links-card:hover .links-card__arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* ===== Footer ===== */
.links-footer {
    padding: 32px 0;
    text-align: center;
}

.links-footer__home {
    font-size: 12px;
    color: var(--links-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.links-footer__home:hover {
    color: var(--links-dark);
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .links-profile {
        padding: 48px 0 32px;
    }

    .links-profile__image {
        width: 100px;
        height: 100px;
    }

    .links-profile__name {
        font-size: 24px;
    }

    .links-card {
        padding: 14px 16px;
        gap: 12px;
    }

    .links-card__icon {
        width: 40px;
        height: 40px;
    }

    .links-card__icon svg {
        width: 20px;
        height: 20px;
    }

    .links-card__title {
        font-size: 14px;
    }
}
