/* 二次元蜜蜂主题全局样式 */
:root {
  --bee-yellow: #ffd54a;
  --bee-yellow-deep: #ffb300;
  --bee-brown: #5d4037;
  --bee-bg-light: #fff9e6;
  --bee-bg-deep: #ffe082;
  --bee-border: #ffe9a7;
  --bee-shadow-soft: 0 10px 25px rgba(255, 179, 0, 0.25);
  --bee-radius-lg: 18px;
  --bee-radius-md: 12px;
  --bee-radius-pill: 999px;
}

body {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 243, 224, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(255, 236, 179, 0.9), transparent 55%),
    linear-gradient(135deg, #fffdf5 0%, #fff8e1 45%, #fff3cd 100%);
}

/* 顶部导航蜂蜜玻璃效果 */
.clogin-header {
  background: linear-gradient(120deg, rgba(255, 245, 157, 0.9), rgba(255, 224, 130, 0.9));
  box-shadow: 0 8px 18px rgba(255, 193, 7, 0.22);
  border-bottom: 1px solid rgba(255, 224, 130, 0.8);
}

.clogin-header-white {
  background: linear-gradient(120deg, rgba(255, 249, 196, 0.95), rgba(255, 236, 179, 0.96));
}

.navbar {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-brand {
  position: relative;
  padding-left: 0.35rem;
}

.navbar-brand::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fffde7 0, #fff8e1 40%, #ffe082 75%);
  box-shadow: 0 0 0 3px rgba(255, 244, 179, 0.9), 0 8px 20px rgba(255, 193, 7, 0.55);
  transform: translateY(-50%);
  z-index: -1;
}

.navbar-brand::after {
  content: "🐝";
  position: absolute;
  right: -18px;
  top: -6px;
  font-size: 1.25rem;
  transform-origin: center bottom;
  animation: bee-float 2.6s ease-in-out infinite;
}

.navbar-light .navbar-nav .nav-link {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6b4b16 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
  color: #ff8f00 !important;
}

.navbar-light .navbar-toggler {
  border-color: rgba(255, 183, 77, 0.8);
}

.navbar-light .navbar-toggler-icon {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 179, 0, 1),
      rgba(255, 179, 0, 1)
    ),
    linear-gradient(
      to bottom,
      rgba(255, 179, 0, 1),
      rgba(255, 179, 0, 1)
    ),
    linear-gradient(
      to bottom,
      rgba(255, 179, 0, 1),
      rgba(255, 179, 0, 1)
    );
  background-size: 100% 2px, 100% 2px, 100% 2px;
  background-position: 0 0, 0 7px, 0 14px;
  background-repeat: no-repeat;
}

/* 英雄区蜂巢背景 */
.clogin-banner {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 245, 157, 0.75), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(255, 224, 130, 0.8), transparent 55%),
    linear-gradient(135deg, #fff9c4 0%, #ffecb3 45%, #ffe082 100%);
}

.clogin-banner::before {
  background-image:
    radial-gradient(circle, rgba(255, 213, 74, 0.9) 20%, transparent 21%),
    radial-gradient(circle, transparent 20%, rgba(255, 241, 118, 0.9) 21%, transparent 32%),
    linear-gradient(60deg, rgba(255, 245, 157, 0.6) 25%, transparent 25%),
    linear-gradient(-60deg, rgba(255, 245, 157, 0.45) 25%, transparent 25%);
  background-size: 80px 80px;
  opacity: 0.35;
}

.banner-title h1 {
  color: #5d4037;
  text-shadow: 0 3px 0 rgba(255, 248, 225, 1),
    0 10px 20px rgba(93, 64, 55, 0.35);
}

.banner-title h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffca28, #ffe082);
  box-shadow: 0 5px 14px rgba(255, 193, 7, 0.65);
}

.banner-title p {
  color: #8d6e63;
  background: rgba(255, 253, 231, 0.9);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 10px 30px rgba(255, 224, 130, 0.45);
}

.clogin-banner .img-fluid {
  box-shadow: 0 16px 36px rgba(198, 142, 0, 0.5);
  border-radius: 26px;
  border: 3px solid rgba(255, 241, 118, 0.9);
  transform-origin: center;
  animation: bee-image-float 4.2s ease-in-out infinite;
}

/* 胶囊按钮 */
.clogin-banner-buttons .btn {
  border-radius: var(--bee-radius-pill);
  background: linear-gradient(145deg, #ffca28, #ffc107);
  box-shadow: 0 12px 24px rgba(255, 179, 0, 0.45);
}

.clogin-banner-buttons .btn:first-child {
  background: linear-gradient(135deg, #ffb300, #ffd54f);
}

.clogin-banner-buttons .btn:last-child {
  background: linear-gradient(135deg, #fff8e1, #ffecb3);
  color: #ff8f00;
  border: 1px solid #ffca28;
}

.clogin-banner-buttons .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(255, 179, 0, 0.6);
}

/* 介绍区与卡片蜂巢风格 */
.clogin-info {
  background: linear-gradient(180deg, #fffdf5 0%, #fff8e1 100%);
}

.clogin-section-title h2 {
  color: #5d4037;
}

.clogin-section-title h2::after {
  background: linear-gradient(90deg, #ffca28, #ffb300);
}

.clogin-info p {
  background: rgba(255, 253, 231, 0.9);
  border-radius: 18px;
  border: 1px dashed rgba(255, 213, 74, 0.7);
  box-shadow: 0 12px 26px rgba(255, 224, 130, 0.4);
}

.clogin-functions {
  background: radial-gradient(circle at 0% 0%, #fff8e1 0%, #fff3cd 40%, #ffe082 100%);
}

.feature-card {
  border-radius: var(--bee-radius-lg);
  border: 1px solid rgba(255, 224, 130, 0.95);
  background:
    radial-gradient(circle at 0 0, rgba(255, 253, 231, 0.9), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 249, 196, 0.9), transparent 55%),
    linear-gradient(135deg, #fffde7 0%, #fff8e1 35%, #ffecb3 100%);
  box-shadow: var(--bee-shadow-soft);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe082, #ffca28);
  opacity: 0.35;
}

.feature-card::after {
  content: "✦";
  position: absolute;
  left: 18px;
  bottom: 10px;
  font-size: 1.8rem;
  color: rgba(255, 193, 7, 0.7);
  animation: star-twinkle 2.2s ease-in-out infinite;
}

.feature-title {
  color: #6d4c41;
}

.feature-desc {
  color: #8d6e63;
}

.feature-desc i {
  color: #ffb300;
}

/* 友情链接与页脚 */
.clogin-links {
  background: linear-gradient(180deg, #fff9e6 0%, #ffecb3 100%);
  border-top: 1px solid rgba(255, 224, 130, 0.9);
  border-bottom: 1px solid rgba(255, 224, 130, 0.9);
}

.clogin-links span::before {
  content: "🐝";
  margin-right: 4px;
}

.clogin-footer {
  background: linear-gradient(180deg, #6d4c41 0%, #4e342e 60%, #3e2723 100%);
  position: relative;
}

.clogin-footer::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  background: radial-gradient(circle at 50% -20px, #ffca28 0, #ffb300 45%, transparent 60%);
  opacity: 0.95;
}

.clogin-footer p {
  color: #ffecb3;
}

/* 动画 */
@keyframes bee-float {
  0%, 100% {
    transform: translate(0, 0) rotate(-6deg);
  }
  50% {
    transform: translate(3px, -4px) rotate(8deg);
  }
}

@keyframes bee-image-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes star-twinkle {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* 响应式优化 */
@media (max-width: 991.98px) {
  .clogin-banner {
    text-align: center;
  }
  .banner-title {
    padding: 0 0.75rem;
  }
  .banner-title h1::after {
    margin-left: auto;
    margin-right: auto;
  }
  .clogin-banner-buttons .btn {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .feature-card {
    padding: 1.75rem 1.25rem;
  }
  .clogin-info p {
    padding: 0.85rem 0.9rem;
  }
}


