* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 25%, #0d1a2e 50%, #1a0a2e 75%, #0a0a1a 100%);
    background-attachment: fixed;
    color: #e8edff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(244, 114, 182, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 20%, rgba(167, 139, 250, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #ec4899);
    border-radius: 10px;
}
.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 1;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(30px); }
}
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(167, 139, 250, 0.3); }
    50% { text-shadow: 0 0 40px rgba(167, 139, 250, 0.6), 0 0 80px rgba(167, 139, 250, 0.2); }
}
.header {
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.4s ease;
    background: linear-gradient(180deg, rgba(10,10,26,0.95) 0%, rgba(10,10,26,0.6) 70%, transparent 100%);
}
.header.scrolled {
    background: rgba(10, 10, 26, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}
.menu-toggle {
    background: none;
    border: none;
    color: #a78bfa;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.3s;
    font-family: 'Inter', sans-serif;
}
.menu-toggle:hover {
    transform: scale(1.1);
}
.walley-logo {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #f472b6, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: 0 0 40px rgba(192, 132, 252, 0.15);
    transition: text-shadow 0.3s;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.walley-logo:hover {
    text-shadow: 0 0 60px rgba(192, 132, 252, 0.3);
}
.walley-logo i {
    -webkit-text-fill-color: initial;
    color: #a78bfa;
    font-size: 20px;
    filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.3));
}
.walley-logo small {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.2);
    -webkit-text-fill-color: initial;
}
.nav-links {
    display: flex;
    gap: 16px;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #ec4899);
    transition: width 0.4s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: #e8edff;
}
.nav-links a.active {
    color: #c084fc;
    font-weight: 600;
}
.nav-links a.active::after {
    width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}
.header-actions i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}
.header-actions i:hover {
    color: #c084fc;
    transform: scale(1.05);
}
.header-actions i.hidden {
    display: none;
}
.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    margin-right: 8px;
}
.search-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 5px 12px;
    color: #e8edff;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    width: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    outline: none;
    pointer-events: none;
    flex-shrink: 0;
}
.search-input.active {
    width: 80px;
    opacity: 1;
    padding: 6px 5px 6px 4px;
    pointer-events: auto;
}
.search-input:focus {
    border-color: #c084fc;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.1);
}
.search-container .search-icon {
    font-size: 16px;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: color 0.3s;
    flex-shrink: 0;
}
.search-container .search-icon.active {
    color: #c084fc;
}
.search-container .search-icon.hidden {
    display: none;
}
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(167, 139, 250, 0.15);
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 28px 20px;
    overflow-y: auto;
    box-shadow: 4px 0 60px rgba(0,0,0,0.8);
}
.sidebar.open {
    transform: translateX(0);
}
.sidebar-brand {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #f472b6, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-brand i {
    -webkit-text-fill-color: initial;
    color: #a78bfa;
    font-size: 20px;
}
.sidebar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 20px;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
}
.sidebar-close:hover {
    transform: rotate(90deg);
    color: #c084fc;
}
.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-nav li {
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    border-left: 2px solid transparent;
}
.sidebar-nav li:hover {
    background: rgba(167, 139, 250, 0.08);
    color: #e8edff;
    border-left-color: #a78bfa;
    transform: translateX(4px);
}
.sidebar-nav li.active {
    color: #c084fc;
    border-left-color: #c084fc;
    background: rgba(167, 139, 250, 0.06);
}
.sidebar-nav li i {
    margin-right: 12px;
    width: 18px;
    display: inline-block;
    text-align: center;
    color: #a78bfa;
}
.sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(167, 139, 250, 0.2), transparent);
    margin: 14px 0;
}
.sidebar-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.15);
    margin: 14px 0 6px 14px;
    font-weight: 300;
}
.hero {
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}
.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(244, 114, 182, 0.1));
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c084fc;
    border: 1px solid rgba(167, 139, 250, 0.15);
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #e8edff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowPulse 4s ease-in-out infinite;
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    font-weight: 400;
    flex-wrap: wrap;
}
.hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-meta .badge {
    background: rgba(167, 139, 250, 0.15);
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #c084fc;
    border: 1px solid rgba(167, 139, 250, 0.15);
}
.hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    max-width: 480px;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 50px rgba(139, 92, 246, 0.4);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #e8edff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.2);
    transform: translateY(-2px);
}
.btn-fav {
    background: rgba(255, 255, 255, 0.04);
    color: #e8edff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}
.btn-fav:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.2);
    transform: translateY(-2px);
}
.btn-fav.active {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 30px rgba(236, 72, 153, 0.25);
}
.btn-fav.active:hover {
    box-shadow: 0 8px 50px rgba(236, 72, 153, 0.4);
}
.row-section {
    padding: 16px 0 8px;
    position: relative;
    z-index: 1;
}
.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.row-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #e8edff;
    letter-spacing: 0.5px;
}
.row-title span {
    background: linear-gradient(135deg, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.row-link {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
.row-link:hover {
    color: #c084fc;
}
.carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 0 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel-item {
    flex: 0 0 auto;
    width: 140px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(16, 20, 38, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04);
    aspect-ratio: 9 / 12.3;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.carousel-item:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.2);
}
.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: conic-gradient(from 0deg, #8b5cf6, #ec4899, #fbbf24, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}
.carousel-item:hover::before {
    opacity: 0.8;
    animation: borderSpin 4s linear infinite;
}
.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        transparent 40%, 
        rgba(244, 114, 182, 0.1) 60%, 
        transparent 80%,
        rgba(96, 165, 250, 0.08) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}
.carousel-item:hover::after {
    opacity: 1;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}
.carousel-item .item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 10px 10px;
    background: linear-gradient(180deg, transparent 0%, rgba(10,10,26,0.5) 30%, rgba(10,10,26,0.85) 70%, rgba(10,10,26,0.95) 100%);
    z-index: 2;
}
.carousel-item .item-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.carousel-item .item-meta {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    flex-wrap: wrap;
}
.carousel-item .item-price {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    margin-top: 3px;
    background: rgba(0,0,0,0.4);
    padding: 1px 8px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(251, 191, 36, 0.15);
    backdrop-filter: blur(4px);
}
.carousel-item .fav-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
.carousel-item .fav-indicator.active {
    color: #ec4899;
    border-color: rgba(236, 72, 153, 0.3);
    background: rgba(236, 72, 153, 0.15);
}
.carousel-item .item-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,10,26,0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 16px;
}
.carousel-item:hover .item-hover {
    opacity: 1;
}
.carousel-item .item-hover i {
    color: #fff;
    font-size: 29px;
    background: rgba(139, 92, 246, 0.3);
    padding: 14px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.carousel-item:hover .item-hover i {
    transform: scale(1);
}
.carousel-item .item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}
@keyframes borderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.carousel-item .glow-effect {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}
.carousel-item:hover .glow-effect {
    opacity: 1;
}
.item-badge {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 0 8px;
    border-radius: 12px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.footer {
    padding: 30px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    margin-top: 16px;
    position: relative;
    z-index: 1;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px 16px;
    max-width: 600px;
    margin-bottom: 16px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-size: 12px;
    font-weight: 300;
    transition: color 0.3s;
    cursor: pointer;
}
.footer-links a:hover {
    color: #c084fc;
}
.footer-copy {
    color: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px);
    z-index: 500;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.modal-overlay.active {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(16, 20, 38, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 2rem 0.8rem 2rem 0.8rem;
    border: 1px solid rgba(167, 139, 250, 0.1);
    padding: 28px;
    animation: modalSlide 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes modalSlide {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    float: right;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
}
.modal-close:hover {
    color: #c084fc;
    transform: rotate(90deg);
}
.modal-poster {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin: 6px 0 14px;
    background: rgba(16, 20, 38, 0.6);
}
.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #e8edff;
    margin-bottom: 4px;
}
.modal-meta {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
    margin-bottom: 10px;
}
.modal-desc {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}
.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.modal-actions .btn {
    padding: 8px 20px;
    font-size: 12px;
}
.row-empty {
    color: rgba(255,255,255,0.15);
    text-align: center;
    padding: 24px 0;
    font-size: 14px;
    font-weight: 300;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,10,26,0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}
.loading-overlay.hidden {
    display: none;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(167, 139, 250, 0.1);
    border-top-color: #c084fc;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loading-text {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 300;
}
#filteredPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.98);
    z-index: 600;
    overflow-y: auto;
    padding: 80px 4% 30px;
    animation: fadeInUp 0.4s ease forwards;
}
#filteredPage .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}
#filteredPage .page-title {
    font-size: 24px;
    font-weight: 700;
    color: #e8edff;
}
#filteredPage .page-title i {
    color: #c084fc;
    margin-right: 10px;
}
#filteredPage .page-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
}
#filteredPage .page-close:hover {
    color: #c084fc;
    transform: rotate(90deg);
}
#filteredPage .movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
#filteredPage .movie-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(16, 20, 38, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    aspect-ratio: 9 / 16;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
#filteredPage .movie-card:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.2);
}
#filteredPage .movie-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: conic-gradient(from 0deg, #8b5cf6, #ec4899, #fbbf24, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}
#filteredPage .movie-card:hover::before {
    opacity: 0.8;
    animation: borderSpin 4s linear infinite;
}
#filteredPage .movie-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        transparent 40%, 
        rgba(244, 114, 182, 0.1) 60%, 
        transparent 80%,
        rgba(96, 165, 250, 0.08) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}
#filteredPage .movie-card:hover::after {
    opacity: 1;
}
#filteredPage .movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}
#filteredPage .movie-card .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(10,10,26,0.5) 30%, rgba(10,10,26,0.85) 70%, rgba(10,10,26,0.95) 100%);
    z-index: 2;
}
#filteredPage .movie-card .card-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
#filteredPage .movie-card .card-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    flex-wrap: wrap;
}
#filteredPage .movie-card .card-price {
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    margin-top: 4px;
    background: rgba(0,0,0,0.4);
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(251, 191, 36, 0.15);
    backdrop-filter: blur(4px);
}
#filteredPage .movie-card .card-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
#filteredPage .movie-card .card-fav.active {
    color: #ec4899;
    border-color: rgba(236, 72, 153, 0.3);
    background: rgba(236, 72, 153, 0.15);
}
#filteredPage .movie-card .card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px);
    z-index: 500;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.legal-modal-overlay.active {
    display: flex;
}
.legal-modal-content {
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(16, 20, 38, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 2rem 0.8rem 2rem 0.8rem;
    border: 1px solid rgba(167, 139, 250, 0.1);
    padding: 28px;
    animation: modalSlide 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.legal-modal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #e8edff;
    margin-bottom: 16px;
}
.legal-modal-content p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.legal-modal-content h3 {
    color: #c084fc;
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 8px;
}
.legal-modal-content ul {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 12px;
}
.legal-modal-content ul li {
    margin-bottom: 4px;
}
.legal-modal-close {
    float: right;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
}
.legal-modal-close:hover {
    color: #c084fc;
    transform: rotate(90deg);
}
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    .sidebar {
        width: 260px;
    }
}
@media (max-width: 768px) {
    .wrapper {
        padding: 0 5%;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-desc {
        font-size: 14px;
    }
    .hero {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    .carousel-item {
        width: 150px;
    }
    .carousel-item img {
        height: 84px;
    }
    .row-title {
        font-size: 16px;
    }
    .walley-logo {
        font-size: 20px;
    }
    .walley-logo i {
        font-size: 18px;
    }
    .sidebar {
        width: 240px;
        padding: 20px 16px;
    }
    .modal-content {
        padding: 16px;
        margin: 10px;
    }
    .modal-title {
        font-size: 20px;
    }
    #filteredPage .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
    #filteredPage .page-title {
        font-size: 20px;
    }
    #filteredPage {
        padding: 70px 4% 24px;
    }
    .search-input.active {
        width: 150px;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    .btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    .carousel-item {
        width: 130px;
    }
    .carousel-item img {
        height: 72px;
    }
    .carousel-item .item-info {
        padding: 8px 10px 12px;
    }
    .carousel-item .item-title {
        font-size: 12px;
    }
    .sidebar {
        width: 220px;
        padding: 16px 12px;
    }
    .sidebar-brand {
        font-size: 20px;
    }
    .sidebar-nav li {
        font-size: 13px;
        padding: 8px 12px;
    }
    .modal-content {
        padding: 14px;
    }
    .modal-poster {
        height: 120px;
    }
    .modal-title {
        font-size: 18px;
    }
    #filteredPage .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
    #filteredPage .page-title {
        font-size: 16px;
    }
    #filteredPage {
        padding: 60px 4% 16px;
    }
    .search-input.active {
        width: 80px;
        font-size: 12px;
    }
    .legal-modal-content {
        padding: 20px 16px;
    }
}
.carousel-item .item-price {
    font-size: 14px;
    font-weight: 700;
    color: #c084fc;
    margin-top: 4px;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.15), rgba(244, 114, 182, 0.1));
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(192, 132, 252, 0.1);
}
#filteredPage .movie-card .card-price {
    font-size: 14px;
    font-weight: 700;
    color: #c084fc;
    margin-top: 4px;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.15), rgba(244, 114, 182, 0.1));
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(192, 132, 252, 0.1);
}
.hero-price {
    background: rgba(192, 132, 252, 0.15);
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.15);
}
.modal-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 8px 0 16px 0;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
}
.modal-meta-grid .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.03);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.04);
}
.modal-meta-grid .meta-item i {
    font-size: 13px;
}
.modal-meta-grid .meta-item.price {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    font-weight: 700;
}
.modal-desc-box {
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    border-left: 3px solid #8b5cf6;
}
.modal-desc-box p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}
.modal-info-box {
    background: rgba(255,255,255,0.015);
    border-radius: 12px;
    padding: 8px 4px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.03);
}
.modal-info-box .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.modal-info-box .info-row:last-child {
    border-bottom: none;
}
.modal-info-box .info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    font-weight: 500;
}
.modal-info-box .info-label i {
    color: #a78bfa;
    font-size: 14px;
}
.modal-info-box .info-value {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
}
.modal-info-box .info-value.highlight {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 15px;
}
.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.modal-actions .btn {
    padding: 10px 24px;
    font-size: 13px;
    flex: 1;
    justify-content: center;
    min-width: 120px;
}
@media (max-width: 480px) {
    .modal-meta-grid .meta-item {
        font-size: 11px;
        padding: 3px 10px;
    }
    .modal-info-box .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 12px;
    }
    .modal-actions .btn {
        min-width: 100px;
        padding: 8px 16px;
        font-size: 12px;
    }
}
#reelsPage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.98);
    z-index: 600;
    overflow-y: auto;
    padding: 80px 4% 30px;
    animation: fadeInUp 0.4s ease forwards;
}
#reelsPage .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}
#reelsPage .page-title {
    font-size: 24px;
    font-weight: 700;
    color: #e8edff;
}
#reelsPage .page-title i {
    color: #c084fc;
    margin-right: 10px;
}
#reelsPage .page-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
}
#reelsPage .page-close:hover {
    color: #c084fc;
    transform: rotate(90deg);
}
#reelsPage .reels-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}
#reelsPage .reel-card {
    background: rgba(16, 20, 38, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    animation: reelSlide 0.5s ease forwards;
    opacity: 0;
}
#reelsPage .reel-card:nth-child(1) { animation-delay: 0.05s; }
#reelsPage .reel-card:nth-child(2) { animation-delay: 0.1s; }
#reelsPage .reel-card:nth-child(3) { animation-delay: 0.15s; }
#reelsPage .reel-card:nth-child(4) { animation-delay: 0.2s; }
#reelsPage .reel-card:nth-child(5) { animation-delay: 0.25s; }
#reelsPage .reel-card:nth-child(6) { animation-delay: 0.3s; }
#reelsPage .reel-card:nth-child(7) { animation-delay: 0.35s; }
#reelsPage .reel-card:nth-child(8) { animation-delay: 0.4s; }
#reelsPage .reel-card:nth-child(9) { animation-delay: 0.45s; }
#reelsPage .reel-card:nth-child(10) { animation-delay: 0.5s; }

@keyframes reelSlide {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
#reelsPage .reel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 30px rgba(167, 139, 250, 0.05);
    border-color: rgba(167, 139, 250, 0.15);
}
#reelsPage .reel-card .reel-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
#reelsPage .reel-card .reel-info {
    padding: 16px 18px 18px;
}
#reelsPage .reel-card .reel-title {
    font-size: 18px;
    font-weight: 700;
    color: #e8edff;
    margin-bottom: 4px;
}
#reelsPage .reel-card .reel-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
#reelsPage .reel-card .reel-meta .universal-badge {
    background: rgba(167, 139, 250, 0.15);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    color: #c084fc;
    border: 1px solid rgba(167, 139, 250, 0.1);
}
#reelsPage .reel-card .reel-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#reelsPage .reel-card .reel-desc.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}
#reelsPage .reel-card .reel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
#reelsPage .reel-card .reel-actions .btn {
    padding: 8px 18px;
    font-size: 12px;
}
#reelsPage .reel-card .reel-actions .btn-fav-small {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #e8edff;
    padding: 8px 14px;
    border-radius: 60px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#reelsPage .reel-card .reel-actions .btn-fav-small:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.2);
}
#reelsPage .reel-card .reel-actions .btn-fav-small.active {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #fff;
    border-color: transparent;
}
#reelsPage .reel-card .reel-actions .btn-more {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
    padding: 4px 8px;
}
#reelsPage .reel-card .reel-actions .btn-more:hover {
    color: #c084fc;
}
#reelsPage .reel-card .reel-price {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin-left: auto;
}
@media (max-width: 480px) {
    #reelsPage .reel-card .reel-image {
        height: 200px;
    }
    #reelsPage .reel-card .reel-title {
        font-size: 16px;
    }
    #reelsPage .reel-card .reel-actions .btn {
        padding: 6px 14px;
        font-size: 11px;
    }
    #reelsPage .reel-card .reel-price {
        font-size: 15px;
    }
}
.universal-badge {
    background: rgba(167, 139, 250, 0.15);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 9px;
    color: #c084fc;
    border: 1px solid rgba(167, 139, 250, 0.1);
    font-weight: 600;
    display: inline-block;
    margin-left: 4px;
}
.fa-crown {
    color: #fbbf24;
}