/* GOAT FLIX - Home page styles */

        .hero {
            position: relative;
            min-height: 85vh;
            background-color: #0a0a16;
            background-size: cover;
            background-position: center 20%;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            padding: 120px 5% 60px;
            margin-bottom: 0;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(100deg, rgba(10,10,22,0.92) 20%, rgba(10,10,22,0.5) 50%, rgba(10,10,22,0.15) 80%);
            z-index: 1;
            pointer-events: none;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 280px;
            background: linear-gradient(to top, #0a0a16 0%, rgba(10,10,22,0.7) 40%, transparent 100%);
            z-index: 1;
            pointer-events: none;
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 60px;
            width: 100%;
            max-width: 1300px;
            margin: 0 auto;
        }

        .hero-content {
            flex: 1;
            max-width: 550px;
            min-width: 300px;
        }

        .hero-poster {
            flex-shrink: 0;
            position: relative;
            z-index: 3;
        }

        .hero-poster-wrap {
            width: clamp(130px, 28vw, 320px);
            aspect-ratio: 2/3;
            border-radius: 18px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            box-shadow: 0 25px 60px rgba(0,0,0,0.55), 0 0 30px rgba(123,92,255,0.08);
            border: 2px solid rgba(255,255,255,0.06);
            transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
            background: linear-gradient(135deg, rgba(16,16,26,0.4), rgba(30,30,55,0.2));
        }

        .hero-poster-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 60%, rgba(16,16,26,0.3) 100%);
            pointer-events: none;
            z-index: 1;
        }

        .hero-poster-wrap:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 30px 70px rgba(0,0,0,0.65), 0 0 50px rgba(123,92,255,0.2);
            border-color: rgba(123,92,255,0.25);
        }

        .hero-poster-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

        .hero-poster-wrap:hover img {
            transform: scale(1.06);
        }

        .hero-poster-shine {
            position: absolute;
            top: 0; left: -100%;
            width: 60%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
            transform: skewX(-20deg);
            transition: left 0.8s ease;
            pointer-events: none;
        }

        .hero-poster-wrap:hover .hero-poster-shine {
            left: 120%;
        }

        .hero-poster-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0,210,106,0.9);
            color: #000;
            font-size: 0.7rem;
            font-weight: 800;
            padding: 4px 10px;
            border-radius: 6px;
            letter-spacing: 0.5px;
            backdrop-filter: blur(4px);
        }

        .hero-poster-glow {
            position: absolute;
            inset: -8px;
            border-radius: 22px;
            background: radial-gradient(ellipse at center, rgba(123,92,255,0.12) 0%, transparent 70%);
            z-index: -1;
            pointer-events: none;
            animation: heroGlowPulse 3s ease-in-out infinite;
        }

        @keyframes heroGlowPulse {
            0%, 100% { opacity: 0.6; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.04); }
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #b8a4ff;
            margin-bottom: 20px;
            background: rgba(123,92,255,0.1);
            border: 1px solid rgba(123,92,255,0.15);
            padding: 6px 14px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .hero-meta {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .meta-badge {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 0.78rem;
            font-weight: 600;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }

        .meta-rating {
            color: #f1c40f;
            font-weight: 700;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .hero h1 {
            font-size: clamp(2rem, 5vw, 3.8rem);
            font-weight: 800;
            margin-bottom: 16px;
            line-height: 1.1;
            letter-spacing: -1px;
            text-shadow: 0 2px 20px rgba(0,0,0,0.4);
        }

        .hero p {
            max-width: 500px;
            font-size: 1.05rem;
            color: rgba(255,255,255,0.65);
            line-height: 1.65;
            margin-bottom: 30px;
        }

        .hero-btns {
            display: flex;
            gap: 15px;
        }

        .btn-play {
            background: linear-gradient(135deg, #7b5cff, #5a3fd4);
            color: white;
            border: 1px solid rgba(123,92,255,0.4);
            padding: 15px 30px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 20px rgba(123,92,255,0.25);
            will-change: transform;
            position: relative;
            overflow: hidden;
        }

        .btn-play:hover {
            background: linear-gradient(135deg, #8b6cff, #6a4fe4);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 40px rgba(123,92,255,0.4);
        }

        .btn-play:active {
            transform: scale(0.97);
            transition: transform 0.1s ease;
        }

        .btn-info {
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 15px 30px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-info:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
        }

        .btn-info:active {
            transform: scale(0.97);
            transition: transform 0.1s ease;
        }

        .content-section {
            padding: 10px 4% 40px 4%;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 22px;
            padding: 0 2px;
        }

        .section-header h2 {
            font-size: 1.55rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
            letter-spacing: -0.3px;
        }

        .section-header h2 .svg-icon {
            color: #7b5cff;
            font-size: 1.3rem;
        }

        .view-all {
            background: rgba(255,255,255,0.04);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.06);
            color: #ccc;
            padding: 8px 18px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 0.82rem;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .view-all:hover {
            background: rgba(123,92,255,0.15);
            border-color: rgba(123,92,255,0.25);
            color: #fff;
            transform: translateX(2px);
        }

        .slider {
            display: flex;
            gap: 18px;
            overflow-x: auto;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            overscroll-behavior-x: contain;
            padding-bottom: 14px;
            align-items: stretch;
        }

        .slider::-webkit-scrollbar {
            display: none;
        }

        .slider .card {
            scroll-snap-align: start;
        }

        .card {
            flex: 0 0 185px;
            width: 185px;
            min-width: 185px;
            max-width: 185px;
        }

        .card-img-box {
            height: 277px;
            min-height: 277px;
            max-height: 277px;
        }

        .card-img-box img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hd-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: var(--hd-green);
            color: black;
            font-size: 0.7rem;
            font-weight: bold;
            padding: 2px 6px;
            border-radius: 4px;
            z-index: 10;
        }

        .progress-container {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            position: absolute;
            bottom: 0;
            left: 0;
            z-index: 5;
        }

        .progress-bar {
            height: 100%;
            background: var(--primary);
        }

        .card-details {
            padding-top: 10px;
        }

        .card-title {
            font-size: 0.95rem;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 5px;
        }

        .card-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .type-badge {
            background: var(--badge-bg);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.7rem;
        }

        .content-section {
                padding: 0 4% 25px 4%;
            }

            .section-header h2 {
                font-size: 1.2rem;
            }

            .view-all {
                padding: 6px 12px;
                font-size: 0.8rem;
            }

            .card {
                flex: 0 0 140px;
                width: 140px;
                min-width: 140px;
                max-width: 140px;
            }

            .card-img-box {
                height: 210px;
                min-height: 210px;
                max-height: 210px;
            }

            .card-title {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 1024px) {
            .hero { min-height: 70vh; padding: 110px 4% 50px; }
            .hero-inner { gap: 40px; }
            .hero h1 { font-size: 2.4rem; }
            .hero p { font-size: 0.95rem; }
            .card { flex: 0 0 170px; width: 170px; min-width: 170px; max-width: 170px; }
            .card-img-box { height: 255px; min-height: 255px; max-height: 255px; }
        }

        @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
            .hero { min-height: 60vh; padding: 90px 4% 40px; }
            .hero-inner { gap: 30px; }
            .hero h1 { font-size: 2rem; }
            .hero p { font-size: 0.85rem; max-width: 380px; }
            .card { flex: 0 0 150px; width: 150px; min-width: 150px; max-width: 150px; }
            .card-img-box { height: 225px; min-height: 225px; max-height: 225px; }
        }

        @media (max-width: 900px) {
            .hero { min-height: auto; padding: 90px 5% 30px 5%; background-position: center 10%; }
            .hero::before { background: linear-gradient(180deg, rgba(10,10,22,0.3) 0%, rgba(10,10,22,0.2) 30%, rgba(10,10,22,0.6) 65%, rgba(10,10,22,0.9) 100%); }
            .hero::after { height: 150px; }
            .hero-inner { flex-direction: column; gap: 16px; }
            .hero-poster { order: -1; }
            .hero-poster-wrap { margin: 0 auto; }
            .hero-content { text-align: center; max-width: 100%; min-width: auto; padding-top: 10px; }
            .hero p { margin-left: auto; margin-right: auto; }
            .hero-tag { margin-left: auto; margin-right: auto; }
            .hero-meta { justify-content: center; }
            .hero h1 { font-size: 1.7rem; }
            .hero p { font-size: 0.82rem; margin-bottom: 16px; }
            .hero-btns { flex-direction: row; width: 100%; gap: 8px; }
            .btn-play, .btn-info { flex: 1; padding: 13px 10px; font-size: 0.85rem; justify-content: center; border-radius: 12px; }
            .card { flex: 0 0 145px; width: 145px; min-width: 145px; max-width: 145px; }
            .card-img-box { height: 217px; min-height: 217px; max-height: 217px; }
        }

        @media (max-width: 600px) {
            .hero { padding: 90px 4% 30px 4%; }
            .hero h1 { font-size: 1.7rem; }
            .hero p { font-size: 0.85rem; }
            .card { flex: 0 0 140px; width: 140px; min-width: 140px; max-width: 140px; }
            .card-img-box { height: 210px; min-height: 210px; max-height: 210px; }
        }
    