Changed around line 1
+ :root {
+ --primary-color: #8B0000;
+ --secondary-color: #FFD700;
+ --text-color: #333;
+ --bg-color: #FFF5EE;
+ --card-bg: #FFFFFF;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: "Microsoft YaHei", "SimSun", sans-serif;
+ background-color: var(--bg-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ .hero-section {
+ background: linear-gradient(135deg, #8B0000, #800000);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ .logo-container {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 1rem;
+ }
+
+ .logo-container img {
+ width: 60px;
+ height: 60px;
+ }
+
+ .main-nav {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .main-nav a {
+ color: white;
+ text-decoration: none;
+ padding: 0.5rem 1rem;
+ border-radius: 4px;
+ transition: all 0.3s ease;
+ }
+
+ .cta-button {
+ background-color: var(--secondary-color);
+ color: var(--primary-color) !important;
+ font-weight: bold;
+ }
+
+ .fortune-cards {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 2rem;
+ padding: 4rem 2rem;
+ }
+
+ .card {
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ text-align: center;
+ transition: transform 0.3s ease;
+ }
+
+ .card:hover {
+ transform: translateY(-5px);
+ }
+
+ .card button {
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.8rem 1.5rem;
+ border-radius: 4px;
+ margin-top: 1rem;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ .consultation-form {
+ max-width: 600px;
+ margin: 4rem auto;
+ padding: 2rem;
+ background: var(--card-bg);
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ .form-group {
+ margin-bottom: 1.5rem;
+ }
+
+ .form-group label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: bold;
+ }
+
+ .form-group input,
+ .form-group select {
+ width: 100%;
+ padding: 0.8rem;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ }
+
+ .submit-button {
+ width: 100%;
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 1rem;
+ border-radius: 4px;
+ cursor: pointer;
+ font-size: 1.1rem;
+ }
+
+ footer {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ .footer-nav {
+ margin-top: 1rem;
+ }
+
+ .footer-nav a {
+ color: white;
+ text-decoration: none;
+ margin: 0 1rem;
+ }
+
+ @media (max-width: 768px) {
+ .main-nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .fortune-cards {
+ grid-template-columns: 1fr;
+ }
+ }