/** * common.css * Base CSS for site-wide styling elements and effects */ /* ----- ROOT VARIABLES & THEME SETTINGS ----- */ :root { --bg-color: #0a0a0a; --bg-gradient: linear-gradient(135deg, #0a0a0a, #1a1a1a); --primary-color: #f7931a; --primary-color-rgb: 247, 147, 26; --accent-color: #00ffff; --text-color: #ffffff; --card-padding: 0.5rem; --text-size-base: 16px; --terminal-font: 'VT323', monospace; --header-font: 'Orbitron', sans-serif; --text-transform: uppercase; } /* Theme-specific colors */ html.bitcoin-theme { background-color: #111111; } html.deepsea-theme { background-color: #0c141a; } @media (min-width: 768px) { :root { --card-padding: 0.75rem; --text-size-base: 18px; } h1 { font-size: 26px; } } /* ----- THEME LOADER ----- */ #theme-loader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; font-family: var(--terminal-font); } html.bitcoin-theme #theme-loader { background-color: #111111; color: #f2a900; } html.deepsea-theme #theme-loader { background-color: #0c141a; color: #0088cc; } #loader-icon { font-size: 48px; margin-bottom: 20px; animation: spin 2s infinite linear; } #loader-text { font-size: 24px; text-transform: uppercase; } /* Hide content during load */ body { visibility: hidden; } /* ----- BASE ANIMATIONS ----- */ @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes flicker { 0% { opacity: 0.97; } 5% { opacity: 0.95; } 10% { opacity: 0.97; } 15% { opacity: 0.94; } 20% { opacity: 0.98; } 50% { opacity: 0.95; } 80% { opacity: 0.96; } 90% { opacity: 0.94; } 100% { opacity: 0.98; } } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } @keyframes subtle-pulse { 0%, 100% { box-shadow: 0 0 12px rgba(var(--primary-color-rgb), 0.6); } 50% { box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.8); } } @keyframes waitingPulse { 0%, 100% { box-shadow: 0 0 10px var(--primary-color), 0 0 15px var(--primary-color); opacity: 0.8; } 50% { box-shadow: 0 0 20px var(--primary-color), 0 0 35px var(--primary-color); opacity: 1; } } /* ----- ENHANCED DEEPSEA UNDERWATER EFFECTS ----- */ /* Deep ocean background for DeepSea theme */ html.deepsea-theme { background-color: #030c14; } html.deepsea-theme body { background: linear-gradient(135deg, #030c14 0%, #071a30 100%); background-size: 400% 400%; animation: water-movement 30s ease infinite; } /* Deep water overlay for darker appearance */ .deep-water-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(3, 12, 20, 0) 0%, rgba(1, 6, 12, 0.4) 100%); pointer-events: none; z-index: 0; } /* Enhanced underwater light rays effect */ .underwater-rays { position: fixed; top: -50%; left: -50%; right: -50%; bottom: -50%; width: 200%; height: 200%; background: rgba(0, 0, 0, 0); pointer-events: none; z-index: -1; background-image: radial-gradient(ellipse at top, rgba(0, 136, 204, 0.1) 0%, rgba(0, 136, 204, 0) 70%), radial-gradient(ellipse at bottom, rgba(0, 91, 138, 0.15) 0%, rgba(0, 0, 0, 0) 70%); animation: lightRays 15s ease infinite alternate; } /* Digital noise effect */ .digital-noise { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4woEFQwNDaabTQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAACASURBVGje7dixDcIwFEbhb8QMKWn5dwEWY4fswAasRJkBkhfAIarsNDEF5x5LrV/dJ1cEAAAAAOzHuefF5byzZ7tS6xDj6qoQpdRxUvNM6lH3rPeM1+ZJ3ROtqe9feGcjY8z74M8UvJGxEVHxTcIbGSsR+SECAAAAsC9/8G82GwHDD80AAAAASUVORK5CYII='); opacity: 0.03; z-index: 1; pointer-events: none; animation: noise 0.5s steps(5) infinite; } /* Bubble container and bubbles */ .underwater-bubbles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 1; } .bubble { position: absolute; bottom: -20px; background: rgba(120, 205, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 50%; box-shadow: 0 0 5px rgba(255, 255, 255, 0.025), inset 0 0 5px rgba(255, 255, 255, 0.025); animation: bubble-rise linear infinite; pointer-events: none; } /* Additional animations from boot.css */ @keyframes lightRays { 0% { transform: scale(1) skew(0deg); opacity: 0.3; } 50% { transform: scale(1.05) skew(2deg); opacity: 0.4; } 100% { transform: scale(1.1) skew(0deg); opacity: 0.3; } } @keyframes noise { 0% { transform: translate(0, 0); } 20% { transform: translate(-1px, 1px); } 40% { transform: translate(1px, -1px); } 60% { transform: translate(-2px, -1px); } 80% { transform: translate(2px, 1px); } 100% { transform: translate(0, 0); } } @keyframes oceanRipple { 0% { transform: translateY(0); } 100% { transform: translateY(6px); } } /* Add ocean ripple effect similar to boot.css */ html.deepsea-theme body::after { content: ""; position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; background: transparent; opacity: 0.1; z-index: 1; animation: oceanRipple 8s infinite linear; background-image: repeating-linear-gradient( 0deg, rgba(0, 136, 204, 0.1), rgba(0, 136, 204, 0.1) 1px, transparent 1px, transparent 6px ); background-size: 100% 6px; } /* Modified CRT effect for DeepSea theme */ html.deepsea-theme body::before { content: ""; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 73, 109, 0.1) 50%), linear-gradient(90deg, rgba(0, 81, 122, 0.03), rgba(0, 136, 204, 0.08), rgba(0, 191, 255, 0.03)); background-size: 100% 2px, 3px 100%; animation: glitchEffect 2s infinite; } @keyframes glitchEffect { 0% { opacity: 0.15; background-position: 0 0; } 20% { opacity: 0.17; } 40% { opacity: 0.14; background-position: -1px 0; } 60% { opacity: 0.15; background-position: 1px 0; } 80% { opacity: 0.16; background-position: -2px 0; } 100% { opacity: 0.15; background-position: 0 0; } } /* Add the bubble-rise animation that was missing */ @keyframes bubble-rise { 0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; } 50% { opacity: 0.6; } 100% { transform: translateY(-100vh) translateX(var(--bubble-drift)) scale(0.7); opacity: 0; } } /* Add this for subtle water movement in the background */ @keyframes water-movement { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* Theme-specific animations */ @keyframes ocean-wave { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes glitch-offset { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-1px, 1px); } 50% { transform: translate(1px, -1px); } 75% { transform: translate(-0.5px, 0.5px); } } /* ----- BASE STYLES ----- */ body { background: var(--bg-gradient); color: var(--text-color); padding-top: 0.5rem; font-size: var(--text-size-base); font-family: var(--terminal-font); text-transform: uppercase; } /* CRT Screen Effect */ body::before { content: " "; display: block; position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.03)); background-size: 100% 2px, 3px 100%; pointer-events: none; z-index: 2; opacity: 0.15; } .container-fluid { max-width: 1200px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; position: relative; padding-bottom: 6rem; } /* ----- HEADERS & TYPOGRAPHY ----- */ h1 { font-size: 24px; font-weight: bold; font-family: var(--header-font); letter-spacing: 1px; position: relative; color: var(--primary-color); overflow: hidden; z-index: 1; } /* Bitcoin theme header styling */ html.bitcoin-theme h1 { text-shadow: 0 0 5px rgba(242, 169, 0, 0.5); } /* DeepSea theme header styling */ html.deepsea-theme h1 { animation: ocean-wave 10s ease-in-out infinite; } html.deepsea-theme h1::before, html.deepsea-theme h1::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, #0088cc, #00bfff, #0077be, #005f8b, #00bfff); background-size: 300% 300%; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.7; animation: ocean-wave 10s ease-in-out infinite, glitch-offset 3s infinite; pointer-events: none; } html.deepsea-theme h1::before { left: 1px; text-shadow: -1px 0 rgba(0, 255, 255, 0.4); clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); } html.deepsea-theme h1::after { left: -1px; text-shadow: 1px 0 rgba(0, 0, 255, 0.4); clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); } /* ----- NAVIGATION ----- */ .navigation-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; margin-bottom: 18px; position: relative; } .nav-link { padding: 6px 16px; margin: 0; background-color: var(--bg-color); border: 1px solid var(--primary-color); color: var(--primary-color); text-decoration: none; font-family: var(--terminal-font); transition: all 0.3s ease; position: relative; overflow: hidden; letter-spacing: 1px; z-index: 1; } .nav-link::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 2px ); pointer-events: none; z-index: -1; } .nav-link:hover { background-color: var(--primary-color); color: var(--bg-color); box-shadow: 0 0 12px rgba(var(--primary-color-rgb), 0.6); transform: translateY(-1px); } .nav-link.active { background-color: var(--primary-color); color: var(--bg-color); box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.7); font-weight: bold; animation: subtle-pulse 3s infinite; } /* Navigation badges for notifications */ .nav-badge { background-color: var(--primary-color); color: var(--bg-color); border-radius: 10px; font-size: 0.7rem; padding: 1px 5px; min-width: 16px; text-align: center; display: none; margin-left: 5px; vertical-align: middle; font-weight: bold; box-shadow: 0 0 4px var(--primary-color); } /* ----- TOP RIGHT LINK ----- */ #topRightLink { position: absolute; top: 10px; right: 10px; color: grey; text-decoration: none; font-size: 0.7rem; padding: 5px 10px; transition: background-color 0.3s ease; } #topRightLink:hover { background-color: rgba(255, 255, 255, 0.1); } /* ----- CARDS ----- */ .card, .card-header, .card-body, .card-footer { border-radius: 0 !important; text-transform: uppercase; } .card { background-color: var(--bg-color); border: 1px solid var(--primary-color); margin-bottom: 0.5rem; padding: var(--card-padding); flex: 1; position: relative; overflow: hidden; box-shadow: 0 0 5px rgba(var(--primary-color-rgb), 0.3); } .card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 2px ); pointer-events: none; z-index: 1; } .card-header { background-color: #000; color: var(--primary-color); font-weight: bold; padding: 0.3rem 0.5rem; font-size: 1.1rem; border-bottom: 1px solid var(--primary-color); animation: flicker 4s infinite; font-family: var(--header-font); } .card-body hr { border-top: 1px solid var(--primary-color); margin: 0.25rem 0; } /* ----- STATUS INDICATORS ----- */ #connectionStatus { display: none; position: fixed; top: 10px; right: 10px; background: rgba(255, 0, 0, 0.7); color: white; padding: 10px; border-radius: 5px; z-index: 9999; font-size: 0.9rem; box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); } #lastUpdated { color: var(--primary-color); animation: flicker 5s infinite; text-align: center; } /* Terminal cursor */ #terminal-cursor { display: inline-block; width: 10px; height: 16px; background-color: var(--primary-color); margin-left: 2px; animation: blink 1s step-end infinite; vertical-align: middle; box-shadow: 0 0 5px rgba(var(--primary-color-rgb), 0.8); } /* Status dots */ .online-dot { display: inline-block; width: 8px; height: 8px; background: #32CD32; border-radius: 50%; margin-left: 0.5em; position: relative; top: -1px; animation: pulse 2s infinite; box-shadow: 0 0 10px #32CD32, 0 0 20px #32CD32; } .offline-dot { display: inline-block; width: 8px; height: 8px; background: red; border-radius: 50%; margin-left: 0.5em; position: relative; top: -1px; animation: pulse 2s infinite; box-shadow: 0 0 10px red, 0 0 20px red !important; } /* ----- COLOR UTILITY CLASSES ----- */ .green-glow, .status-green { color: #39ff14 !important; } .red-glow, .status-red { color: #ff2d2d !important; } .yellow-glow { color: #ffd700 !important; } .blue-glow { color: #00dfff !important; } .white-glow { color: #ffffff !important; } /* Legacy color classes */ .green { color: #39ff14 !important; } .blue { color: #00dfff !important; } .yellow { color: #ffd700 !important; } .white { color: #ffffff !important; } .red { color: #ff2d2d !important; } .magenta { color: #ff2d95 !important; } /* ----- FOOTER ----- */ .footer { padding: 10px 0; color: grey; font-size: 0.9rem; border-top: 1px solid rgba(128, 128, 128, 0.2); } /* ----- PROGRESS BAR COMPONENTS ----- */ .bitcoin-progress-container { width: 100%; max-width: 300px; height: 20px; background-color: #111; border: 1px solid var(--primary-color); border-radius: 0; margin: 0.5rem auto; position: relative; overflow: hidden; box-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.5); align-self: center; } .bitcoin-progress-inner { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-color), #ffa500); border-radius: 0; transition: width 0.3s ease; position: relative; overflow: hidden; } .bitcoin-progress-inner::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient( 90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.1) 40% ); animation: shimmer 2s infinite; } .bitcoin-icons { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); display: flex; justify-content: space-around; font-size: 12px; color: rgba(0, 0, 0, 0.7); } .glow-effect { box-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--primary-color); animation: pulse 1s infinite; } .waiting-for-update { animation: waitingPulse 2s infinite !important; } #progress-text { font-size: 1rem; color: var(--primary-color); margin-top: 0.3rem; text-align: center; width: 100%; } /* ----- RESPONSIVE STYLES ----- */ @media (max-width: 576px) { .container-fluid { padding-left: 0.5rem; padding-right: 0.5rem; } .card-body { padding: 0.5rem; } h1 { font-size: 22px; } .card-header { font-size: 1rem; } #topRightLink { position: static; display: block; text-align: right; margin-bottom: 0.5rem; } /* Navigation mobile optimization */ .navigation-links { gap: 8px; margin-top: 10px; margin-bottom: 15px; } .nav-link { font-size: 0.8rem; padding: 5px 12px; letter-spacing: 0.5px; } .nav-link:active { transform: scale(0.97); } .nav-badge { font-size: 0.65rem; padding: 1px 4px; min-width: 14px; margin-left: 3px; position: relative; top: -1px; } } @media (max-width: 360px) { .navigation-links { justify-content: space-between; } .nav-link { font-size: 0.75rem; padding: 4px 8px; flex: 1; text-align: center; letter-spacing: 0; } } /* Congratulations Message Styling */ #congratsMessage { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(0, 0, 0, 0.85); border: 2px solid var(--primary-color); color: var(--primary-color); padding: 15px 30px; font-family: var(--terminal-font); font-size: 1.2rem; z-index: 9999; text-align: center; border-radius: 3px; box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.7); animation: congratsAppear 0.5s ease-out; cursor: pointer; max-width: 80vw; } #congratsMessage::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border: 1px solid var(--primary-color); border-radius: 3px; animation: pulseBorder 1.5s infinite; z-index: -1; } .congrats-text { position: relative; display: inline-block; } /* Theme-specific congrats styling */ html.bitcoin-theme #congratsMessage { box-shadow: 0 0 25px rgba(247, 147, 26, 0.6); animation: congratsAppear 0.5s ease-out, orangePulse 2s infinite alternate; } html.deepsea-theme #congratsMessage { box-shadow: 0 0 25px rgba(0, 136, 204, 0.6); animation: congratsAppear 0.5s ease-out, bluePulse 2s infinite alternate; } /* Bubble container and bubbles for DeepSea theme */ .congrats-bubbles { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; overflow: hidden; } .congrats-bubble { position: absolute; bottom: 0; background: rgba(0, 191, 255, 0.15); border: 1px solid rgba(0, 136, 204, 0.2); border-radius: 50%; box-shadow: 0 0 3px rgba(0, 191, 255, 0.3); animation: bubbleRise 4s ease-in forwards; } /* Animations for congrats message */ @keyframes congratsAppear { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } } @keyframes pulseBorder { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } } @keyframes orangePulse { 0% { text-shadow: 0 0 5px rgba(247, 147, 26, 0.7); } 100% { text-shadow: 0 0 15px rgba(247, 147, 26, 0.9), 0 0 20px rgba(247, 147, 26, 0.5); } } @keyframes bluePulse { 0% { text-shadow: 0 0 5px rgba(0, 136, 204, 0.7); } 100% { text-shadow: 0 0 15px rgba(0, 191, 255, 0.9), 0 0 20px rgba(0, 136, 204, 0.5); } } @keyframes bubbleRise { 0% { opacity: 0; transform: translateY(0) translateX(0); } 10% { opacity: 0.8; } 80% { opacity: 0.6; } 100% { opacity: 0; transform: translateY(-300px) translateX(calc(var(--drift, 0) * 40px)); } } /* Responsive styling */ @media (max-width: 768px) { #congratsMessage { font-size: 1rem; padding: 12px 20px; max-width: 90vw; } } /* Mobile Navigation System - Updated with 600px breakpoint */ .nav-container { position: relative; width: 100%; margin-top: 12px; } /* Wrapper for centering hamburger button */ .mobile-nav-wrapper { display: none; text-align: center; margin-bottom: 10px; } /* Hamburger button styling with theme compatibility */ .mobile-nav-toggle { display: inline-block; background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); font-size: 1.25rem; padding: 0.4rem 0.75rem; cursor: pointer; position: relative; z-index: 1010; border-radius: 0; font-family: var(--terminal-font); transition: all 0.3s ease; box-shadow: 0 0 5px rgba(var(--primary-color-rgb), 0.3); } .mobile-nav-toggle:hover { background-color: rgba(var(--primary-color-rgb), 0.1); } .mobile-nav-toggle:active { transform: translateY(1px); } .mobile-nav-toggle:focus { outline: none; } /* Mobile navigation adjustments - Changed from 767px to 599px */ @media (max-width: 599px) { .mobile-nav-wrapper { display: block; } .navigation-links { flex-direction: column; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; width: 100%; margin: 0; padding: 0; gap: 0; background-color: var(--bg-color); border-left: 1px solid var(--primary-color); border-right: 1px solid var(--primary-color); border-bottom: 1px solid var(--primary-color); position: absolute; z-index: 1000; box-shadow: 0 0 8px rgba(var(--primary-color-rgb), 0.3); } .navigation-links.is-open { max-height: 300px; } .nav-link { width: 100%; margin: 0; padding: 10px 16px; border: none; border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.3); text-align: center; } .nav-link:last-child { border-bottom: none; } .nav-link:hover { transform: none; } .nav-link.active { border-left: 3px solid var(--primary-color); border-right: 3px solid var(--primary-color); } }