/* ============================================================ Pricify v2 — World-Class Market Tracker Design Inspired by CoinMarketCap, TradingView, MoneyControl Dark theme: #0b0e11 bg | #1e2329 cards | #2b3139 borders Gold #d4af37 | Blue #3861fb | Green #0ecb81 | Red #f6465d ============================================================ */ /* ---------- 1. CSS CUSTOM PROPERTIES ---------- */ :root { --bg-primary: #0b0e11; --bg-secondary: #1e2329; --bg-tertiary: #2b3139; --bg-hover: #2b3139; --border: #2b3139; --border-light: #363c44; --text-primary: #eaecef; --text-secondary: #848e9c; --text-muted: #5e6673; --accent-gold: #d4af37; --accent-blue: #3861fb; --accent-green: #0ecb81; --accent-red: #f6465d; --accent-orange: #f0a43a; --shadow-sm: 0 1px 2px rgba(0,0,0,0.3); --shadow-md: 0 4px 12px rgba(0,0,0,0.4); --shadow-lg: 0 8px 32px rgba(0,0,0,0.5); --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace; --header-h: 56px; --ticker-h: 40px; } /* ---------- 2. RESET / BASE ---------- */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 15px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; } img, svg, video { max-width: 100%; display: block; } a { text-decoration: none; color: inherit; } ul, ol { list-style: none; } button { cursor: pointer; font-family: inherit; } input, select, textarea { font-family: inherit; } /* ---------- 3. BODY ---------- */ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-primary); color: var(--text-primary); min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; padding-top: calc(var(--header-h) + var(--ticker-h)); } /* ---------- 4. SCROLLBAR ---------- */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #3f4550; } /* ---------- 5. MARKET TICKER BAR (FLASHING TICKER) ---------- */ .ticker-bar { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99; height: var(--ticker-h); background: #13161a; border-bottom: 1px solid var(--border); display: flex; align-items: center; overflow: hidden; } .ticker-bar__inner { display: flex; gap: 0; align-items: center; animation: ticker-scroll 30s linear infinite; white-space: nowrap; } .ticker-bar:hover .ticker-bar__inner { animation-play-state: paused; } @keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } .ticker-item { display: inline-flex; align-items: center; gap: 6px; padding: 0 20px; font-size: .8rem; color: var(--text-secondary); border-right: 1px solid var(--border); } .ticker-item__label { color: var(--text-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; } .ticker-item__value { color: var(--text-primary); font-weight: 600; font-family: var(--font-mono); } .ticker-item__change { font-size: .75rem; font-weight: 500; } .ticker-item__change.up { color: var(--accent-green); } .ticker-item__change.dn { color: var(--accent-red); } /* ---------- 6. HEADER ---------- */ .header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100; background: rgba(11, 14, 17, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 24px; } .header__inner { display: flex; align-items: center; width: 100%; max-width: 1440px; margin: 0 auto; gap: 24px; } .header__logo { font-size: 1.25rem; font-weight: 800; color: var(--accent-gold); letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .header__logo span { color: var(--text-primary); font-weight: 300; } .header__nav { display: flex; align-items: center; gap: 4px; flex: 1; } .header__nav a { padding: 8px 14px; font-size: .85rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-md); transition: all .15s; white-space: nowrap; } .header__nav a:hover { color: var(--text-primary); background: var(--bg-hover); } .header__nav a.active { color: var(--accent-gold); background: rgba(212, 175, 55, 0.1); } .header__search { position: relative; flex-shrink: 0; } .header__search input { width: 220px; padding: 8px 12px 8px 36px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: .82rem; outline: none; transition: all .2s; } .header__search input:focus { width: 280px; border-color: var(--accent-gold); } .header__search::before { content: '\1F50D'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: .8rem; opacity: .5; } .header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .header__watchlist-btn { background: none; border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; padding: 6px 12px; border-radius: var(--radius-md); font-size: .85rem; transition: all .2s; display: flex; align-items: center; gap: 4px; } .header__watchlist-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); } #watchlist-counter { font-size: .75rem; color: var(--accent-gold); font-weight: 600; } .hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 8px; } .hamburger span { display: block; width: 20px; height: 2px; background: var(--text-secondary); border-radius: 1px; transition: .2s; } .header__nav-mobile { display: none; } /* Watchlist dropdown */ .watchlist__dropdown { display: none; position: fixed; top: calc(var(--header-h) - 4px); right: 80px; width: 300px; max-height: 400px; overflow-y: auto; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); z-index: 200; box-shadow: var(--shadow-lg); } .watchlist__dropdown.watchlist--open { display: block; } .watchlist__item { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); transition: background .15s; } .watchlist__item:hover { background: var(--bg-hover); } .watchlist__item:last-child { border-bottom: none; } .watchlist__name { font-weight: 500; color: var(--text-primary); } .watchlist__symbol { color: var(--text-muted); font-size: .8rem; } .watchlist__empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: .85rem; } /* ---------- 7. CONTAINER ---------- */ .container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; } /* ---------- 8. HERO ---------- */ .hero { background: linear-gradient(135deg, #0b0e11 0%, #13161a 50%, #1a1e25 100%); padding: 32px 0 24px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(212,175,55,0.03) 0%, transparent 70%); pointer-events: none; } .hero h1 { font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; } .hero h1 span { color: var(--accent-gold); } .hero p { color: var(--text-secondary); font-size: .9rem; } /* ---------- 9. STATS GRID ---------- */ .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .stat-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: all .2s; } .stat-card:hover { border-color: var(--border-light); transform: translateY(-1px); box-shadow: var(--shadow-md); } .stat-card__label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; } .stat-card__value { font-size: 1.3rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-mono); } .stat-card__change { font-size: .8rem; margin-top: 4px; } /* ---------- 10. MARQUEE / MARKET BAR ---------- */ .market-bar { display: flex; gap: 16px; padding: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; } .market-bar__item { flex-shrink: 0; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 20px; min-width: 180px; display: flex; flex-direction: column; gap: 4px; transition: all .2s; } .market-bar__item:hover { border-color: var(--border-light); } .market-bar__name { font-size: .8rem; color: var(--text-muted); } .market-bar__price { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-mono); } .market-bar__change { font-size: .8rem; font-weight: 500; } /* ---------- 11. CARD ---------- */ .card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: all .2s; } .card:hover { border-color: var(--border-light); } /* ---------- 12. DATA TABLE ---------- */ .data-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-secondary); } .data-table { width: 100%; border-collapse: collapse; font-size: .85rem; } .data-table thead { position: sticky; top: 0; z-index: 5; } .data-table th { background: #0b0e11; color: var(--text-muted); font-weight: 500; text-align: left; padding: 14px 16px; cursor: pointer; user-select: none; white-space: nowrap; font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border); } .data-table th:hover { color: var(--text-primary); } .data-table th.sort-asc { color: var(--accent-gold); } .data-table th.sort-desc { color: var(--accent-gold); } .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-primary); font-size: .85rem; } .data-table tbody tr { transition: background .12s; } .data-table tbody tr:nth-child(even) { background: rgba(43, 49, 57, 0.3); } .data-table tbody tr:hover { background: var(--bg-hover); } .data-table tbody tr:last-child td { border-bottom: none; } /* Coin name column */ .coin-cell { display: flex; align-items: center; gap: 10px; } .coin-cell__rank { color: var(--text-muted); font-size: .75rem; min-width: 24px; } .coin-cell__icon { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; } .coin-cell__name { font-weight: 600; color: var(--text-primary); } .coin-cell__name:hover { color: var(--accent-gold); } .coin-cell__symbol { color: var(--text-muted); font-size: .75rem; margin-left: 4px; } /* Price columns */ .price-cell { font-family: var(--font-mono); font-weight: 500; } .price-cell.up { color: var(--accent-green); } .price-cell.dn { color: var(--accent-red); } .change-cell { font-weight: 500; } .change-cell.up { color: var(--accent-green); } .change-cell.dn { color: var(--accent-red); } .change-cell.neutral { color: var(--text-muted); } /* Watchlist star in table */ .watchlist-star { cursor: pointer; color: var(--text-muted); font-size: 1rem; transition: all .15s; background: none; border: none; padding: 2px; } .watchlist-star:hover { color: var(--accent-gold); transform: scale(1.2); } .watchlist-star.active { color: var(--accent-gold); } /* ---------- 13. BADGES ---------- */ .badge { display: inline-flex; align-items: center; padding: 2px 10px; font-size: .7rem; font-weight: 600; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px; line-height: 1.6; } .badge--crypto { background: rgba(212, 175, 55, 0.12); color: var(--accent-gold); } .badge--stock { background: rgba(56, 97, 251, 0.12); color: var(--accent-blue); } .badge--fund { background: rgba(14, 203, 129, 0.12); color: var(--accent-green); } .badge--upcoming { background: rgba(240, 164, 58, 0.12); color: var(--accent-orange); } .badge--open { background: rgba(14, 203, 129, 0.12); color: var(--accent-green); } .badge--listed { background: rgba(94, 102, 115, 0.2); color: var(--text-muted); } /* ---------- 14. BUTTONS ---------- */ .btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; font-size: .85rem; font-weight: 500; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-primary); transition: all .15s; cursor: pointer; } .btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); } .btn-primary { background: linear-gradient(135deg, var(--accent-gold), #c9a227); border-color: var(--accent-gold); color: #0b0e11; font-weight: 600; } .btn-primary:hover { filter: brightness(1.1); color: #0b0e11; } .btn-sm { padding: 6px 14px; font-size: .8rem; } .btn-ghost { background: transparent; border-color: transparent; color: var(--text-secondary); } .btn-ghost:hover { color: var(--text-primary); } /* ---------- 15. FORMS ---------- */ .search-box { width: 100%; padding: 10px 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: .85rem; outline: none; transition: border-color .2s; } .search-box:focus { border-color: var(--accent-gold); } .search-box::placeholder { color: var(--text-muted); } select { padding: 10px 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-primary); font-size: .85rem; outline: none; cursor: pointer; transition: border-color .2s; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23848e9c' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; } select:focus { border-color: var(--accent-gold); } /* ---------- 16. FEAR & GREED ---------- */ .fear-greed { display: flex; align-items: center; gap: 12px; } .fear-greed__gauge { width: 56px; height: 56px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .fear-greed__gauge-inner { background: var(--bg-secondary); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; font-family: var(--font-mono); } .fear-greed__label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; } .fear-greed__value { font-weight: 600; font-size: 1rem; } /* ---------- 17. DETAIL HEADER ---------- */ .detail-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 20px 0; } .detail-header__info { display: flex; align-items: center; gap: 16px; } .detail-header__icon { width: 48px; height: 48px; border-radius: 50%; } .detail-header__name { font-size: 1.5rem; font-weight: 700; } .detail-header__symbol { font-size: 1rem; color: var(--text-muted); margin-left: 8px; } .detail-header__price { font-size: 2rem; font-weight: 700; font-family: var(--font-mono); } .detail-header__change { font-size: 1.1rem; font-weight: 600; } /* ---------- 18. TABS ---------- */ .tab-bar { display: flex; gap: 4px; margin-bottom: 16px; overflow-x: auto; } .tab { padding: 8px 16px; font-size: .85rem; font-weight: 500; color: var(--text-muted); border-radius: var(--radius-md); cursor: pointer; transition: all .15s; white-space: nowrap; background: none; border: none; } .tab:hover { color: var(--text-primary); background: var(--bg-hover); } .tab.active { color: var(--accent-gold); background: rgba(212, 175, 55, 0.1); } .tab-panel { display: none; } .tab-panel.active { display: block; } /* ---------- 19. BREADCRUMBS ---------- */ .breadcrumbs { background: var(--bg-secondary); padding: 10px 16px; border-radius: var(--radius-md); margin-bottom: 16px; border: 1px solid var(--border); } .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; } .breadcrumbs li { color: var(--text-muted); font-size: .8rem; } .breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--border); } .breadcrumbs a { color: var(--accent-blue); } .breadcrumbs a:hover { color: var(--accent-gold); } .breadcrumbs [aria-current='page'] { color: var(--accent-gold); font-weight: 500; } /* ---------- 20. CHART ---------- */ .chart-container { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin: 20px 0; position: relative; } /* ---------- 21. LOADING ---------- */ .loading { display: flex; align-items: center; justify-content: center; padding: 40px; color: var(--text-muted); } .loading::after { content: ''; width: 24px; height: 24px; margin-left: 8px; border: 2px solid var(--border); border-top-color: var(--accent-gold); border-radius: 50%; animation: spin .6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* ---------- 22. FILTER BAR ---------- */ .filter-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; } .filter-bar__btn { padding: 6px 16px; font-size: .82rem; font-weight: 500; color: var(--text-muted); border-radius: 100px; border: 1px solid var(--border); background: transparent; cursor: pointer; transition: all .15s; } .filter-bar__btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); } .filter-bar__btn.active { background: var(--accent-gold); color: #0b0e11; border-color: var(--accent-gold); font-weight: 600; } /* ---------- 23. SECTION HEADING ---------- */ .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding: 0 4px; } .section-header h2 { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); } .section-header a { font-size: .85rem; color: var(--accent-blue); font-weight: 500; } .section-header a:hover { color: var(--accent-gold); } /* ---------- 24. FOOTER ---------- */ .footer { background: #080b0e; border-top: 1px solid var(--border); margin-top: 48px; padding: 48px 0 24px; } .footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; } .footer__brand { font-size: 1.2rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 8px; } .footer__tagline { font-size: .85rem; color: var(--text-secondary); margin-bottom: 4px; } .footer__desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; } .footer__heading { font-size: .85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; } .footer__links { display: flex; flex-direction: column; gap: 8px; } .footer__links a { font-size: .82rem; color: var(--text-secondary); transition: color .15s; } .footer__links a:hover { color: var(--accent-gold); } .footer__bar { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; } .footer__copyright, .footer__disclaimer { font-size: .78rem; color: var(--text-muted); } /* ---------- 25. BLOG & SEO PAGE STYLES ---------- */ .coin-seo-page h1 { font-size: 1.8rem; color: var(--accent-gold); margin: 20px 0 12px; } .coin-seo-page h2 { font-size: 1.25rem; color: var(--text-primary); margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); } .coin-seo-page p { line-height: 1.8; margin-bottom: 16px; color: var(--text-secondary); font-size: .9rem; } .coin-seo-page .related-coins { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 24px 0; } .coin-seo-page .related-coins h3 { color: var(--accent-gold); margin-bottom: 12px; font-size: 1rem; } .coin-seo-page .related-coins ul { columns: 2; column-gap: 24px; } .coin-seo-page .related-coins li { padding: 6px 0; break-inside: avoid; } .coin-seo-page .related-coins a { color: var(--accent-blue); font-size: .88rem; } .coin-seo-page .related-coins a:hover { color: var(--accent-gold); } .sidebar-categories { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 24px 0; } .sidebar-categories h3 { color: var(--accent-gold); margin-bottom: 12px; font-size: 1rem; } .sidebar-categories li { padding: 8px 0; border-bottom: 1px solid var(--border); } .sidebar-categories li:last-child { border-bottom: none; } .sidebar-categories a { color: var(--text-secondary); font-size: .88rem; display: block; transition: color .15s; } .sidebar-categories a:hover, .sidebar-categories a.active { color: var(--accent-gold); } .blog-post { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; } .blog-post h1 { font-size: 1.8rem; color: var(--accent-gold); line-height: 1.3; } .blog-post h2 { font-size: 1.25rem; color: var(--text-primary); margin-top: 24px; } .blog-post p { line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; font-size: .9rem; } .blog-post .meta { color: var(--text-muted); font-size: .82rem; margin-bottom: 16px; } .blog-post ul, .blog-post ol { color: var(--text-secondary); margin: 12px 0 16px 24px; line-height: 1.8; } .blog-post li { margin-bottom: 4px; } .related-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; } .news-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: all .2s; } .news-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow-md); } .news-card__badge { margin-bottom: 8px; } .news-card__title { font-size: .95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; } .news-card__excerpt { font-size: .82rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px; } .news-card__meta { font-size: .75rem; color: var(--text-muted); } .news-card__link { color: var(--accent-blue); font-size: .85rem; font-weight: 500; } .news-card__link:hover { color: var(--accent-gold); } /* ---------- 26. CONVERTER ---------- */ .converter-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; max-width: 600px; margin: 0 auto; } .converter-card select, .converter-card input { background: var(--bg-primary); border: 1px solid var(--border); color: var(--text-primary); padding: 10px 16px; border-radius: var(--radius-md); font-size: .9rem; outline: none; transition: border-color .2s; } .converter-card select:focus, .converter-card input:focus { border-color: var(--accent-gold); } .converter-row { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; } .converter-row label { min-width: 60px; color: var(--text-muted); font-size: .85rem; } .converter-result { text-align: center; padding: 24px; font-size: 1.1rem; } .converter-result strong { color: var(--text-primary); } .converter-rate { text-align: center; color: var(--text-muted); font-size: .82rem; margin-top: 8px; } /* ---------- 27. COMPARISON ---------- */ .comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .compare-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; } .compare-card__header { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; } .compare-card__name { font-size: 1.2rem; font-weight: 600; } .compare-card__price { font-size: 1.4rem; font-weight: 700; color: var(--accent-gold); font-family: var(--font-mono); } .compare-stat { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); } .compare-stat:last-child { border-bottom: none; } .compare-stat__label { color: var(--text-muted); font-size: .85rem; } .compare-stat__value { font-weight: 500; font-family: var(--font-mono); font-size: .85rem; } /* ---------- 28. SENTIMENT BAR ---------- */ .sentiment-bar { display: flex; align-items: center; gap: 16px; padding: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; } .sentiment-item { flex-shrink: 0; display: flex; align-items: center; gap: 8px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 16px; } /* ---------- 29. TOP MOVERS ---------- */ .top-movers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .mover-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; } .mover-card__header { font-size: .85rem; font-weight: 600; margin-bottom: 12px; color: var(--text-muted); } .mover-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); } .mover-item:last-child { border-bottom: none; } .mover-item__name { font-weight: 500; font-size: .85rem; } .mover-item__change { font-family: var(--font-mono); font-weight: 500; font-size: .85rem; } /* ---------- 30. MARKET NEWS ---------- */ .market-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } /* ---------- 31. ANIMATIONS ---------- */ @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } 50% { box-shadow: 0 0 12px 2px rgba(212, 175, 55, 0.15); } } .pulse-glow { animation: pulse-glow 2s ease-in-out infinite; } /* Price flash update */ @keyframes flash-green { 0% { background: rgba(14, 203, 129, 0.3); } 100% { background: transparent; } } @keyframes flash-red { 0% { background: rgba(246, 70, 93, 0.3); } 100% { background: transparent; } } .flash-up { animation: flash-green .5s ease-out; } .flash-down { animation: flash-red .5s ease-out; } /* ---------- 32. RESPONSIVE ---------- */ @media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .footer__grid { grid-template-columns: 1fr 1fr; } .market-news { grid-template-columns: 1fr 1fr; } .top-movers { grid-template-columns: 1fr; } .related-articles { grid-template-columns: 1fr 1fr; } } @media (max-width: 768px) { body { padding-top: calc(var(--header-h) + 0px); } .ticker-bar { display: none; } .header { padding: 0 16px; } .header__nav { display: none; } .header__nav-mobile { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: rgba(11, 14, 17, 0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 8px; transform: translateY(-100%); opacity: 0; transition: all .3s; z-index: 99; } .header__nav-mobile.open { transform: translateY(0); opacity: 1; } .header__nav-mobile a { padding: 12px 16px; font-size: .9rem; color: var(--text-secondary); border-radius: var(--radius-md); transition: all .15s; } .header__nav-mobile a:hover { background: var(--bg-hover); color: var(--text-primary); } .hamburger { display: flex; } .header__search input { width: 140px; } .header__search input:focus { width: 180px; } .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .stat-card { padding: 16px; } .stat-card__value { font-size: 1.1rem; } .hero h1 { font-size: 1.4rem; } .hero { padding: 24px 0 16px; } .data-table { font-size: .8rem; } .data-table th, .data-table td { padding: 10px 12px; } .coin-cell__rank { display: none; } .market-news { grid-template-columns: 1fr; } .comparison-grid { grid-template-columns: 1fr; } .related-articles { grid-template-columns: 1fr; } .footer__grid { grid-template-columns: 1fr; gap: 24px; } .footer__bar { flex-direction: column; text-align: center; } .detail-header { flex-direction: column; align-items: flex-start; } .detail-header__price { font-size: 1.5rem; } .coin-seo-page .related-coins ul { columns: 1; } } @media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .stat-card { padding: 12px; } .stat-card__value { font-size: 1rem; } .container { padding: 0 16px; } .header__search input { width: 100px; } .header__search input:focus { width: 140px; } } /* ---------- 33. UTILITY ---------- */ .text-center { text-align: center; } .text-right { text-align: right; } .flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; } .gap-8 { gap: 8px; } .gap-16 { gap: 16px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .hidden { display: none; }