/* style.css - FINAL version with all corrections and features */

/* ==========================================================================
   1. Root Variables & Global Styles
   ========================================================================== */
:root {
    --color-primary-magenta: #C2185B;
    --color-primary-dark: #212121;
    --color-secondary-grey: #757575;
    --color-background-light: #f4f4f4;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --color-accent-gold: #FFC107;
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background-light);
    color: var(--color-primary-dark);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

a {
    color: var(--color-primary-magenta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-heading {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--color-primary-magenta);
    display: inline-block;
    padding-bottom: 10px;
}

/* ==========================================================================
   2. Header & Footer Styles
   ========================================================================== */
.site-header-v2 {
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

.site-logo-v2 {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--color-primary-dark);
    letter-spacing: -1px;
}
.site-logo-v2:hover {
    color: var(--color-primary-magenta);
}

.main-navigation a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--color-secondary-grey);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}
.main-navigation a:hover {
    color: var(--color-primary-magenta);
    border-bottom-color: var(--color-primary-magenta);
}

.site-footer-v2 {
    background-color: var(--color-primary-dark);
    color: var(--color-secondary-grey);
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
}

.site-footer-v2 p {
    margin: 5px 0;
}

.site-footer-v2 a {
    color: var(--color-white);
}

.site-footer-v2 a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   3. Homepage Fan Hub Styles
   ========================================================================== */
.fan-hub-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center 30%;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.fan-hub-header h1 {
    font-size: 3.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.fan-hub-header .hero-subtitle {
    font-size: 1.5em;
    margin: 10px 0 30px;
    font-weight: 300;
}

.cta-button {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.quick-action-buttons .cta-button {
    margin: 0 10px;
}

.cta-button.primary {
    background-color: var(--color-primary-magenta);
    color: var(--color-white);
    border-color: var(--color-primary-magenta);
}

.cta-button.primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.cta-button.secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
}

.cta-button.outline {
    background-color: transparent;
    border-color: var(--color-primary-magenta);
    color: var(--color-primary-magenta);
}

.cta-button.outline:hover {
    background-color: var(--color-primary-magenta);
    color: var(--color-white);
}

.header-disclaimer {
    margin-top: 25px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.hub-content-section {
    background-color: var(--color-white);
    padding: 40px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.bio-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
}

.photo-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ==========================================================================
   4. Blog Section Styles
   ========================================================================== */
.page-heading-v2 h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.blog-highlights {
    text-align: center;
}

.blog-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.blog-summary-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: 8px;
}

.blog-card-text h4 {
    margin-top: 0;
}

.blog-featured-post, .post-hero-image {
    position: relative;
    height: 50vh;
    min-height: 350px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.featured-post-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.featured-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
}

.featured-post-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.featured-post-content h1 {
    font-size: 3em;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.featured-post-content h1 a {
    color: var(--color-white);
}

.article-category {
    background-color: var(--color-primary-magenta);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}
.article-category:hover {
    color: var(--color-white);
    opacity: 0.9;
}

.article-excerpt {
    font-size: 1.1em;
    font-weight: 300;
}

.read-article-link.featured {
    color: var(--color-white);
    font-weight: bold;
    text-decoration: underline;
}

.blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-grid-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.blog-summary-card-v2 {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.blog-summary-card-v2:hover .card-image-link img {
    transform: scale(1.05);
}

.card-image-link {
    display: block;
    overflow: hidden;
    line-height: 0;
}
.card-image-link img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-summary-card-v2 .blog-card-text {
    padding: 25px;
}
.blog-summary-card-v2 .article-category {
    font-size: 0.75em;
}
.blog-summary-card-v2 h4 {
    font-size: 1.5em;
    margin: 10px 0;
}
.blog-summary-card-v2 h4 a {
    color: var(--color-primary-dark);
}
.blog-summary-card-v2 p.article-excerpt {
    color: var(--color-secondary-grey);
    font-size: 1em;
}

.blog-sidebar .sidebar-widget {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.blog-sidebar .widget-title {
    font-size: 1.3em;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}
.blog-category-nav {
    display: flex;
    flex-direction: column;
}
.blog-category-nav a {
    color: var(--color-secondary-grey);
    padding: 10px;
    border-radius: 5px;
}
.blog-category-nav a:hover {
    background-color: var(--color-background-light);
    color: var(--color-primary-dark);
}
.blog-category-nav a.active {
    background-color: var(--color-primary-magenta);
    color: var(--color-white);
    font-weight: bold;
}

.content-wrapper-full-width {
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.article-meta {
    margin-top: 15px;
    font-size: 0.9em;
}
.article-body {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 1.1em;
}
.article-body h2, .article-body h3 {
    margin-top: 1.5em;
}
.article-body p {
    margin-bottom: 1.2em;
}
.article-sharing-widget a {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: var(--color-white);
    font-weight: bold;
}
.article-sharing-widget a.twitter { background-color: #1DA1F2; }
.article-sharing-widget a.facebook { background-color: #1877F2; }

/* ==========================================================================
   5. Profile Page Styles
   ========================================================================== */
.profile-layout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.profile-main-content .section-heading,
.profile-biography-section .section-heading,
.faq-section-new .section-heading {
    text-align: left;
    border-bottom: none;
    font-size: 1.8em;
    margin-bottom: 20px;
}
.live-stream-container, .profile-video-clips-section, .profile-biography-section, .profile-photo-gallery-section {
    margin-bottom: 40px;
}
.live-feed-highlight-box {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    border: 1px solid var(--color-border);
}
.live-feed-highlight-box iframe,
.live-feed-highlight-box div[id*="container"] {
    width: 100% !important;
    max-width: 100%;
}
.profile-sidebar {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    align-self: start;
}
.sidebar-profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}
.sidebar-profile-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary-magenta);
}
.sidebar-header-text h1 {
    font-size: 1.8em;
    margin: 0;
}
.sidebar-header-text .profile-subtitle {
    font-size: 0.9em;
    color: var(--color-secondary-grey);
    margin: 0;
}
.profile-hero-button.sidebar-cta {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--color-primary-magenta);
    color: var(--color-white);
    padding: 15px;
    font-size: 1.2em;
    border-radius: 5px;
    margin: 20px 0;
    box-sizing: border-box;
}
.profile-hero-button.sidebar-cta:hover {
    opacity: 0.85;
}
.sidebar-widget {
    margin-bottom: 25px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}
.sidebar-widget:first-of-type {
    border-top: none;
    padding-top: 0;
}
.widget-title {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 15px;
}
.details-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9em;
}
.details-grid-v2 strong {
    color: var(--color-primary-dark);
}
.details-grid-v2 span {
    color: var(--color-secondary-grey);
}
.tags-list-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tags-list-v2 li {
    background-color: var(--color-background-light);
    color: var(--color-secondary-grey);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85em;
}
.content-panel {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    line-height: 1.8;
}

/* ==========================================================================
   6. Lightbox Styles
   ========================================================================== */
.lightbox-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none; /* This is the key line that hides it by default */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 20px;
    box-sizing: border-box;
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default; 
}
.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 5px;
}
.lightbox-close {
    position: absolute;
    top: -45px;
    right: -15px;
    font-size: 3em;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}
.lightbox-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary-magenta);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    opacity: 0.9;
}
.lightbox-cta:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
    color: var(--color-white);
}

/* ==========================================================================
   7. Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
    .profile-layout-grid, .blog-layout-grid {
        grid-template-columns: 1fr;
    }
    .photo-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container-v2 {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    .main-navigation {
        margin: 15px 0;
        order: 2;
    }
    .header-cta-button {
        display: none;
    }
    .fan-hub-header h1 {
        font-size: 2.5em;
    }
    .fan-hub-header .hero-subtitle {
        font-size: 1.2em;
    }
    .quick-action-buttons {
        display: flex;
        flex-direction: column;
    }
    .quick-action-buttons .cta-button {
        margin: 10px 0;
        width: 80%;
        align-self: center;
    }
    .photo-showcase-grid {
        grid-template-columns: 1fr;
    }
}
@font-face {
  font-family: 'PT Icons';
  src: url('/assets/fonts/pt-icons.32d91.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* This is the key change */
}
/* ============================================= */
/* == CSS FOR ACTIVITY & BROADCAST FEATURES == */
/* ============================================= */

/* --- Sidebar Broadcast Info Widget --- */
/* Ensures the long "Activity" text wraps correctly in the grid */
.activity-summary-container {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}

/* --- Activity Chart Widget in Sidebar --- */
.chart-container {
    position: relative;
    height: 100px; /* Gives the chart a defined height */
    width: 100%;
}

.chart-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between legend items */
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
}

.legend-box {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 2px;
}

.legend-box.online {
    background-color: rgb(75, 192, 192); /* Matches the "Online" bar color in the chart */
}

.legend-box.offline {
    background-color: #e0e0e0; /* A neutral gray for the "Offline" state */
}

/* --- Favorites Button --- */
/* Provides a visual style for the favorite button */
.add-favorite-button {
    font-size: 1.5rem;
    color: #ccc; /* Default empty heart color */
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.add-favorite-button:hover {
    transform: scale(1.1);
}

.add-favorite-button.favorited {
    color: #ff4d4d; /* Red filled heart color */
}