* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; } html, body { padding-top: 40px; background: linear-gradient(135deg, rgba(0, 21, 38, 0.9) 0%, rgba(2, 33, 46, 0.9) 100%); color: #ffffff; overflow-x: hidden; height: auto; min-height: 100vh; scrollbar-width: none; -ms-overflow-style: none; } body::-webkit-scrollbar { width: 0px; background: transparent; display: none; } .games-dropdown-overlay { position: fixed; top: 85px; left: 0; width: 100%; height: calc(120vh - 85px); background-color: rgba(0, 0, 0, 0.7); z-index: 90; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .games-dropdown { position: fixed; top: 85px; left: 0; width: 100%; height: calc(120vh - 85px); background: linear-gradient(135deg, rgba(0, 67, 109, 0.249) 0%, rgba(2, 45, 67, 0.9) 100%); backdrop-filter: blur(6px); z-index: 95; transform: translateY(-100%); transition: transform 0.3s ease; overflow-y: auto; padding: 2rem; box-sizing: border-box; } .games-dropdown.active { transform: translateY(0); } .games-dropdown-overlay.active { opacity: 1; visibility: visible; } .games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1400px; margin: 0 auto; } .game-card { background: linear-gradient(135deg, rgba(0, 67, 109, 0.249) 0%, rgba(2, 45, 67, 0.9) 100%); backdrop-filter: blur(6px); border-radius: 10px; overflow: hidden; transition: transform 0.3s ease; cursor: pointer; } .game-card:hover { transform: translateY(-5px); } .game-card img { width: 100%; height: 200px; object-fit: cover; } .game-card h3 { color: white; text-align: center; padding: 1rem; margin: 0; } @media (max-width: 1280px) { .games-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 768px) { .games-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .games-grid { grid-template-columns: 1fr; } } .mobile-games-dropdown { display: none; background: linear-gradient(135deg, rgba(3, 31, 54, 0.9) 0%, rgba(0, 6, 8, 0.9) 100%); padding: 0; margin-top: 0; overflow: hidden; max-height: 0; transition: max-height 0.3s ease; padding-top: 0; margin-top: 0; } .mobile-games-dropdown.active { display: block; max-height: 500px; } .mobile-game-item { display: flex; align-items: center; padding: 12px 20px; margin: 0; color: white; border-bottom: 1px solid #2a2a3a; cursor: pointer; transition: background-color 0.2s; font-size: 16px; line-height: 1.2; } .mobile-game-item svg { width: 20px; height: 20px; margin-right: 10px; display: block; flex-shrink: 0; } .mobile-game-item:last-child { border-bottom: none; } .mobile-game-item:hover { background-color: #2a2a3a; } .mobile-nav-item.games { position: relative; } .mobile-nav-item.games svg.rotate { transform: rotate(360deg); transition: transform 0.3s ease; } @media (max-width: 1280px) { .games-dropdown-overlay { display: none; } } .games-section { padding: 2rem; } @media (max-width: 1280px) { .games-dropdown, .games-dropdown-overlay { position: absolute; height: auto; max-height: 0; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; } .games-dropdown.active, .games-dropdown-overlay.active { max-height: 80vh; pointer-events: auto; opacity: 1; visibility: visible; } } .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(8, 29, 25, 0.204) 0%, rgba(11, 44, 58, 0.9) 100%); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .modal-overlay.active { opacity: 1; visibility: visible; } .modal { background: linear-gradient(135deg, rgba(11, 44, 58, 0.9) 0%, rgba(9, 8, 29, 0.9) 100%); border-radius: 8px; width: 100%; max-width: 400px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); overflow: hidden; } .modal-header { padding: 20px; background: linear-gradient(135deg, rgba(11, 44, 58, 0.9) 0%, rgba(9, 8, 29, 0.9) 100%); color: white; display: flex; justify-content: space-between; align-items: center; } .modal-header h2 { margin: 0; font-size: 1.5rem; } .close-modal { font-size: 1.5rem; cursor: pointer; color: #ffffff; } .close-modal:hover { color: #2e81f7; } .modal-body { padding: 20px; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #ffffff; font-weight: 600; } .form-group input { width: 100%; padding: 10px; border: 1px solid #2e81f7; border-radius: 4px; background: linear-gradient(135deg, rgba(8, 29, 25, 0.204) 0%, rgba(11, 44, 58, 0.9) 100%); color: white; font-size: 1rem; } .modal-btn { width: 100%; padding: 12px; background-color: #2e81f7; color: white; border: none; border-radius: 4px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background-color 0.3s; } .modal-btn:hover { background-color: #1c65d8; } .modal-switch { color: #ffffff; text-align: center; margin-top: 20px; } .modal-switch a { color: #2e81f7; text-decoration: none; font-weight: 600; } .modal-switch a:hover { text-decoration: underline; } .profile-stats { width: 90%; margin: 0 auto; } .stat-item { margin-bottom: 20px; padding: 15px; background: linear-gradient(135deg, rgba(8, 29, 25, 0.204) 0%, rgba(11, 44, 58, 0.9) 100%); border-radius: 8px; text-align: center; } .stat-label { display: block; font-size: 14px; color: #a0a0a0; margin-bottom: 5px; } .stat-value { display: block; font-size: 18px; font-weight: 600; color: #ffffff; } #profileLogoutBtn { margin: 30px auto 0 auto; background-color: #e74c3c; display: block; } #profileLogoutBtn:hover { background-color: #c0392b; } .profile-stats .stat-value { display: flex; align-items: center; justify-content: center; gap: 5px; text-align: center; } .profile-stats .dl-icon { width: 16px; height: 16px; object-fit: contain; } .profile-stats { display: flex; flex-direction: column; gap: 15px; } .stat-item { display: flex; justify-content: space-between; align-items: center; } .stat-value { display: flex; align-items: center; gap: 5px; } .dl-icon { width: 16px; height: 16px; object-fit: contain; } .user-profile:hover { background-color: rgba(255, 255, 255, 0.1); } .username { font-weight: 600; } .balance { color: #ffffff; font-weight: 600; } #userInfo, #mobileUserInfo { display: none; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 4px; transition: background-color 0.2s; } #userInfo:hover, #mobileUserInfo:hover { background-color: rgba(255, 255, 255, 0.1); } .user-profile { display: flex; align-items: center; gap: 10px; } .balance { display: flex; align-items: center; gap: 5px; } .dl-icon { width: 20px; height: 20px; object-fit: contain; } .username { font-weight: 600; color: white; } .balance { color: #ffffff; font-weight: 600; } #mobileUserInfo { margin-top: 10px; padding: 10px; background-color: rgba(255, 255, 255, 0.05); border-radius: 8px; } .owner-icon { width: 100px; height: 75px; vertical-align: middle; margin-right:-15px; } .user-icon { width: 55px; height: 50px; vertical-align: middle; margin-right: 5px; } .user-profile .username { display: flex; align-items: center; } .user-profile .balance { display: flex; align-items: center; } @media (max-width: 1280px) { .user-profile { flex-direction: column; align-items: flex-start; } .user-profile .desktop-balance { display: none !important; } .user-profile .mobile-balance { display: flex !important; margin-top: 5px; margin-left: 50px; } .profile-info { display: flex; flex-direction: column; } } @media (min-width: 1281px) { .user-profile .mobile-balance { display: none !important; } .user-profile .desktop-balance { display: flex !important; } .user-profile { display: flex; align-items: center; gap: 10px; } } .user-profile .balance { display: flex; align-items: center; gap: 5px; } .user-profile .username { display: flex; align-items: center; gap: 5px; } .nav-mobile-balance { font-weight: 600; display: flex; width: fit-content; height: 40px; border-radius: 5px; overflow: hidden; margin-top: 5px; margin-left: auto; /* Pushes it to the right */ margin-right: 20px; /* 20px from the right edge */ } .nav-mobile-balance .balance-left { background: linear-gradient(135deg, rgba(10, 30, 50, 0.9) 0%, rgba(15, 60, 80, 0.9) 100%); width: 75%; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: white; } .nav-mobile-balance .balance-right { background-color: #0e30ec; width: 35%; display: flex; align-items: center; justify-content: center; } .nav-mobile-balance .dl-icon { width: 20px; height: 20px; } .balance-update { animation: balancePulse 0.5s ease-in-out; } @keyframes balancePulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } @media (min-width: 1281px) { .nav-mobile-balance { display: none !important; color: #ffffff; } } .balance-update { animation: balancePulse 0.5s ease-in-out; color: #2ecc71 !important; } @keyframes balancePulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); color: #f1c40f; } 100% { transform: scale(1); } } .dl-icon { transition: transform 0.3s ease; } .balance-update .dl-icon { animation: coinFlip 0.5s ease-in-out; } @keyframes coinFlip { 0% { transform: rotateY(0deg); } 50% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } } .value-updated { animation: valueUpdate 0.5s ease-in-out; } @keyframes valueUpdate { 0% { transform: scale(1); color: inherit; } 50% { transform: scale(1.1); color: #2ecc71; } 100% { transform: scale(1); color: inherit; } } .value-updated .dl-icon { animation: coinFlip 0.5s ease-in-out; } @keyframes coinFlip { 0% { transform: rotateY(0deg); } 50% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } } .wallet-btn { background-color: #4a6bff; color: white; margin-bottom: 10px; } .wallet-btn:hover { background-color: #3a5aef; } /* Add these styles to your existing CSS file */ /* Wallet Modal Styles */ .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #404040; } .modal-title { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: bold; color: white; } .wallet-icon { width: 24px; height: 24px; fill: white; } .close-modal { background: none; border: none; color: #888; font-size: 28px; cursor: pointer; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: all 0.2s; } .close-modal:hover { color: white; background: #404040; } .tab-container { display: flex; margin-bottom: 30px; background: #0000006e; border-radius: 8px; padding: 4px; } .tab-button { flex: 1; padding: 12px 20px; background: none; border: none; color: #888; cursor: pointer; border-radius: 6px; font-size: 16px; font-weight: 500; transition: all 0.2s; } .tab-button.active { background: #6c5ce7; color: white; } .tab-content { display: none; } .tab-content.active { display: block; } .form-group { margin-bottom: 20px; } .form-label { display: block; margin-bottom: 8px; color: #ccc; font-size: 14px; font-weight: 500; } .form-input { width: 100%; padding: 12px 16px; background: #404040; border: 2px solid #555; border-radius: 8px; color: white; font-size: 16px; transition: all 0.2s; } .form-input:focus { outline: none; border-color: #6c5ce7; background: #0000007a; } .amount-input-container { position: relative; } .amount-input { padding-left: 50px; } .currency-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; } .info-message { display: flex; align-items: flex-start; gap: 10px; background: rgba(108, 92, 231, 0.1); border: 1px solid rgba(108, 92, 231, 0.3); border-radius: 8px; padding: 12px; margin-bottom: 20px; font-size: 14px; color: #a0a0a0; } .info-icon { width: 16px; height: 16px; fill: #6c5ce7; margin-top: 2px; flex-shrink: 0; } .trade-highlight { color: #6c5ce7; font-weight: bold; } .captcha-container { margin-bottom: 20px; } .captcha-widget { background: #404040; border: 2px solid #555; border-radius: 8px; padding: 16px; display: flex; align-items: center; justify-content: space-between; } .captcha-left { display: flex; align-items: center; gap: 12px; } .captcha-checkbox { width: 24px; height: 24px; border: 2px solid #666; border-radius: 4px; background: #2d2d30; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; } .captcha-checkbox:hover { border-color: #6c5ce7; } .captcha-checkbox.checked { background: #6c5ce7; border-color: #6c5ce7; } .captcha-checkmark { width: 12px; height: 12px; fill: white; display: none; } .captcha-checkbox.checked .captcha-checkmark { display: block; } .captcha-text { color: white; font-size: 14px; } .captcha-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; } .captcha-icon { width: 24px; height: 24px; fill: #00d4aa; } .captcha-brand { font-size: 10px; color: #00d4aa; font-weight: bold; } .captcha-links { font-size: 8px; color: #888; } .action-button { width: 100%; padding: 14px; background: #6c5ce7; border: none; border-radius: 8px; color: white; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-bottom: 15px; } .action-button:hover { background: #5f4fcf; } .action-button:disabled { background: #000000; cursor: not-allowed; opacity: 0.6; } .daily-limit { text-align: center; color: #888; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; } .limit-icon { width: 16px; height: 16px; fill: #00d4aa; } .withdraw-button { background: #555; } .withdraw-button:hover { background: #666; } /* Mobile responsiveness for wallet modal */ @media (max-width: 600px) { .modal { width: 95%; margin: 10px; } .modal-header { padding: 15px; } .modal-body { padding: 15px; } .tab-button { padding: 10px 15px; font-size: 14px; } }