/* Enhanced Dark Theme UI */ @import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap'); * { font-family: "Rubik", sans-serif; box-sizing: border-box; } html, body { margin: 0; padding: 0; width: 100%; min-height: 100vh; background: #0a0a0f; background: url(imgs/bghome.png); background-position: 50%; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; color: #e4e4e7; overflow-x: hidden; } .logo{ width: 11em; max-width: 100%; transform: translateZ(0); } .profile-container { color: white; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; background:transparent; user-select: none; gap: 12px; height: 50px; min-width: 170px; max-width: 200px; padding: 0 20px; box-sizing: border-box; /* Border glow effect with rounded corners */ position: relative; border-radius: 12px; } .profile-container .userthumb { width: 45px; height: 45px; flex-shrink: 0; } .profile-info { display: flex; flex-direction: column; justify-content: center; text-align: left; gap: 3px; flex: 1; height: 100%; } .profile-info h1 { margin: 0; font-size: 0.5em; font-weight: 600; line-height: 1.1; } .profile-info p { margin: 0; font-size: 0.7em; opacity: 0.8; font-weight: 400; display: flex; align-items: center; justify-content: flex-start; gap: 4px; } .level-bar { width: 100%; height: 4px; background-color: rgba(255, 255, 255, 0.2); border-radius: 2px; overflow: hidden; margin-top: 2px; } .level-progress { height: 100%; background-color: rgba(255, 255, 255, 0.6); border-radius: 2px; transition: width 0.3s ease; } .profile-info p img { width: 12px; height: 12px; user-select: none; flex-shrink: 0; } .dropdown-container { position: relative; } .dropdown-btn { display: flex; flex-direction: row; align-items: center; gap: 6px; /* spacing between icon and text */ background: none; border: none; color: white; cursor: pointer; border-radius: 6px; transition: background-color 0.2s ease; font-size: 14px; white-space: nowrap; } .dropdown-btn svg { width: 16px; height: 16px; fill: white; /* override black fill */ transition: transform 0.2s ease; } .dropdown-menu { position: absolute; top: 100%; right: -1vw; padding: 10px; min-width: 120px; border-radius: 8px; z-index: 1000; /* Gradient border */ border: 1px solid transparent; background: linear-gradient(#171720, #171720) padding-box, linear-gradient(30deg, transparent, #242431) border-box; /* Initial hidden state */ opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.2s ease, visibility 0.2s ease; } /* When shown */ .dropdown-menu.show { opacity: 1; visibility: visible; animation: bounceIn 0.5s ease forwards; } /* Slight bounce keyframes */ @keyframes bounceIn { 0% { transform: translateY(-6px); opacity: 0; } 60% { transform: translateY(12px); opacity: 1; } 80% { transform: translateY(8px); } 100% { transform: translateY(10px); } } .dropdown-menu a{ text-decoration: none; } .dropdown-menu svg{ fill: white; } .dropdown.show .dropdown-btn svg { transform: rotate(180deg); fill: rgb(172, 172, 172); } .dropdown-item { display: flex; flex-direction: row; align-items: center; /* vertically center */ justify-content: center; /* horizontally center content */ width: 100%; padding: 12px 16px; border-radius: 12px; background: none; border: none; color: white; text-align: left; cursor: pointer; font-size: 0.45em; font-weight: 500; transition: all 0.1s ease; gap: 8px; /* optional: spacing between icon and text */ } .dropdown-item svg { width: 16px; height: 16px; /* make sure height matches width */ flex-shrink: 0; /* prevents SVG from shrinking */ } .dropdown-item img { width: 16px; height: 16px; /* make sure height matches width */ flex-shrink: 0; /* prevents SVG from shrinking */ } .dropdown-item:hover { background-color: rgba(255, 255, 255, 0.034); filter: brightness(0.8); } .wallet-container { display: flex; align-items: center; gap: 0; max-width: 250px; } .balance-section { display: flex; align-items: center; background-color: rgba(54, 54, 54, 0.144); padding: 10px 20px; border-radius: 6px; gap: 8px; color: white; font-size: .5em; height: 45px; box-sizing: border-box; border: none; } .coin-icon { width: 20px; height: 20px; flex-shrink: 0; } .balance-amount { font-weight: 500 !important; color: rgb(172, 172, 172); } .button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; cursor: pointer; min-width: 100px; height: 40px; color: #ffffff; font-size: 0.85rem; font-weight: 500; padding: 8px 16px; text-align: center; border: 1px solid transparent; border-radius: 12px; position: relative; overflow: hidden; transition: all 0.2s ease; /* Gradient border + solid background */ background: linear-gradient(#0099ff, #0099ff) padding-box, linear-gradient(180deg, transparent, #4ab7ff) border-box; } .button svg { width: 16px; height: 16px; flex-shrink: 0; } .button:hover { transform: scale(0.95); } .grey{ border: none; background: #6a6a6b ; box-shadow: none; } .grey:hover{ border: none; background: #575757 ; box-shadow: none; } .copyButton { background-repeat: no-repeat; background-size: 16px 16px; width: 25px !important; background-color: transparent; background-position: center; border: none; padding: 0; margin: 0; flex-shrink: 0; } .bg-pad{ background-color: #0f0f16; border-radius: 8px; padding: 10px; } .clickable { cursor: pointer; } [data-tooltip] { position: relative; } [data-tooltip]:hover::before { content: attr(data-tooltip); position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px; padding: 8px 12px; background: rgba(29, 29, 29, 0.9); color: white; font-size: 14px; font-weight: 500; border-radius: 8px; white-space: nowrap; z-index: 99999; opacity: 0; animation: tooltipFadeIn 0.2s ease forwards; backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); } [data-tooltip]:hover::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: -1px; border: 6px solid transparent; z-index: 1001; opacity: 0; animation: tooltipFadeIn 0.2s ease forwards; } @keyframes tooltipFadeIn { from { opacity: 0; transform: translateX(-50%) translateY(-5px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } } .space-x-1 > * + * { margin-left: 0.25rem; /* 4px */ } .space-x-2 > * + * { margin-left: 0.5rem; /* 8px */ } .space-x-3 > * + * { margin-left: 0.75rem; /* 12px */ } .space-x-4 > * + * { margin-left: 1rem; /* 16px */ } .space-x-5 > * + * { margin-left: 1.25rem; /* 20px */ } .space-x-6 > * + * { margin-left: 1.5rem; /* 24px */ } /* Enhanced Header */ header { background: #0f0f16; color: #10b981; padding: 1.5rem 2rem; font-size: 1.75rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #1a1a25; user-select: none; height: 80px; position: fixed; /* Add this to fix the header */ top: 0; /* Position at the top */ left: 0; /* Start from left edge */ right: 0; /* Stretch to right edge */ z-index: 100; width: 100%; /* Ensure full width */ } .jss495 { width: 10rem; display: flex; max-width: 2rem; align-items: flex-start; margin-left: 1rem; margin-right: 1rem; flex-direction: column; justify-content: center; } .jss495 h1 { color: #e4e4e4; margin: 0; font-size: 18px; font-family: Rubik; font-weight: 500; letter-spacing: .1em; } .flex-column{ display: flex; flex-direction: column; } .jss497 { color: #e4e4e4; display: flex; position: relative; font-size: 12px; align-items: center; font-family: Rubik; font-weight: 500; letter-spacing: .1em; } .side-player{ display: flex; flex-direction: row; } .jss496 { width: 100%; display: flex; padding: 10px 0px 10px 0px; align-items: flex-start; flex-direction: column; justify-content: space-around; } .lost{ filter: brightness(0.5); } .side-player img{ width: 40px; height: 40px; border-radius: 50%; } .chatside { border-radius: 0; backdrop-filter: blur(20px); background: #0f0f16; border-left: 1px solid #1a1a25; border-top: none; border-bottom: none; padding: 20px; width: 100%; max-width: 350px; height: calc(100vh - 80px); /* Use header height (80px) */ display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); position: fixed; top: 80px; /* Start below the fixed header */ right: 0; bottom: 0; } .chat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding: 0 16px; } #chat-count { background: #0099ff27; color: #e4e4e7; padding: 10px; height: 25px; border-radius: 100px; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; } .chat-gift { background: transparent; color: #e4e4e7; padding: 5px 7px; border-radius: 8px; font-size: 0.9rem; cursor: pointer; filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.507)); transition: all 0.2s ease; } .chat-gift:hover{ transform: scale(.93); } .chat-gift svg { width: 18px; height: 18px; } #chat-count p{ width:10px; background-color: #0099ff; border-radius: 50%; height: 10px; } .chat-wrapper { position: relative; height: calc(100vh - 120px); /* Adjust based on your layout */ overflow: hidden; flex: 1; display: flex; flex-direction: column; } #chat { overflow-y: auto; padding: 10px; flex-grow: 1; } ::-webkit-scrollbar { width: 3px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.075); border-radius: 3px; } .chatside form { position: relative; display: flex; } .chatside input::placeholder { color: rgba(228, 228, 231, 0.5); } .chatside input:focus { transform: scale(0.98); } .chatside form { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; } .chatside input { flex: 1; padding: 12px 16px; border-radius: 12px; border: none; background-color: #15151d; box-shadow: 0 1px 0 rgb(31, 31, 41); color: #e4e4e7; font-size: .8rem; outline: none; transition: all 0.2s ; } .sendBtn { padding: 10px; border-radius: 12px; border: none; background-color: #15151d; box-shadow: 0 1px 0 rgb(31, 31, 41); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; color: white; width: 40px; height: 40px; } .sendBtn:hover{ transform: scale(0.94); filter: brightness(0.9); } @keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .chat-message { display: flex; align-items: flex-start; padding: 6px 12px; margin-bottom: 10px; border-radius: 13px; gap: 12px; transform: scale(1.1); opacity: 0; animation: fadeIn 0.4s ease forwards; /* ✅ Gradient border setup */ border: 1px solid transparent; background: linear-gradient(#15151d, #15151d) padding-box, linear-gradient(0deg, transparent, #1a1a25) border-box; } .chat-message::after { content: ""; display: block; opacity: 0; animation: fadeIn 0.4s ease forwards; animation-delay: 0.1s; } .username-gift-wrapper { display: flex; align-items: center; justify-content: center; height: 100%; /* or specific height like 100px */ width: 100%; /* optional */ } .username-gift-container { display: flex; flex-direction: column; align-items: center; text-align: center; } .user-info{ display: flex; flex-direction: column; text-align: center; align-items: center; justify-content: center; } #PlayerName{ font-size: 1em; color: white; font-weight: bold; } .player-stats { display: flex; height: 90px; width: 110%; gap: 8px; font-size: 14px; color: #ccc; } .player-stats > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 16px; background-color: rgba(54, 54, 54, 0.144); box-shadow: 0 1px 0 rgba(105, 105, 105, 0.144); } .player-stats > div h1{ font-weight: bold; } .stat-value { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: bold; color: #fff; } .stat-value.profit { color: #0099ff; } .user-img { position: relative; display: inline-block; } @keyframes gift-shake { 0%, 100% { transform: rotate(0deg) scale(1); } 10%, 30%, 50%, 70%, 90% { transform: rotate(-3deg) scale(1.05); } 20%, 40%, 60%, 80% { transform: rotate(3deg) scale(1.05); } } .gap-3px{ gap: 3px; } .chat-message .userthumb { width: 50px; height: 50px; flex-shrink: 0; } .chat-message .content { flex: 1; min-width: 0; } .chat-message .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; } .chat-message .username { font-weight: 500; color: #ffffff !important; /* Purple username */ font-size: 0.85rem; } .chat-message .timestamp { font-size: 0.65rem; color: rgba(255, 255, 255, 0.35); } .chat-message .message-text { color: rgba(255, 255, 255, 0.445); border-radius: 8px; font-size: .85rem; font-weight: 200; line-height: 1.4; } .welcome{ font-size: 1em; color: grey; } #welcoemUser{ color: white; filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.349)); } /* Mobile responsive */ @media (max-width: 768px) { .dropdown { padding: 10px 16px; font-size: 0.8rem; border-radius: 12px; } .dropdown-content { min-width: 160px; border-radius: 12px; } .dropdown-content a { padding: 12px 16px; font-size: 0.8rem; } } .backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); z-index: 999; } .userthumb { display: flex; align-items: center; justify-content: center; position: relative; width: 80px; height: 80px; border-radius: 15px; overflow: hidden; background-color: #1a1a25; border: 1px solid #31313a; transition: all 0.2s ease; } .userthumb::before { content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; border-radius: 20px; z-index: 0; filter: blur(8px); transition: opacity 0.3s ease; opacity: 1; } .userthumb:hover { border-color: #4a4a5a; background-color: #252530; } .blur { width: 100%; height: 100%; filter: blur(5px); z-index: 2; transition: filter 0.3s ease; } .blur-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; backdrop-filter: blur(8px); background: rgba(0, 0, 0, 0.3); z-index: 100; } /* Enhanced Popup */ .popup { background: #0a0a0f; backdrop-filter: blur(20px); border: 1px solid #16161f; position: fixed; display: flex; flex-direction: column; justify-content: center; text-align: center; align-items: center; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(400px, 90vw); padding: 2rem; border-radius: 12px; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05); animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; } .popup::before { content: ''; position: absolute; bottom: 0; z-index: -20; left: 0; right: 0; height: 60px; background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.055) 0%, transparent 70%); pointer-events: none; } .popup-header{ display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; } .popup-header h1{ position: absolute; top:13px; left: 13px; height: 25px; font-size: 1.3em; margin: 0; } .methods{ display: flex; flex-direction: row; gap: 10px; } .methods button{ background-color: #1c1c1d5d; color: white; border: none; padding: 10px 20px; border-radius: 8px; font-size: 14px; cursor: pointer; font-weight: bold; transition: background-color 0.2s; } .methods button:hover{ background-color: #1c1c1da9; } .methods button.active{ background-color: #0099ff; } .method-content{ display: none; margin-top: 20px; } .method-content.active{ display: block; } .line{ background-color: #3333336c; height: 1px; width: 115%; margin: 10px 0; display: block; } .line-small{ background-color: #3333336c; height: 1px; width: 60%; margin: 10px 0; display: block; } .gem-icon { width: 17px; height: 17px; filter: drop-shadow(0 0 5px rgba(9, 48, 75, 0.671)); display: inline-block; } .gem-transactions { background-color: #1c1c1d5d; border-radius: 12px; padding: 15px; overflow-y: auto; /* Enable vertical scrolling */ overflow-x: hidden; /* Prevent horizontal scrolling */ min-width: 90%; min-height: 100px; max-height: 200px; /* Set maximum height before scrolling kicks in */ } .transaction{ display: flex; flex-direction: row; margin-bottom: 5px; text-align: center; align-items: center; justify-content: space-between; max-height: 30px; padding: 15px; border-radius: 8px; font-size: .8em; background-color: #0000001c; } .amount.positive { color: #37e960; } .amount.negative { color: #dc3545; } @keyframes popupSlideIn { from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } } .popup input { padding: 12px 16px; border-radius: 10px; border: none; outline: none; background: rgba(0, 0, 0, 0.3); border: 1px solid #16161f; color: #e4e4e7; font-size: 0.9rem; width: 100%; backdrop-filter: blur(10px); } .popup input:focus { outline: none; border-color: #0099ff; background: rgba(0, 0, 0, 0.4); } .popup input::placeholder { color: #71717a; } .popup button { margin-top: 1rem; width: 100%; } /* Enhanced Spacing */ .space-y { height: 12px; } .extraspace-y { height: 32px; } /* Enhanced Hidden Class */ .hidden { display: none !important; visibility: hidden; } .main { padding: 45px 2rem 2rem 2.75rem; /* Add top padding to account for fixed header */ max-width: 1200px; min-height: 100vh; } .g-main { overflow-y: auto; position: fixed; display: flex; top: 120px; bottom: 30px; left: 100px; right: 320px; border-radius: 5px; padding: 10px; } .row { position: relative; width: calc(100% - 1em); display: flex; flex-direction: row; justify-content: space-around; flex-wrap: wrap; align-items: center; gap: 10px; padding: 1em; border-radius: 20px; background: linear-gradient(#0f0f16, #0f0f16) padding-box, linear-gradient(0deg, transparent, #1a1a25) border-box; border: 1px solid transparent; } .row > * { position: relative; z-index: 1; } .bet-form { display: flex; align-items: center; gap: 12px; width: 100%; } .input-wrapper { position: relative; width: 100%; } .coin-icon { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; opacity: 0.8; } .bet-input { padding: 12px 16px 12px 38px; /* extra left padding for icon */ border-radius: 10px; border: none; outline: none; background: rgba(0, 0, 0, 0.219); color: #e4e4e7; font-size: 0.9rem; width: 100%; } .bet-submit { padding: 12px 16px; background-color: #0099ff; color: white; border: none; border-radius: 10px; cursor: pointer; font-size: 0.9rem; white-space: nowrap; } .bet-submit:hover { background-color: #007acc; } .coin-options { display: flex; gap: 10px; margin-top: 10px; } .coin-option { width: 50px; height: 50px; border-radius: 50%; background: transparent; cursor: pointer; transition: 0.2s; border: 1px solid transparent; transition: all 0.1; } .coin-option:hover { filter: brightness(0.7); } /* Heads selected */ .coin-option.heads-selected { border: 1px solid #4c55c2; background:transparent; } /* Tails selected */ .coin-option.tails-selected { border: 1px solid #0099ff; background: transparent; } /* Flex row for the items */ .flex-row { display: flex; } .cf-main { max-width: 1200px; margin: 0 auto; } .row { margin-bottom: 30px; } .flex-row { display: flex; flex-wrap: wrap; margin-bottom: 40px; } .gap-big { gap: 30px; } .cf-items { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 30px; text-align: center; transition: all 0.3s ease; flex: 1; min-width: 20px; position: relative; overflow: hidden; } .cf-items:hover::before { left: 100%; } .cf-items h1 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; background: linear-gradient(45deg, #4CAF50, #81C784); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .cf-items p { font-size: 1rem; color: rgba(255, 255, 255, 0.8); font-weight: 500; } .section { margin-bottom: 2.5rem; } .title-container { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; } .title-container svg { width: 1.5rem; height: 1.5rem; fill: #0099ff; display: block; flex-shrink: 0; } .title { font-size: 1.125rem; font-weight: 600; letter-spacing: 0.1em; color: white; margin: 0; } .cards-container { display: flex; justify-content: flex-start; gap: 1rem; overflow-x: auto; padding: 0.75rem 0.25rem; } .card-group { position: relative; display: inline-block; text-decoration: none; color: inherit; } .card { position: relative; overflow: hidden; border-radius: 0.5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); transition: transform 0.3s ease; cursor: pointer; transform: scale(1.02); aspect-ratio: 200 / 265; min-width: 120px; max-width: 200px; } .card img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; user-select: none; } .card-group:hover .card { transform: scale(1.05); } .card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.644); display: flex; align-items: center; justify-content: center; color: white; font-size: 17px; font-weight: bold; letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.404); z-index: 2; } .wins-container{ display: flex; flex-direction: row; gap: 2px; width: 50%; } .live-win-card { position: relative; width: 11rem; /* w-44 */ height: 4rem; /* h-16 */ background-color: rgba(43, 43, 43, 0.212); border-radius: 1rem; /* rounded-2xl */ display: flex; align-items: center; padding: 0 0.75rem; /* px-3 */ overflow: hidden; flex-shrink: 0; } .live-win-img-wrapper { position: relative; width: 2.5rem; height: 2.5rem; margin-right: 0.75rem; z-index: 1; } .live-win-blur { position: absolute; bottom: -0.25rem; width: 2rem; height: 1rem; border-radius: 9999px; background-color: rgba(101, 102, 102, 0.25); filter: blur(6px); z-index: 0; } .live-win-img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; } .live-win-content { display: flex; flex-direction: column; gap: 5px; z-index: 1; } .live-win-name { color: #fff; font-size: 0.75rem; font-weight: 500; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .live-win-amount { display: flex; align-items: center; gap: 3px; } .live-win-icon { width: 12px; height: 12px; margin-right: 0.25rem; } .live-win-number { color: #0099ff; /* Tailwind's green-500 */ font-size: 0.75rem; font-weight: 600; } .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; } .step { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 16px; padding: 1.5rem; position: relative; overflow: hidden; transition: all 0.3s ease; max-width: 280px; } .step:hover { transform: translateY(-4px); } .step-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; } .step-number { width: 32px; height: 32px; border-radius: 50%; background: #0099ff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: white; flex-shrink: 0; } .step-title { font-size: 1.1rem; font-weight: 600; margin: 0; color: #ffffff; } .step-description { font-size: 0.9rem; line-height: 1.5; color: #b8b8cc; margin: 0; } .step-icon { position: absolute; top: 1.5rem; right: 1.5rem; width: 24px; height: 24px; opacity: 0.3; fill: #00d4ff; } @media (max-width: 768px) { .steps { grid-template-columns: 1fr; } .step { padding: 1.5rem; max-width: none; } .step-header { flex-direction: column; text-align: center; gap: 0.5rem; } .step-icon { display: none; } } .font-size{ font-size: medium; } .bold{ font-weight: bold; } #welcomeText{ font-weight: bold; color: white; display: flex; gap: 8px; /* Add some space between username and SVG */ } #welcomeText svg { width: 20px; /* Make SVG smaller */ flex-shrink: 0; /* Prevent SVG from shrinking */ } #toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 1000; pointer-events: none; } .toast { display: flex; align-items: center; gap: 12px; background: #111113; color: #9797979d; padding: 16px 20px; margin-bottom: 10px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); min-width: 300px; max-width: 400px; transform: translateX(100%); opacity: 0; transition: all 0.3s ease; pointer-events: auto; cursor: pointer; border-left: 1px solid #1a1a1d; } .toast.show { transform: translateX(0); opacity: 1; } .toast.success { border-left-color: #10b981; } .toast.error { border-left-color: #ef4444; } .toast.loading { border-left-color: #3b82f6; } .toast-icon { flex-shrink: 0; width: 20px; height: 20px; } .toast-text { flex: 1; font-size: 14px; line-height: 1.4; } /* SVG Animations */ @keyframes checkmark { 0% { stroke-dashoffset: 20; } 100% { stroke-dashoffset: 0; } } @keyframes circle-bounce { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1); opacity: 1; } } @keyframes draw-x-line1 { 0% { stroke-dashoffset: 20; } 100% { stroke-dashoffset: 0; } } @keyframes draw-x-line2 { 0% { stroke-dashoffset: 20; } 100% { stroke-dashoffset: 0; } } @keyframes draw-info-line { 0% { stroke-dashoffset: 10; } 100% { stroke-dashoffset: 0; } } @keyframes draw-info-dot { 0% { stroke-dashoffset: 5; } 100% { stroke-dashoffset: 0; } } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes error-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } } .checkmark-circle { animation: circle-bounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .checkmark-path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: checkmark 0.4s ease-out 0.3s forwards; } .error-circle { animation: circle-bounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .error-line1 { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw-x-line1 0.3s ease-out 0.3s forwards; } .error-line2 { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw-x-line2 0.3s ease-out 0.5s forwards; } .info-circle { animation: circle-bounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .info-line { stroke-dasharray: 10; stroke-dashoffset: 10; animation: draw-info-line 0.3s ease-out 0.3s forwards; } .info-dot { stroke-dasharray: 5; stroke-dashoffset: 5; animation: draw-info-dot 0.2s ease-out 0.6s forwards; } .loading-spinner { animation: spin 1s linear infinite; } .error-icon { animation: error-shake 0.5s ease-in-out; } .pulse { animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .close-btn{ position: absolute; background-color: #1c1c1d5d; border: none; color:grey; top:-10px; right: 5px; height: 40px; border-radius: 9px; max-width: 40px; font-size: 1.7em; cursor: pointer; transition: all .1s ; } .close-btn:hover{ background-color: #2422225d; color: rgb(216, 216, 216); } .loading-circle { width: 1.5em; height: 1.5em; border: 3px solid rgba(0, 0, 0, 0); /* light/transparent part */ border-top-color: rgb(255, 255, 255); /* visible rotating part */ border-radius: 50%; animation: spin 1s linear infinite; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.9; } @keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } } /* Additional Enhancements */ .glass-effect { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); } .glow-border { position: relative; } .glow-border::before { content: ''; position: absolute; inset: -1px; padding: 1px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-radius: inherit; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: xor; pointer-events: none; } /* Loading animation utility */ @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .loading { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } /* Responsive design */ @media (max-width: 768px) { .popup { width: 95vw; padding: 1.5rem; border-radius: 20px; } .button { min-width: 100px; height: 44px; font-size: 0.8rem; padding: 10px 20px; } } @media (max-width: 768px) { header { padding: 1rem 1.5rem; font-size: 1.5rem; height: 70px; } .main { padding: 90px 1rem 2rem 1rem; /* Adjust for mobile header height */ } .chatside { height: calc(100vh - 70px); top: 70px; max-width: 100%; width: 100%; } .main-content { padding-right: 2rem; margin-top: 70px; } } .main-content { flex: 1; padding: 2rem; padding-right: 370px; /* Add right padding to account for fixed chatside */ display: flex; align-items: left; justify-content: flex-end; color: #666; margin-top: 80px; /* Add top margin for fixed header */ } footer { position: fixed; bottom: 0; left: 350px; /* Start after the sidebar width */ right: 0; background: #0a0a0f; border-top: 3px solid #16161f; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; height: 60px; z-index: 1000; } .footer-left { display: flex; align-items: center; gap: 2rem; } .logo { font-size: 1.2rem; font-weight: bold; color: #ffffff; } .logo-highlight { color: #00bfff; } .copyright { color: #666; font-size: 0.8rem; } .footer-right { display: flex; gap: 1.5rem; } .footer-link { color: #aaa; text-decoration: none; font-size: 0.9rem; transition: all 0.1s ; } .footer-link:hover { color: white; font-weight: bold; } @media (max-width: 768px) { footer { flex-direction: column; height: auto; padding: 1rem; gap: 0.5rem; } .footer-left { gap: 1rem; } .footer-right { gap: 1rem; } } .coin { width: 120px; height: 120px; border-radius: 50%; position: relative; transition: transform 1s ease-in; transform-style: preserve-3d; } .coin div { width: 100%; height: 100%; position: absolute; backface-visibility: hidden; border-radius: 50%; } .coin img { width: 100%; height: 100%; border-radius: 50%; } .coin .heads { z-index: 100; } .coin .tails { transform: rotateX(-180deg); } /* Flip to heads animation (stops at 0deg) */ .coin.flip-heads { animation: flipHeads 4s ease-out forwards; } .coin.flip-tails { animation: flipTails 4s ease-out forwards; } @keyframes flipHeads { 0% { transform: rotateX(0); } 100% { transform: rotateX(2880deg); } /* 8 full rotations, ends on heads */ } @keyframes flipTails { 0% { transform: rotateX(0); } 100% { transform: rotateX(3060deg); } /* 8.5 full rotations, ends on tails */ } .coinflip-info{ display: flex; flex-direction: row; align-items: center; justify-content: center; } .player-card { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; } .avatar-wrapper { position: relative; width: 60px; /* Adjust as needed */ height: 60px; border-radius: 50%; } .avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: 0.1s all; border: 3px solid #00000000; } .player-card .coin-icon { position: absolute; width: 40px; /* Adjust size */ height: 40px; top:0; left: 25px; } .player-name { font-size: 16px; font-weight: 500; text-align: center; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .history-list { max-height: 300px; overflow-y: auto; padding: 0 1rem; } .history-item { font-family: Arial, sans-serif; font-size: 14px; } .history-item img { border: 2px solid #ccc; object-fit: cover; } .player-balance{ display: flex; flex-direction: row; align-items: center; text-align: center; justify-content: center; gap: 5px; font-size: .45em; } .avatar-img.selected-tails { border: 3px solid #0099ff; border-radius: 50%; padding: 2px; box-sizing: border-box; } .avatar-img.selected-heads { border: 3px solid #4c55c2; border-radius: 50%; padding: 2px; box-sizing: border-box; } .GameAmount{ display: flex; flex-direction: row; align-items: center; text-align: center; justify-content: center; gap: 5px; } .publicmatch{ opacity: 0; animation: fadeIn 0.3s ease forwards; justify-content: space-between; } .publicmatch::after { content: ""; display: block; opacity: 0; animation: fadeIn 0.4s ease forwards; animation-delay: 0.1s; }