/* Main Stylesheet */
:root {
    --primary: #b93b3b;
    --primary-hover: #962a2a;
    --bg-color: #f2f3f5;
    --header-bg: #fff;
    --text-dark: #333;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.flex {
    display: flex;
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

header {
    background: var(--header-bg);
    height: 60px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: none;
}

@media(min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 20px;
        font-weight: 600;
        font-size: 14px;
        color: var(--text-dark);
    }

    .nav-links a:hover {
        color: var(--primary);
    }
}

.btn-cta {
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
}

.btn-cta:hover {
    background: var(--primary-hover);
}

.hero-section {
    margin-top: 20px;
}

.player-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    pointer-events: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(185, 59, 59, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(185, 59, 59, 0.7);
    animation: pulse 2s infinite;
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #fff;
    margin-left: 5px;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(185, 59, 59, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(185, 59, 59, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(185, 59, 59, 0);
    }
}

.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff0000;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 3;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.info-bar {
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.stream-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.stream-meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.viewer-count {
    color: #2e7d32;
    font-weight: 600;
}

.grid-section {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media(min-width: 768px) {
    .model-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media(min-width: 1024px) {
    .model-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.model-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    cursor: pointer;
}

.model-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #e0e0e0;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-live {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 700;
}

.card-info {
    padding: 8px;
}

.model-name {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.model-viewers {
    font-size: 11px;
    color: #888;
}

.gate-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.gate-modal {
    background: #fff;
    width: 90%;
    max-width: 380px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gate-header {
    background: var(--primary);
    padding: 15px;
    text-align: center;
}

.gate-body {
    padding: 30px 20px;
    text-align: center;
}

.gate-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.gate-text {
    color: #666;
    font-size: 13px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-gate-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 15px;
}

.btn-gate-secondary {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    color: #555;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
}

.gate-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #999;
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.content-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}

.content-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}

.content-body h2 {
    margin: 30px 0 15px;
    font-size: 24px;
    color: #222;
}

.content-body p {
    margin-bottom: 15px;
}

/* --- ADDED: ACCORDION & FAQ STYLES (Fix for Inner Pages) --- */
details {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

details:hover {
    border-color: #ccc;
}

details[open] {
    border-color: var(--primary);
    /* Highlight active */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

summary {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fcfcfc;
    color: #333;
    user-select: none;
}

/* Hide default marker in Webkit */
summary::-webkit-details-marker {
    display: none;
}

/* Custom Icon */
summary:after {
    content: '+';
    font-size: 20px;
    color: #888;
    font-weight: 400;
    transition: transform 0.2s;
}

details[open] summary:after {
    content: '-';
    color: var(--primary);
    transform: rotate(180deg);
}

details[open] summary {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    color: var(--primary);
}

details>div {
    padding: 18px;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    background: #fff;
}

/* Nested lists in accordions */
details ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

details li {
    margin-bottom: 5px;
}

/* Header Adjustments for Inner Pages */
h2 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #222;
    font-weight: 700;
}

/* Mobile Responsive Fixes */
@media(max-width: 600px) {
    .container {
        padding: 0 10px;
    }

    summary {
        padding: 12px 15px;
        font-size: 14px;
    }
}