/* ──────────────────────────────────────────
   GuestPostHub – Frontend & Landing Page Styles
   Bootstrap 5 is loaded separately
   ────────────────────────────────────────── */

/* ═══ LANDING PAGE ═══ */
.gph-landing-page {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Hero */
.gph-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    padding: 80px 20px 60px;
    text-align: center;
    color: #fff;
}
.gph-hero-inner {
    max-width: 780px;
    margin: 0 auto;
}
.gph-hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #fff 0%, #c9d6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gph-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
}
.gph-hero-search {
    max-width: 620px;
    margin: 0 auto 20px;
}
.gph-search-input {
    border-radius: 50px 0 0 50px !important;
    padding: 14px 22px !important;
    font-size: 1rem;
    border: none;
}
.gph-btn-hero {
    background: #e94560;
    color: #fff;
    border-radius: 0 50px 50px 0 !important;
    padding: 0 28px;
    font-weight: 700;
    border: none;
}
.gph-btn-hero:hover { background: #c73652; color: #fff; }

/* Filter pills row */
.gph-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.gph-filter-pill {
    width: auto;
    min-width: 130px;
    border-radius: 30px !important;
    font-size: 0.88rem;
    padding: 8px 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    cursor: pointer;
}
.gph-filter-pill:focus { outline: none; box-shadow: 0 0 0 2px rgba(233,69,96,0.5); }
.gph-filter-pill option { background: #1a1a2e; color: #fff; }

/* ═══ DIRECTORY SECTION ═══ */
.gph-directory-section {
    background: #f5f7fa;
    padding: 50px 20px;
}
.gph-directory-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

/* ═══ SITE CARD ═══ */
.gph-site-card {
    border: 1px solid #eaecf0;
    border-radius: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.gph-site-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.10) !important;
}

/* Featured card */
.gph-card-featured {
    border: 2px solid #f5c518;
    box-shadow: 0 0 0 4px rgba(245,197,24,0.15);
}
.gph-featured-ribbon {
    background: linear-gradient(90deg, #f5c518, #e0a800);
    color: #222;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.gph-site-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}
.gph-site-meta { font-size: 0.85rem; }
.gph-niche-tag {
    background: #eef2ff;
    color: #4361ee;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* DA / PA / Traffic stats */
.gph-stats-row {
    display: flex;
    gap: 8px;
}
.gph-stat-chip {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
}
.gph-stat-label {
    display: block;
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gph-stat-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* Description clamp */
.gph-site-desc {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Card action buttons row */
.gph-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.gph-btn-visit {
    flex: 1;
    display: inline-block;
    background: linear-gradient(135deg, #e84040, #c41c1c);
    color: #fff !important;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 14px;
    border: none;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s;
}
.gph-btn-visit:hover { opacity: 0.88; color: #fff !important; }
.gph-btn-linkedin {
    flex: 1;
    display: inline-block;
    background: #e8f0fe;
    color: #1a56db !important;
    border: 1px solid #c3d4fd;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 14px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.gph-btn-linkedin:hover { background: #1a56db; color: #fff !important; border-color: #1a56db; }

/* Paid/Free badges */
.gph-paid-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.gph-badge-free { background: #d1fae5; color: #065f46; }
.gph-badge-paid { background: #fce7f3; color: #9d174d; }
.gph-badge-both { background: #ede9fe; color: #5b21b6; }

/* Load more */
.gph-btn-load-more {
    background: transparent;
    border: 2px solid #4361ee;
    color: #4361ee;
    border-radius: 30px;
    padding: 12px 36px;
    font-weight: 700;
    transition: all 0.2s;
}
.gph-btn-load-more:hover { background: #4361ee; color: #fff; }

/* ═══ INLINE SUBMIT SECTION ═══ */
.gph-inline-submit-section {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    padding: 60px 20px;
    text-align: center;
}
.gph-inline-submit-wrap { max-width: 900px; margin: 0 auto; }
.gph-inline-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 28px;
}
.gph-inline-title span { color: #f5c518; }

/* Inline form layout */
.gph-inline-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.gph-inline-input {
    flex: 1 1 160px;
    min-width: 140px;
    max-width: 220px;
    padding: 12px 16px;
    border-radius: 30px;
    border: none;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.12);
    color: #fff;
    outline: none;
    border: 1px solid rgba(255,255,255,0.25);
}
.gph-inline-input::placeholder { color: rgba(255,255,255,0.55); }
.gph-inline-input:focus { border-color: #f5c518; background: rgba(255,255,255,0.18); }
.gph-inline-input option { background: #1a1a2e; color: #fff; }
.gph-inline-submit-btn {
    background: #e94560;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.gph-inline-submit-btn:hover { background: #c73652; }
.gph-inline-alert {
    padding: 10px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 0.9rem;
}
.gph-msg-success { background: #d1fae5; color: #065f46; }
.gph-msg-error   { background: #fee2e2; color: #991b1b; }

/* ═══ OLD DIRECTORY / SUBMIT FORM COMPAT ═══ */
.gph-submit-form {
    border-radius: 12px;
}
.gph-submit-form .form-label {
    font-weight: 600;
    color: #495057;
}
.gph-site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}
#gph-filter-search,
#gph-filter-da,
#gph-filter-category,
#gph-filter-paid {
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 640px) {
    .gph-hero { padding: 50px 16px 40px; }
    .gph-filter-pill { min-width: 100px; font-size: 0.82rem; }
    .gph-inline-fields { flex-direction: column; align-items: stretch; }
    .gph-inline-input  { max-width: 100%; }
    .gph-inline-submit-btn { width: 100%; }
}
