* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
    padding: 20px 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.search {
    display: flex;
    gap: 10px;
}

.search input {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1rem;
    width: 300px;
    outline: none;
}

.search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
    color: #8b5cf6;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

.nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.nav a {
    padding: 12px 24px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav a:hover, .nav a.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

.hero h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title h2 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.more {
    color: #f97316;
    font-weight: 600;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(10deg) rotateX(5deg) translateY(-10px);
}

.card-img {
    position: relative;
    padding-top: 140%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.card:hover .card-img::before {
    opacity: 1;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: vod_pic;
    transition: transform 0.5s;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-info {
    padding: 15px 5px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1rem;
}

.card-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 10px 18px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 25px;
    transition: all 0.3s;
}

.pagination a:hover, .pagination a.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    transform: scale(1.05);
}

.player {
    background: linear-gradient(135deg, #0f0a1e 0%, #1a0a2e 100%);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.player video {
    width: 100%;
    aspect-ratio: 16/9;
}

.details {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.details h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #8b5cf6 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta span {
    padding: 6px 15px;
    background: rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
}

.description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}
#friendlink{display: block;}
#friendlink .content{
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: center;
} 
#friendlink .content h2{ 
    font-size: 16px;
    color: #fff;
}
#friendlink .content .flinks{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
#friendlink .content .flinks a{
    font-size: 14px;
    text-align: left;
    color:#fff;
}
@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }
    .search input {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .search input {
        width: 200px;
    }
    #friendlink{display: none;}
}
