/* ============================================================
   RADIO VINO NUEVO — home.css
   Ruta: /home/pastorjorgeluisy/public_html/assets/css/home.css
   ============================================================ */


/* ============================================================
   HERO CINEMATOGRÁFICO
   ============================================================ */

.hero-cine {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 32px;
}

.hero-deco-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    animation: fadeUp 1s ease 0.1s both;
}

.hero-deco-line span {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-deco-line span:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-deco-line i {
    font-size: 16px;
    color: var(--gold);
    opacity: 0.8;
}

.hero-tag {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--secondary-lt);
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeUp 1s ease 0.2s both;
}

.hero-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 24px;
}

.ht-radio {
    font-family: 'Orbitron', monospace;
    font-size: clamp(12px, 2vw, 18px);
    font-weight: 400;
    letter-spacing: 10px;
    color: var(--secondary-lt);
    text-transform: uppercase;
    margin-bottom: 8px;
    animation: fadeUp 1s ease 0.3s both;
}

.ht-vino {
    font-family: 'Cinzel', serif;
    font-size: clamp(56px, 10vw, 110px);
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #D94060 0%, #B61942 40%, #8A1032 70%, #D4A843 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeUp 1s ease 0.4s both;
    filter: drop-shadow(0 0 40px rgba(182, 25, 66, 0.4));
}

.ht-odres {
    font-family: 'Cinzel', serif;
    font-size: clamp(16px, 3vw, 28px);
    font-weight: 400;
    letter-spacing: 6px;
    color: var(--gray-lt);
    margin-top: 10px;
    animation: fadeUp 1s ease 0.5s both;
}

.hero-verse {
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    color: var(--gray-lt);
    margin-bottom: 44px;
    letter-spacing: 0.5px;
    animation: fadeUp 1s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease 0.7s both;
}

.ha-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--tr);
    border: 1px solid transparent;
}

.ha-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.ha-primary:hover {
    background: var(--primary-lt);
    border-color: var(--primary-lt);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(182, 25, 66, 0.35);
}

.ha-secondary {
    background: rgba(149, 117, 206, 0.15);
    border-color: rgba(149, 117, 206, 0.4);
    color: var(--secondary-lt);
}

.ha-secondary:hover {
    background: rgba(149, 117, 206, 0.25);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.ha-ghost {
    background: transparent;
    border-color: rgba(212, 168, 67, 0.3);
    color: var(--gold);
}

.ha-ghost:hover {
    background: rgba(212, 168, 67, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: fadeUp 1s ease 1s both;
}

.hero-scroll-hint span {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--gray);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--secondary), transparent);
    animation: scroll-pulse 2s ease infinite;
}

@keyframes scroll-pulse {
    0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50%  { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

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


/* ============================================================
   SECCIÓN NOW PLAYING
   ============================================================ */

.now-playing-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.np-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.np-vinyl {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    position: relative;
    transition: var(--tr);
}

.np-vinyl::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(182, 25, 66, 0.2);
    animation: vinyl-glow 3s ease infinite;
}

@keyframes vinyl-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.03); }
}

.np-vinyl.spinning {
    animation: vinyl-spin 6s linear infinite;
    border-color: var(--primary);
}

@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.np-vinyl-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
}

.np-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(182, 25, 66, 0.1);
    border: 1px solid rgba(182, 25, 66, 0.3);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary-lt);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.np-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: rb-pulse 1.5s ease infinite;
}

.np-song {
    font-family: 'Cinzel', serif;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.np-station {
    font-size: 13px;
    color: var(--secondary-lt);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.np-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    transition: var(--tr);
}

.np-play-btn:hover {
    background: var(--primary-lt);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(182, 25, 66, 0.3);
}

.np-history-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-lt);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.np-tracks {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.np-track-skeleton {
    height: 48px;
    background: var(--bg-card);
    border-radius: var(--r);
    animation: skeleton-pulse 1.5s ease infinite;
}

.np-track-skeleton:nth-child(2) { animation-delay: 0.15s; opacity: 0.8; }
.np-track-skeleton:nth-child(3) { animation-delay: 0.30s; opacity: 0.6; }
.np-track-skeleton:nth-child(4) { animation-delay: 0.45s; opacity: 0.4; }

@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.8; }
}


/* ============================================================
   PORTALES / MÓDULOS
   ============================================================ */

.portals-section {
    background: var(--bg);
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portal-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 240px;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    transition: var(--tr);
}

.portal-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 48px rgba(182, 25, 66, 0.2);
}

.pc-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease;
}

.portal-cine    .pc-bg { background: linear-gradient(135deg, #0a0612 0%, #1a0624 60%, #2d0a3e 100%); }
.portal-palabra .pc-bg { background: linear-gradient(135deg, #060a12 0%, #0a1824 60%, #0e2a3a 100%); }
.portal-podcasts .pc-bg { background: linear-gradient(135deg, #0a0812 0%, #1a1224 60%, #2a1a3a 100%); }
.portal-comunidad .pc-bg { background: linear-gradient(135deg, #120606 0%, #240a10 60%, #3a0e18 100%); }
.portal-encuestas .pc-bg { background: linear-gradient(135deg, #080a06 0%, #101a0a 60%, #182a10 100%); }
.portal-horario .pc-bg { background: linear-gradient(135deg, #080612 0%, #100a24 60%, #1a1038 100%); }

.portal-card:hover .pc-bg {
    transform: scale(1.05);
}

.pc-content {
    position: relative;
    z-index: 1;
    padding: 28px;
    width: 100%;
    background: linear-gradient(to top, rgba(8, 6, 17, 0.9) 0%, transparent 100%);
}

.pc-icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--gold);
    transition: var(--tr);
}

.portal-card:hover .pc-icon {
    color: var(--white);
    transform: scale(1.1);
}

.pc-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pc-content p {
    font-size: 13px;
    color: var(--gray-lt);
    line-height: 1.6;
    margin-bottom: 16px;
}

.pc-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--gray-lt);
    font-size: 12px;
    transition: var(--tr);
}

.portal-card:hover .pc-arrow {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateX(4px);
}


/* ============================================================
   VERSÍCULO DESTACADO
   ============================================================ */

.verse-section {
    background: var(--bg-2);
    padding: 0;
}

.verse-section .section-inner {
    padding: 70px 48px;
}

.verse-box {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 48px;
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: var(--r-lg);
    background: rgba(212, 168, 67, 0.03);
}

.vb-cross {
    font-size: 20px;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 24px;
}

.verse-box blockquote {
    font-family: 'Cinzel', serif;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 20px;
}

.verse-box cite {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold);
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
}


/* ============================================================
   HORARIO
   ============================================================ */

.schedule-section {
    background: var(--bg);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--tr);
}

.sc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: var(--tr);
}

.sc-card:hover::before,
.sc-featured::before {
    opacity: 1;
}

.sc-card:hover {
    border-color: rgba(149, 117, 206, 0.3);
    transform: translateY(-4px);
}

.sc-featured {
    border-color: rgba(182, 25, 66, 0.3);
    background: var(--bg-card-2);
}

.sc-featured::before {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.sc-day {
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--secondary-lt);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sc-featured .sc-day {
    color: var(--primary-lt);
}

.sc-time {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.sc-name {
    font-size: 14px;
    color: var(--gray-lt);
    margin-bottom: 20px;
    line-height: 1.5;
}

.sc-icon {
    font-size: 24px;
    color: var(--gold);
    opacity: 0.6;
}


/* ============================================================
   FORMULARIO DE ORACIÓN
   ============================================================ */

.prayer-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

.prayer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.prayer-text .sh-tag { text-align: left; }
.prayer-text .sh-title { text-align: left; }

.prayer-text p {
    font-size: 15px;
    color: var(--gray-lt);
    line-height: 1.85;
    margin-bottom: 14px;
}

.prayer-jesucristo {
    font-family: 'Cinzel', serif;
    font-size: 22px !important;
    color: var(--primary-lt) !important;
    font-style: italic;
    margin-top: 16px !important;
}

.prayer-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
}

.pf-group {
    margin-bottom: 18px;
}

.pf-group label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
}

.pf-group input,
.pf-group textarea {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 300;
    color: var(--white);
    outline: none;
    transition: var(--tr);
}

.pf-group input:focus,
.pf-group textarea:focus {
    border-color: var(--secondary);
    background: var(--bg-3);
}

.pf-group input::placeholder,
.pf-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.5;
}

.pf-group textarea {
    resize: vertical;
    min-height: 120px;
}

.pf-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dk));
    border: none;
    border-radius: var(--r);
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--white);
    transition: var(--tr);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pf-submit:hover {
    background: linear-gradient(135deg, var(--primary-lt), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(182, 25, 66, 0.3);
}

.pf-msg {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    padding: 10px;
    border-radius: var(--r);
    display: none;
}

.pf-msg.ok  { background: rgba(39,180,10,.1); color: #5edc5e; border: 1px solid rgba(39,180,10,.3); }
.pf-msg.err { background: rgba(220,50,50,.1);  color: #f07070; border: 1px solid rgba(220,50,50,.3); }


/* ============================================================
   RESPONSIVE HOME
   ============================================================ */

@media (max-width: 900px) {

    .np-grid,
    .prayer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .portals-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}