:root {
  --bg-a: #f3fbff;
  --bg-b: #fdfdf7;
  --ink: #172029;
  --muted: #5b6977;
  --brand: #0c7cc1;
  --brand-soft: #e5f4ff;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(80rem 40rem at -10% -10%, #d8f4ff 0%, transparent 60%),
    radial-gradient(70rem 35rem at 110% 0%, #fff0d8 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-a) 0%, var(--bg-b) 100%);
  min-height: 100vh;
}

.hero {
  border: 1px solid #e6eef5;
  border-radius: 1rem;
  background: linear-gradient(130deg, #ffffff 0%, #f4fbff 55%, #fff8e8 100%);
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d6ea8;
  font-size: 0.75rem;
  font-weight: 700;
}

.h1-md {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.brand-title {
  margin: 0;
  font-family: "Nunito", "Outfit", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  line-height: 1.1;
}

.brand-word {
  display: inline-block;
}

.brand-c1 {
  color: #4285f4;
}

.brand-c2 {
  color: #ea4335;
}

.brand-c3 {
  color: #fbbc05;
}

.brand-c4 {
  color: #34a853;
}

.brand-sep {
  color: #9aa8b5;
}

.brand-sub {
  color: #173247;
  font-size: 0.84em;
  letter-spacing: 0.08em;
}

.captcha-box {
  background: #f8fbff;
  border: 1px dashed #c5d8e6;
}

.captcha-btn {
  min-width: 2.4rem;
  min-height: 2.4rem;
  font-weight: 700;
}

.file-card {
  border: 1px solid #e5edf5;
  background: var(--card);
  border-radius: 0.9rem;
  overflow: hidden;
  height: 100%;
}

.file-media {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #ebf1f6;
}

.file-head {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, #f4f9ff 0%, #eef4f8 100%);
}

.file-icon {
  font-size: 3.2rem;
  line-height: 1;
  color: #3b6a8c;
}

.file-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta {
  color: var(--muted);
  font-size: 0.83rem;
}

.fade-in-up {
  animation: fadeInUp 0.45s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.folder-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.folder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1) !important;
}

.folder-head {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
}

.breadcrumb-item {
  color: var(--muted);
}

.breadcrumb-item a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--muted);
}

@media (max-width: 576px) {
  .brand-title {
    gap: 0.15rem;
  }

  .brand-sub {
    letter-spacing: 0.06em;
    font-size: 0.78em;
  }

  .file-media,
  .file-head {
    min-height: 150px;
    height: 150px;
  }
}
