/* Single Creator Styles - Extracted from single-creator.php */

/* =============================================
   SINGLE CREATOR PAGE — Self-contained styles
   ============================================= */

/* ── Banner hero ── */
.cp-banner {
    background: linear-gradient(135deg, #1A1A2E 0%, #2A2A4E 55%, #1a3a7a 100%);
    padding: 50px 0 70px;
    position: relative;
    overflow: hidden;
}

.cp-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Decorative glow blob */
.cp-banner::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(26,86,219,0.25) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cp-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: flex-end;
    gap: 28px;
}

/* Avatar */
.cp-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.cp-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.2);
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #E30613, #1A56DB);
}

.cp-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.2);
    background: linear-gradient(135deg, #E30613, #1A56DB);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.cp-verified-ring {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 30px;
    height: 30px;
    background: #1A56DB;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Hero text */
.cp-banner-info {
    padding-bottom: 4px;
    flex: 1;
}

.cp-banner-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    color: white;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.1;
}

.cp-banner-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.cp-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
}

.cp-subs {
    color: #FFD700 !important;
    font-weight: 700;
}

/* Platform badges in banner */
.cp-platform-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    color: white;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
    border: none;
}

.cp-badge:hover { transform: translateY(-2px); opacity: 0.9; color: white; }

.cp-badge--yt    { background: #FF0000; }
.cp-badge--tt    { background: #010101; }
.cp-badge--ig    { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.cp-badge--web   { background: #1A56DB; }

/* ── Body layout ── */
.cp-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 24px;
    align-items: start;
}

/* ── Main column cards ── */
.cp-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cp-card {
    background: white;
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #F0F0F0;
}

.cp-card h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    color: #1A1A2E;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F4F4F4;
}

.cp-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    color: #1A1A2E;
    margin: 0 0 12px;
}

.cp-bio p:last-child { margin-bottom: 0; }

/* Focus tags */
.cp-focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cp-focus-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #F4F6FA;
    border: 1px solid #E4E8F0;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #555;
    font-family: 'Nunito', sans-serif;
}

/* Quick links (Linktree style) */
.cp-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #F8F9FB;
    border: 2px solid #EBEBEB;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A1A2E;
    text-decoration: none;
    transition: all 0.2s;
}

.cp-link-btn:hover {
    border-color: #1A56DB;
    background: #EFF4FF;
    color: #1A56DB;
    transform: translateX(4px);
}

.cp-link-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
}

.cp-link-text { flex: 1; }

.cp-link-arrow {
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.2s;
}

.cp-link-btn:hover .cp-link-arrow { color: #1A56DB; }

/* Claim section */
.cp-claim {
    background: #FFFBF0;
    border: 2px dashed #FFD700;
    border-radius: 12px;
    padding: 22px 24px;
}

.cp-claim h3 { color: #1A1A2E; margin-bottom: 6px; }
.cp-claim p  { color: #666; font-size: 0.9rem; margin-bottom: 14px; }

.cp-claim-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #1A1A2E;
    color: white;
    border-radius: 8px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.cp-claim-btn:hover { background: #2A2A4E; color: white; }

#claim-form-container {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #F0E8C0;
}

.cp-claim .form-group { margin-bottom: 12px; }

.cp-claim label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
}

.cp-claim input,
.cp-claim textarea {
    width: 100%;
    padding: 9px 12px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Nunito', sans-serif;
    box-sizing: border-box;
}

.cp-claim input:focus,
.cp-claim textarea:focus {
    outline: none;
    border-color: #1A56DB;
}

.cp-claim-submit {
    padding: 10px 22px;
    background: linear-gradient(135deg, #E30613, #c00510);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    transition: opacity 0.2s;
}

.cp-claim-submit:hover { opacity: 0.9; }

.cp-claim-cancel {
    padding: 10px 16px;
    background: transparent;
    color: #666;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ── Sidebar ── */
.cp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 90px;
}

.cp-sidebar-card {
    background: white;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #F0F0F0;
}

.cp-sidebar-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: #1A1A2E;
    margin: 0 0 14px;
}

/* Info items */
.cp-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #F4F4F4;
    font-size: 0.88rem;
    color: #555;
}

.cp-info-item:last-child { border-bottom: none; }
.cp-info-item svg { flex-shrink: 0; color: #bbb; }
.cp-info-item--verified { color: #1A56DB; font-weight: 700; }
.cp-info-item--verified svg { color: #1A56DB; }
.cp-info-item--date { color: #bbb; font-size: 0.8rem; }

/* Social list in sidebar */
.cp-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #F8F9FB;
    font-weight: 700;
    font-size: 0.88rem;
    color: #1A1A2E;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.cp-social-link:last-child { margin-bottom: 0; }
.cp-social-link:hover { transform: translateX(3px); color: #1A1A2E; }
.cp-social-link--yt:hover  { background: #FFF0F0; }
.cp-social-link--tt:hover  { background: #F4F4F4; }
.cp-social-link--ig:hover  { background: #FFF0F8; }
.cp-social-link--web:hover { background: #EFF4FF; }

.cp-social-arrow { margin-left: auto; color: #ddd; }

/* Join CTA sidebar card */
.cp-join-card {
    background: linear-gradient(135deg, #1A1A2E 0%, #2A2A4E 100%);
    border: none;
}

.cp-join-card h3 { color: white; }
.cp-join-card p  { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 14px; }

.cp-join-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px;
    background: linear-gradient(135deg, #E30613, #c00510);
    color: white;
    border-radius: 8px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(227,6,19,0.3);
}

.cp-join-btn:hover { opacity: 0.9; transform: translateY(-1px); color: white; }

/* Claim response messages */
#claim-response.success {
    background: #F0FFF4;
    border: 1px solid #9AE6B4;
    color: #276749;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
}

#claim-response.error {
    background: #FFF5F5;
    border: 1px solid #FEB2B2;
    color: #C53030;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .cp-body {
        grid-template-columns: 1fr;
    }
    .cp-sidebar {
        position: static;
        order: -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .cp-join-card { grid-column: span 2; }
    .cp-banner-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .cp-banner { padding: 36px 0 56px; }
    .cp-banner-name { font-size: 1.8rem; }
    .cp-avatar,
    .cp-avatar-placeholder { width: 88px; height: 88px; }
    .cp-body { padding: 20px 16px 40px; }
    .cp-card { padding: 20px; }
    .cp-sidebar { grid-template-columns: 1fr; }
    .cp-join-card { grid-column: span 1; }
}
