/* ------------------ styles.css ------------------ */ /* General Styles */ body { font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; background-color: #f5f5f5; color: #333333; } /* Navigation Styling */ nav { background: #ffffff; padding: 1rem 2rem; position: sticky; top: 0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); z-index: 100; display: flex; align-items: center; justify-content: space-between; animation: fadeInDown 0.5s ease; } /* Logo Styling */ .logo { display: flex; align-items: center; cursor: pointer; } .logo-text { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; color: #007BFF; text-decoration: none; font-weight: 600; transition: color 0.3s ease; } .logo-text:hover { color: #0056b3; } /* Navigation Links */ nav ul { display: flex; list-style: none; align-items: center; } nav ul li { margin-left: 1rem; position: relative; } nav ul li a { color: #333333; font-weight: 500; text-decoration: none; padding: 0.5rem 1rem; border-radius: 20px; transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease; border: 2px solid transparent; /* Initial border */ border-radius: 25px; /* Oval shape */ padding: 0.5rem 1rem; background-clip: padding-box; transition: border-color 0.3s ease, color 0.3s ease; font-size: 1rem; } /* New Hover Effect: Only circular border */ nav ul li a:hover { color: #007BFF; border-color: #007BFF; } /* Hamburger Menu (Hidden on Desktop) */ .hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: #333333; } /* Sections */ section { background: #ffffff; border-radius: 12px; margin: 2rem auto; padding: 2rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); max-width: 1200px; animation: fadeInUp 0.5s ease; } section h2 { font-size: 2.5rem; color: #007BFF; margin-bottom: 1rem; text-align: center; font-family: 'Montserrat', sans-serif; } section p { font-size: 1rem; color: #555555; line-height: 1.6; text-align: center; margin-bottom: 2rem; } /* Call-to-Action Buttons */ .cta-buttons { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; } .cta-buttons button { background: #007BFF; color: #ffffff; padding: 0.75rem 1.5rem; border: 2px solid #007BFF; border-radius: 25px; cursor: pointer; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; font-size: 1rem; font-weight: 500; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-clip: padding-box; min-width: 120px; } .cta-buttons button:hover { background: #0056b3; transform: translateY(-2px); border-color: #0056b3; } /* Informational Cards */ .info-cards { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 2rem; } .info-card { background: #f0f4f8; border-radius: 12px; padding: 1.5rem; width: 300px; text-align: center; transition: transform 0.3s ease, background 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .info-card:hover { transform: translateY(-5px); background: #cce5ff; } .info-card h3 { font-size: 1.5rem; color: #007BFF; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; } .info-card p { font-size: 0.95rem; color: #555555; } /* Responsive Design */ @media (max-width: 1024px) { section { margin: 1.5rem; padding: 1.5rem; } .info-card { width: 45%; } } @media (max-width: 768px) { nav ul { position: absolute; top: 60px; left: 0; right: 0; background: #ffffff; flex-direction: column; align-items: center; display: none; padding: 1rem 0; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } nav ul.active { display: flex; } nav ul li { margin: 0.5rem 0; } .hamburger { display: block; } .info-card { width: 80%; } .cta-buttons { flex-direction: column; gap: 1rem; } .tradingview-widget-container { width: 100% !important; } section { padding: 1rem; margin: 1rem; } section h2 { font-size: 2rem; } section p { font-size: 0.95rem; } table { width: 100%; overflow-x: auto; display: block; } th, td { padding: 0.5rem; font-size: 0.9rem; } .auth-section input, .auth-section select, .trading-form select, .trading-form input, .watchlist-form input { font-size: 0.9rem; padding: 0.5rem; } .auth-section button, .trading-form button, .watchlist-form button, .logout-button, .cancel-order-btn, #closeUserDetailsBtn, #closeGamificationPopupBtn { font-size: 0.9rem; padding: 0.5rem 1rem; } } @media (max-width: 480px) { .info-card { width: 100%; } nav { padding: 0.5rem 1rem; } .logo-text { font-size: 1.5rem; } .hamburger { font-size: 1.5rem; } .cta-buttons button { width: 100%; min-width: unset; } .trade-box { padding: 1rem; } .streak-dot { width: 12px; height: 12px; } #gamificationPopupContent { width: 90%; padding: 1rem; } } @media (max-width: 600px) { .logo-text { font-size: 1.3rem; } section h2 { font-size: 1.8rem; } .trading-form { flex-direction: column; } nav ul li a { font-size: 1rem; padding: 0.5rem 1rem; } } /* AUTH & FORMS */ .auth-section h2 { margin-bottom: 1rem; text-align: center; color: #007BFF; font-family: 'Montserrat', sans-serif; } .auth-section label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #333333; } .auth-section input, .auth-section select { width: 100%; padding: 0.75rem; margin-bottom: 1rem; border: 1px solid #cccccc; border-radius: 8px; background-color: #ffffff; color: #333333; font-size: 1rem; transition: border-color 0.3s ease; } .auth-section input:focus, .auth-section select:focus { border-color: #007BFF; outline: none; box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); } .auth-section button { width: 100%; padding: 0.75rem; background: #007BFF; color: #ffffff; border: 2px solid #007BFF; border-radius: 25px; cursor: pointer; font-weight: 500; font-size: 1rem; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-clip: padding-box; } .auth-section button:hover { background: #0056b3; transform: translateY(-2px); border-color: #0056b3; } .switch-link { display: inline-block; margin-top: 0.5rem; color: #007BFF; text-decoration: none; cursor: pointer; font-weight: 500; transition: color 0.3s ease; } .switch-link:hover { color: #0056b3; } /* Radio Buttons Styling */ .radio-group { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: center; } .radio-group label { font-weight: 500; color: #333333; display: flex; align-items: center; gap: 0.3rem; } /* PROFILE SECTION */ .profile-section h2 { text-align: center; color: #007BFF; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; } .profile-section p { margin-top: 1rem; color: #555555; font-size: 1rem; text-align: center; } .logout-button { background: #e74c3c; color: #ffffff; border: 2px solid #e74c3c; padding: 0.75rem 1.5rem; cursor: pointer; font-weight: 500; border-radius: 25px; font-size: 1rem; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; display: block; margin: 1.5rem auto 0; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-clip: padding-box; } .logout-button:hover { background: #c0392b; transform: translateY(-2px); border-color: #c0392b; } /* POSITIONS SECTION & TABLE */ .positions-section table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 8px; overflow: hidden; } .positions-section th, .positions-section td { text-align: left; padding: 0.75rem; } .positions-section th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .positions-section td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .positions-section tr:hover td { background-color: #cce5ff; } /* Pie Chart canvas */ #portfolioPie { max-width: 600px; margin: 2rem auto; background-color: #ffffff; border-radius: 12px; padding: 1rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Outgoing (limit/stop) trades table */ .outgoing-orders-section { margin-top: 2rem; } .outgoing-orders-section h3 { text-align: center; color: #007BFF; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; } .outgoing-orders-table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 8px; overflow: hidden; } .outgoing-orders-table th, .outgoing-orders-table td { text-align: left; padding: 0.75rem; } .outgoing-orders-table th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .outgoing-orders-table td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .outgoing-orders-table tr:hover td { background-color: #cce5ff; } /* Cancel Trade Button */ .cancel-order-btn { background: #e74c3c; color: #fff; border: 2px solid #e74c3c; padding: 0.5rem 1rem; cursor: pointer; font-weight: 500; border-radius: 15px; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); font-size: 0.9rem; background-clip: padding-box; } .cancel-order-btn:hover { background: #c0392b; transform: translateY(-2px); border-color: #c0392b; } /* TRADE HISTORY TABLE */ .trade-history { width: 100%; border-collapse: collapse; margin-top: 2rem; border-radius: 8px; overflow: hidden; } .trade-history th, .trade-history td { text-align: left; padding: 0.75rem; } .trade-history th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .trade-history td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .trade-history tr:hover td { background-color: #cce5ff; } /* TRADING SECTION */ .trading-form { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: center; } .trading-form h3 { flex-basis: 100%; text-align: center; margin-bottom: 1rem; color: #007BFF; font-family: 'Montserrat', sans-serif; font-size: 1.8rem; } .trading-form select, .trading-form input { padding: 0.75rem; border: 1px solid #cccccc; border-radius: 8px; background-color: #ffffff; color: #333333; font-size: 0.95rem; transition: border-color 0.3s ease; flex: 1 1 150px; } .trading-form select:focus, .trading-form input:focus { border-color: #007BFF; outline: none; box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); } /* Dark Background and Light Text for Order Type Dropdown */ #orderType { background-color: #ffffff; color: #333333; } #orderType option { background-color: #ffffff; color: #333333; } /* FUTURISTIC STYLING FOR DROPDOWN MENUS */ #tradeAction { appearance: none; background: linear-gradient(135deg, #007BFF, #0056b3); color: #333333; padding: 0.75rem 1rem; border: none; border-radius: 25px; font-family: 'Montserrat', sans-serif; font-weight: 600; cursor: pointer; background-size: 200% 100%; transition: background-position 0.3s ease; position: relative; width: 100%; } #tradeAction::after { content: '▼'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: #333333; } #tradeAction:hover { background-position: right center; } #orderType { appearance: none; background: linear-gradient(135deg, #007BFF, #0056b3); color: #333333; padding: 0.75rem 1rem; border: none; border-radius: 25px; font-family: 'Montserrat', sans-serif; font-weight: 600; cursor: pointer; background-size: 200% 100%; transition: background-position 0.3s ease; position: relative; width: 100%; } #orderType::after { content: '▼'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: #333333; } #orderType:hover { background-position: right center; } .trading-form select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background: none; padding-right: 2rem; background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; color: #333333; width: 100%; position: relative; } .trading-form select::after { content: '▼'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: #333333; } .trading-form select:hover { border-color: #007BFF; } .trading-form button { background: #007BFF; color: #ffffff; border: 2px solid #007BFF; padding: 0.75rem 1.5rem; cursor: pointer; font-weight: 500; border-radius: 25px; font-size: 1rem; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); flex: 1 1 200px; background-clip: padding-box; width: 100%; } .trading-form button:hover { background: #0056b3; transform: translateY(-2px); border-color: #0056b3; } #expirationSelect { display: none; width: 100%; } /* WATCHLIST SECTION */ .watchlist-form { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: center; } .watchlist-form input { padding: 0.75rem; border: 1px solid #cccccc; border-radius: 8px; background-color: #ffffff; color: #333333; font-size: 0.95rem; transition: border-color 0.3s ease; flex: 1 1 200px; min-width: 150px; } .watchlist-form input:focus { border-color: #007BFF; outline: none; box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); } .watchlist-form button { background: #007BFF; color: #ffffff; border: 2px solid #007BFF; padding: 0.75rem 1.5rem; cursor: pointer; font-weight: 500; border-radius: 25px; font-size: 1rem; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); flex: 1 1 150px; background-clip: padding-box; width: 100%; } .watchlist-form button:hover { background: #0056b3; transform: translateY(-2px); border-color: #0056b3; } .watchlist-table { width: 100%; border-collapse: collapse; margin-top: 2rem; border-radius: 8px; overflow: hidden; } .watchlist-table th, .watchlist-table td { text-align: left; padding: 0.75rem; } .watchlist-table th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .watchlist-table td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .watchlist-table tr:hover td { background-color: #cce5ff; } .delete-watchlist-btn { background: #e74c3c; color: #fff; border: 2px solid #e74c3c; padding: 0.4rem 0.8rem; cursor: pointer; font-weight: 500; border-radius: 15px; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); font-size: 0.85rem; background-clip: padding-box; } .delete-watchlist-btn:hover { background: #c0392b; transform: translateY(-1px); border-color: #c0392b; } /* TRADE PREVIEW SECTION */ #tradePreview { background-color: #f0f4f8; border-radius: 12px; padding: 1rem; margin-top: 1.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: block; transition: opacity 0.3s ease, transform 0.3s ease; } #tradePreview h3 { color: #007BFF; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; text-align: center; font-size: 1.4rem; } #tradePreview p { margin-bottom: 0.5rem; color: #555555; font-size: 0.95rem; } /* HOME SECTION ENHANCEMENTS */ #homeSection { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 2rem; background: #ffffff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); animation: fadeIn 1s ease; } #homeSection h2 { font-size: 2.5rem; margin-bottom: 1rem; color: #007BFF; font-family: 'Montserrat', sans-serif; } #homeSection p { font-size: 1.1rem; color: #555555; text-align: center; max-width: 800px; margin-bottom: 2rem; } /* TradingView Widget Styling */ .tradingview-widget-container { margin-top: 3rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); animation: fadeIn 1s ease; width: 100%; } .tradingview-widget-container__widget { border-radius: 12px; } .tradingview-widget-copyright { text-align: center; font-size: 0.9rem; color: #555555; margin-top: 0.5rem; } .tradingview-widget-copyright a { color: #007BFF; text-decoration: none; font-weight: 500; } .tradingview-widget-copyright a:hover { color: #0056b3; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* TRADE BOX STYLING */ .trade-box { background: #f9f9f9; border-radius: 12px; padding: 2rem; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; max-width: 800px; margin: 0 auto; animation: fadeInUp 0.5s ease; } .trade-box:hover { transform: scale(1.005); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); } /* AUTH BUTTON STYLING */ #authButton { cursor: pointer; padding: 0.5rem 1rem; border-radius: 15px; transition: background 0.3s ease, color 0.3s ease; font-weight: 500; margin-left: 0.5rem; font-size: 0.95rem; border: 2px solid transparent; background-clip: padding-box; } #authButton.login-signup { background: #007BFF; color: #ffffff; border-color: #007BFF; border-radius: 25px; padding: 0.5rem 1.5rem; } #authButton.login-signup:hover { background: #0056b3; border-color: #0056b3; } #authButton.logout { background: #e74c3c; color: #ffffff; border-color: #e74c3c; border-radius: 25px; padding: 0.5rem 1.5rem; } #authButton.logout:hover { background: #c0392b; border-color: #c0392b; } /* ADMIN SECTION STYLING */ .admin-section h2 { text-align: center; color: #007BFF; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; } .admin-section table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 8px; overflow: hidden; } .admin-section th, .admin-section td { text-align: left; padding: 0.75rem; } .admin-section th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .admin-section td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .admin-section tr:hover td { background-color: #cce5ff; } /* Admin Table */ .admin-table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 8px; overflow: hidden; } .admin-table th, .admin-table td { text-align: left; padding: 0.75rem; } .admin-table th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .admin-table td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .admin-table tr:hover td { background-color: #cce5ff; } /* User Details Box for Admin "View Details" */ #adminUserDetails { display: none; margin-top: 2rem; padding: 1rem; border-radius: 12px; background-color: #ffffff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); color: #333333; position: fixed; top: 10%; left: 50%; transform: translateX(-50%); width: 80%; max-width: 800px; max-height: 80vh; overflow-y: auto; z-index: 200; animation: fadeInUp 0.5s ease; } #adminUserDetails h3 { margin-bottom: 1rem; text-align: center; font-family: 'Montserrat', sans-serif; color: #007BFF; } #closeUserDetailsBtn { background: #e74c3c; color: #fff; border: none; padding: 0.5rem 1rem; cursor: pointer; font-weight: 500; border-radius: 15px; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; margin-top: 1rem; display: block; margin-left: auto; margin-right: auto; font-size: 0.95rem; background-clip: padding-box; } #closeUserDetailsBtn:hover { background: #c0392b; border-color: #c0392b; transform: translateY(-2px); } /* Leaderboard Section */ .leaderboard-section { display: none; } .leaderboard-section h2 { text-align: center; color: #007BFF; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; } .leaderboard-table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 8px; overflow: hidden; } .leaderboard-table th, .leaderboard-table td { text-align: left; padding: 0.75rem; } .leaderboard-table th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .leaderboard-table td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .leaderboard-table tr:hover td { background-color: #cce5ff; } /* ADMIN LEADERBOARD TOGGLE BUTTON */ .admin-leaderboard-toggle { display: flex; justify-content: center; margin-top: 1.5rem; } .admin-leaderboard-toggle button { background: #007BFF; color: #ffffff; border: 2px solid #007BFF; padding: 0.75rem 1.5rem; cursor: pointer; font-weight: 500; border-radius: 25px; font-size: 1rem; transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-clip: padding-box; width: 100%; max-width: 250px; } .admin-leaderboard-toggle button:hover { background: #0056b3; transform: translateY(-2px); border-color: #0056b3; } /* ADMIN TRADES SECTION */ .admin-trades-section h3 { text-align: center; color: #007BFF; font-family: 'Montserrat', sans-serif; margin-top: 2rem; margin-bottom: 1rem; } .admin-trades-section table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 8px; overflow: hidden; } .admin-trades-section th, .admin-trades-section td { text-align: left; padding: 0.75rem; } .admin-trades-section th { background-color: #007BFF; color: #ffffff; position: sticky; top: 0; z-index: 1; font-weight: 500; } .admin-trades-section td { background-color: #f9f9f9; border-bottom: 1px solid #e0e0e0; font-size: 0.95rem; color: #333333; } .admin-trades-section tr:hover td { background-color: #cce5ff; } /* GAMIFICATION POPUP */ #gamificationPopup { display: none; position: fixed; z-index: 300; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); } #gamificationPopupContent { background-color: #fefefe; margin: 10% auto; padding: 20px; border: 1px solid #888; width: 80%; max-width: 500px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); animation: fadeInUp 0.5s ease; text-align: center; position: relative; } #gamificationPopupContent h3 { color: #007BFF; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; } #gamificationPopupContent p { font-size: 1rem; color: #555555; margin-bottom: 1.5rem; } #closeGamificationPopupBtn { background: #e74c3c; color: #fff; border: none; padding: 0.5rem 1rem; cursor: pointer; font-weight: 500; border-radius: 25px; transition: background 0.3s ease, transform 0.2s ease; font-size: 0.95rem; background-clip: padding-box; } #closeGamificationPopupBtn:hover { background: #c0392b; transform: translateY(-2px); } .streak-dots { display: flex; justify-content: center; gap: 0.5rem; margin: 1rem 0; flex-wrap: wrap; } .streak-dot { width: 15px; height: 15px; background-color: #007BFF; border-radius: 50%; position: relative; transition: background-color 0.3s ease, transform 0.3s ease; } .streak-dot.completed { background-color: #0056b3; transform: scale(1.2); } .streak-dot.current { background-color: #0056b3; animation: pulse 1s infinite; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } } /* FOOTER */ footer { text-align: center; padding: 1rem; background-color: #ffffff; box-shadow: 0 -2px 4px rgba(0,0,0,0.05); }