/* Premium China Travel/Business Site Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: #1a1a2e;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
  background-attachment: fixed;
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 51, 102, 0.15) 0px, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.12) 0px, transparent 40%),
    linear-gradient(rgba(78, 205, 196, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 205, 196, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Headings */
h1 {
  font-size: 3.5em;
  font-weight: 800;
  background: linear-gradient(135deg, #ff3366 0%, #ff6b6b 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 40px 0 30px 0;
  padding: 30px;
  text-align: center;
  position: relative;
  letter-spacing: -1px;
  animation: fadeInDown 0.8s ease;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

h2 {
  font-size: 2.5em;
  color: #fff;
  margin: 40px 0 20px 0;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.3) 0%, rgba(196, 30, 58, 0.1) 100%);
  border-left: 6px solid #ff3366;
  border-radius: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(196, 30, 58, 0.3);
  transition: all 0.3s ease;
}

h2:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.4);
}

h3 {
  font-size: 1.9em;
  color: #ffd700;
  margin: 30px 0 18px 0;
  font-weight: 700;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #ffd700, #ff6b6b);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

h4 {
  font-size: 1.5em;
  color: #ff6b6b;
  margin: 25px 0 15px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Paragraphs */
p {
  margin: 20px 0;
  font-size: 1.1em;
  line-height: 1.9;
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

p:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Text Emphasis */
strong, b {
  color: #ff6b6b;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
  position: relative;
}

em, i {
  color: #ffd700;
  font-style: italic;
  font-weight: 500;
}

/* Links */
a {
  color: #4ecdc4;
  text-decoration: none;
  position: relative;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 2px;
}

a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4ecdc4, #ffd700);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(78, 205, 196, 0.6);
}

a:hover {
  color: #ffd700;
  transform: translateY(-1px);
}

a:hover::after {
  width: 100%;
}

/* Lists */
ul, ol {
  margin: 20px 0;
  padding: 30px 30px 30px 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

li {
  margin: 15px 0;
  line-height: 1.8;
  color: #f5f5f5;
  font-size: 1.05em;
}

ul li {
  list-style-type: none;
  position: relative;
  padding-left: 15px;
}

ul li:before {
  content: "◆";
  color: #ffd700;
  font-weight: bold;
  position: absolute;
  left: -25px;
  font-size: 1em;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Blockquotes */
blockquote {
  margin: 30px 0;
  padding: 30px 35px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
  border-left: 6px solid #ff6b6b;
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 0 30px rgba(255, 107, 107, 0.1);
  font-style: italic;
  color: #f0f0f0;
  font-size: 1.15em;
  position: relative;
  backdrop-filter: blur(10px);
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4em;
  color: rgba(255, 215, 0, 0.3);
  font-family: Georgia, serif;
}

/* Horizontal Rule */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 51, 102, 0.8) 20%, 
    rgba(255, 215, 0, 0.8) 50%, 
    rgba(255, 51, 102, 0.8) 80%, 
    transparent 100%);
  margin: 50px 0;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

hr::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0f0f1e;
  color: #ffd700;
  padding: 0 15px;
  font-size: 1.2em;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Tables */
table {
  width: 100%;
  margin: 30px 0;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

th {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.6) 0%, rgba(196, 30, 58, 0.8) 100%);
  color: #fff;
  padding: 20px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #ffd700;
  font-size: 0.95em;
}

td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #f5f5f5;
  transition: all 0.3s ease;
}

tr:hover td {
  background: rgba(255, 215, 0, 0.08);
  color: #fff;
}

/* Code */
code {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 215, 0, 0.1));
  color: #ffd700;
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.95em;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

pre {
  background: rgba(0, 0, 0, 0.4);
  padding: 25px;
  border-radius: 16px;
  overflow-x: auto;
  margin: 25px 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(10px);
}

pre code {
  background: none;
  color: #4ecdc4;
  padding: 0;
  border: none;
  box-shadow: none;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 215, 0, 0.2);
  margin: 25px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 215, 0, 0.4),
    0 0 40px rgba(255, 215, 0, 0.3);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 20px 10px;
  }
  
  h1 {
    font-size: 2.5em;
    padding: 20px;
  }
  
  h2 {
    font-size: 1.9em;
    padding: 18px 20px;
  }
  
  h3 {
    font-size: 1.5em;
    padding: 15px 18px;
  }
  
  p, ul, ol, blockquote {
    padding: 18px 20px;
  }
  
  table {
    font-size: 0.9em;
  }
  
  th, td {
    padding: 12px 15px;
  }
}
