body {
    margin: 0;
    background: #0b0b10;
    font-family: Arial, sans-serif;
    color: white;
}
#watch-body {
    margin: 0;
    background: black;
    color: white;
    font-family: Arial;
    text-align: center;
}
video {
    width: 80%;
    margin-top: 20px;
    border-radius: 10px;
}

/* TOP BAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 1;

    background: linear-gradient(
        to right,
        #000000 0%,
        #050507 20%,
        #08080c 40%,
        #0b0b10 60%,
        #0b0b10 100%
    );

    border-bottom: 1px solid #1d1d25;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
}

/* 👇 Mobile fix */
@media (max-width: 600px) {
    .topbar {
        padding: 10px 14px;
    }

    .logo img {
        max-height: 44px;
    }

    #search {
        width: 140px;
        padding: 8px 10px;
    }

    .wallet-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
}

.search-wallet {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

/* Wallet Button */
.wallet-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 9px 16px;
    background: linear-gradient(135deg, #111, #1b1b1b);
    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #fff;
    font-size: 14px;
    font-weight: 500;

    border-radius: 10px;
    cursor: pointer;

    transition: all 0.25s ease;
    white-space: nowrap;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.wallet-btn {
	text-decoration:none;
}
/* Hover effect */
.wallet-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1a1a1a, #242424);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Active click feel */
.wallet-btn:active {
    transform: translateY(0px) scale(0.98);
}

/* Icon styling */
.wallet-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.15));
}

/* Optional: search box polish if needed */
#search {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #0f0f0f;
    color: white;
    outline: none;
    width: 280px;
}

#search:focus {
    border-color: #444;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    padding: 20px;
}

/* CARD */
.card {
    background: #15151d;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.06);
}

/* POSTER */
.poster {
    position: relative;
}

.poster img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* HOVER PLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: all 0.2s ease;
}

.card:hover .overlay {
    opacity: 1;
}

.play {
    background: linear-gradient(135deg, #ff2fb2, #2b7cff);
    padding: 10px 18px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* META */
.meta {
    padding: 10px;
}

.meta h3 {
    margin: 0;
    font-size: 14px;
}

.meta p {
    margin: 5px 0;
    font-size: 12px;
    color: #aaa;
}

.meta small {
    color: #777;
    font-size: 11px;
}
.meta {
    padding: 12px;
}

.meta h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.meta .info {
    margin: 0 0 10px;
    font-size: 13px;
    color: #b5b5b5;
}

.meta .description {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #d6d6d6;

    display: -webkit-box;
    -webkit-line-clamp: 3;      /* Show up to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.loader{

    text-align:center;
    padding:40px;

    font-size:18px;
    color:#999;

    display:none;
}

.overlay .rent {
    padding: 8px 14px;
    background: #ffcc00;
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.overlay .rent:hover {
    background: #ffd633;
    transform: scale(1.05);
}
.recent-section {
    padding: 25px;
}

.recent-section h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 28px;
}

.recent-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.recent-grid::-webkit-scrollbar {
    height: 8px;
}

.recent-grid::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}