/* YY6080 Black Gold Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+SC:wght@300;400;700&display=swap');

:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --gold: #d4af37;
    --gold-light: #f1d592;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #2a2a2a;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', 'Noto+Sans+SC', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

/* Layout Elements */
header {
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    color: var(--gold);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title span {
    font-size: 0.9rem;
    color: var(--gold);
    cursor: pointer;
}

/* Grid Systems */
.grid-20 { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; }
.grid-10 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }

/* Movie Cards */
.movie-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.movie-card .rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(212, 175, 55, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.movie-info {
    padding: 0.8rem;
}

.movie-title {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Footer & Floating */
footer {
    background: #0a0a0a;
    padding: 4rem 5%;
    border-top: 1px solid var(--accent);
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.float-btn {
    position: fixed;
    right: 30px;
    bottom: 100px;
    background: var(--gold);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.float-btn a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    header { padding: 1rem 2%; }
    nav ul { display: none; } /* Mobile burger would go here */
    .section-title { font-size: 1.5rem; }
    .float-btn { right: 10px; bottom: 80px; padding: 10px 20px; }
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.news-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--accent);
}
.news-title { color: var(--text-secondary); text-decoration: none; transition: var(--transition); }
.news-title:hover { color: var(--gold); }

/* Forms */
input, select, textarea {
    background: var(--accent);
    border: 1px solid var(--gold);
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
}
button {
    background: var(--gold);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}
button:hover { background: var(--gold-light); }
