/* ============================================ */ /* PRIMBON.NUSANTARA - Indonesian Fortune Site */ /* Design: Warm, mystic, mobile-first */ /* ============================================ */ @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap'); :root { --gold: #D4A853; --gold-light: #E8C87A; --gold-dark: #B8913E; --bg-dark: #1A1410; --bg-card: #25201A; --bg-card-hover: #2F2820; --text-primary: #F5EDE3; --text-secondary: #B8A89A; --text-muted: #8A7B6E; --accent-red: #C0392B; --accent-green: #27AE60; --accent-blue: #2980B9; --accent-purple: #8E44AD; --border-color: #3A322A; --gradient-gold: linear-gradient(135deg, #D4A853, #E8C87A); --gradient-dark: linear-gradient(180deg, #1A1410, #0F0C08); --shadow-card: 0 4px 20px rgba(0,0,0,0.4); --radius: 12px; --radius-sm: 8px; --radius-lg: 16px; --font-display: 'Playfair Display', Georgia, serif; --font-body: 'Inter', -apple-system, sans-serif; --max-width: 1200px; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: var(--font-body); background: var(--bg-dark); color: var(--text-primary); line-height: 1.6; min-height: 100vh; } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--bg-dark); } ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); } /* ============== NAVBAR ============== */ .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26, 20, 16, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); padding: 0 20px; } .navbar-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; } .navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; } .navbar-brand .icon { font-size: 1.5rem; } .navbar-brand span { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .nav-links { display: flex; align-items: center; gap: 24px; list-style: none; } .nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; white-space: nowrap; } .nav-links a:hover, .nav-links a.active { color: var(--gold); } .nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; } /* ============== HERO SECTION ============== */ .hero { padding: 100px 20px 60px; text-align: center; background: var(--gradient-dark); position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 50% 50%, rgba(212, 168, 83, 0.05) 0%, transparent 60%); animation: heroGlow 8s ease-in-out infinite alternate; } @keyframes heroGlow { 0% { transform: translate(0, 0); } 100% { transform: translate(5%, 5%); } } .hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; } .hero h1 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; margin-bottom: 16px; line-height: 1.2; } .hero h1 span { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .hero p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; line-height: 1.7; } /* ============== SEARCH ============== */ .search-box { max-width: 500px; margin: 0 auto; position: relative; } .search-box input { width: 100%; padding: 14px 20px; padding-left: 48px; border: 1px solid var(--border-color); border-radius: 50px; background: var(--bg-card); color: var(--text-primary); font-size: 1rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15); } .search-box input::placeholder { color: var(--text-muted); } .search-box .search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.1rem; } /* ============== CONTAINER ============== */ .container { max-width: var(--max-width); margin: 0 auto; padding: 40px 20px; } .section-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; margin-bottom: 28px; text-align: center; } .section-title span { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* ============== CARDS GRID ============== */ .cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; } .card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; transition: all 0.3s ease; cursor: pointer; position: relative; overflow: hidden; } .card:hover { background: var(--bg-card-hover); border-color: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow-card); } .card-icon { font-size: 2rem; margin-bottom: 12px; } .card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; color: var(--text-primary); } .card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; } .card .badge { display: inline-block; background: rgba(212, 168, 83, 0.15); color: var(--gold); font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; margin-top: 12px; } /* ============== BUTTONS ============== */ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: all 0.3s ease; border: none; } .btn-primary { background: var(--gradient-gold); color: #1A1410; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 168, 83, 0.3); } .btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold-dark); } .btn-outline:hover { background: rgba(212, 168, 83, 0.1); transform: translateY(-2px); } /* ============== WETON FORM ============== */ .weton-form { max-width: 500px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; } .form-group select, .form-group input { width: 100%; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-dark); color: var(--text-primary); font-size: 1rem; outline: none; transition: border-color 0.2s; } .form-group select:focus, .form-group input:focus { border-color: var(--gold); } .form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; } /* ============== WETON RESULT ============== */ .weton-result { max-width: 700px; margin: 24px auto 0; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 32px; display: none; animation: fadeIn 0.5s ease; } .weton-result.show { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .weton-result .result-header { text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); } .weton-result .result-header h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); margin-bottom: 4px; } .weton-result .result-header .date-text { color: var(--text-muted); font-size: 0.85rem; } .weton-result .neeru-circle { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--bg-dark); margin: 0 auto 16px; } .result-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .detail-item { background: rgba(255,255,255,0.03); padding: 16px; border-radius: var(--radius-sm); } .detail-item .label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; } .detail-item .value { color: var(--text-primary); font-size: 1rem; font-weight: 500; } /* ============== ZODIAC LIST ============== */ .zodiac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; } .zodiac-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; text-align: center; transition: all 0.3s ease; cursor: pointer; text-decoration: none; display: block; } .zodiac-card:hover { background: var(--bg-card-hover); border-color: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow-card); } .zodiac-card .zodiac-icon { font-size: 2.5rem; margin-bottom: 8px; } .zodiac-card .zodiac-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary); margin-bottom: 4px; } .zodiac-card .zodiac-date { color: var(--text-muted); font-size: 0.8rem; } .zodiac-card .zodiac-element { display: inline-block; margin-top: 8px; padding: 2px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; } .element-Api { background: rgba(192, 57, 43, 0.2); color: #E74C3C; } .element-Tanah { background: rgba(39, 174, 96, 0.2); color: #27AE60; } .element-Udara { background: rgba(41, 128, 185, 0.2); color: #3498DB; } .element-Air { background: rgba(142, 68, 173, 0.2); color: #8E44AD; } /* ============== DAILY HOROSCOPE ============== */ .daily-horoscope { padding: 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); margin-bottom: 24px; } .daily-horoscope .date-header { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; } .horoscope-item { padding: 16px; border-bottom: 1px solid var(--border-color); transition: background 0.2s; } .horoscope-item:last-child { border-bottom: none; } .horoscope-item:hover { background: rgba(255,255,255,0.02); } .horoscope-item .horo-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; } .horoscope-item .horo-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); } .horoscope-item .horo-score { background: var(--gradient-gold); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: var(--bg-dark); } .horoscope-item .horo-content { margin-top: 12px; display: none; } .horoscope-item.open .horo-content { display: block; animation: fadeIn 0.3s ease; } .horoscope-item .horo-overall { color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; } .horo-aspects { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; } .horo-aspect { background: rgba(255,255,255,0.03); padding: 12px; border-radius: var(--radius-sm); } .horo-aspect .aspect-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; } .horo-aspect .aspect-text { font-size: 0.85rem; color: var(--text-primary); } /* ============== TAROT ============== */ .tarot-layout { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; min-height: 300px; perspective: 1000px; } .tarot-card { width: 160px; height: 240px; background: linear-gradient(145deg, #2F2820, #1A1410); border: 2px solid var(--gold-dark); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; transform-style: preserve-3d; } .tarot-card:hover { transform: translateY(-10px) rotateY(5deg); box-shadow: 0 20px 40px rgba(212, 168, 83, 0.2); } .tarot-card .back-design { font-size: 3rem; color: var(--gold-dark); } .tarot-card .question-mark { font-size: 2rem; color: var(--gold); font-weight: 700; font-family: var(--font-display); } .tarot-card.flipped { background: linear-gradient(145deg, #3A322A, #25201A); } .tarot-card.flipped .back-design, .tarot-card.flipped .question-mark { display: none; } .tarot-card.flipped .card-face { display: flex; } .tarot-card .card-face { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; height: 100%; } .tarot-card .card-face .card-title { font-family: var(--font-display); font-size: 1rem; color: var(--gold); margin-bottom: 4px; } .tarot-card .card-face .card-meaning { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; } .tarot-card .card-face .card-position { font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; font-style: italic; } .tarot-card.reversed .card-face { transform: rotate(180deg); } /* ============== MIMPI SEARCH ============== */ .mimpi-results { margin-top: 20px; } .mimpi-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 20px; margin-bottom: 12px; transition: all 0.2s; } .mimpi-item:hover { border-color: var(--gold-dark); } .mimpi-item h4 { font-family: var(--font-display); color: var(--gold); margin-bottom: 8px; } .mimpi-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; } /* ============== FOOTER ============== */ .footer { border-top: 1px solid var(--border-color); padding: 30px 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem; } .footer a { color: var(--gold); text-decoration: none; } /* ============== RESPONSIVE ============== */ @media (max-width: 768px) { .hero h1 { font-size: 2rem; } .hero p { font-size: 1rem; } .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(26, 20, 16, 0.98); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-color); } .nav-links.open { display: flex; } .nav-toggle { display: block; } .form-row { grid-template-columns: 1fr 1fr; } .result-details { grid-template-columns: 1fr; } .horo-aspects { grid-template-columns: 1fr; } .zodiac-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .cards-grid { grid-template-columns: 1fr; } .section-title { font-size: 1.4rem; } } @media (max-width: 480px) { .hero { padding: 80px 16px 40px; } .hero h1 { font-size: 1.6rem; } .form-row { grid-template-columns: 1fr; } } /* ============== UTILITY ============== */ .text-center { text-align: center; } .mt-12 { margin-top: 12px; } .mt-20 { margin-top: 20px; } .mt-32 { margin-top: 32px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .flex-center { display: flex; align-items: center; justify-content: center; } .gap-12 { gap: 12px; } /* Loading spinner */ .spinner { width: 40px; height: 40px; border: 3px solid var(--border-color); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 20px auto; } @keyframes spin { to { transform: rotate(360deg); } } /* Toast notification */ .toast { position: fixed; bottom: 20px; right: 20px; background: var(--bg-card); border: 1px solid var(--border-color); padding: 12px 24px; border-radius: var(--radius-sm); color: var(--text-primary); z-index: 9999; animation: slideUp 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.5); } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* ============== COMPATIBILITY TABLE ============== */ .compat-table { width: 100%; border-collapse: collapse; margin-top: 16px; } .compat-table th, .compat-table td { border: 1px solid var(--border-color); padding: 10px 14px; text-align: left; font-size: 0.9rem; } .compat-table th { background: rgba(212, 168, 83, 0.1); color: var(--gold); font-weight: 600; } .compat-table td { color: var(--text-secondary); } .compat-table tr:hover { background: rgba(255,255,255,0.02); } /* ============== GUESTBOOK / BLOG ============== */ .artikel-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; transition: all 0.2s; } .artikel-card:hover { border-color: var(--gold-dark); } .artikel-card .artikel-date { color: var(--text-muted); font-size: 0.8rem; } .artikel-card h3 { font-family: var(--font-display); color: var(--text-primary); margin: 8px 0; } .artikel-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; } /* ============== DAILY MINI PREVIEW (Homepage) ============== */ .daily-mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; } .daily-mini-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 18px; text-decoration: none; display: block; transition: all 0.2s; position: relative; overflow: hidden; } .daily-mini-card:hover { border-color: var(--gold-dark); transform: translateY(-3px); box-shadow: var(--shadow-card); } .daily-mini-card .mini-icon { font-size: 1.6rem; margin-bottom: 6px; } .daily-mini-card .mini-name { font-family: var(--font-display); color: var(--gold); font-size: 1rem; font-weight: 600; margin-bottom: 4px; } .daily-mini-card .mini-score { position: absolute; top: 14px; right: 14px; background: var(--gradient-gold); color: var(--bg-dark); font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; min-width: 36px; text-align: center; } .daily-mini-card .mini-mood { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 6px; } .daily-mini-card .mini-preview { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } /* ============== ARTIKEL GRID ============== */ .artikel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; } /* ============== STICKY BOOKMARK ============== */ .sticky-bookmark { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--bg-card); border: 1px solid var(--gold-dark); border-radius: 50px; padding: 10px 24px; display: flex; align-items: center; gap: 12px; z-index: 9998; box-shadow: 0 4px 20px rgba(0,0,0,0.6); font-size: 0.9rem; color: var(--text-primary); animation: slideUp 0.5s ease; white-space: nowrap; max-width: 90vw; } .sticky-bookmark span { overflow: hidden; text-overflow: ellipsis; } @media (max-width: 600px) { .sticky-bookmark { font-size: 0.75rem; padding: 8px 16px; bottom: 12px; } }