:root {
  --primary-maroon: #a96c6f;
  --primary-gradient: linear-gradient(135deg, #a96c6f 0%, #93575a 100%);
  --background-light: #fdf6f0;
  --ink-dark: #4c3f3f;
  --ink-light: #7a6a6a;
  --surface: #ffffff;
  --text-light: #ffffff;
  --error: #d9534f;
  --border-color: rgba(76, 63, 63, 0.1);

  --header-height: 60px;
  --max-width: 1100px;
  --radius-main: 16px;
  --radius-small: 12px;
  --shadow-main: 0 4px 20px rgba(76, 63, 63, 0.08);
  --shadow-hover: 0 8px 30px rgba(169, 108, 111, 0.15);
  --shadow-focus: 0 0 0 3px rgba(169, 108, 111, 0.2);
  --transition-main: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  -webkit-tap-highlight-color: transparent;
}
*:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

html,
body {
  font-size: 10px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--background-light);
  color: var(--ink-dark);
}
.body-no-scroll {
  overflow: hidden;
}

body {
  font-size: 1.6rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink-dark);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.4rem 2.4rem;
  border-radius: var(--radius-small);
  border: none;
  cursor: pointer;
  transition: var(--transition-main);
  font-size: 1.6rem;
  white-space: nowrap;
}
.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(169, 108, 111, 0.3);
}
.btn-primary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.btn-primary:active,
.btn-primary:disabled {
  transform: translateY(0);
  background: var(--primary-maroon);
  box-shadow: none;
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}
.btn-primary > span {
  display: block;
  flex-grow: 1;
  text-align: center;
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary-maroon);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--primary-maroon);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-tertiary {
  background: transparent;
  color: var(--ink-light);
  padding: 0.8rem 1.2rem;
  font-size: 1.4rem;
}
.btn-tertiary:hover {
  color: var(--ink-dark);
  background: rgba(0, 0, 0, 0.05);
}

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(253, 246, 240, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.nav-brand {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-dark);
  text-decoration: none;
}
.desktop-nav {
  display: none;
}
.mobile-nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2.4rem;
  color: var(--ink-dark);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--surface);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}
.mobile-nav-overlay.active .mobile-nav-menu {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.mobile-nav-close {
  font-size: 3rem;
  background: none;
  border: none;
  color: var(--ink-light);
  cursor: pointer;
  padding: 1rem;
}
.mobile-nav-menu a {
  color: var(--ink-dark);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-nav-menu a:hover {
  background-color: var(--background-light);
  color: var(--primary-maroon);
}

.main-content {
  min-height: calc(100vh - var(--header-height) - 150px);
  padding-top: 4rem;
}

.downloader-module {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.downloader-section,
.platforms-section,
.info-section {
  padding: 4rem 0;
}

#downloader-result-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#input-form-container,
#downloader-result-container {
  transition: opacity 0.4s ease, visibility 0.4s;
  opacity: 1;
  visibility: visible;
}

#input-form-container.is-hidden,
#downloader-result-container.is-hidden {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  transform: none;
}

.downloader-section {
  text-align: center;
  margin: 0 auto;
}
.main-title {
  font-size: clamp(3.2rem, 8vw, 4.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.main-subtitle {
  font-size: 1.8rem;
  color: var(--ink-light);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.input-group {
  position: relative;
  width: 100%;
  margin: 0 auto 2rem auto;
}
.input-icon {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--ink-light);
  pointer-events: none;
}
#url-input {
  width: 100%;
  border: none;
  outline: none;
  padding: 1.8rem 2rem 1.8rem 5.5rem;
  font-size: 1.6rem;
  background: var(--surface);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-color);
  transition: var(--transition-main);
}
#url-input:focus {
  border-color: var(--primary-maroon);
  box-shadow: var(--shadow-focus);
}
.input-action-btn {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: var(--background-light);
  border: none;
  border-radius: var(--radius-small);
  color: var(--ink-light);
  width: 3.6rem;
  height: 3.6rem;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.input-action-btn:hover {
  background: var(--border-color);
  color: var(--ink-dark);
}
#paste-btn {
  right: 5.6rem;
}
#clear-btn {
  right: 1rem;
}

#download-btn {
  margin: 0 auto;
}

.downloader-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  color: var(--ink-light);
  font-size: 1.4rem;
}
.downloader-stats span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.downloader-stats b {
  color: var(--ink-dark);
  font-weight: 600;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
  color: var(--ink-dark);
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 2rem;
}
.platform-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-main);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-main);
  transition: var(--transition-main);
  gap: 0.8rem;
  border: 1px solid var(--border-color);
}
.platform-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--primary-maroon);
}
.platform-card i {
  font-size: 3rem;
}
.platform-card span {
  font-size: 1.4rem;
  font-weight: 500;
}
.platform-formats {
  font-size: 1.2rem;
  color: var(--ink-light);
  line-height: 1.4;
  padding: 0 0.5rem;
}

.info-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.info-card {
  background: var(--surface);
  border-radius: var(--radius-main);
  padding: 3rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-main);
  box-shadow: var(--shadow-main);
}
.info-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--primary-maroon);
}
.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.info-card li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.6;
}
.info-card li i {
  color: var(--primary-maroon);
  font-size: 1.6rem;
  margin-top: 0.4rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.main-footer {
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--ink-light);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--primary-maroon);
}
.footer-copyright {
  font-size: 1.4rem;
  color: var(--ink-light);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading-state,
.error-state {
  text-align: center;
  padding: 4rem 2.5rem;
  background: var(--surface);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-color);
  max-width: 700px;
  margin: 0 auto;
}
.loading-state h2,
.error-state h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.loading-state p,
.error-state p {
  color: var(--ink-light);
  font-size: 1.6rem;
}
.loading-spinner {
  font-size: 4rem;
  color: var(--primary-maroon);
  margin-bottom: 2rem;
  display: inline-block;
  animation: spin 1s linear infinite;
}
.error-state .placeholder-icon {
  font-size: 4rem;
  color: var(--error);
  margin-bottom: 1.5rem;
}

.result-card {
  background: var(--surface);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.result-preview {
  width: 100%;
  background: #000;
  flex-shrink: 0;
}
.result-preview video,
.result-preview img {
  width: 100%;
  border-radius: 0;
  background: #000;
  object-fit: contain;
  aspect-ratio: 16 / 9;
  display: block;
}
.audio-preview {
  display: flex;
  align-items: center;
  background-color: var(--background-light);
  padding: 2rem;
  gap: 1.5rem;
}
.audio-preview .audio-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-small);
  object-fit: cover;
  box-shadow: var(--shadow-main);
  flex-shrink: 0;
}
.audio-controls-wrapper {
  flex-grow: 1;
  min-width: 0;
}
.audio-controls-wrapper p {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
.audio-controls-wrapper span {
  font-size: 1.4rem;
  color: var(--ink-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-controls-wrapper audio {
  width: 100%;
  margin-top: 1rem;
}

.slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}
.slideshow-inner {
  width: 100%;
  height: 100%;
}
.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
  background: #000;
}
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}
.slideshow-nav.prev {
  left: 1rem;
}
.slideshow-nav.next {
  right: 1rem;
}
.slideshow-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  z-index: 10;
}

.result-content {
  padding: 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.result-info {
  text-align: left;
  margin-bottom: 2.5rem;
}
.result-info h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-weight: 700;
}
.result-info p {
  font-size: 1.6rem;
  color: var(--ink-light);
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-footer {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.dropdown-options {
  position: relative;
  width: 100%;
}
.dropdown-options summary {
  list-style: none;
  cursor: pointer;
}
.dropdown-options summary::-webkit-details-marker {
  display: none;
}
.dropdown-options > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.4rem 2.4rem;
  border-radius: var(--radius-small);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-main);
  font-size: 1.6rem;
  width: 100%;
  background: var(--surface);
  color: var(--primary-maroon);
}
.dropdown-options > summary:hover {
  border-color: var(--primary-maroon);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.dropdown-options[open] > summary {
  border-color: var(--primary-maroon);
}
.dropdown-menu {
  position: absolute;
  bottom: calc(100% + 1rem);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
  padding: 1rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
}
.dropdown-options:not([open]) .dropdown-menu {
  display: none;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  text-decoration: none;
  color: var(--ink-dark);
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.dropdown-menu a::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f019';
  color: var(--ink-light);
}
.dropdown-menu a:hover {
  background-color: var(--background-light);
  color: var(--primary-maroon);
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}
.toast-item {
  background: var(--surface);
  color: var(--ink-dark);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--error);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  animation: slideInRight 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.toast-item.fade-out {
  animation: fadeOut 0.5s ease-out forwards;
}
.toast-item i {
  font-size: 2rem;
  color: var(--error);
}

.result-card-new {
  background: var(--surface);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.result-preview-new {
  width: 100%;
  background: #f1f1f1;
  flex-shrink: 0;
}
.result-preview-new video,
.result-preview-new .image-preview {
  width: 100%;
  border-radius: 0;
  background: #000;
  object-fit: contain;
  aspect-ratio: 16 / 9;
  display: block;
}
.result-preview-new .slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
  background: #000;
}

.result-preview-new .slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}
.result-preview-new .slideshow-inner {
  width: 100%;
  height: 100%;
}
.result-preview-new .slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-preview-new .slideshow-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}
.result-preview-new .slideshow-nav.prev {
  left: 1rem;
}
.result-preview-new .slideshow-nav.next {
  right: 1rem;
}
.result-preview-new .slideshow-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  z-index: 10;
}

.result-content-new {
  padding: 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex-grow: 1;
}

.result-info-new h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.result-info-new p {
  font-size: 1.6rem;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.result-actions-new {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.download-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.download-group-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.btn-download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.btn-download > i {
  margin-right: 0.5rem;
}
.btn-download span:first-of-type {
  flex-grow: 1;
  text-align: left;
  padding-left: 1rem;
}
.btn-download .file-size {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink-light);
  background: rgba(76, 63, 63, 0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
}
.btn-primary .file-size {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.15);
}

.result-footer-new {
  text-align: center;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.result-footer-new .btn-tertiary {
  width: 100%;
}

@media (min-width: 769px) {
  body {
    font-size: 1.6rem;
  }
  .container {
    padding: 0 2.5rem;
  }

  .mobile-nav-toggle,
  .mobile-nav-overlay {
    display: none;
  }
  .desktop-nav {
    display: flex;
    gap: 3rem;
  }
  .desktop-nav a {
    color: var(--ink-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  .desktop-nav a:hover {
    color: var(--primary-maroon);
  }

  .main-content {
    padding-top: 6rem;
  }
  .downloader-section {
    padding: 6rem 0 4rem 0;
  }
  .platforms-section,
  .info-section {
    padding: 6rem 0;
  }

  .platforms-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-card {
    flex-direction: row;
  }
  .result-preview {
    width: 55%;
    border-right: 1px solid var(--border-color);
  }
  .result-preview video,
  .result-preview img {
    border-radius: 0;
  }
  .audio-preview {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 2rem;
  }
  .audio-preview .audio-thumbnail {
    width: 150px;
    height: 150px;
  }
  .audio-controls-wrapper {
    width: 100%;
    max-width: 300px;
  }
  .audio-controls-wrapper p,
  .audio-controls-wrapper span {
    text-align: center;
  }

  .result-content {
    width: 45%;
    padding: 3rem;
  }
  .result-actions {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.5rem;
  }
  .result-actions .btn-block,
  .result-actions .dropdown-options {
    width: 100%;
    flex: 1 1 0;
  }
  .result-actions .dropdown-options > summary {
    width: 100%;
  }

  .dropdown-options {
    width: 100%;
  }
  .dropdown-options > summary,
  .dropdown-menu {
    width: 100%;
  }

  .result-card-new {
    flex-direction: row;
  }
  .result-preview-new {
    width: 55%;
    max-width: 500px;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .result-preview-new video,
  .result-preview-new .image-preview {
    border-radius: 0;
    height: 100%;
    max-height: 500px;
  }
  .result-preview-new .slideshow-container {
    height: 100%;
    max-height: 500px;
    aspect-ratio: auto;
  }

  .result-content-new {
    width: 45%;
    flex-grow: 1;
    padding: 3rem;
  }

  .result-footer-new {
    padding-top: 2.5rem;
  }
  .result-footer-new .btn-tertiary {
    width: auto;
  }
}

.result-preview-new .file-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  background: var(--background-light);
}

.result-preview-new .file-preview i {
  font-size: 10rem;
  color: var(--primary-maroon);
  opacity: 0.8;
  line-height: 1;
}

@media (min-width: 769px) {
  .result-preview-new .file-preview {
    min-height: 300px;
    max-height: 500px;
  }
}
