/* === Global Halaman === */
.page-header, .section {
    padding: 5rem 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* === Halaman Utama (index.html) === */
.hero-section {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6)), url('../images/hero-background.jpg') no-repeat center center/cover;
}
.hero-section h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; }
.hero-section p { font-size: 1.25rem; color: var(--color-text-primary); max-width: 700px; margin: 1rem auto 2.5rem auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: left;
}
.card-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: 1rem; }

/* === Tampilan Grid Jadwal === */
.schedule-grid, #featured-schedule-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.schedule-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.schedule-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}
.schedule-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.schedule-card-body {
    flex-grow: 1;
}
.schedule-card-body h3 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}
.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    margin: 1rem 0;
    font-size: 0.9rem;
}
.schedule-info span {
    display: flex;
    align-items: center;
}
.schedule-info i {
    margin-right: 0.75rem;
    color: var(--color-primary);
    width: 16px;
}
.schedule-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.schedule-card-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.schedule-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}
.schedule-card-footer .btn {
    width: auto;
    flex-shrink: 0;
}


/* === Halaman Player === */
.player-layout { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: flex-start;}
.stream-main { min-width: 0; }
.player-container { background-color: #000; border-radius: var(--border-radius); aspect-ratio: 16 / 9; overflow: hidden; display:flex;}
.stream-details { background-color: var(--color-surface); border: 1px solid var(--color-border); padding: 1.5rem; margin-top: 1.5rem; border-radius: var(--border-radius); }
.chat-sidebar { background-color: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--border-radius); display: flex; flex-direction: column; height: 80vh; }
.membership-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: var(--shadow-sm);
}
.membership-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.membership-price .old-price {
    text-decoration: line-through;
    color: var(--color-text-secondary);
    font-size: 1.2rem;
}
.membership-price .new-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}
.membership-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.membership-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.membership-features li i {
    color: var(--color-primary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* === Media Queries Halaman Spesifik === */
@media (max-width: 1200px) {
    .player-layout { grid-template-columns: 1fr; }
    .chat-sidebar { height: 70vh; margin-top: 1rem; }
}
@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .page-header { padding: 3rem 0; }
    .section-title, .page-header h1 { font-size: 2rem; }
}