/* Color Layout Matrix Configuration tokens */
:root {
    --primary-red: #d32f2f;
    --primary-red-hover: #b71c1c;
    --verified-blue: #3897f0;
    --background-white: #ffffff;
    --border-gray: #e0e0e0;
    --text-dark: #111111;
    --text-muted: #666666;
    --sidebar-dark: #1a1a1a;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Header Navigation Bar Layout styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    background-color: var(--background-white);
    z-index: 100;
    height: 54px;
}

/* Explicitly setting header control icons to dark so they display on white backgrounds */
.menu-btn, .search-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-dark) !important;
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.menu-btn i, .search-btn i {
    color: var(--text-dark) !important;
}

.menu-btn:hover, .search-btn:hover,
.menu-btn:hover i, .search-btn:hover i {
    color: var(--primary-red) !important;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
}

.site-logo {
    height: 34px;
    max-width: 150px;
    object-fit: contain;
}

/* Page Frame Structure */
.page-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0 40px 0;
}

.hero-section {
    width: 100%;
    position: relative;
}

.hero-image-wrapper {
    width: 100%;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
}

.parent-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* Live View CTA Area styling */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-bottom: 1px solid var(--border-gray);
    background-color: var(--background-white);
}

.watch-live-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-red);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    transition: all 0.3s ease;
    animation: livePulseButton 2s infinite ease-in-out;
}

.watch-live-btn:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: dotBlink 1.2s infinite ease-in-out;
}

.viewer-counter {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Premium Identity System Typography styling */
.profile-identity {
    padding: 24px 16px;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.model-heading-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    color: var(--verified-blue) !important;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* Modal Overlay Layout Mechanics */
.sidebar-overlay, .search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active, .search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}

/* Drawer Component Content Area */
.sidebar-content {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--sidebar-dark);
    color: #ffffff;
    padding: 60px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left 0.3s ease;
}

.sidebar-overlay.active .sidebar-content {
    left: 0;
}

.sidebar-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s ease;
}

.sidebar-nav-links a:hover {
    color: var(--primary-red);
}

/* Integrated Monetization Blocks formatting rules */
.adsterra-container {
    width: 100%;
    border-top: 1px solid #333333;
    padding-top: 20px;
    margin-top: auto;
}

.ad-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-align: center;
}

.adsterra-live-banner {
    width: 100%;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Full Screen Search Panel input positioning system */
.search-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box-container {
    width: 90%;
    max-width: 500px;
    display: flex;
    gap: 10px;
}

#searchInput {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    color: var(--text-dark);
    outline: none;
}

#searchSubmitBtn {
    padding: 12px 24px;
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#searchSubmitBtn:hover {
    background-color: var(--primary-red-hover);
}

/* Footer Element Properties ruleset */
.site-footer {
    text-align: center;
    padding: 24px 16px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-gray);
    background-color: var(--background-white);
}

/* Core Visual Animation States definitions */
@keyframes livePulseButton {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Media Viewport Adaptations breakpoints */
@media (max-width: 480px) {
    .model-heading-name { font-size: 26px; }
    .watch-live-btn { width: 100%; }
}
