:root {
  --dark_bg: #030303;
  --dark_card_bg: #1a1a1a;
  --dark_text: #ffffff;
  --dar_text2: #fff;
  --dark_secondary_text: #cccccc;
  --dark_border: #333333;
  --dark_overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.80) 50%, rgba(0, 0, 0, 0.94) 100%);

  --light_bg: #ffffff;
  --light_card_bg: #f8f9fa;
  --light_text: #000000;
  --light_secondary_text: #666666;
  --light_border: #e0e0e0;
  --light_overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.80) 50%, #FFF 100%);

  --pink_bg: #D56EE5;
  --box_shadow_pink: 0 6px 35px 8px rgba(213,110,229,0.8);
  --action_btn:  rgba(255, 255, 255, 0.10);

  --bg: var(--dark_bg);
  --card_bg: var(--dark_card_bg);
  --text: var(--dark_text);
  --text_secondary: var(--dark_secondary_text);
  --border: var(--dark_border);
  --overlay: var(--dark_overlay);
  --icon_filter: none;
}

[data-theme="light"] {
  --bg: var(--light_bg);
  --card_bg: var(--light_card_bg);
  --text: var(--light_text);
  --text_secondary: var(--light_secondary_text);
  --border: var(--light_border);
  --overlay: var(--light_overlay);
  --icon_filter: invert(1);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Roboto';
  min-height: 100vh;
  transition: all 0.3s ease;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header_left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 40px;
  height: 40px;
}

.search_bar {
  display: flex;
  align-items: center;
  background-color: var(--card_bg);
  border: 1px solid var(--border);
  border-radius: 25px;
  padding: 10px 15px;
  gap: 10px;
  min-width: 300px;
  transition: all 0.3s ease;
}

.search_bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 16px;
  flex: 1;
}

.search_bar input::placeholder {
  color: var(--text_secondary);
  transition: color 0.3s ease;
}

.search_icon, .send_icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  filter: var(--icon_filter);
  transition: all 0.3s ease;
}

.search_icon:hover, .send_icon:hover {
  opacity: 1;
}

.header_right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme_toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme_icon {
  width: 20px;
  height: 20px;
  filter: var(--icon_filter);
  transition: all 0.3s ease;
}

.toggle_switch {
  position: relative;
  width: 50px;
  height: 25px;
  background-color: var(--border);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.toggle_slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  background-color: var(--pink_bg);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.settings_icon {
  width: 24px;
  height: 24px;
  filter: var(--icon_filter);
  transition: all 0.3s ease;
  cursor: pointer;
}

.settings_icon:hover, .profile_icon:hover {
  opacity: 0.7;
}

.hero {
  background-image: url(assets/hero.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 760px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.color_overlay {
  background: var(--overlay);
  height: 294px;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.hero_content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}

.buttons {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
}

#bookBtn, #trailerBtn {
  border-radius: 10px;
  background: var(--pink_bg);
  box-shadow: var(--pink_bg);
  display: flex;
  border: none;
  width: 284px;
  height: 45px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--dar_text2);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--box_shadow_pink);
  transition: all 0.3s ease;
}

#bookBtn:hover, #trailerBtn:hover {
  transform: scale(1.1);
}

#bookBtn, #trailerBtn img {
  filter: none !important;
}

.brand_logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
  padding: 60px 40px;
  transition: all 0.3s ease;
}

.color {
  filter: var(--icon_filter);
  transition: all 0.3s ease;
}

.brand_logos img {
  transition: all 0.3s ease;
}

.brand_logos img:hover {
  transform: scale(1.1);
}

.newly_released {
  padding: 60px 40px;
  transition: all 0.3s ease;
}

#newly_released_heading {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text);
  transition: color 0.3s ease;
}

.movie_cards {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

.movie_cards::-webkit-scrollbar {
  height: 8px; 
}

.movie_cards::-webkit-scrollbar-track {
  background: var(--card_bg); 
}

.movie_cards {
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--card_bg);
}

.movie_card {
  background-color: var(--card_bg);
  border-radius: 15px;
  padding: 20px;
  min-width: 300px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.movie_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.image_holder {
  width: 100%;
  height: 400px;
  position: relative;
}

.movie_poster {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.movie_title_card {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 10px 0;
  transition: color 0.3s ease;
}

.movie_category {
  font-size: 14px;
  color: var(--text_secondary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.movie_rating {
  font-size: 14px;
  color: var(--pink_bg);
  font-weight: 600;
  margin-bottom: 8px;
}

.movie_actors {
  font-size: 14px;
  color: var(--text_secondary);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.movie_type {
  display: inline-block;
  background: var(--purple_gradient);
  color: var(--text);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
}

.movie_actions {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 25px;
  right: 15px;
  gap: 20px;
}

.action_btn {
  border: none;
  cursor: pointer;
  display: flex;
  width: 50px;
  height: 30px;
  padding: 7px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: var(--action_btn);
  backdrop-filter: blur(29.95199966430664px);
  transition: all 0.3s ease;
}

.action_btn:hover {
  background-color: var(--border);
}

footer {
  background-color: var(--card_bg);
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 40px;
  transition: all 0.3s ease;
}

#footer_title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  transition: color 0.3s ease;
}

#footer_desc {
  color: var(--text_secondary);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.social_icons {
  display: flex;
  gap: 15px;
}

.social_icons img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  filter: var(--icon_filter);
  transition: all 0.3s ease;
}

.social_icons img:hover {
  opacity: 1;
}

.footer_right {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer_column h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text);
  transition: color 0.3s ease;
}

.footer_column ul {
  list-style: none;
}

.footer_column li {
  margin-bottom: 8px;
  color: var(--text_secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer_column li:hover {
  color: var(--text);
}
