/* MarkaSahne - Pixel Perfect Netflix Clone Layout */

/* ===== HERO SECTION ===== */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    padding: 20px;
    height: 360px;
}

.hero-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.hero-slide.active {
    display: block;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1200&q=80');
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.3) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 22px;
    max-width: 340px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: #e8c96d;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(200,164,92,0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 11px 22px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--gold);
    width: 22px;
    border-radius: 4px;
}

/* ===== LIVE BOX (Right Side) ===== */
.live-box {
    background: #141414;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.live-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.live-badge {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #e50914;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(229,9,20,0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(229,9,20,0); }
}

.live-box-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.live-thumbnail-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.live-thumbnail {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #1a1a1a;
    display: block;
}

.live-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e50914;
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-box-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.btn-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.3s ease;
    justify-content: center;
}

.btn-live:hover {
    background: #e8c96d;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 36px 20px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 21px;
    font-weight: 700;
}

.section-nav {
    display: flex;
    gap: 8px;
}

.section-nav button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.section-nav button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ===== CARDS SLIDER ===== */
.cards-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.cards-slider::-webkit-scrollbar {
    display: none;
}

/* ===== PROGRAM CARDS ===== */
.program-card {
    flex: 0 0 calc(25% - 14px);
    min-width: 240px;
    cursor: pointer;
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.program-card:hover {
    transform: translateY(-6px) scale(1.02);
    z-index: 10;
}

.program-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #141414;
    margin-bottom: 10px;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-card-image img {
    transform: scale(1.08);
}

.program-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-card-overlay {
    opacity: 1;
}

.program-card-overlay i {
    font-size: 36px;
    color: var(--gold);
}

.program-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.program-card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.program-card:hover .program-card-image {
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 15px rgba(200,164,92,0.08);
}

/* ===== SPECIAL CARDS ===== */
.special-card {
    flex: 0 0 calc(25% - 14px);
    min-width: 250px;
    cursor: pointer;
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.special-card:hover {
    transform: translateY(-6px) scale(1.02);
    z-index: 10;
}

.special-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #141414;
    margin-bottom: 10px;
    border: 1px solid #222;
}

.special-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-card:hover .special-card-image {
    border-color: rgba(200,164,92,0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 15px rgba(200,164,92,0.08);
}

.special-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.special-card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== PLACEHOLDER IMAGES ===== */
.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    background: #0a0a0a;
}

.placeholder-img::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    transition: all 0.5s ease;
}

.program-card:hover .placeholder-img::before,
.special-card:hover .placeholder-img::before {
    opacity: 0.75;
    transform: scale(1.08);
}

/* Program card placeholder images */
.program-card:nth-child(1) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=400&q=70'); }
.program-card:nth-child(2) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?w=400&q=70'); }
.program-card:nth-child(3) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&q=70'); }
.program-card:nth-child(4) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=400&q=70'); }
.program-card:nth-child(5) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=400&q=70'); }

/* Special card placeholder images */
.special-card:nth-child(1) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=400&q=70'); }
.special-card:nth-child(2) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1475721027785-f74eccf877e2?w=400&q=70'); }
.special-card:nth-child(3) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=400&q=70'); }
.special-card:nth-child(4) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=400&q=70'); }
.special-card:nth-child(5) .placeholder-img::before { background-image: url('https://images.unsplash.com/photo-1505373877841-8d25f7d46678?w=400&q=70'); }

/* ===== FEATURES SECTION ===== */
.features-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 20px;
    border-top: 1px solid #1a1a1a;
    margin-top: 36px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(200,164,92,0.04);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(200,164,92,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 17px;
    color: var(--gold);
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.feature-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        height: auto;
    }
    .live-box {
        display: none;
    }
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-slide-content {
        padding: 24px;
    }
    .features-section {
        grid-template-columns: 1fr;
    }
    .program-card {
        flex: 0 0 200px;
        min-width: 200px;
    }
    .special-card {
        flex: 0 0 210px;
        min-width: 210px;
    }
}
