/* ============================================
   TUCHURUPOAPP.COM - Blog / Social Page
   Extiende css/landing.css
   ============================================ */

/* ---------- BLOG HERO ---------- */
.blog-hero {
    position: relative;
    min-height: 68vh;
    min-height: 68dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 24px 80px;
    overflow: hidden;
    text-align: center;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    animation: cardSlideUp 0.9s var(--ease-out-expo) both;
}

.blog-hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 16px;
    background: var(--gold-gradient-h);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 560px;
}

.blog-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- SOCIAL GRID ---------- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.social-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 22px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--card-accent, var(--gold-gradient-h));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.social-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    border-color: rgba(200, 149, 46, 0.35);
}

.social-card:hover::before {
    transform: scaleX(1);
}

.social-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--card-accent, var(--gold-gradient));
    color: #fff;
}

.social-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.social-card-handle {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: -12px;
}

.social-card-follow {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-200);
    border: 1px solid rgba(240, 208, 96, 0.25);
    transition: all 0.3s var(--ease-out-expo);
}

.social-card:hover .social-card-follow {
    background: var(--card-accent, var(--gold-gradient));
    color: #120b00;
    border-color: transparent;
}

.social-card--soon {
    cursor: default;
    opacity: 0.75;
    filter: saturate(0.55);
}

.social-card--soon:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.06);
    background: var(--bg-card);
}

.social-card--soon .social-card-follow {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-card--soon:hover .social-card-follow {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ---------- VIDEOS ---------- */
.videos-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.channel-link {
    font-size: 0.86rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.channel-link:hover {
    background: rgba(240, 208, 96, 0.15);
    border-color: rgba(240, 208, 96, 0.4);
    color: var(--gold-200);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease-out-expo);
}

.video-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(200, 149, 46, 0.35);
    transform: translateY(-6px);
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.25);
}

.video-play::before {
    content: '';
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(200, 149, 46, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #120b00;
    margin-left: 5px;
}

.video-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.video-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: auto;
}

.video-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    background: var(--bg-card);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.video-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 24px;
}

.video-empty-icon {
    font-size: 2.6rem;
}

.video-empty code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    color: var(--gold-200);
    font-size: 0.8rem;
}

/* ---------- FORMULARIOS / PANEL (usados por editblog.html) ---------- */
.upload-hint {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.upload-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.upload-input {
    flex: 1;
    min-width: 180px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.3s var(--ease-out-expo);
}

.upload-input:focus {
    border-color: rgba(240, 208, 96, 0.55);
    background: rgba(240, 208, 96, 0.06);
    box-shadow: 0 0 0 3px rgba(240, 208, 96, 0.12);
}

.upload-input::placeholder {
    color: var(--text-muted);
}

.upload-btn {
    padding: 12px 22px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gold-gradient);
    color: #120b00;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 149, 46, 0.35);
}

.upload-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.upload-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    animation: fadeUp 0.4s var(--ease-out-expo) both;
}

.upload-preview img {
    width: 120px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: #000;
}

.upload-preview-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upload-preview-info strong {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upload-preview-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
    word-break: break-all;
}

.upload-msg {
    font-size: 0.8rem;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin: 0;
}

.upload-msg.ok {
    color: var(--gold-200);
    background: rgba(240, 208, 96, 0.08);
    border: 1px solid rgba(240, 208, 96, 0.2);
}

.upload-msg.error {
    color: #ff8f8f;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

/* ---------- PUBLICACIONES / FEED ---------- */
.post-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.post-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.post-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(200, 149, 46, 0.35);
    transform: translateX(6px);
}

.post-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--post-accent, var(--gold-gradient));
    color: #fff;
}

.post-body {
    flex: 1;
    min-width: 0;
}

.post-platform {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.post-platform-name {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-300);
}

.post-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.post-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-open {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-200);
    transition: all 0.3s var(--ease-out-expo);
}

.post-card:hover .post-open {
    background: var(--gold-gradient);
    color: #120b00;
}

.post-card--soon {
    cursor: default;
    opacity: 0.8;
}

.post-card--soon:hover {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.06);
    transform: none;
}

.post-card--soon:hover .post-open {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
    .blog-hero {
        min-height: 56vh;
        padding-top: 130px;
    }

    .post-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .post-open {
        align-self: flex-end;
    }
}