


:root {
  --brand: #d93a3a;
  --brand2: #f57c00;
  --accent: #ffcc4d;
  --ink: #1f2937;
  --ink2: #4b5563;
  --soft: #f8fafc;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --maxw: 1400px;
  
  
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
}


.splash {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(1400px 900px at 20% -20%, rgba(217, 58, 58, .25), transparent 70%),
    radial-gradient(1200px 700px at 80% 20%, rgba(245, 124, 0, .20), transparent 70%),
    radial-gradient(1000px 600px at 50% 80%, rgba(255, 204, 77, .15), transparent 60%),
    linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}


.bg-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}


.particle-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particle-twinkle 4s ease-in-out infinite;
}

@keyframes particle-twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}


.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  animation: grid-drift 30s linear infinite;
}

@keyframes grid-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}


.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  animation: orb-float 12s ease-in-out infinite;
}

.orb-1 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(217, 58, 58, 0.2) 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 124, 0, 0.2) 0%, transparent 70%);
  top: 60%;
  right: 20%;
  animation-delay: 4s;
}

.orb-3 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 204, 77, 0.15) 0%, transparent 70%);
  bottom: 20%;
  left: 50%;
  animation-delay: 8s;
}

@keyframes orb-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.05);
  }
}


.splash-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  text-align: center;
  max-width: none;
  width: 100%;
}


.title-section {
  margin-bottom: 2rem;
  width: 100%;
  overflow: visible;
  max-width: none;
  flex-shrink: 0;
}

.title-wrapper {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: none;
  overflow: visible;
}

.main-title {
  font-size: clamp(1.6rem, 5.5vw, 2.8rem) !important;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  white-space: nowrap !important;
  overflow: visible !important;
  animation: simple-fade-in 1s ease-out forwards;
  opacity: 0;
  max-width: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.title-line {
  display: inline;
  position: relative;
  animation: title-slide-in 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.title-separator {
  display: inline;
  margin: 0 0.3em;
  color: var(--accent);
  font-weight: 300;
  animation: title-slide-in 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.title-line:nth-child(1) { animation-delay: 0.05s; }
.title-separator:nth-child(2) { animation-delay: 0.15s; }
.title-line:nth-child(3) { animation-delay: 0.25s; }
.title-separator:nth-child(4) { animation-delay: 0.35s; }
.title-line:nth-child(5) { animation-delay: 0.45s; }

@keyframes title-slide-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes simple-fade-in {
  to {
    opacity: 1;
  }
}


.keywords-section {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 800px;
}

.keywords-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  overflow: hidden;
}

.keywords-container::-webkit-scrollbar {
  display: none;
}

.keyword-chip {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  animation: keyword-fade-in 0.6s ease-out forwards;
  opacity: 0;
}

.keyword-chip:nth-child(1) { animation-delay: 0.25s; }
.keyword-chip:nth-child(2) { animation-delay: 0.3s; }
.keyword-chip:nth-child(3) { animation-delay: 0.35s; }
.keyword-chip:nth-child(4) { animation-delay: 0.4s; }
.keyword-chip:nth-child(5) { animation-delay: 0.45s; }
.keyword-chip:nth-child(6) { animation-delay: 0.5s; }
.keyword-chip:nth-child(7) { animation-delay: 0.55s; }
.keyword-chip:nth-child(8) { animation-delay: 0.6s; }

@keyframes keyword-fade-in {
  to {
    opacity: 1;
  }
}

.keyword-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 999px;
  z-index: -1;
}

.keyword-chip:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
  box-shadow: var(--shadow);
}

.keyword-chip:hover::before {
  opacity: 0.2;
}


.author-section {
  margin-bottom: 2rem;
}

.splash .author-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  animation: author-fade-in 0.8s ease-out 0.7s forwards;
  opacity: 0;
}

@keyframes author-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.author-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.author-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.author-separator {
  color: var(--text-muted);
  font-weight: 300;
}


.enter-section {
  position: relative;
}

.enter-btn {
  position: relative;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border: none;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow);
  animation: button-fade-in 0.8s ease-out 1.0s forwards;
  opacity: 0;
}

@keyframes button-fade-in {
  to {
    opacity: 1;
  }
}

.enter-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(217, 58, 58, 0.3);
}

.enter-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand2), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 999px;
}

.enter-btn:hover .btn-glow {
  opacity: 1;
}

.btn-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 999px;
}


.mouse-follower {
  position: fixed;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transition: transform 0.1s ease;
  mix-blend-mode: screen;
  box-shadow: 
    0 0 8px rgba(255, 255, 255, 0.6),
    0 0 16px rgba(255, 255, 255, 0.3),
    0 0 24px rgba(255, 255, 255, 0.1);
}


.mouse-trail {
  position: fixed;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  animation: trail-fade 0.3s ease-out forwards;
}


.mouse-particle {
  position: fixed;
  width: 1px;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 998;
  animation: particle-fade 0.5s ease-out forwards;
}

@keyframes trail-fade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 0.9;
    transform: scale(1.1);
  }
  70% {
    opacity: 0.6;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes particle-fade {
  0% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
  20% {
    opacity: 0.8;
    transform: scale(1.2) translate(0, -2px);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.8) translate(0, -4px);
  }
  80% {
    opacity: 0.3;
    transform: scale(0.5) translate(0, -6px);
  }
  100% {
    opacity: 0;
    transform: scale(0.2) translate(0, -8px);
  }
}


@media (max-width: 768px) {
  .splash-content {
    padding: 1rem;
  }
  
  .main-title {
    font-size: clamp(1.2rem, 5vw, 2rem) !important;
    line-height: 1.4;
    white-space: normal;
  }
  
  .title-separator {
    margin: 0 0.3em;
  }
  
  .title-section {
    margin-bottom: 1.5rem;
  }
  
  .keywords-section {
    margin-bottom: 1.5rem;
  }
  
  .keywords-container {
    gap: 0.5rem;
    padding: 0.5rem;
    justify-content: center;
  }
  
  .keyword-chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .author-section {
    margin-bottom: 1.5rem;
  }
  
  .author-info {
    padding: 0.7rem 1.2rem;
    flex-direction: row;
    gap: 0.4rem;
  }
  
  .author-text {
    font-size: 0.9rem;
  }
  
  .enter-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .orb-1, .orb-2, .orb-3 {
    width: 120px;
    height: 120px;
  }
  
  .mouse-follower {
    display: none;
  }
}

@media (max-width: 480px) {
  .splash-content {
    padding: 0.75rem;
  }
  
  .main-title {
    font-size: clamp(1rem, 4.5vw, 1.6rem) !important;
    line-height: 1.5;
  }
  
  .title-separator {
    margin: 0 0.2em;
  }
  
  .keywords-container {
    gap: 0.4rem;
    justify-content: center;
  }
  
  .keyword-chip {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }
  
  .author-info {
    padding: 0.7rem 1.2rem;
  }
  
  .author-text {
    font-size: 0.85rem;
  }
  
  .enter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .orb-1, .orb-2, .orb-3 {
    width: 100px;
    height: 100px;
  }
}


@media (max-width: 360px) {
  .splash-content {
    padding: 0.5rem;
  }
  
  .main-title {
    font-size: clamp(0.9rem, 4vw, 1.4rem) !important;
  }
  
  .keyword-chip {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
  
  .author-info {
    padding: 0.6rem 1rem;
    flex-direction: row;
    gap: 0.3rem;
  }
  
  .enter-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
}


@media (max-height: 500px) and (orientation: landscape) {
  .splash-content {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
  }
  
  .title-section {
    flex: 1;
    margin-bottom: 0;
  }
  
  .keywords-section {
    flex: 1;
    margin-bottom: 0;
  }
  
  .author-section {
    margin-bottom: 0;
  }
  
  .enter-section {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .main-title {
    font-size: clamp(1.4rem, 4.5vw, 2.2rem) !important;
  }
  
  .keywords-container {
    justify-content: center;
  }
}


@media (prefers-reduced-motion: reduce) {
  .particle,
  .grid-overlay,
  .gradient-orb,
  .title-line,
  .title-separator,
  .keyword-chip,
  .author-info,
  .enter-btn {
    animation: none;
  }
  
  .main-title {
    animation: none;
  }
  
  .title-glow {
    animation: none;
  }
}


@media (prefers-contrast: high) {
  .splash {
    background: #000000;
  }
  
  .keyword-chip,
  .author-info {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
  }
  
  .main-title {
    color: #ffffff;
    text-shadow: 0 0 0;
  }
  
  .author-text {
    color: #ffffff;
  }
}