:root {
    --tp-bg: #060816;
    --tp-bg-2: #0b1025;
    --tp-panel: rgba(255, 255, 255, 0.085);
    --tp-panel-strong: rgba(255, 255, 255, 0.14);
    --tp-line: rgba(255, 255, 255, 0.16);
    --tp-text: #f8fbff;
    --tp-muted: #a9b5d8;
    --tp-cyan: #35e7ff;
    --tp-lime: #b8ff4d;
    --tp-pink: #ff3fd5;
    --tp-orange: #ffb340;
    --tp-green: #23e38f;
    --tp-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --tp-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 12% 6%, rgba(53, 231, 255, 0.22), transparent 32rem),
        radial-gradient(circle at 88% 12%, rgba(255, 63, 213, 0.18), transparent 34rem),
        linear-gradient(180deg, #050713 0%, #0a1024 46%, #050713 100%);
    color: var(--tp-text);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.17;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a,
a:hover {
    text-decoration: none;
}

.preloader {
    background: #050713;
}

.preloader-icon span {
    background: linear-gradient(135deg, var(--tp-cyan), var(--tp-pink));
    box-shadow: 0 0 28px rgba(53, 231, 255, 0.75);
}

.header-section {
    padding: 14px 0;
    background: rgba(5, 7, 19, 0.64);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
}

.header-section.header-active {
    background: rgba(5, 7, 19, 0.9);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
}

.header-wrapper .logo img,
.footer-top .logo img {
    max-height: 52px;
    width: auto;
    filter: drop-shadow(0 0 18px rgba(53, 231, 255, 0.2));
}

.menu li a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    letter-spacing: 0;
}

.menu li a.active,
.menu li a:hover {
    color: var(--tp-cyan);
}

.menu > li > a {
    border-radius: 999px;
    padding: 10px 14px;
    transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.menu > li > a:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.menu .submenu {
    background: rgba(9, 13, 31, 0.96);
    border: 1px solid var(--tp-line);
    border-radius: var(--tp-radius);
    box-shadow: var(--tp-shadow);
    overflow: hidden;
}

.header-button a,
.custom-button,
.view-all,
.newslater-form button,
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    color: #06101b !important;
    font-weight: 900;
    background: linear-gradient(135deg, var(--tp-lime), var(--tp-cyan) 52%, #7c5cff);
    box-shadow: 0 12px 34px rgba(53, 231, 255, 0.28);
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.header-button a:hover,
.custom-button:hover,
.view-all:hover,
.newslater-form button:hover,
.tp-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 18px 46px rgba(255, 63, 213, 0.28), 0 14px 38px rgba(53, 231, 255, 0.28);
    filter: saturate(1.16);
}

.header-bar span {
    background: #fff;
}

.banner-section.tp-hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 150px 0 72px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.tp-hero .banner-bg {
    opacity: 0.45;
    filter: saturate(1.2) contrast(1.05);
}

.tp-hero::before,
.tp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.tp-hero::before {
    background:
        linear-gradient(90deg, rgba(5, 7, 19, 0.96), rgba(5, 7, 19, 0.5) 48%, rgba(5, 7, 19, 0.82)),
        radial-gradient(circle at 60% 34%, rgba(255, 63, 213, 0.32), transparent 28rem),
        radial-gradient(circle at 30% 70%, rgba(35, 227, 143, 0.26), transparent 22rem);
}

.tp-hero::after {
    background: linear-gradient(to bottom, transparent 76%, #080c1d 100%);
}

.tp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 42px;
    align-items: center;
}

.tp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--tp-cyan);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.tp-kicker i {
    color: var(--tp-lime);
}

.tp-hero-title {
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(44px, 7vw, 94px);
    line-height: 0.94;
    font-weight: 1000;
}

.tp-gradient-text {
    display: inline-block;
    color: transparent;
    background: linear-gradient(110deg, var(--tp-cyan), var(--tp-lime) 38%, var(--tp-orange) 68%, var(--tp-pink));
    -webkit-background-clip: text;
    background-clip: text;
    animation: tpHue 8s ease-in-out infinite alternate;
}

.tp-hero-copy {
    max-width: 620px;
    color: #d8e0ff;
    font-size: 19px;
    line-height: 1.75;
}

.tp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.tp-btn-outline {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.tp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    max-width: 650px;
}

.tp-stat {
    padding: 18px;
    border-radius: var(--tp-radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-stat strong {
    display: block;
    color: #fff;
    font-size: 25px;
}

.tp-stat span {
    color: var(--tp-muted);
    font-size: 13px;
}

.tp-showcase {
    position: relative;
    min-height: 560px;
}

.tp-floating-card {
    position: absolute;
    overflow: hidden;
    border-radius: var(--tp-radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--tp-shadow);
    backdrop-filter: blur(18px);
    animation: tpFloat 6s ease-in-out infinite;
}

.tp-floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tp-floating-card.card-main {
    width: 70%;
    height: 72%;
    right: 4%;
    top: 8%;
}

.tp-floating-card.card-side {
    width: 48%;
    height: 42%;
    left: 1%;
    bottom: 7%;
    animation-delay: -2s;
}

.tp-ticket-chip {
    position: absolute;
    right: 0;
    bottom: 16%;
    z-index: 2;
    max-width: 270px;
    padding: 18px;
    border-radius: var(--tp-radius);
    background: rgba(6, 8, 22, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--tp-shadow);
    backdrop-filter: blur(18px);
}

.tp-ticket-chip strong {
    display: block;
    color: #fff;
    font-size: 20px;
}

.tp-ticket-chip span {
    color: var(--tp-muted);
}

.tp-section {
    position: relative;
    padding: 86px 0;
    overflow: hidden;
}

.bg-one,
.bg-two {
    background: transparent !important;
}

.tp-section.alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.section-header-1,
.tp-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.section-header-1 .title,
.tp-section-head .title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
    font-weight: 1000;
}

.tp-section-head p,
.section-header-1 p {
    max-width: 560px;
    margin: 10px 0 0;
    color: var(--tp-muted) !important;
}

.tp-rail {
    overflow: hidden;
    border-radius: var(--tp-radius);
    padding: 24px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.horizontal-scroll {
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.scroll-content {
    display: inline-flex;
    gap: 20px;
    animation: tpMarquee 42s linear infinite;
}

.scroll-content:hover {
    animation-play-state: paused;
}

.event-card,
.event-grid,
.tp-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--tp-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.25);
    transform: translateZ(0);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.event-card {
    display: inline-block;
    width: 286px;
    white-space: normal;
}

.event-card:hover,
.event-grid:hover,
.tp-card:hover {
    transform: translateY(-10px);
    border-color: rgba(53, 231, 255, 0.42);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.36), 0 0 44px rgba(53, 231, 255, 0.14);
}

.event-card::before,
.event-grid::before,
.tp-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(130deg, transparent 0 30%, rgba(255, 255, 255, 0.2) 45%, transparent 62%);
    transform: translateX(-120%);
    transition: transform 650ms ease;
}

.event-card:hover::before,
.event-grid:hover::before,
.tp-card:hover::before {
    transform: translateX(120%);
}

.event-card img,
.event-grid .movie-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    background:
        linear-gradient(135deg, rgba(53, 231, 255, 0.18), rgba(255, 63, 213, 0.16)),
        #111832;
    transition: transform 450ms ease, filter 450ms ease;
}

img.image-fallback {
    object-fit: cover !important;
    filter: saturate(1.05) contrast(1.04);
}

.event-card:hover img,
.event-grid:hover .movie-thumb img {
    transform: scale(1.07);
    filter: saturate(1.18);
}

.movie-thumb.c-thumb {
    border-radius: 0;
    overflow: hidden;
}

.event-info,
.movie-content {
    position: relative;
    z-index: 2;
    min-height: 126px;
    padding: 18px !important;
    background:
        linear-gradient(180deg, rgba(7, 10, 26, 0.84), rgba(7, 10, 26, 0.98)) !important;
}

.event-info h5,
.movie-content h5 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
}

.event-info h5 a,
.movie-content h5 a {
    color: #fff;
}

.event-info span,
.movie-content span,
.movie-content small {
    color: var(--tp-muted);
}

.tp-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #06101b;
    background: var(--tp-lime);
    font-size: 12px;
    font-weight: 900;
}

.tp-card-grid {
    row-gap: 28px;
}

.progress {
    height: 9px !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--tp-green), var(--tp-cyan), var(--tp-lime)) !important;
}

.tp-category-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.tp-category {
    min-height: 132px;
    padding: 18px;
    border-radius: var(--tp-radius);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 220ms ease, background 220ms ease;
}

.tp-category:hover {
    transform: translateY(-6px);
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.tp-category i {
    display: block;
    margin-bottom: 16px;
    color: var(--tp-cyan);
    font-size: 28px;
}

.tp-category strong {
    display: block;
}

.tp-category span {
    color: var(--tp-muted);
    font-size: 13px;
}

.newslater-section {
    padding-top: 80px;
}

.newslater-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--tp-radius);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--tp-shadow);
}

.newslater-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(6, 8, 22, 0.92), rgba(6, 8, 22, 0.72)),
        radial-gradient(circle at 25% 20%, rgba(53, 231, 255, 0.32), transparent 24rem);
}

.newslater-wrapper {
    position: relative;
    z-index: 1;
}

.newslater-wrapper .cate {
    color: var(--tp-cyan);
}

.newslater-wrapper .title {
    color: #fff;
}

.newslater-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 7px;
}

.newslater-form input {
    color: #fff;
}

.footer-section {
    background: linear-gradient(180deg, rgba(5, 7, 19, 0), #040611 30%, #03040c 100%);
}

.footer-top,
.footer-bottom-area {
    border-color: rgba(255, 255, 255, 0.12);
}

.social-icons li a {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-icons li a.active,
.social-icons li a:hover {
    background: linear-gradient(135deg, var(--tp-pink), var(--tp-cyan));
    color: #fff;
}

.scrollToTop {
    background: linear-gradient(135deg, var(--tp-pink), var(--tp-cyan));
    box-shadow: 0 12px 34px rgba(255, 63, 213, 0.28);
}

.tp-reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: tpReveal 800ms ease forwards;
}

.tp-delay-1 { animation-delay: 120ms; }
.tp-delay-2 { animation-delay: 240ms; }
.tp-delay-3 { animation-delay: 360ms; }

@keyframes tpReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tpFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-18px) rotate(1deg);
    }
}

@keyframes tpMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes tpHue {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(28deg); }
}

@media (max-width: 1199px) {
    .tp-hero-grid {
        grid-template-columns: 1fr;
    }

    .tp-showcase {
        min-height: 420px;
    }

    .tp-category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .menu {
        background: rgba(7, 10, 26, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: var(--tp-shadow);
    }

    .menu > li > a {
        border-radius: 0;
    }

    .tp-hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .banner-section.tp-hero {
        min-height: auto;
        padding: 130px 0 52px;
    }

    .tp-hero-actions,
    .section-header-1,
    .tp-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .tp-btn,
    .custom-button,
    .view-all {
        width: 100%;
    }

    .tp-showcase {
        min-height: 360px;
    }

    .tp-floating-card.card-main {
        width: 82%;
        right: 0;
    }

    .tp-floating-card.card-side {
        width: 62%;
    }

    .tp-ticket-chip {
        left: 7%;
        right: 7%;
        max-width: none;
    }

    .tp-category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-card {
        width: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
