@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* 
 * Haiti Fan Page Plugin Styles (Premium Web App Version)
 * Colors: Navy Blue (#00205B), Red (#D21034), White (#FFFFFF), Gold (#F1C40F)
 */

/* Force Full Width for the Wrapper */
.hfp-full-width-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f9;
    color: #2c3e50;
    overflow-x: hidden;
}

/* Container for Boxed Content */
.hfp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Hero Section */
.hfp-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    text-align: center;
    padding: 120px 20px;
    border-bottom: 5px solid #D21034;
    position: relative;
    box-shadow: inset 0 -20px 50px rgba(0,0,0,0.5);
}

.hfp-hero-headline {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    animation: fadeInDown 1s ease-out;
}

.hfp-hero-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

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

/* Buttons */
.hfp-btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-transform: uppercase;
    text-align: center;
}

.hfp-btn-primary {
    background-color: #F1C40F; /* Gold */
    color: #00205B;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hfp-btn-primary:hover {
    background-color: #f39c12;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.6);
}

.hfp-btn-secondary {
    background-color: #D21034; /* Red */
    color: #FFFFFF;
    box-shadow: 0 5px 15px rgba(210, 16, 52, 0.3);
}

.hfp-btn-secondary:hover {
    background-color: #a80d29;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 16, 52, 0.5);
}

.hfp-btn-dark {
    background-color: #00205B;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 32, 91, 0.2);
}

.hfp-btn-dark:hover {
    background-color: #D21034;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 16, 52, 0.4);
}

.hfp-btn-youtube {
    background-color: #FF0000;
    color: #FFFFFF;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.hfp-btn-youtube:hover {
    background-color: #cc0000;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.hfp-btn-outline {
    background-color: transparent;
    border: 2px solid #00205B;
    color: #00205B;
    padding: 12px 25px;
}

.hfp-btn-outline:hover {
    background-color: #00205B;
    color: #FFFFFF;
}

/* 2 & 3. Live Video Screen & Chat */
.hfp-live-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: -60px; /* Overlap hero */
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.hfp-video-wrapper {
    background-color: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    aspect-ratio: 16 / 9;
    border: 5px solid rgba(255,255,255,0.1);
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(10px);
}

.hfp-chat-col {
    position: relative;
    height: 100%;
    width: 100%;
}

.hfp-chat-col-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hfp-chat-wrapper {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 4. Call-to-Action Buttons Area */
.hfp-cta-area {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 80px;
}

/* 5. Prince Fan Assistant (True 50/50 Split) */
.hfp-prince-assistant-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-bottom: 80px;
    border-left: 8px solid #F1C40F;
}

.hfp-prince-split-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.hfp-prince-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hfp-prince-split-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, #ffffff, #fdfdfd);
}

.hfp-prince-split-content h2 {
    color: #00205B;
    margin-top: 0;
    font-size: 2.5rem;
    font-weight: 800;
}

.hfp-prince-split-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* 6. Upcoming Live Shows */
.hfp-upcoming-shows {
    margin-bottom: 80px;
}

.hfp-upcoming-shows h2 {
    color: #00205B;
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
}

.hfp-upcoming-shows h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #D21034;
    border-radius: 2px;
}

.hfp-shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid #D21034;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.glass-card h3 {
    margin-top: 0;
    color: #00205B;
    font-size: 1.5rem;
    font-weight: 800;
}

.show-details {
    margin: 20px 0;
}

.show-details p {
    margin: 8px 0;
    color: #555;
    font-size: 1.05rem;
}

.glass-card .hfp-btn {
    margin-top: 10px;
    width: 100%;
}

/* 8. Footer Disclaimer */
.hfp-footer {
    background-color: #001233;
    color: #a0aec0;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.95rem;
    border-top: 3px solid #D21034;
}

/* Custom Chat UI */
.hfp-custom-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    overflow: hidden;
}

.hfp-chat-header {
    background: #00205B;
    color: #fff;
    padding: 15px 20px;
    border-bottom: 3px solid #D21034;
}

.hfp-chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #FFFFFF !important;
}

.hfp-chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fdfdfd;
    min-height: 0;
}

.hfp-chat-msg {
    margin-bottom: 15px;
    word-wrap: break-word;
    font-size: 0.95rem;
}

.hfp-chat-time {
    color: #999;
    font-size: 0.8rem;
    margin-right: 5px;
}

.hfp-chat-user {
    color: #D21034;
}

.hfp-chat-text {
    color: #333;
}

.hfp-chat-loading {
    color: #888;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

.hfp-chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.hfp-chat-input-guest {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.hfp-chat-input-row {
    display: flex;
    gap: 10px;
}

#hfp-chat-message-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: border-color 0.3s;
}

#hfp-chat-message-input:focus {
    border-color: #00205B;
}

#hfp-chat-send-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hfp-chat-col {
        height: 500px;
    }
    .hfp-hero-headline {
        font-size: 3rem;
    }
    .hfp-live-area {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }
    .hfp-prince-assistant-split {
        grid-template-columns: 1fr;
    }
    .hfp-prince-split-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .hfp-hero-headline {
        font-size: 2.2rem;
    }
    .hfp-hero {
        padding: 80px 20px;
    }
    .hfp-cta-area {
        flex-direction: column;
        align-items: stretch;
    }
    .hfp-cta-area .hfp-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .hfp-prince-split-content {
        padding: 40px 20px;
    }
}
