/* Общие стили */
:root {
  --primary: #132e35;
  --secondary: #2c4a52;
  --accent: #dd7131;
  --text: #abaeb5;
  --light: #60828b;
  --dark: #0e1d22;
  --white: #fff;
  --black: #000;
  --beige: #feffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

h1 {
  margin-bottom: 20px;
  color: var(--accent);
}

h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact h2 {
  color: var(--text);
}

a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.btn {
  display: inline-block;
  background-color: #457b9d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1d3557;
}

section {
  padding: 60px 0;
}

section.hero {
  padding: 0;
}

/* Хедер */
header {
  background-color: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(26, 24, 54, 0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  position: absolute;
  height: 70px;
  top: 20px;
  left: -10px;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
}

nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 20px 0;
}

nav ul li a {
  color: var(--text);
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent);
}

#map {
  height: 350px;
  width: 450px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Хиро секция с трейлерами на весь экран */
.hero {
  position: relative;
  background-color: var(--primary);
  max-height: 495px;
  overflow: hidden;
  width: 100%;
}

.trailer-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.trailer-slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
  width: calc(100% * var(--slide-count));
}

.trailer-item {
  flex: 0 0 calc(100% / var(--slide-count));
  width: calc(100% / var(--slide-count));
  height: 100%;
  position: relative;
  background-color: var(--primary);
}

.trailer-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  top: 20%;
  left: 10%;
  z-index: 10;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(26, 24, 54, 0.7);
}

/* Кастомный видео плеер */
.custom-video-player {
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 24, 54, 0.2) 0%,
    rgba(26, 24, 54, 0.6) 100%
  );
  z-index: 5;
  pointer-events: none;
}

.video-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
}

.play-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(221, 113, 49, 0.7);
  border: 3px solid var(--accent);
  color: var(--primary);
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 15;
}

.play-pause-btn:hover {
  background-color: rgba(221, 113, 49, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.slider-dots {
  position: static;
  transform: none;
  display: flex;
  justify-content: center;
  margin: 0;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.dot:hover {
  transform: scale(1.2);
  background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background-color: var(--accent);
  border-color: white;
  width: 10px;
  height: 10px;
}

.playing .play-pause-btn {
  opacity: 0;
  visibility: hidden; /* Полностью скрываем кнопку */
  pointer-events: none;
}

.trailer-info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 10;
  color: white;
  max-width: 60%;
  transition: opacity 0.3s ease;
}

.trailer-title {
  font-size: 28px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.trailer-year {
  font-size: 20px;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.playing .trailer-info {
  opacity: 0;
  pointer-events: none;
}

.playing:hover .trailer-info {
  opacity: 0.5;
  pointer-events: auto;
}

.volume-control {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 15;
  display: flex;
  align-items: center;
  color: white;
  background-color: transparent;
  padding: 6px 12px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.volume-icon {
  margin-right: 10px;
}

.volume-slider {
  width: 100px;
  color: var(--accent);
}

.custom-video-player:hover .volume-control {
  opacity: 0.9;
}

/* Прогресс-бар для видео */
.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 15;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--accent);
  width: 0;
  transition: width 0.1s linear;
}

.progress-container:hover {
  height: 8px;
}

video::-webkit-media-controls {
  display: none !important;
}

.playing .volume-control {
  opacity: 0;
  pointer-events: none;
}

.playing:hover .volume-control {
  opacity: 0.7;
  pointer-events: auto;
}

.custom-video-player:not(.playing) .play-pause-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Блок с фильмами */
.movies {
  background-color: var(--beige);
  scroll-margin-top: 60px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.movie-card {
  background-color: var(--secondary);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 520px;
  box-shadow: 0 4px 8px rgba(26, 24, 54, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.movie-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(26, 24, 54, 0.15);
}

.movie-poster {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.05);
}

.age-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(26, 24, 54, 0.7);
  color: var(--text);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

.age-rating-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(26, 24, 54, 0.7);
  color: var(--text);
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
}

.movie-age-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.age-rating-label {
  margin-right: 10px;
  font-weight: 600;
  font-size: 18px;
}

.age-rating-value {
  background-color: var(--primary);
  color: var(--beige);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.movie-info {
  padding: 20px 20px 30px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.movie-genres {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.movie-title {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.movie-descr {
  color: var(--white);
  flex: 1;

  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;

  text-overflow: ellipsis;

  max-height: 100%;
  margin-bottom: 8px;
  opacity: 0.7;
}

.movie-genres.two-rows + .movie-descr {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.genre-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
  margin-top: 6px;
}

.movie-rating {
  display: flex;
  align-items: center;
}

.stars {
  color: var(--color-accent);
  margin-right: 5px;
}

/* О компании */
.about {
  scroll-margin-top: 60px;
  background-color: var(--light);
  position: relative;
}

.about-content {
  position: relative;
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.about-image {
  flex: 0 0 40%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
}

.about-text {
  flex: 0 0 50%;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--beige);
  line-height: 1.4;
  font-weight: 600;
}

/* Обратная связь */
.contact {
  background: var(--primary);
  scroll-margin-top: 60px;
}

.contact-form {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

form {
  flex: 0 0 60%;
}

.form-group {
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(66, 22, 75, 0.2);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  color: var(--color-text);
  background-color: var(--white);
  resize: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(165, 64, 85, 0.1);
}

.contact-info {
  flex: 0 0 35%;
}

.contact-link {
  color: var(--white);
}

.info-item {
  display: flex;
  margin-bottom: 20px;
  color: var(--white);
}

.info-item i {
  font-size: 20px;
  color: var(--accent);
  margin-right: 15px;
  margin-top: 5px;
  width: 20px;
}

.btn {
  background-color: var(--dark);
  color: var(--accent);
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
}

.btn:hover {
  background-color: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(98, 35, 71, 0.2);
}

/* Футер */
footer {
  background-color: var(--dark);
  color: var(--text);
  padding: 60px 0 20px;
  position: relative;
}

.footer-logo img {
  height: 90px;
}

.footer-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-links h3 {
  margin-bottom: 16px;
}

.footer-social h3 {
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}

.footer-links a {
  color: var(--text);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--accent);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-bottom {
  position: relative;
  border-top: 1px solid var(--light);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
}

.copyright {
  color: var(--accent);
}

/* Страница с деталями фильма */
.movie-details {
  padding: 40px 0;
  background: var(--beige);
}

.back-button {
  margin-bottom: 30px;
}

.back-button a {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.back-button a:hover {
  color: var(--color-primary);
}

.back-button i {
  margin-right: 5px;
  color: var(--color-primary);
}

.movie-hero {
  margin-bottom: 40px;
}

.movie-trailer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
  border-radius: 8px;
  margin-bottom: 30px;
}

.movie-trailer video {
  max-width: 100%;
  object-fit: cover;
}

.movie-primary-info {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.movie-poster {
  flex: 0 0 300px;
  position: relative;
}

.movie-details .movie-poster {
  height: 100%;
}

.movie-poster img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(26, 24, 54, 0.15);
}

.movie-main-details {
  flex: 1;
}

.movie-main-details h1 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--color-text);
}

.movie-description,
.movie-cast {
  margin-bottom: 30px;
  margin-top: 30px;
  color: var(--dark);
}

.movie-description h3,
.movie-cast h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.movie-description p,
.movie-cast p {
  color: var(--dark);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: normal;
  line-height: 1.3;
}

.movie-secondary-info {
  background-color: var(--primary);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(26, 24, 54, 0.1);
}

.movie-secondary-info .info-item {
display: flex;
	flex-direction: row;
  margin-bottom: 2px;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

.info-item .label {
  color: var(--text);
	min-width: 320px;
  margin-right: 10px;
  font-weight: 600;
}

.print-materials {
  margin-top: 40px;
}

.print-materials .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark);
  color: var(--beige);
  padding: 12px 24px;
  transition: all 0.3s ease;
}

.print-materials .btn:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(98, 35, 71, 0.2);
}

.print-materials .btn i {
  margin-right: 10px;
  color: var(--color-light);
}

.hidden {
  display: none;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .movie-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 20px;
  }

  .about-content,
  .contact-form,
  .movie-primary-info {
    flex-direction: column;
  }
	.trailer-item video {
  width: 150%;

}
	
	.hero .container {
	padding: 0;
	}	
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .info-item .label {
	min-width: 220px;
   }
	
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

	
	.trailer-title {
  font-size: 24px;
}
	
	.trailer-year {
  font-size: 20px;

}
	.trailer-item video {
  width: 250%;

}
	
	.hero .container {
	padding: 0;
	}	
	
  nav ul li {
    margin: 5px 10px;
  }

  .movie-grid {
    grid-template-columns: 1fr;
  }

  .materials-content {
    grid-template-columns: 1fr;
  }
	  .movie-secondary-info .info-item {
	flex-direction: column;
   }
  .info-item .label {
	min-width: 300px;
   }
}

video::-webkit-media-controls {
  background-color: rgba(0, 0, 0, 0.5);
}

video::-webkit-media-controls-panel {
  padding: 0 10px;
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-volume-slider-container,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-fullscreen-button {
  display: flex;
  margin: 0 2px;
}

/* Адаптируем кнопку play/pause */
.play-pause-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(221, 113, 49, 0.7);
  border: 3px solid var(--accent);
  color: white;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 15;
}

.play-pause-btn:hover {
  background-color: rgba(221, 113, 49, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Стили для бургер-меню */
.burger-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.burger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация бургер-меню при клике */
.menu-open .burger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-open .burger-bar:nth-child(2) {
  opacity: 0;
}

.menu-open .burger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Оверлей для затемнения контента */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Стили для мобильной версии навигации */
@media (max-width: 768px) {
  .burger-menu-button {
    display: flex;
  }

  header .container {
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }

  .logo {
    position: relative;
    left: 0;
    top: 30px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -60%;
    width: 60%;
    height: 100vh;
    background-color: var(--dark);
    z-index: 1000;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
  }


  .menu-open nav {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
  }

  nav ul li {
    margin: 0;
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.no-scroll {
    overflow: hidden;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  max-width: 90%;
  width: 400px;
  text-align: center;
  display: none;
  transition: all 0.3s ease;
  opacity: 0;
}

/* Специальные стили для модалки благодарности */
.thank-you-modal .modal-icon {
  font-size: 60px;
  color: var(--accent);
  margin-bottom: 20px;
  animation: pulse 1.5s infinite;
}

.thank-you-modal h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
}

.thank-you-modal p {
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--secondary);
}

.modal-close-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.modal-close-btn:hover {
  background-color: var(--primary);
}

/* Классы для анимации */
.modal.active,
.modal-overlay.active {
  display: block;
  opacity: 1;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

/* Анимация пульсации для иконки */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .modal {
    width: 85%;
    padding: 20px;
  }

  .thank-you-modal .modal-icon {
    font-size: 50px;
  }

  .thank-you-modal h3 {
    font-size: 20px;
  }
}

/* Контейнер для формы */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
	margin: 50px auto auto auto;
}

.login-box {
    background: var(--beige);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.error-message {
    color: #e74c3c;
    background: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-box .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-box .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.login-box .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-box .form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(42, 82, 152, 0.3);
}

.login-button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: none;
    border-radius: 5px;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

.login-button:hover {
    background: var(--dark);
}

.login-button:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }

    .login-box h2 {
        font-size: 20px;
    }

    .login-box .form-group input {
        font-size: 14px;
        padding: 10px;
    }

    .login-button {
        font-size: 14px;
        padding: 10px;
    }
}