/* ═══════════════════════════════════════
   LinkTree Pro — Public Styles
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── BASE WRAPPER ── */
.ltp-page {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px 80px;
    font-family: 'Inter', sans-serif;
}

.ltp-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 0;
}

.ltp-container {
    position: relative;
    z-index: 1;
    width: 100%;
    animation: ltpFadeUp .5s ease both;
}

@keyframes ltpFadeUp {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ── LOGO ── */
.ltp-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.ltp-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.3);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    transition: transform .3s ease;
}
.ltp-logo:hover { transform: scale(1.04); }

/* ── TEXT ── */
.ltp-heading {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    color: white;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
    line-height: 1.2;
}
.ltp-subheading {
    margin: 0 0 32px;
    font-size: 15px;
    color: rgba(255,255,255,.8);
    text-align: center;
    line-height: 1.6;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* ── SOCIALS ── */
.ltp-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.ltp-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.ltp-social-icon:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.ltp-social-icon svg { width: 20px; height: 20px; }

/* ════════════════════════════════════
   LAYOUT: VERTICAL (default)
════════════════════════════════════ */
.ltp-layout-vertical .ltp-container {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ltp-layout-vertical .ltp-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.ltp-layout-vertical .ltp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, filter .2s;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    text-align: center;
}
.ltp-layout-vertical .ltp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
    filter: brightness(1.08);
}
.ltp-layout-vertical .ltp-button:active {
    transform: translateY(0);
}
.ltp-btn-icon { font-size: 18px; line-height: 1; }

/* ════════════════════════════════════
   LAYOUT: GRID (2 columns)
════════════════════════════════════ */
.ltp-layout-grid .ltp-container {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ltp-layout-grid .ltp-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}
.ltp-layout-grid .ltp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 16px;
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, filter .2s;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    text-align: center;
    flex-direction: column;
    min-height: 80px;
}
.ltp-layout-grid .ltp-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    filter: brightness(1.1);
}
.ltp-layout-grid .ltp-btn-icon { font-size: 24px; }

/* ════════════════════════════════════
   LAYOUT: CARDS (horizontal cards)
════════════════════════════════════ */
.ltp-layout-cards .ltp-container {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ltp-layout-cards .ltp-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.ltp-layout-cards .ltp-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-radius: 16px;
    background: rgba(255,255,255,.12) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: transform .2s, background .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    position: relative;
    overflow: hidden;
}
.ltp-layout-cards .ltp-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    /* accent bar - color set inline via var */
    background: var(--btn-accent, rgba(255,255,255,.5));
}
.ltp-layout-cards .ltp-button:hover {
    transform: translateX(4px);
    background: rgba(255,255,255,.2) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.ltp-layout-cards .ltp-btn-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.ltp-layout-cards .ltp-button span:last-child { flex: 1; }

/* ── ARROW for cards layout ── */
.ltp-layout-cards .ltp-button::after {
    content: '→';
    opacity: .5;
    font-size: 16px;
    transition: opacity .2s, transform .2s;
}
.ltp-layout-cards .ltp-button:hover::after {
    opacity: 1;
    transform: translateX(3px);
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
    .ltp-page { padding: 40px 16px 60px; }
    .ltp-logo { width: 80px; height: 80px; }
    .ltp-heading { font-size: 22px; }
    .ltp-layout-grid .ltp-buttons { grid-template-columns: 1fr; }
}
