@tailwind base;
@tailwind components;
@tailwind utilities;

/* 全局字体设置 */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
  font-family: 'Nunito', 'Nunito Fallback', Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* 滚动条样式优化 - 暗色科技风格 */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.3);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #475569 0%, #64748b 100%);
  border-radius: 6px;
  border: 2px solid rgba(30, 41, 59, 0.3);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
  border-color: rgba(51, 65, 85, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

::-webkit-scrollbar-corner {
  background: rgba(30, 41, 59, 0.3);
}

/* Firefox 滚动条样式 */
* {
  scrollbar-width: thin;
  scrollbar-color: #64748b rgba(30, 41, 59, 0.3);
}
 
@layer base {
  :root {
    /* 午夜余烬主题 - 浅色模式 */
    --background: 13 8% 3%;
    --foreground: 13 8% 85%;

    --card: 13 8% 6%;
    --card-foreground: 13 8% 85%;
 
    --popover: 13 8% 6%;
    --popover-foreground: 13 8% 85%;
 
    /* 使用温暖的橙金色作为主色调 */
    --primary: 25 85% 65%;
    --primary-foreground: 0 0% 98%;
 
    --secondary: 13 8% 8%;
    --secondary-foreground: 13 8% 85%;
 
    --muted: 13 8% 8%;
    --muted-foreground: 13 8% 55%;
 
    --accent: 13 8% 8%;
    --accent-foreground: 13 8% 85%;
 
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;

    --border: 13 8% 12%;
    --input: 13 8% 12%;
    --ring: 25 85% 65%;
 
    --radius: 0.5rem;
  }
 
  .dark {
    /* 午夜余烬深色主题 */
    --background: 13 8% 3%;
    --foreground: 13 8% 85%;
 
    --card: 13 8% 6%;
    --card-foreground: 13 8% 85%;
 
    --popover: 13 8% 6%;
    --popover-foreground: 13 8% 85%;
 
    /* 深色模式下使用温暖的金橙色 */
    --primary: 30 80% 68%;
    --primary-foreground: 13 8% 8%;
 
    --secondary: 13 8% 8%;
    --secondary-foreground: 13 8% 85%;
 
    --muted: 13 8% 8%;
    --muted-foreground: 13 8% 55%;
 
    --accent: 13 8% 8%;
    --accent-foreground: 13 8% 85%;
 
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 13 8% 85%;
 
    --border: 13 8% 12%;
    --input: 13 8% 12%;
    --ring: 30 80% 68%;
  }
}
 
@layer base {
  * {
    @apply border-border;
  }
  body {
    /* 午夜余烬多层渐变背景 */
    background: 
      radial-gradient(ellipse at center, #3d2914 0%, #2a1810 30%, #1a0f0a 60%, #0d0806 100%);
    background-attachment: fixed;
    @apply text-foreground;
    position: relative;
    min-height: 100vh;
  }
  
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      repeating-linear-gradient(
        45deg,
        rgba(61, 41, 20, 0.03) 0px,
        rgba(61, 41, 20, 0.03) 1px,
        transparent 1px,
        transparent 30px
      ),
      repeating-linear-gradient(
        -45deg,
        rgba(42, 24, 16, 0.02) 0px,
        rgba(42, 24, 16, 0.02) 1px,
        transparent 1px,
        transparent 40px
      );
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
  }
  
  /* 深色模式下的午夜余烬渐变 */
  .dark body {
    background: 
      radial-gradient(ellipse at center, #3d2914 0%, #2a1810 30%, #1a0f0a 60%, #0d0806 100%);
    background-attachment: fixed;
  }
  
  .dark body::before {
    background: 
      repeating-linear-gradient(
        45deg,
        rgba(61, 41, 20, 0.04) 0px,
        rgba(61, 41, 20, 0.04) 1px,
        transparent 1px,
        transparent 25px
      ),
      repeating-linear-gradient(
        -45deg,
        rgba(42, 24, 16, 0.03) 0px,
        rgba(42, 24, 16, 0.03) 1px,
        transparent 1px,
        transparent 35px
      );
    opacity: 0.3;
  }
}

/* 美观的标题样式 */
.prose h1 {
  @apply text-foreground font-bold;
  background: linear-gradient(135deg, hsl(var(--primary)), #ff7b5a);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prose h2 {
  @apply text-foreground font-semibold;
  color: hsl(var(--primary));
}

.prose h3, .prose h4, .prose h5, .prose h6 {
  @apply text-foreground font-medium;
  color: hsl(var(--foreground));
}

/* 橄榄绿阴影效果 */
.shadow-cartoon {
  box-shadow: 0 10px 15px -3px rgba(136, 143, 117, 0.12), 0 4px 6px -2px rgba(156, 163, 137, 0.06);
}

/* 橄榄绿边框效果 */
.border-cartoon {
  border: 1px solid rgba(136, 143, 117, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(136, 143, 117, 0.05), rgba(156, 163, 137, 0.05));
}

/* 卡片效果 */
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(136, 143, 117, 0.2);
  transform: translateY(-2px);
}

/* 导航阴影 */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(136, 143, 117, 0.12), 0 2px 4px -1px rgba(136, 143, 117, 0.08);
}

/* 内阴影 */
.shadow-inner {
  box-shadow: inset 0 2px 4px 0 rgba(136, 143, 117, 0.08);
}

/* 渐变动画 */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient {
  background: linear-gradient(-45deg, #8b5cf6, #ec4899, #06b6d4, #8b5cf6);
  background-size: 400% 400%;
  animation: gradient 8s ease infinite;
}

/* 炫酷按钮效果 */
.button-cartoon {
  @apply transition-all duration-300 rounded-xl border-0 relative overflow-hidden;
  background: linear-gradient(135deg, 
    rgba(99, 154, 255, 0.85) 0%,
    rgba(139, 92, 246, 0.8) 50%,
    rgba(59, 130, 246, 0.85) 100%
  );
  backdrop-filter: blur(15px);
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  
  box-shadow: 
    0 2px 4px rgba(99, 154, 255, 0.15),
    0 4px 12px rgba(139, 92, 246, 0.1),
    0 8px 24px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-cartoon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-cartoon:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(99, 154, 255, 0.2),
    0 8px 20px rgba(139, 92, 246, 0.15),
    0 16px 40px rgba(59, 130, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-cartoon:hover::before {
  left: 100%;
}

/* 游戏画布美观样式 */
.game-canvas {
  @apply rounded-3xl p-0 mb-0 border-0 relative overflow-hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(25px) saturate(200%);
  position: relative;
  
  /* 精致的多层阴影 - 无边框版本 */
  box-shadow: 
    0 2px 4px rgba(136, 143, 117, 0.08),
    0 8px 16px rgba(136, 143, 117, 0.06),
    0 16px 32px rgba(136, 143, 117, 0.04),
    0 32px 64px rgba(136, 143, 117, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  
  animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-canvas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0px;
  background: none;
  filter: none;
}

.game-canvas::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(136, 143, 117, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(156, 163, 137, 0.025) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(166, 173, 147, 0.02) 0%, transparent 50%);
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

.game-canvas:hover {
  /* 移除transform，只保留阴影增强效果 */
  box-shadow: 
    0 4px 8px rgba(136, 143, 117, 0.1),
    0 12px 24px rgba(136, 143, 117, 0.08),
    0 24px 48px rgba(136, 143, 117, 0.06),
    0 48px 96px rgba(136, 143, 117, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 攻略区域美观样式 */
.guide-section {
  @apply rounded-3xl p-10 mb-12 border-0 relative overflow-hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  
  /* 精致的多层阴影 */
  box-shadow: 
    0 2px 4px rgba(99, 154, 255, 0.06),
    0 8px 16px rgba(139, 92, 246, 0.04),
    0 16px 32px rgba(16, 185, 129, 0.03),
    0 32px 64px rgba(59, 130, 246, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(99, 154, 255, 0.08);
  
  animation: slideIn 1s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0px;
  background: none;
  filter: none;
}

.guide-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 154, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.015) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.01) 0%, transparent 50%);
  border-radius: inherit;
  z-index: -1;
}

.guide-section:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 4px 8px rgba(99, 154, 255, 0.08),
    0 12px 24px rgba(139, 92, 246, 0.06),
    0 24px 48px rgba(16, 185, 129, 0.04),
    0 48px 96px rgba(59, 130, 246, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(99, 154, 255, 0.12);
}

.guide-section h1 {
  @apply text-3xl font-bold mb-6;
  background: linear-gradient(135deg, hsl(var(--primary)), #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.guide-section h2 {
  @apply text-2xl font-semibold mb-4;
  color: hsl(var(--primary));
}

.guide-section p {
  @apply text-lg mb-6 leading-relaxed;
  color: hsl(var(--foreground));
  opacity: 0.9;
}

.guide-section ul, .guide-section ol {
  @apply list-disc list-inside mb-6 space-y-2;
}

.guide-section li {
  @apply text-lg;
  color: hsl(var(--foreground));
  opacity: 0.9;
}

.guide-section img {
  @apply rounded-xl my-6;
  animation: fadeIn 0.8s ease-out;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.guide-section video {
  @apply rounded-xl my-6;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

/* 炫酷动画效果 */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* 代码块美观样式 */
.guide-section pre {
  @apply bg-muted/50 p-6 rounded-xl my-6 overflow-x-auto border;
  border-color: rgba(139, 92, 246, 0.2);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(0, 0, 0, 0.05));
  backdrop-filter: blur(10px);
}

.guide-section code {
  @apply text-sm font-mono;
  color: hsl(var(--primary));
}

/* 表格美观样式 */
.guide-section table {
  @apply w-full my-6 border-collapse rounded-xl overflow-hidden;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.guide-section th {
  @apply bg-primary/10 p-4 text-left font-semibold;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  color: hsl(var(--primary));
}

.guide-section td {
  @apply p-4 border-b;
  border-color: rgba(139, 92, 246, 0.1);
}

/* 引用块美观样式 */
.guide-section blockquote {
  @apply border-l-4 pl-6 py-4 my-6 italic rounded-r-xl;
  border-color: hsl(var(--primary));
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
  backdrop-filter: blur(10px);
}

/* 炫酷增强效果 */
.warm-glow {
  position: relative;
}

.warm-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    rgba(139, 92, 246, 0.3), 
    rgba(236, 72, 153, 0.3), 
    rgba(59, 130, 246, 0.3), 
    rgba(139, 92, 246, 0.3));
  border-radius: calc(var(--radius) + 2px);
  z-index: -1;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.warm-glow:hover::before {
  opacity: 1;
  animation: pulse 2s infinite;
}

/* 焦点状态 */
.warm-focus:focus {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

/* 脉冲动画 */
@keyframes warmPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(139, 92, 246, 0);
  }
}

.warm-pulse {
  animation: warmPulse 2s infinite;
}

/* 文本高亮 */
.warm-highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* 分割线 */
.warm-divider {
  background: linear-gradient(90deg, 
    transparent, 
    rgba(139, 92, 246, 0.5), 
    rgba(236, 72, 153, 0.5),
    rgba(139, 92, 246, 0.5), 
    transparent);
  height: 2px;
  margin: 3rem 0;
  border-radius: 1px;
}

/* 工具提示 */
.warm-tooltip {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.9));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
  color: white;
  border-radius: var(--radius);
  padding: 12px 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .guide-section {
    @apply p-6;
  }
  
  .guide-section h1 {
    @apply text-2xl;
  }
  
  .guide-section h2 {
    @apply text-xl;
  }
  
  body::before {
    background-size: 15px 15px;
  }
}

/* 深色模式下的卡片 */
.dark .game-canvas,
.dark .guide-section {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(25px) saturate(180%);
}

.dark .guide-section {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark .game-canvas {
  box-shadow: 
    0 2px 4px rgba(136, 143, 117, 0.15),
    0 8px 16px rgba(136, 143, 117, 0.12),
    0 16px 32px rgba(136, 143, 117, 0.08),
    0 32px 64px rgba(136, 143, 117, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dark .game-canvas::before {
  background: none;
  filter: none;
}

.dark .game-canvas::after {
  background: 
    radial-gradient(circle at 20% 30%, rgba(136, 143, 117, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(156, 163, 137, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(166, 173, 147, 0.025) 0%, transparent 50%);
  border-radius: inherit;
  z-index: -1;
}

.dark .game-canvas:hover {
  /* 移除transform，只保留阴影增强效果 */
  box-shadow: 
    0 4px 8px rgba(136, 143, 117, 0.18),
    0 12px 24px rgba(136, 143, 117, 0.15),
    0 24px 48px rgba(136, 143, 117, 0.1),
    0 48px 96px rgba(136, 143, 117, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.dark .guide-section {
  box-shadow: 
    0 2px 4px rgba(136, 143, 117, 0.15),
    0 8px 16px rgba(136, 143, 117, 0.12),
    0 16px 32px rgba(136, 143, 117, 0.08),
    0 32px 64px rgba(136, 143, 117, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(136, 143, 117, 0.1);
}

.dark .guide-section::before {
  background: none;
  filter: none;
}

.dark .guide-section:hover {
  box-shadow: 
    0 4px 8px rgba(136, 143, 117, 0.18),
    0 12px 24px rgba(136, 143, 117, 0.15),
    0 24px 48px rgba(136, 143, 117, 0.1),
    0 48px 96px rgba(136, 143, 117, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(136, 143, 117, 0.15);
}

/* 深色模式下的按钮 */
.dark .button-cartoon {
  background: linear-gradient(135deg, 
    rgba(99, 154, 255, 0.9) 0%,
    rgba(139, 92, 246, 0.85) 50%,
    rgba(59, 130, 246, 0.9) 100%
  );
  
  box-shadow: 
    0 3px 6px rgba(99, 154, 255, 0.2),
    0 6px 16px rgba(139, 92, 246, 0.15),
    0 12px 32px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dark .button-cartoon:hover {
  box-shadow: 
    0 6px 12px rgba(99, 154, 255, 0.25),
    0 12px 24px rgba(139, 92, 246, 0.2),
    0 20px 48px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 卡通风格全屏按钮 */
.fullscreen-button {
  @apply transition-all duration-300 relative overflow-hidden;
  /* 完全重置边框和样式 */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  
  /* 重新设置样式 */
  border-radius: 16px !important;
  background: linear-gradient(135deg, 
    rgba(156, 163, 137, 0.9) 0%,
    rgba(136, 143, 117, 0.85) 50%,
    rgba(146, 153, 127, 0.9) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  color: white !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  
  /* 单一的盒子阴影效果 */
  box-shadow: 
    0 4px 8px rgba(136, 143, 117, 0.2),
    0 8px 16px rgba(136, 143, 117, 0.15),
    0 12px 24px rgba(136, 143, 117, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(136, 143, 117, 0.2) !important;
  
  transform: scale(1) !important;
}

.fullscreen-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  border-radius: 50%;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.fullscreen-button:hover {
  transform: scale(1.1) translateY(-2px) !important;
  background: linear-gradient(135deg, 
    rgba(166, 173, 147, 0.95) 0%,
    rgba(156, 163, 137, 0.9) 50%,
    rgba(176, 183, 157, 0.95) 100%
  ) !important;
  box-shadow: 
    0 6px 12px rgba(136, 143, 117, 0.25),
    0 12px 24px rgba(136, 143, 117, 0.2),
    0 18px 36px rgba(136, 143, 117, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(136, 143, 117, 0.3) !important;
}

.fullscreen-button:hover::before {
  opacity: 1;
}

.fullscreen-button:active {
  transform: scale(1.05) translateY(-1px) !important;
  box-shadow: 
    0 2px 6px rgba(136, 143, 117, 0.3),
    0 6px 12px rgba(136, 143, 117, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(136, 143, 117, 0.2) !important;
}

.fullscreen-button svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)) !important;
  transition: all 0.3s ease !important;
}

.fullscreen-button:hover svg {
  transform: scale(1.1) !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) !important;
}

/* 深色模式下的卡通全屏按钮 */
.dark .fullscreen-button {
  background: linear-gradient(135deg, 
    rgba(126, 133, 107, 0.85) 0%,
    rgba(116, 123, 97, 0.8) 50%,
    rgba(136, 143, 117, 0.85) 100%
  ) !important;
  
  box-shadow: 
    0 4px 8px rgba(126, 133, 107, 0.25),
    0 8px 16px rgba(116, 123, 97, 0.2),
    0 12px 24px rgba(106, 113, 87, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(96, 103, 77, 0.3) !important;
}

.dark .fullscreen-button:hover {
  background: linear-gradient(135deg, 
    rgba(136, 143, 117, 0.9) 0%,
    rgba(126, 133, 107, 0.85) 50%,
    rgba(146, 153, 127, 0.9) 100%
  ) !important;
  box-shadow: 
    0 6px 12px rgba(126, 133, 107, 0.3),
    0 12px 24px rgba(116, 123, 97, 0.25),
    0 18px 36px rgba(106, 113, 87, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(96, 103, 77, 0.4) !important;
} 