/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 3px solid var(--bg-primary);
}

.theme-toggle:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 12px 35px var(--shadow-color);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.toggle-icon {
  font-size: 1.8rem;
  transition: transform 0.4s ease;
}

body.light-mode .toggle-icon {
  transform: rotate(180deg);
}

/* Poster Section */
.poster-placeholder {
  background: var(--bg-card);
  border: 3px dashed var(--border-color);
  border-radius: 20px;
  padding: 80px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
  transition: all 0.4s ease;
  width: fit-content;
  margin: auto;
  padding: 60px 80px;
}

.poster-placeholder:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 212, 255, 0.05);
}

.poster-placeholder img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.poster-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.poster-text {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.poster-container {
  text-align: center;
  margin: 40px 0;
  padding: 35px;
  background: var(--poster-color);
  border: 2px dashed var(--border-color);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.poster-container:hover {
  background: var(--poster-hover-color);
  border-color: var(--accent-tertiary);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px var(--shadow-color);
}

.poster-btn {
  display: inline-block;
  padding: 14px 35px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--poster-color);
  border: 2px solid var(--accent-primary);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.poster-btn:hover {
  background: rgba(0, 212, 255, 0.25);
  background: var(--poster-hover-color);
  /* color: white; */
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

/* Registration Section */
.registration-box {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 50px;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.registration-title {
  font-size: 2rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.form-btn-container {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

.form-container {
  min-height: 400px;
}

.form-placeholder {
  background: var(--poster-color);
  border: 3px dashed var(--border-color);
  border-radius: 15px;
  padding: 80px 40px;
  text-align: center;
  transition: all 0.4s ease;
}

.form-placeholder:hover {
  border-color: var(--accent-primary);
  background: var(--poster-hover-color);
}

.form-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.form-text {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .navbar {
    padding: 15px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 62px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 62px);
    flex-direction: column;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    padding: 30px 20px;
    gap: 0;
    border-left: 1px solid var(--color-alpha-20);
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -5px 15px 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1.1rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 212, 255, 0.05);
    margin-top: 10px;
    border: none;
    border-left: 2px solid var(--accent-primary);
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    box-shadow: none;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 12px 0;
  }

  .dropdown-link {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .dropdown-link:hover {
    padding-left: 25px;
  }

  .poster-placeholder {
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .theme-toggle {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .toggle-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 1.2rem;
  }

  .nav-menu {
    top: 54px;
    height: calc(100vh - 54px);
  }

  .poster-placeholder {
    padding: 10px 8px;
  }

  .registration-title {
    font-size: 1.6rem;
  }

  .registration-box {
    padding: 30px 20px 10px;
  }
}

@media (max-width: 370px) {
  .registration-box {
    padding: 30px 0 10px;
  }
}
