/* General Styles */
:root {
  --c-bg: #0a0a0a;
  --c-gold: #d4af37;
  --c-gold-hover: #f9d77e;
  --c-text: #e0e0e0;
  --c-text-dim: #a0a0a0;
  --c-card-bg: #1a1a1a;
  --c-border: rgba(212, 175, 55, 0.2);
  --f-serif: 'Cormorant Garamond', serif;
  --f-sans: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

img:hover {
  transform: scale(1.05);
}

/* Typography */
h1, h2, h3, h4, .serif {
  font-family: var(--f-serif);
  color: var(--c-gold);
  font-weight: 300;
  letter-spacing: 1px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; border-bottom: 1px solid var(--c-border); padding-bottom: 1rem; margin-bottom: 2rem; }

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--c-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--c-gold);
  cursor: pointer;
}

/* Cards */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.movie-card {
  background: var(--c-card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: 0.3s;
  position: relative;
}

.movie-card:hover {
  border-color: var(--c-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform: translateY(-5px);
}

.movie-img {
  width: 100%;
  aspect-ratio: 2/3;
  background: #222;
}

.movie-info {
  padding: 1rem;
}

.movie-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  display: flex;
  justify-content: space-between;
}

.rating {
  color: var(--c-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn-primary {
  background: var(--c-gold);
  color: #000;
}

.btn-primary:hover {
  background: var(--c-gold-hover);
}

.btn-outline {
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
}

.btn-outline:hover {
  background: var(--c-gold);
  color: #000;
}

/* Floating Elements */
.float-btn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  background: var(--c-gold);
  color: #000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999;
  font-size: 1.5rem;
}

.online-service {
  position: fixed;
  right: 20px;
  bottom: 30px;
  background: #1a1a1a;
  color: var(--c-gold);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--c-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #050505;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--c-border);
}

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

.footer-logo {
  font-size: 1.5rem;
  color: var(--c-gold);
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--c-text-dim);
}

.footer-links a:hover {
  color: var(--c-gold);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--c-text-dim);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--c-border);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

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

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
