/* 现代化论坛样式 - 高级交互设计 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* 白天主题（明亮） */
  --primary-gradient: linear-gradient(135deg, #4f8cff 0%, #a6c1ee 100%);
  --secondary-gradient: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  --accent-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --bg-primary: #f7f8fa;
  --bg-secondary: #ffffff;
  --bg-card: #fff;
  --bg-glass: rgba(255,255,255,0.3);
  --text-primary: #222;
  --text-secondary: #555;
  --text-muted: #aaa;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.13);
  --shadow-glow: 0 0 20px rgba(79,140,255,0.13);
  --transition-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-normal: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
}

body.night-theme {
  /* 夜间主题（深色） */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #23242a; /* 柔和深灰色，原为rgba(255,255,255,0.05) */
  --bg-glass: rgba(255,255,255,0.1);
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.2);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 20px rgba(102,126,234,0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 动态背景 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 87, 108, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(1deg); }
}

/* 头部设计 */
header {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  overflow: hidden;
  margin-bottom: 0;
}

header::before {
  content: none !important;
  background: none !important;
}

header .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(2px);
}

header .title {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  color: #222;
  text-shadow: 0 4px 20px rgba(0,0,0,0.10);
  animation: titleGlow 3s ease-in-out infinite alternate;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
}

header .title i {
  margin-right: 1rem;
  font-size: 3rem;
}

@keyframes titleGlow {
  from { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
  to { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6)); }
}

body.night-theme header .title {
  color: #fff;
}

/* 导航栏 */
nav {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav .nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  transition: var(--transition-normal);
  z-index: -1;
}

nav a:hover::before {
  left: 0;
}

nav a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

nav a i {
  font-size: 1.1rem;
}

/* 搜索框 */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.search-container.focused .search-input {
  width: 300px;
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 0.75rem 1rem 0.75rem 2.2rem;
  color: var(--text-primary);
  font-size: 1rem;
  width: 250px;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  width: 300px;
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 38%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  width: 1.5rem;
}

/* 分类卡片 */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category {
  position: relative;
  height: 200px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
}

.category::before {
  content: none !important;
  background: none !important;
}

.category:hover::before {
  opacity: 0.9;
  transform: scale(1.05);
}

.category a {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #222;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 2rem;
  background: transparent !important;
  border-radius: 18px;
  box-shadow: none;
  backdrop-filter: none;
}

.category-content {
  background: rgba(255,255,255,0.55);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 1.2rem 2rem;
  display: inline-block;
  backdrop-filter: blur(6px);
}

.category a i {
  font-size: 2.5rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* 主内容区域 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* 章节标题 */
.section-header {
  margin: 3rem 0 2rem 0;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-header h2 i {
  color: var(--primary-gradient);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-line {
  width: 100px;
  height: 3px;
  background: var(--primary-gradient);
  margin: 0 auto;
  border-radius: 2px;
}

/* 帖子网格 */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* 帖子卡片 */
.post {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.post.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.post::before {
  content: none !important;
  background: none !important;
}

.post:hover::before {
  transform: scaleY(1);
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.post h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.post h2 a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.post h2 a:hover {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.author, .category-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author i, .category-tag i {
  color: var(--primary-gradient);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pinned-post {
  border-left: 4px solid #ff6b6b;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
}

.pinned-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-gradient);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* 按钮样式 */
.btn, button, input[type="submit"] {
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before, button::before, input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-normal);
}

.btn:hover::before, button:hover::before, input[type="submit"]:hover::before {
  left: 100%;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-danger, .btn.delete, button.delete {
  background: var(--secondary-gradient);
}

.read-more {
  background: var(--accent-gradient);
}

.edit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
}

.empty-state i {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination a:hover {
  background: var(--primary-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.pagination .active {
  background: var(--primary-gradient);
  pointer-events: none;
}

.pagination .ellipsis {
  color: var(--text-muted);
  pointer-events: none;
}

/* 表单样式 */
.form-container {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
}

input, textarea, select {
  width: 100%;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
  font-family: 'Nunito', 'Inter', 'Segoe UI', 'Microsoft YaHei', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  border-radius: 12px;
  padding: 1em;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1.5px solid #e0e6ef;
  transition: border-color 0.2s;
}

textarea:focus {
  border-color: #4f8cff;
  outline: none;
}

/* 媒体画廊 */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
  background: none;
  padding: 0;
}

.media-gallery img, .gallery-image {
  width: 100%;
  max-width: 100%;
  max-height: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  background: none;
  display: block;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.media-gallery img:hover {
  transform: scale(1.05);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: var(--shadow-glow);
}

/* 模态框 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.modal.show {
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.modal.show .modal-content {
  transform: scale(1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  header .title {
    font-size: 2.5rem;
  }
  
  header .title i {
    font-size: 2rem;
  }
  
  nav {
    flex-direction: column;
    padding: 1rem;
  }
  
  nav .nav-links {
    justify-content: center;
  }
  
  .search-input {
    width: 200px;
  }
  
  .search-input:focus {
    width: 250px;
  }
  
  .categories {
    transform: scale(0.8);
    transform-origin: top center;
    max-width: 100vw;
    margin: 0 auto 0 auto;
    padding: 0;
  }
  .category {
    height: 160px;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
    background: #f7f8fa;
  }
  .category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.92) contrast(1.08);
    transition: filter 0.2s;
  }
  .category-frosted {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: linear-gradient(120deg, rgba(255,255,255,0.55) 60%, rgba(200,220,255,0.18) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
  }
  .category-content {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    background: rgba(255,255,255,0.72);
    border-radius: 14px;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-shadow: 0 2px 8px #fff;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.2;
  }
  .category a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    text-decoration: none;
  }
  
  main {
    padding: 1rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post {
    padding: 1.5rem;
  }
  
  .post-actions {
    flex-direction: column;
  }
  
  .btn, button, input[type="submit"] {
    width: 100%;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
}

/* 加载动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post, .category, .form-container {
  animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}

/* 全局毛玻璃区域提升模糊度 */
header,
nav,
.category,
.post,
.form-container,
.media-section,
.comments-section,
.empty-state,
.demo-section {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: none !important;
}

/* 保证没有蓝色渐变叠加 */
.category::before,
.post::before {
  content: none !important;
  background: none !important;
}

.active-like {
  background: #2196f3 !important;
  color: #fff !important;
  box-shadow: 0 0 8px #2196f388;
  border: none !important;
  transition: background 0.2s;
}
.active-dislike {
  background: #ff5252 !important;
  color: #fff !important;
  box-shadow: 0 0 8px #ff525288;
  border: none !important;
  transition: background 0.2s;
}

button.active-like, .btn.active-like {
  background: #2196f3 !important;
  color: #fff !important;
  box-shadow: 0 0 8px #2196f388;
  border: none !important;
  transition: background 0.2s;
}
button.active-dislike, .btn.active-dislike {
  background: #ff5252 !important;
  color: #fff !important;
  box-shadow: 0 0 8px #ff525288;
  border: none !important;
  transition: background 0.2s;
}

button.liked, .btn.liked {
  background: none !important;
  background-color: #1976d2 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 0 8px #1976d288;
  transition: background 0.2s;
}
button.disliked, .btn.disliked {
  background: none !important;
  background-color: #e53935 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 0 8px #e5393588;
  transition: background 0.2s;
}

#theme-toggle-btn {
  margin-left: 1.5rem;
  background: var(--bg-glass);
  border: 2px solid var(--primary-gradient);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(79,140,255,0.18), 0 1.5px 8px rgba(0,0,0,0.10);
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
  font-size: 1.7rem;
}
#theme-toggle-btn i {
  color: #f7d365;
  text-shadow: 0 0 8px #fff, 0 0 2px #fda085;
  font-size: 1.7rem;
}
#theme-toggle-btn:hover {
  background: var(--primary-gradient);
  border-color: #fff;
  box-shadow: 0 8px 32px rgba(79,140,255,0.28), 0 2px 12px rgba(0,0,0,0.13);
}
#theme-toggle-btn:hover i {
  color: #fff;
  text-shadow: 0 0 12px #fff, 0 0 4px #4f8cff;
}

body.night-theme .post-card, body.night-theme .post {
  background: #23242a !important;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
}
 
/* 统一导航栏按钮风格，去除彩色背景 */
nav .user-welcome,
nav .admin-link,
nav .new-post-btn,
nav .logout-btn,
nav .login-btn,
nav .register-btn {
  background: none !important;
  box-shadow: none !important;
  color: var(--text-primary) !important;
  font-weight: 500;
  border: none !important;
  transition: var(--transition-normal);
}
nav .user-welcome:hover,
nav .admin-link:hover,
nav .new-post-btn:hover,
nav .logout-btn:hover,
nav .login-btn:hover,
nav .register-btn:hover {
  background: none !important;
  color: var(--text-primary) !important;
  /* 悬浮时渐变由nav a::before控制 */
}
/* 保证所有导航栏按钮都和.nav-link一致 */
nav .user-welcome,
nav .admin-link,
nav .new-post-btn,
nav .logout-btn,
nav .login-btn,
nav .register-btn,
nav .nav-link {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
 