/* ==================== 基础样式 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 手机版模态框全屏显示 */
@media (max-width: 768px) {
  .modal-content {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
  }
  
  .modal {
    padding: 0 !important;
  }
}

/* 资源管理模态框 - 设置更高的z-index，确保显示在加载浮层之上 */
#resourceManagementModal {
  z-index: 10000;
}

/* ==================== 邀请码模态框美化 ==================== */
/* 邀请码模态框容器 */
#invitation-code-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

/* 模态框内容 */
#invitation-code-modal .modal-content {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
  max-width: 500px;
  width: 90%;
  animation: modalSlideIn 0.3s ease-out;
}

/* 模态框头部 */
#invitation-code-modal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-bottom: none;
}

/* 模态框标题 */
#invitation-code-modal .modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

/* 关闭按钮 */
#invitation-code-modal .close {
  color: white;
  font-size: 24px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#invitation-code-modal .close:hover {
  opacity: 1;
  color: white;
  text-shadow: none;
}

/* 模态框主体 */
#invitation-code-modal .modal-body {
  padding: 30px 20px;
}

/* 二维码容器 */
#invitation-code-modal #qr-code-container {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

#invitation-code-modal #qr-code-container:hover {
  transform: translateY(-2px);
}

/* 二维码图片 */
#invitation-code-modal #invitation-qr-code {
  border: 5px solid white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 邀请码文本区域 */
#invitation-code-modal .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

#invitation-code-modal .form-control {
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  padding: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  resize: none;
  background: #fafafa;
}

#invitation-code-modal .form-control:hover {
  border-color: #667eea;
  background: white;
}

#invitation-code-modal .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  background: white;
}

/* 辅助文本 */
#invitation-code-modal .form-text {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

/* 按钮样式 */
#invitation-code-modal .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#invitation-code-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#invitation-code-modal .btn-secondary {
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#invitation-code-modal .btn-secondary:hover {
  background-color: #6c757d;
  transform: translateY(-1px);
}

/* 模态框底部 */
#invitation-code-modal .modal-footer {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  background: #fafafa;
  justify-content: center;
}

/* 动画效果 */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 576px) {
  #invitation-code-modal .modal-content {
    width: 95%;
    margin: 10px;
  }
  
  #invitation-code-modal .modal-body {
    padding: 20px 15px;
  }
  
  #invitation-code-modal #qr-code-container {
    padding: 15px;
  }
  
  #invitation-code-modal #invitation-qr-code {
    max-width: 180px;
    max-height: 180px;
  }
}

body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
}

/* ==================== 状态样式 ==================== */
/* .status {
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 4px;
} */

/* .loading {
  color: #666;
  background-color: #e8f4f8;
  border: 1px solid #b3d9e5;
} */

/* .success {
  color: #2c7a38;
  background-color: #e8f5e8;
  border: 1px solid #c3e6cb;
} */

.error {
  color: #a94442;
  background-color: #f8e8e8;
  border: 1px solid #ebccd1;
}

.warning {
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
}

/* ==================== 工具栏样式 ==================== */
.toolbar {
  margin-bottom: 20px;
  padding: 10px 15px;
  background-color: #e8f4f8;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toolbar-left {
  display: flex;
  gap: 10px;
}

.toolbar-right {
  display: flex;
  gap: 10px;
}

/* ==================== 按钮样式 ==================== */
.btn {
  /* border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  color: #333; */
  display: inline-block;
}

.btn:hover {
  background-color: #31b0d5;
}

.btn-primary {
  background-color: #428bca;
  color: #fff;
  border-color: #357ebd;
}

.btn-primary:hover {
  background-color: #3071a9;
}

.btn-info {
  background-color: #5bc0de;
  color: #fff;
  border-color: #46b8da;
}

.btn-info:hover {
  background-color: #31b0d5;
}

.btn-active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.btn-active:hover {
  background-color: #0056b3;
}

/* ==================== 徽章样式 ==================== */
.badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
}

.badge-success {
  background-color: #5cb85c;
  color: #fff;
}

.badge-warning {
  background-color: #f0ad4e;
  color: #fff;
}

.badge-info {
  background-color: #5bc0de;
  color: #fff;
}

/* ==================== 表格样式 ==================== */
.table-container {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  white-space: normal;
  word-break: break-word;
}

th {
  background-color: #f8f8f8;
  font-weight: bold;
  color: #555;
  white-space: nowrap;
}

/* 表格列宽设置 */
th:nth-child(1),
td:nth-child(1) {
  min-width: 110px;
  max-width: 150px;
}

th:nth-child(2),
td:nth-child(2) {
  width: 60px;
}

th:nth-child(3),
td:nth-child(3) {
  min-width: 70px;
  max-width: 120px;
}

th:nth-child(4),
td:nth-child(4) {
  min-width: 200px;
  max-width: 400px;
  text-align: left;
  width: auto;
}

th:nth-child(5),
td:nth-child(5) {
  min-width: 150px;
  max-width: 300px;
  width: auto;
}

th:nth-child(6),
td:nth-child(6) {
  width: 100px;
}

tr:hover {
  background-color: #f5f5f5;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-path {
  color: #666;
}

.title {
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  font-size: 12px;
  margin-left: 5px;
}

.netdisk-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.netdisk-link {
  color: #428bca;
  text-decoration: none;
  font-size: 12px;
}

.netdisk-link:hover {
  text-decoration: underline;
}

.no-data {
  color: #999;
  font-style: italic;
}

/* ==================== 模态框样式 ==================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  /* padding: 20px; */
  box-sizing: border-box;
}

.modal-content {
  background-color: #fff;
  margin: 50px auto;
  border: 1px solid #888;
  border-radius: 4px;
  width: 90%;
  max-width: 900px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
}

.modal-body {
  overflow-x: hidden;
  line-height: 1.6;
  padding: 20px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

/* ==================== 内容区域样式 ==================== */
#content-original {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  word-wrap: break-word;
}

#content-original img {
  max-width: 100%;
  height: auto;
  display: block;
}

#content-rewrite-results {
  overflow-x: hidden;
}

#content-rewrite-results img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== 内容伪原创和发布预览浮窗自适应高度 ==================== */
#content-preview-modal .modal-content,
#publish-preview-modal .modal-content {
  max-height: calc(100vh - 40px) !important;
  margin: 20px auto !important;
  display: flex !important;
  flex-direction: column !important;
}

#content-preview-modal .modal-header,
#publish-preview-modal .modal-header {
  flex-shrink: 0 !important;
}

#content-preview-modal .modal-body,
#publish-preview-modal .modal-body {
  flex: 1 !important;
  overflow-y: auto !important;
  max-height: none !important;
  min-height: 0 !important;
}

#content-preview-modal #content-original {
  max-height: none !important;
}

#publish-preview-modal .modal-body {
  display: flex !important;
  flex-direction: column !important;
}

#publish-preview-modal .modal-body > div:last-of-type {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

#publish-preview-modal #publish-content-preview {
  max-height: none !important;
  flex: 1 !important;
  overflow-y: auto !important;
  min-height: 0 !important;
}

#publish-preview-modal .modal-footer {
  flex-shrink: 0 !important;
}

/* ==================== 分类筛选区域样式 ==================== */
.category-filter-container {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
  padding: 0;
  border: none;
}

.filter-actions {
  display: flex;
  align-items: center;
}

.filter-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.filter-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: left;
}

.filter-label {
  font-weight: bold;
  color: #555;
  min-width: 80px;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 4px;
}

.subcategory-group {
  margin-left: 0;
}

.btn-group.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.btn-group.flex-wrap .btn {
  margin: 2px;
}

/* 一级分类按钮样式 */
#category-filter-group .btn {
  background-color: #e3f2fd;
  border-color: #bbdefb;
  color: #1976d2;
  font-weight: 500;
}

#category-filter-group .btn:hover {
  background-color: #bbdefb;
  border-color: #90caf9;
  color: #1565c0;
}

#category-filter-group .btn-active {
  background-color: #1976d2 !important;
  border-color: #1565c0 !important;
  color: white !important;
}

/* 二级分类按钮样式 */
.subcategory-group .btn {
  background-color: #e8f5e8;
  border-color: #c8e6c9;
  color: #2e7d32;
  font-weight: 400;
}

.subcategory-group .btn:hover {
  background-color: #c8e6c9;
  border-color: #a5d6a7;
  color: #1b5e20;
}

.subcategory-group .btn-active {
  background-color: #2e7d32 !important;
  border-color: #1b5e20 !important;
  color: white !important;
}

/* 徽章样式优化 */
.filter-group .btn .badge,
.filter-header .btn .badge {
  font-weight: bold;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.15);
  color: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.filter-group .btn-active .badge,
.filter-header .btn-active .badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.filter-actions .btn .badge {
  background-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

.filter-actions .btn-active .badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.filter-group .btn {
  transition: all 0.3s ease;
}

.filter-group .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.filter-group .btn-active:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* ==================== 发布预览样式 ==================== */
#publish-title-preview,
#publish-content-preview {
  overflow-x: hidden;
}

#publish-title-preview img,
#publish-content-preview img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#publish-title-preview video,
#publish-content-preview video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#publish-title-preview iframe,
#publish-content-preview iframe {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==================== Tab导航样式 ==================== */
/* .nav-tabs {
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 20px;
}

.nav-tabs .nav-item {
  margin-bottom: -2px;
} */

/* .nav-tabs .nav-link {
  border: 2px solid transparent;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: #6c757d;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-color: #dee2e6 #dee2e6 #e9ecef;
  color: #495057;
  background-color: #e9ecef;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: #fff;
  border-color: #0d6efd #0d6efd #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} */

.tab-content {
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

#rewriteResults {
  min-height: 200px;
}

/* ==================== 网盘编辑样式 ==================== */
.input-group.netdisk-row .form-select.netdisk-type,
.input-group.netdisk-row .form-control.netdisk-pwd {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  flex: 0 0 auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: 120px !important;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .toolbar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .toolbar-left {
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .toolbar-right {
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
  }

  .toolbar-right .btn {
    margin-bottom: 5px;
    margin-right: 5px;
    font-size: 11px;
  }

  .search-container {
    margin-right: 0 !important;
    margin-bottom: 10px;
    width: 100% !important;
  }

  .input-group {
    width: 100% !important;
  }

  #search-input {
    width: 100% !important;
    font-size: 11px !important;
  }

  .category-filter-container {
    padding: 15px;
    margin: 15px 0;
  }

  .filter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .filter-title {
    font-size: 16px;
  }

  .filter-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  table {
    font-size: 11px;
  }

  th, td {
    padding: 8px 6px !important;
    white-space: nowrap;
  }

  .action-buttons {
    gap: 3px;
  }

  .action-buttons .btn {
    font-size: 10px;
    padding: 3px 6px;
  }

  .modal-body {
    padding: 15px;
  }

  .modal-title {
    font-size: 16px;
  }

  .btn {
    font-size: 12px;
    padding: 6px 12px;
    margin: 2px;
  }

  .btn-sm {
    font-size: 11px;
    padding: 4px 8px;
  }
}
/*资源站徽章*/
.zy_badge {
  font-size: 9px !important;
  padding: 1px 2px;
  color: #4f60ac;
}

/*koyso资源的game_size和game_version*/
.game_size, .game_version{
  font-size: 11px;
}
.game_size span:first-child, .game_version span:first-child{
  margin-right: 5px;
}
.game_size span:nth-child(2), .game_version span:nth-child(2){
  color: rgb(255, 136, 0);
}

/* ==================== 骨架屏样式 ==================== */
/* 骨架屏基础样式 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* 骨架屏动画 */
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 不同类型的骨架屏元素 */
.skeleton-title {
  height: 18px;
  width: 60%;
}

.skeleton-text {
  height: 14px;
  width: 80%;
}

.skeleton-text-short {
  height: 14px;
  width: 40%;
}

.skeleton-button {
  height: 28px;
  width: 70px;
  margin: 0 auto;
}

/* 骨架行样式 */
.skeleton-row td {
  padding: 12px 8px;
}

/* 骨架行悬停效果 */
.skeleton-row:hover {
  background-color: transparent;
}

/* ==================== 进度条样式 ==================== */
.progress-bar-container {
  width: 100%;
  max-width: 300px;
  margin: 15px auto 0;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  width: 100%;
  height: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-text {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #667eea;
  margin-top: 8px;
}

/* 响应式设计 - 进度条 */
@media (max-width: 768px) {
  .progress-bar-container {
    max-width: 250px;
  }
  
  .progress-bar {
    height: 18px;
  }
  
  .progress-text {
    font-size: 11px;
  }
}

/* ==================== 赞助模态框样式 ==================== */

/* 支付方式容器 - 电脑端横排 */
#sponsor-modal .payment-methods-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 20px;
}

/* 单个支付方式 */
#sponsor-modal .payment-method {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

#sponsor-modal .payment-method h5 {
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

/* 移动端 - 支付方式改为竖排 */
@media (max-width: 768px) {
  #sponsor-modal .payment-methods-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  #sponsor-modal .payment-method {
    max-width: 100%;
  }
}

/* ==================== 右下角浮动按钮样式 ==================== */
.floating-buttons-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-size: 20px;
  color: white;
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-btn:active {
  transform: translateY(-1px);
}

/* 回到顶部按钮 */
.floating-btn-scroll-top {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 赞助按钮 */
.floating-btn-sponsor {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* 联系我们按钮 */
.floating-btn-contact {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 工具提示 */
.floating-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-btn:hover::after {
  opacity: 1;
  visibility: visible;
  right: 55px;
}

/* 响应式设计 - 浮动按钮 */
@media (max-width: 768px) {
  .floating-buttons-container {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .floating-btn:hover::after {
    right: 50px;
  }
}