:root { --gold: #b89047; --black: #222222; --parchment: #f7f4eb; --vermilion: #c22c2c; --text: #222222; --bg-desktop: #ebdcb9; --border-container: 8px solid #b89047; --outline-container: 2px solid #5c4724; --font-fam: 'Georgia', 'Times New Roman', serif; --radius: 4px; } body { margin: 0; font-family: var(--font-fam); background-color: var(--bg-desktop); color: var(--text); height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background-color 0.4s ease, color 0.4s ease; } .zen-container { width: 92%; max-width: 580px; height: 94vh; background-color: var(--parchment); background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 0); background-size: 8px 8px; border: var(--border-container); outline: var(--outline-container); box-shadow: 0 12px 40px rgba(0,0,0,0.25); padding: 24px 18px; overflow-y: auto; box-sizing: border-box; border-radius: var(--radius); position: relative; scrollbar-width: thin; scrollbar-color: var(--gold) var(--parchment); transition: all 0.4s ease; text-align: center; } .zen-container::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 320px; height: 320px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.10'%3E%3Ccircle cx='50' cy='50' r='46' fill='none' stroke='%23b89047' stroke-width='2'/%3E%3Cpath d='M50 4 A46 46 0 0 1 50 96 A23 23 0 0 1 50 50 A23 23 0 0 0 50 4 Z' fill='%23b89047'/%3E%3Ccircle cx='50' cy='27' r='6' fill='%23f7f4eb'/%3E%3Ccircle cx='50' cy='73' r='6' fill='%23b89047'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: contain; pointer-events: none; z-index: 0; } .zen-container > * { position: relative; z-index: 1; } h1, h2, h3 { color: var(--vermilion); font-weight: bold; letter-spacing: 0.5px; margin: 8px 0; } h1 { font-size: 1.65rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.1rem; } p { line-height: 1.5; margin: 8px 0; } button { background: transparent; border: 1.5px solid var(--black); color: var(--text); padding: 10px 20px; margin: 6px 4px; font-size: 0.95rem; font-family: var(--font-fam); cursor: pointer; transition: all 0.25s ease; border-radius: var(--radius); } button:hover { background: var(--vermilion); color: #ffffff; border-color: var(--vermilion); box-shadow: 0 4px 10px rgba(194, 44, 44, 0.2); } .hero-laotse { margin: 10px auto 14px auto; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; } .hero-laotse svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); } .chinese-badge { font-size: 1.8rem; color: var(--vermilion); letter-spacing: 4px; font-weight: bold; margin-bottom: 2px; } .app-sub { font-size: 0.95rem; font-style: italic; opacity: 0.85; margin-bottom: 16px; } .nav-menu-container { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; } .btn-main-nav { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; font-size: 1.05rem; font-weight: bold; border: 2px solid var(--black); background: rgba(255,255,255,0.4); box-shadow: 0 2px 6px rgba(0,0,0,0.05); } .btn-main-nav.primary { background: var(--vermilion); color: #ffffff; border-color: var(--vermilion); } .btn-main-nav.primary:hover { background: #a32222; border-color: #a32222; transform: translateY(-2px); } .daily-wisdom-card { border: 1.5px dashed var(--gold); background: rgba(184, 144, 71, 0.08); padding: 12px 14px; border-radius: var(--radius); margin: 14px 0; text-align: left; } .daily-wisdom-header { font-size: 0.82rem; font-weight: bold; color: var(--vermilion); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; } .daily-wisdom-text { font-size: 0.88rem; font-style: italic; line-height: 1.4; margin: 0; } .question-input { width: 100%; box-sizing: border-box; padding: 12px; font-size: 0.95rem; font-family: var(--font-fam); border: 1.5px solid var(--black); background: rgba(255,255,255,0.6); color: var(--text); border-radius: var(--radius); resize: none; height: 70px; margin-bottom: 8px; } .disclaimer-text { font-size: 0.78rem; opacity: 0.75; margin-bottom: 14px; } .element-badge-container { display: flex; justify-content: center; gap: 12px; margin: 8px 0; } .element-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 0.8rem; border: 1px solid var(--gold); border-radius: 12px; background: rgba(184, 144, 71, 0.1); font-weight: bold; } .refran-banner { background: rgba(194, 44, 44, 0.06); border-left: 3px solid var(--vermilion); padding: 8px 12px; margin: 10px 0; text-align: left; font-style: italic; font-size: 0.92rem; } .mutating-lines-box { background: rgba(194, 44, 44, 0.08); border: 1.5px solid var(--vermilion); padding: 10px 14px; border-radius: var(--radius); margin: 12px 0; text-align: left; } .mutating-lines-box h4 { margin: 0 0 6px 0; color: var(--vermilion); font-size: 0.9rem; } .hex-line { position: relative; } .hex-line .line.yang { width: 100%; height: 100%; background: var(--black); border-radius: 1px; } .hex-line .line.yin { display: flex; justify-content: space-between; width: 100%; height: 100%; } .hex-line .line.yin::before, .hex-line .line.yin::after { content: ""; width: 44%; height: 100%; background: var(--black); border-radius: 1px; } .hex-line.moving.type-9::after { content: "○"; position: absolute; right: -20px; top: -5px; color: var(--vermilion); font-size: 14px; font-weight: bold; } .hex-line.moving.type-6::after { content: "×"; position: absolute; right: -20px; top: -7px; color: var(--vermilion); font-size: 16px; font-weight: bold; } .action-buttons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; } .btn-share-whatsapp { background: #25D366 !important; color: #ffffff !important; border-color: #25D366 !important; font-weight: bold; } .btn-share-whatsapp:hover { background: #1ebc59 !important; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important; } .btn-share-email { background: #4a69bd !important; color: #ffffff !important; border-color: #4a69bd !important; font-weight: bold; } .btn-share-email:hover { background: #3855a2 !important; box-shadow: 0 4px 10px rgba(74, 105, 189, 0.3) !important; } .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 999; backdrop-filter: blur(2px); } .modal-card { background: var(--parchment); color: var(--text); border: var(--border-container); border-radius: var(--radius); padding: 22px 18px; width: 88%; max-width: 440px; box-shadow: 0 16px 40px rgba(0,0,0,0.3); text-align: center; box-sizing: border-box; } .coins-container { display: flex; justify-content: center; gap: 16px; margin: 20px 0; } .coin { width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, #e5c158 0%, #b89047 70%, #684a1c 100%); border: 2px solid #5c4724; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; font-weight: bold; color: #423014; font-size: 1.2rem; } .coin::after { content: ""; width: 18px; height: 18px; background: var(--parchment); border: 1.5px solid #5c4724; position: absolute; } .coin.flip { animation: coinSpin 0.6s ease-in-out; } @keyframes coinSpin { 0% { transform: rotateY(0deg) translateY(0); } 50% { transform: rotateY(900deg) translateY(-40px); } 100% { transform: rotateY(1800deg) translateY(0); } } .yarrow-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 6px; margin: 10px auto; background: rgba(184, 144, 71, 0.06); border: 1px dashed var(--gold); border-radius: var(--radius); max-width: 320px; min-height: 140px; } .yarrow-status-badge { font-size: 0.8rem; font-weight: bold; color: var(--vermilion); background: rgba(194, 44, 44, 0.08); padding: 4px 10px; border-radius: 12px; margin-bottom: 8px; transition: all 0.3s ease; } .yarrow-ritual-area { display: flex; justify-content: center; align-items: flex-end; gap: 16px; width: 100%; height: 90px; position: relative; } .stalk-taiji { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 35px; background: linear-gradient(to bottom, #d4a373, #8a5a36); border-radius: 2px; box-shadow: 0 0 6px rgba(184, 144, 71, 0.6); opacity: 0; transition: all 0.4s ease; } .stalk-taiji.visible { opacity: 1; transform: translateX(-50%) translateY(-10px); } .stalk-bundle { display: flex; flex-direction: column; align-items: center; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); } .bundle-label { font-size: 0.7rem; color: var(--gold); margin-bottom: 4px; opacity: 0.8; } .stalks-fan { display: flex; gap: 3px; align-items: flex-end; } .yarrow-stick { width: 3.5px; height: 60px; background: linear-gradient(to bottom, #d4a373 0%, #a98467 60%, #583e26 100%); border-radius: 2px; box-shadow: 1px 1px 3px rgba(0,0,0,0.25); transition: all 0.3s ease; } .stalk-left.split { transform: translateX(-24px) rotate(-8deg); } .stalk-right.split { transform: translateX(24px) rotate(8deg); } .yarrow-stick.counting { animation: stalkTap 0.25s infinite alternate; } @keyframes stalkTap { 0% { transform: translateY(0); filter: brightness(1); } 100% { transform: translateY(-8px); filter: brightness(1.3); } } .theme-moderno { --bg-desktop: #0b0c10; --parchment: #1f2833; --black: #e0e0e0; --text: #c5c6c7; --vermilion: #66fcf1; --gold: #45a29e; --border-container: 2px solid #45a29e; --outline-container: 1px solid #66fcf1; --font-fam: 'Inter', system-ui, -apple-system, sans-serif; --radius: 6px; } .theme-moderno .zen-container::before { background-image: radial-gradient(circle, rgba(102, 252, 241, 0.08) 1px, transparent 1px); background-size: 16px 16px; } .theme-moderno button { border-color: #45a29e; color: #66fcf1; } .theme-moderno button:hover { background: #66fcf1; color: #0b0c10; border-color: #66fcf1; } .theme-moderno .btn-main-nav.primary { background: #66fcf1; color: #0b0c10; border-color: #66fcf1; } .theme-moderno .element-badge { background: rgba(69, 162, 158, 0.15); border-color: #45a29e; color: #66fcf1; } .theme-moderno .coin { background: radial-gradient(circle, #45a29e 0%, #1f2833 100%); border-color: #66fcf1; color: #66fcf1; } .theme-moderno .coin::after { background: #0b0c10; border-color: #66fcf1; } .theme-moderno .hex-line .line.yang, .theme-moderno .hex-line .line.yin::before, .theme-moderno .hex-line .line.yin::after { background: #66fcf1; } .theme-natural { --bg-desktop: #e3dec3; --parchment: #f4f6f0; --black: #2d3b1e; --text: #2d3b1e; --vermilion: #597c2b; --gold: #8f9f7a; --border-container: 6px solid #8f9f7a; --outline-container: 2px solid #597c2b; --font-fam: 'Times New Roman', serif; --radius: 4px; } .theme-natural .zen-container::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.05'%3E%3Cpath d='M30 10 C 25 35, 40 60, 50 90 M50 90 C 60 60, 75 35, 70 10' stroke='%23597c2b' stroke-width='3' fill='none'/%3E%3C/svg%3E"); background-size: 200px 200px; } .theme-natural .btn-main-nav.primary { background: #597c2b; color: #ffffff; border-color: #597c2b; } .theme-natural .hex-line .line.yang, .theme-natural .hex-line .line.yin::before, .theme-natural .hex-line .line.yin::after { background: #2d3b1e; } .theme-natural .hex-line.moving.type-9::after, .theme-natural .hex-line.moving.type-6::after { color: #597c2b; } .fade-in { animation: fadeIn 0.4s ease-in; } @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } .toggle-container { display: flex; justify-content: center; gap: 6px; margin: 12px 0; } .toggle-btn { padding: 6px 12px; font-size: 0.82rem; border: 1px solid var(--black); } .toggle-btn.active { background: var(--vermilion); color: #ffffff; border-color: var(--vermilion); } .history-item { cursor: pointer; padding: 12px 14px; margin: 10px 0; border: 1px solid var(--gold); border-radius: var(--radius); text-align: left; background: rgba(0,0,0,0.02); transition: all 0.2s ease; } .history-item:hover { border-color: var(--vermilion); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.08); } 