
:root {
  --primary-color: #2563eb;
  --primary-light: #e8f2ff;
  --text-primary: #2c3e50;
  --text-secondary: #666;
  --border-color: rgba(0, 0, 0, 0.15);
  --hover-bg: #f5f5f5;
  --border-radius-lg: 30px;
  --border-radius-md: 16px;
  --border-radius-sm: 12px;
}

* {
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100%;
  background: #ffffff;
  display: block;
  width: 100%;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding-top: 70px;
}

body.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-top: 0;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.navbar {
  background-color: transparent;
  border-bottom: 1.5px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 10001;
  display: flex;
  align-items: center;
  padding: 0 30px;
  transition: background-color 0.3s ease;
  -webkit-touch-callout: none;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: -1;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.menu-open {
  background-color: white;
}
.navbar.menu-open::before {
  background: white;
  backdrop-filter: none;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
  cursor: pointer;
}

.nav-logo img {
  height: 65px;
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}

.nav-menu a:hover {
  color: var(--primary-color);
  background: transparent;
}

.nav-menu a:active {
  transform: scale(0.95);
}

.nav-menu a.active {
  color: var(--primary-color);
  background: transparent;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--text-primary);
  margin: 3.399px 0;
  transition: 0.3s;
  border-radius: 2.5px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 7px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -7px);
}

.nav-logo,
.menu-toggle {
  position: relative;
  z-index: 1001;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }
  
  .nav-menu {
    position: fixed;
    left: 0;
    top: 70px;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: transparent;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s, background-color 0.3s ease, backdrop-filter 0.3s ease;
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    
    scrollbar-width: none;
    -ms-overflow-style: none;
    
    z-index: 999;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s, background-color 0.3s ease, backdrop-filter 0.3s ease;
    background-color: white;
    backdrop-filter: none;
  }
  
  .nav-menu li {
    width: 100%;
    position: relative;
  }
  
  .nav-menu a {
    display: block;
    padding: 1.25rem 1.5rem;
    width: 100%;
    color: var(--text-primary);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
  }
  
  .nav-menu a:hover,
  .nav-menu a:active {
    background-color: transparent;
    color: var(--primary-color);
    transform: none;
  }
  
  .nav-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background-color: var(--border-color);
  }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
  }
  
  body {
    padding-top: 70px;
  }

  .container h1 {
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 15px;
  }
  
  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .nav-menu a {
    padding: 1.1rem 1rem;
    font-size: 1rem;
  }
  
  .nav-menu li:not(:last-child)::after {
    left: 15%;
    right: 15%;
  }
  
  body {
    padding-top: 70px;
  }

  .container h1 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
  }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  border-radius: 0;
}
.loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  margin-top: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 2rem;
}

.folder-list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.folder-list li {
  margin-bottom: 15px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.15s ease;
}

.file-grid li {
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.15s ease;
}

.folder-list li:hover, .file-grid li:hover {
  background: var(--hover-bg);
}

.folder-list li:active, .file-grid li:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.folder-list .nav-link, .file-grid .nav-link {
  display: flex;
  align-items: center;
  padding: 18px 18px;
  text-decoration: none;
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  height: 100%;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.folder-list .nav-link:hover, .file-grid .nav-link:hover {
  background-color: var(--hover-bg);
}

.file-name {
  font-weight: bold;
}

.icon {
  display: none;
}

.parent-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.parent-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.parent-link:active {
  transform: scale(0.97);
}

.path-header {
  background: #f6f8fa;
  padding: 12px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.95em;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.path-content {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
}

.path-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.path-icon {
  display: none;
}

.empty-folder {
  text-align: center;
  padding: 30px;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 1.1em;
}

.footer {
  text-align: center;
  margin-top: 30px;
  color: var(--text-secondary);
  font-size: 0.9em;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0;
  padding: 15px 0;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.page-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.page-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.page-btn:active {
  transform: scale(0.97);
}

.page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
    margin: 15px auto;
  }
  .file-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .folder-list li, .file-grid li {
    margin-bottom: 3px;
  }
  .folder-list .nav-link, .file-grid .nav-link {
    padding: 16px 10px;
  }
  .file-name {
    font-size: 0.95em;
  }
  .file-details {
    flex-direction: column;
    font-size: 0.8em;
    gap: 1px;
  }
  
  .parent-link {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
  }
  
  .page-btn {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
  }
  
  .folder-list .nav-link, .file-grid .nav-link {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
    margin: 8px auto;
  }
  .file-name {
    font-size: 0.9em;
  }
  .file-details {
    font-size: 0.75em;
  }
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .page-btn {
    margin-bottom: 3px;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    font-size: 1rem;
  }
}

/* ===== 新增样式：fieldset 下载区域 ===== */
.download-sections {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

fieldset.download-section {
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 20px 15px;
    margin: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

fieldset.download-section > legend.section-label {
    display: inline-block;
    width: auto;
    padding: 0 12px;
    margin: 0 auto;
    background: white;
    border: none;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    float: none;
    text-align: center;
}

.section-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.cdn-buttons {
    flex-direction: row;
}

.direct-button {
    flex-direction: row;
}

@media (max-width: 768px) {
    fieldset.download-section {
        padding: 15px 15px 10px;
    }
    fieldset.download-section > legend.section-label {
        font-size: 0.7rem;
        padding: 0 8px;
    }
    .cdn-buttons {
        flex-direction: column;
    }
}

.image-btn {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.image-btn:active {
    transform: scale(0.95);
}

.image-btn img {
    pointer-events: none;
    -webkit-touch-callout: none; 
    display: block !important;
    width: auto !important;
    height: 60px !important;
    max-width: 100% !important;
    max-height: none !important;
}

@media (max-width: 768px) {
    .image-btn img {
        height: 50px !important;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10002;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    position: relative;
    width: 100%;
    height: calc(100% - 20px);
    margin-top: 20px;
    background: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-overlay.show .modal-container {
    transform: translateY(0);
}
.modal-close-area {
    height: 70px;
    width: 100%;
    cursor: pointer;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
}
.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.modal-close-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border-color);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.15s ease;
    z-index: 2010;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close-btn::before,
.modal-close-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: currentColor;
    border-radius: 3px;
}
.modal-close-btn::before {
    transform: rotate(45deg);
}
.modal-close-btn::after {
    transform: rotate(-45deg);
}
.modal-close-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.modal-close-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.modal-content {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.modal-content::-webkit-scrollbar {
    display: none;
}
.file-info-display {
    background: repeating-radial-gradient(circle at 30% 40%, rgba(182,181,215,0.1) 0px, rgba(182,181,215,0.1) 2px, transparent 2px, transparent 25px), linear-gradient(145deg, #B6B5D7, #ffffff);
    border: 1.5px solid #d9d9d9;
    border-radius: var(--border-radius-md);
    padding: 25px 20px;
    text-align: center;
}
.file-name-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    word-break: break-word;
}
.file-type-row, .file-size-row {
    font-size: 1.2rem;
    margin: 8px 0;
    font-weight: 600;
}
.file-type-label, .file-size-label {
    color: var(--text-primary);
    font-weight: 600;
}
.file-type {
    color: var(--primary-color);
    font-weight: 600;
}
.file-size-info {
    color: var(--text-secondary);
    font-weight: 600;
}
.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 0 5px;
}
.modal-container, .modal-container * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
@media (max-width: 768px) {
    .modal-content {
        padding: 15px 20px;
    }
    .file-name-large {
        font-size: 1.8rem;
    }
    .modal-close-area {
        height: 60px;
    }
    .modal-title {
        font-size: 1rem;
    }
    .file-type-row, .file-size-row {
        font-size: 1rem;
    }
}

.initial-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
    pointer-events: auto;
}
.initial-loader .loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 90vw;
    transform: translateY(-15px);
}
.initial-loader .loader img {
    display: block;
    width: 80px;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
    border: 0;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}
.initial-loader .spacer {
    width: 100%;
    height: 56px;
    flex-shrink: 0;
}
.initial-loader .progress-line {
    position: relative;
    width: 120px;
    max-width: 100%;
    height: 5px;
    background: #e5e5e5;
    border-radius: 9999px;
    overflow: hidden;
}
.initial-loader .slider {
    position: absolute;
    top: 0;
    left: -37.5%;
    width: 37.5%;
    height: 100%;
    background: linear-gradient(90deg, #70eeee, #6acd77);
    border-radius: 9999px;
    animation: slideShuttle 1.8s linear infinite;
    z-index: 2;
}
.initial-loader .slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, #e5e5e5, rgba(112,238,238,0));
    pointer-events: none;
    z-index: 3;
    border-radius: 9999px 0 0 9999px;
}
.initial-loader .slider::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, rgba(106,205,119,0), #e5e5e5);
    pointer-events: none;
    z-index: 3;
    border-radius: 0 9999px 9999px 0;
}
@keyframes slideShuttle {
    0% { left: -37.5%; }
    33.33% { left: 100%; }
    50% { left: 100%; }
    83.33% { left: -37.5%; }
    100% { left: -37.5%; }
}
@media (max-width: 400px) {
    .initial-loader .loader img { width: 68px; }
    .initial-loader .progress-line { width: 102px; }
    .initial-loader .spacer { height: 48px; }
}

#main-content {
    opacity: 0;
    transition: opacity 0.6s ease;
    width: 100%;
}

.download-error-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 120px;
    height: 120px;
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
}
.download-error-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.download-error-toast svg {
    width: 60px;
    height: 60px;
    display: block;
}

.network-error-card {
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.network-error-card.show {
    opacity: 1;
}
.network-error-card h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}
.network-error-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: normal;
}
.network-error-card .retry-btn {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}
.network-error-card .retry-btn:active {
    transform: scale(0.95);
}

#devtools-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#devtools-overlay.show {
    opacity: 1;
    visibility: visible;
}
#devtools-overlay .devtools-toast {
    width: 120px;
    height: 120px;
    background: white;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
#devtools-overlay svg {
    width: 60px;
    height: 60px;
}

/* Error page specific */
.error-container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.error-message {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.back-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  transform: scale(1);
}

.back-btn:active {
  transform: scale(0.95);
}
