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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0e1a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo svg {
    width: 48px;
    height: 48px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.brand-tagline {
    font-size: 0.875rem;
    color: #8b9dc3;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #8b9dc3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: rgba(139, 157, 195, 0.1);
    border: 1px solid rgba(139, 157, 195, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.875rem;
    width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input::placeholder {
    color: #8b9dc3;
}

.search-btn {
    position: absolute;
    right: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.search-btn:hover {
    transform: scale(1.05);
}

.btn-collection,
.btn-account {
    background: rgba(139, 157, 195, 0.1);
    border: 1px solid rgba(139, 157, 195, 0.2);
    color: #8b9dc3;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-collection:hover,
.btn-account:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #667eea;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.8), rgba(102, 126, 234, 0.3));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    width: 100%;
}

.hero-info {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #8b9dc3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #8b9dc3;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #8b9dc3;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-explore,
.btn-trending {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-explore {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-trending {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-trending:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.library-nav {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0e1a, #1a1f2e);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #8b9dc3;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.library-card {
    background: rgba(139, 157, 195, 0.05);
    border: 1px solid rgba(139, 157, 195, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.library-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.library-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.library-card:hover::before {
    left: 100%;
}

.card-icon {
    margin-bottom: 1.5rem;
    color: #667eea;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.card-description {
    color: #8b9dc3;
    margin-bottom: 1rem;
}

.card-count {
    font-size: 0.875rem;
    color: #667eea;
    font-weight: 600;
}

.featured-content {
    padding: 5rem 0;
    background: #0a0e1a;
}

.content-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(139, 157, 195, 0.1);
    border: 1px solid rgba(139, 157, 195, 0.2);
    color: #8b9dc3;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.content-item {
    background: rgba(139, 157, 195, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.item-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.item-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-item:hover .item-poster img {
    transform: scale(1.1);
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-item:hover .poster-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
}

.play-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    margin: 0 auto 1rem;
    transition: transform 0.2s ease;
}

.play-btn:hover {
transform: scale(1.1);
}

.overlay-actions {
display: flex;
gap: 1rem;
justify-content: center;
}

.action-btn {
background: rgba(255, 255, 255, 0.2);
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
color: white;
cursor: pointer;
transition: all 0.2s ease;
}

.action-btn:hover {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.1);
}

.item-badge {
position: absolute;
top: 10px;
left: 10px;
background: linear-gradient(135deg, #667eea, #764ba2);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 600;
}

.item-rating {
position: absolute;
top: 10px;
right: 10px;
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 0.25rem 0.5rem;
border-radius: 10px;
font-size: 0.875rem;
font-weight: 600;
}

.item-info {
padding: 1.5rem;
}

.item-title {
font-size: 1rem;
font-weight: 600;
color: #fff;
margin-bottom: 0.5rem;
line-height: 1.4;
}

.item-meta {
color: #8b9dc3;
font-size: 0.875rem;
margin-bottom: 1rem;
}

.item-tags {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}

.tag {
background: rgba(102, 126, 234, 0.2);
color: #667eea;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 500;
}

.collections-section {
padding: 5rem 0;
background: linear-gradient(135deg, #1a1f2e, #0a0e1a);
}

.collections-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}

.collection-card {
border-radius: 20px;
overflow: hidden;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}

.collection-card:hover {
transform: translateY(-10px);
box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.collection-cover {
position: relative;
aspect-ratio: 3/2;
overflow: hidden;
}

.collection-cover img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}

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

.collection-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
padding: 2rem;
color: white;
}

.collection-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
}

.collection-count {
color: #8b9dc3;
font-size: 0.875rem;
}

.rankings-section {
padding: 5rem 0;
background: #0a0e1a;
}

.ranking-tabs {
display: flex;
gap: 1rem;
justify-content: center;
}

.tab-btn {
background: rgba(139, 157, 195, 0.1);
border: 1px solid rgba(139, 157, 195, 0.2);
color: #8b9dc3;
padding: 0.75rem 2rem;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
background: linear-gradient(135deg, #667eea, #764ba2);
border-color: #667eea;
color: white;
}

.rankings-content {
margin-top: 3rem;
}

.ranking-list {
max-width: 800px;
margin: 0 auto;
}

.ranking-item {
display: flex;
align-items: center;
gap: 1.5rem;
background: rgba(139, 157, 195, 0.05);
border: 1px solid rgba(139, 157, 195, 0.1);
border-radius: 15px;
padding: 1.5rem;
margin-bottom: 1rem;
transition: all 0.3s ease;
cursor: pointer;
}

.ranking-item:hover {
background: rgba(139, 157, 195, 0.1);
border-color: #667eea;
transform: translateX(10px);
}

.rank-number {
font-size: 2rem;
font-weight: 700;
color: #667eea;
min-width: 60px;
text-align: center;
}

.rank-poster {
width: 60px;
height: 90px;
border-radius: 8px;
overflow: hidden;
}

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

.rank-info {
flex: 1;
}

.rank-title {
font-size: 1.125rem;
font-weight: 600;
color: #fff;
margin-bottom: 0.5rem;
}

.rank-meta {
color: #8b9dc3;
font-size: 0.875rem;
margin-bottom: 0.75rem;
}

.rank-stats {
display: flex;
gap: 1rem;
}

.stat {
color: #667eea;
font-size: 0.875rem;
font-weight: 500;
}

.rank-trend {
font-size: 1.5rem;
font-weight: 700;
min-width: 40px;
text-align: center;
}

.rank-trend.up {
color: #10b981;
}

.rank-trend.down {
color: #ef4444;
}

.rank-trend.new {
color: #f59e0b;
font-size: 1rem;
}

.footer {
background: linear-gradient(135deg, #0a0e1a, #1a1f2e);
padding: 3rem 0 1rem;
border-top: 1px solid rgba(139, 157, 195, 0.1);
}

.footer-content {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 3rem;
margin-bottom: 2rem;
}

.footer-brand {
display: flex;
flex-direction: column;
gap: 1rem;
}

.footer-logo {
display: flex;
align-items: center;
gap: 1rem;
}

.footer-logo svg {
width: 48px;
height: 48px;
}

.footer-title {
font-size: 1.5rem;
font-weight: 700;
color: #fff;
margin: 0;
}

.footer-description {
color: #8b9dc3;
line-height: 1.7;
max-width: 400px;
}

.footer-links {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}

.footer-column {
display: flex;
flex-direction: column;
gap: 1rem;
}

.column-title {
font-size: 1.125rem;
font-weight: 600;
color: #fff;
margin-bottom: 0.5rem;
}

.link-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.75rem;
}

.link-list a {
color: #8b9dc3;
text-decoration: none;
transition: color 0.3s ease;
}

.link-list a:hover {
color: #667eea;
}

.footer-bottom {
border-top: 1px solid rgba(139, 157, 195, 0.1);
padding-top: 2rem;
text-align: center;
}

.footer-copyright {
color: #8b9dc3;
font-size: 0.875rem;
line-height: 1.6;
}

.back-to-top {
position: fixed;
bottom: 2rem;
right: 2rem;
background: linear-gradient(135deg, #667eea, #764ba2);
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
color: white;
cursor: pointer;
transition: all 0.3s ease;
opacity: 0;
visibility: hidden;
z-index: 999;
}

.back-to-top.show {
opacity: 1;
visibility: visible;
}

.back-to-top:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
.navbar {
flex-direction: column;
gap: 1rem;
}
.nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
}

.nav-actions {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input {
    width: 200px;
}

.hero-title {
    font-size: 2.5rem;
}

.hero-stats {
    gap: 1.5rem;
}

.hero-actions {
    flex-direction: column;
    align-items: flex-start;
}

.library-grid {
    grid-template-columns: 1fr;
}

.content-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.collections-grid {
    grid-template-columns: 1fr;
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-links {
    grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
.container {
padding: 0 15px;
}.hero-title {
    font-size: 2rem;
}

.section-title {
    font-size: 2rem;
}

.content-grid {
    grid-template-columns: 1fr;
}

.ranking-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

.rank-number {
    font-size: 1.5rem;
}}

