Changed around line 1
+ :root {
+ --primary-color: #ff6b6b;
+ --secondary-color: #4ecdc4;
+ --background-color: #1a1a1a;
+ --text-color: #f5f5f5;
+ --card-bg: #2d2d2d;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ .header {
+ text-align: center;
+ padding: 4rem 1rem;
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: white;
+ margin-bottom: 2rem;
+ }
+
+ .header h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
+ }
+
+ .search-form {
+ max-width: 600px;
+ margin: 2rem auto 0;
+ display: flex;
+ gap: 0.5rem;
+ }
+
+ .search-form input {
+ flex: 1;
+ padding: 0.75rem;
+ border: none;
+ border-radius: 4px;
+ font-size: 1rem;
+ }
+
+ .search-form button {
+ padding: 0.75rem 1.5rem;
+ background-color: var(--card-bg);
+ color: white;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ }
+
+ .search-form button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 8px rgba(0,0,0,0.2);
+ }
+
+ .results-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 1rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .movie-card {
+ background: var(--card-bg);
+ border-radius: 8px;
+ overflow: hidden;
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
+ }
+
+ .movie-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 8px 16px rgba(0,0,0,0.3);
+ }
+
+ .movie-card img {
+ width: 100%;
+ height: 300px;
+ object-fit: cover;
+ }
+
+ .movie-info {
+ padding: 1rem;
+ }
+
+ .movie-info h3 {
+ margin-bottom: 0.5rem;
+ color: var(--primary-color);
+ }
+
+ .movie-info p {
+ font-size: 0.9rem;
+ color: #ccc;
+ }
+
+ .loading {
+ text-align: center;
+ font-size: 1.2rem;
+ padding: 2rem;
+ }
+
+ .error {
+ color: var(--primary-color);
+ text-align: center;
+ padding: 2rem;
+ }
+
+ .footer {
+ text-align: center;
+ padding: 2rem;
+ margin-top: auto;
+ background-color: var(--card-bg);
+ }
+
+ @media (max-width: 768px) {
+ .header h1 {
+ font-size: 2rem;
+ }
+
+ .search-form {
+ flex-direction: column;
+ }
+
+ .search-form button {
+ width: 100%;
+ }
+
+ .results-grid {
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
+ }
+ }