:root { --main-color: #17cbb3; --main-color-dark: #14b09e; --main-color-darker: #119485; --main-color-light: #e8f8f6; --main-gradient: linear-gradient(135deg, #17cbb3, #14b09e); --shadow: 0 8px 30px rgba(44, 62, 80, 0.12); --card-shadow: 0 10px 25px rgba(44, 62, 80, 0.1); --transition: all 0.3s ease; --border-radius: 16px; --card-border-radius: 18px; } body { font-family: 'Poppins', Arial, sans-serif; background: #f8fafb; margin: 0; padding-top: 70px; color: #2c3e50; overflow-y: auto; /* Changed from hidden to auto to enable scrolling */ overflow-x: hidden; scrollbar-width: none; /* Firefox */ -ms-overflow-style: none; /* IE and Edge */ } body::-webkit-scrollbar, html::-webkit-scrollbar { display: none; } * { outline: none !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent !important; } *:focus, *:active, *:visited { outline: none !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent !important; } a, button, input, textarea, select, div, span, i { outline: none !important; box-shadow: none !important; -webkit-tap-highlight-color: transparent !important; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } input, textarea { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; } a:focus, button:focus, input:focus, textarea:focus, select:focus { outline: none !important; box-shadow: none !important; border: none !important; } .navbar { position: fixed; top: 0; left: 0; width: 100%; background: var(--main-color); display: flex; justify-content: space-between; align-items: center; padding: 0 20px; box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1); z-index: 1000; height: 65px; box-sizing: border-box; transition: all 0.3s ease; } .navbar-brand { font-weight: 700; font-size: 1.4em; color: white; letter-spacing: -0.5px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .navbar-menu { display: flex; list-style: none; margin: 0; padding: 0; margin-left: auto; margin-right: 15px; gap: 18px; } .navbar-item { margin: 0; } .navbar-link { text-decoration: none; color: white; font-size: 0.95em; padding: 8px 16px; border-radius: 30px; transition: all 0.3s ease; font-weight: 500; letter-spacing: 0.3px; position: relative; } .navbar-link:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); } .navbar-toggle { display: none; flex-direction: column; cursor: pointer; } .bar { width: 26px; height: 3px; background-color: #fff; margin: 2.5px 0; border-radius: 5px; transition: all 0.3s ease; } .profile-icon { font-size: 1.5em; color: white; cursor: pointer; padding: 8px; border-radius: 50%; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; } .profile-icon:hover, .profile-icon.active { background: rgba(255, 255, 255, 0.15); transform: translateY(-1px); } .profile-dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; right: 0; background-color: #fff; min-width: 180px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); z-index: 1; border-radius: 16px; overflow: hidden; transform: translateY(10px); opacity: 0; transition: transform 0.3s, opacity 0.2s; border: 1px solid rgba(23, 203, 179, 0.15); } .dropdown-content.show { display: block; transform: translateY(0); opacity: 1; } .dropdown-content a { color: #14b09e; padding: 14px 20px; text-decoration: none; display: block; font-size: 0.95em; font-weight: 500; transition: all 0.3s ease; border-bottom: 1px solid rgba(0,0,0,0.03); } .dropdown-content a:last-child { border-bottom: none; } .dropdown-content a:hover { background-color: #e8f8f6; padding-left: 24px; } .dropdown-content a i { margin-right: 10px; color: #17cbb3; } .container { max-width: 480px; width: 100%; box-sizing: border-box; margin: 60px auto 0 auto; background: #fff; padding: 35px 20px 90px 20px; /* Reduced horizontal padding */ border-radius: var(--card-border-radius); box-shadow: var(--card-shadow); font-family: 'Poppins', Arial, sans-serif; transition: var(--transition); display: flex; flex-direction: column; height: auto; min-height: calc(100vh - 130px); position: relative; overflow: visible; /* Changed from hidden to visible */ } .search-box { margin-bottom: 28px; text-align: center; position: relative; flex: 0 0 auto; } .search-input { width: 90%; padding: 15px 20px; border: none; border-radius: 14px; font-size: 1.08em; font-weight: 400; outline: none; background: #f3f9fb; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transition: box-shadow 0.3s, background 0.3s, transform 0.3s; } .search-input:focus { background: #e6fcf7; box-shadow: 0 6px 18px rgba(23, 203, 179, 0.15); transform: translateY(-1px); } .search-icon { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); color: #17cbb3; font-size: 1.1em; } .game-list { list-style: none; padding: 0; margin: 0; flex: 1 1 auto; overflow-y: auto; overflow-x: visible; /* Add this to allow horizontal overflow */ scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 20px; } .game-item { margin: 16px 10px; /* Add horizontal margin for scale animation space */ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center; } .game-link { display: flex; align-items: center; padding: 22px 26px; background: linear-gradient(145deg, #ffffff 0%, #f8fafb 50%, #f2f6f8 100%); border-radius: 24px; text-decoration: none; color: #2c3e50; font-size: 1.12em; font-weight: 600; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.8); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; border: 2px solid rgba(23, 203, 179, 0.08); backdrop-filter: blur(20px); outline: none !important; -webkit-tap-highlight-color: transparent !important; } .game-link::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient( 90deg, transparent, rgba(23, 203, 179, 0.06), rgba(23, 203, 179, 0.12), rgba(23, 203, 179, 0.06), transparent ); transition: left 1s ease; z-index: 1; } .game-link:hover::before { left: 100%; } .game-link::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, #17cbb3 0%, #14b09e 50%, #119485 100%); opacity: 0; transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1; } .game-link:hover::after { opacity: 1; } .game-link:hover { color: #fff; box-shadow: 0 25px 50px rgba(23, 203, 179, 0.3), 0 15px 35px rgba(23, 203, 179, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1); transform: translateY(-6px) scale(1.03); border-color: rgba(255, 255, 255, 0.4); } .game-link:active { transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 35px rgba(23, 203, 179, 0.35), 0 8px 20px rgba(23, 203, 179, 0.25); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); } .game-link:focus { outline: none !important; box-shadow: none !important; } .game-arrow { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; background: url('data:image/svg+xml;utf8,') no-repeat center center; background-size: 24px 24px; opacity: 0.4; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); z-index: 3; } .game-link:hover .game-arrow { opacity: 1; transform: translateY(-50%) translateX(10px) scale(1.15); background: url('data:image/svg+xml;utf8,') no-repeat center center; background-size: 24px 24px; } .game-icon { height: 56px; width: 56px; vertical-align: middle; margin-right: 20px; border-radius: 18px; background: linear-gradient(145deg, #ffffff 0%, #f8fafb 100%); object-fit: contain; border: 3px solid rgba(23, 203, 179, 0.12); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8); padding: 8px; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; position: relative; } .game-link:hover .game-icon { box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4), 0 8px 20px rgba(255, 255, 255, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.9); transform: scale(1.12) rotate(5deg); border-color: rgba(255, 255, 255, 0.6); background: linear-gradient(145deg, #ffffff 0%, #f0fffe 100%); } .game-text { flex: 1; z-index: 2; position: relative; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); letter-spacing: 0.4px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); } .game-link:hover .game-text { transform: translateX(6px); text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3); } .game-content { display: flex; align-items: center; width: 100%; z-index: 2; position: relative; } #notifBox { position: fixed; top: 80px; right: 30px; z-index: 15000; min-width: 280px; max-width: 90vw; background: #fff; color: #2c3e50; padding: 18px 28px 18px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); font-size: 1em; border-left: 4px solid #17cbb3; transition: opacity 0.3s, transform 0.3s; transform: translateX(0); opacity: 0; display: none; text-align: left; } #notifBox.show { display: block; opacity: 1; transform: translateX(-10px); } #notifBox .close-btn { position: absolute; right: 12px; top: 12px; font-size: 1.2em; cursor: pointer; color: #b3b3b3; transition: color 0.2s; } #notifBox .close-btn:hover { color: #e74c3c; } /* Mobile responsive notification positioning */ @media (max-width: 768px) { #notifBox { right: 15px; left: 15px; min-width: auto; max-width: calc(100vw - 30px); transform: translateX(0); text-align: center; padding: 16px 35px 16px 16px; } #notifBox.show { transform: translateX(0); } #notifBox .close-btn { right: 10px; top: 10px; } } @media (max-width: 480px) { #notifBox { top: 75px; right: 10px; left: 10px; max-width: calc(100vw - 20px); padding: 14px 32px 14px 14px; font-size: 0.95em; border-radius: 10px; } #notifBox .close-btn { right: 8px; top: 8px; font-size: 1.1em; } } @media (max-width: 360px) { #notifBox { min-width: 260px; max-width: calc(100vw - 24px); margin: 0 12px; font-size: 0.9em; width: calc(100vw - 24px); padding: 16px 20px 16px 16px; border-radius: 10px; } } .modal-base { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 12000; justify-content: center; align-items: center; display: none; opacity: 0; transition: opacity 0.3s; } .modal-base.show { display: flex !important; opacity: 1; } .modal-content { background: #fff; border-radius: 20px; max-width: 95vw; width: 450px; padding: 35px 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); text-align: left; color: #2c3e50; position: relative; transform: scale(0.9); opacity: 0; transition: transform 0.3s, opacity 0.3s; } .modal-base.show .modal-content { transform: scale(1); opacity: 1; } .modal-close { position: absolute; right: 20px; top: 20px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(23, 203, 179, 0.1); color: #17cbb3; font-size: 1.2em; cursor: pointer; transition: all 0.3s; z-index: 1; } .modal-close:hover { background: rgba(23, 203, 179, 0.2); transform: rotate(90deg); } .modal-title { font-size: 1.5em; font-weight: 700; margin: 0 0 20px 0; color: #17cbb3; text-align: center; } .faq-modal, .cs-modal { composes: modal-base; } .faq-content, .cs-content { composes: modal-content; } .register-seller-modal { composes: modal-base; } .register-seller-content { composes: modal-content; width: 400px; padding: 35px 30px; text-align: center; } .register-seller-content h2 { color: #17cbb3; font-size: 1.5em; margin-top: 0; margin-bottom: 15px; font-weight: 700; } .register-seller-content p { margin-bottom: 20px; line-height: 1.6; } .register-seller-content a { display: inline-block; margin-top: 10px; padding: 12px 25px; background: var(--main-gradient); color: #fff; border-radius: 30px; font-weight: 600; text-decoration: none; font-size: 1.05em; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 6px 15px rgba(23, 203, 179, 0.2); } .register-seller-content a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 203, 179, 0.3); } .register-seller-content a i { margin-right: 8px; } /* CS Modal - Updated to match list-account.php styling */ .faq-modal { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 12000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; } .faq-modal.show { display: flex !important; opacity: 1; } .faq-content { background: #fff; border-radius: 20px; max-width: 95vw; width: 450px; padding: 35px 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); text-align: left; color: #2c3e50; position: relative; transform: scale(0.9); opacity: 0; transition: transform 0.3s, opacity 0.3s; border: 1px solid rgba(23, 203, 179, 0.15); } .faq-modal.show .faq-content { transform: scale(1); opacity: 1; } .faq-content .close-faq { position: absolute; right: 20px; top: 20px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(23, 203, 179, 0.1); color: #17cbb3; font-size: 1.2em; cursor: pointer; transition: all 0.3s; z-index: 1; border: none; } .faq-content .close-faq:hover { background: rgba(23, 203, 179, 0.2); transform: rotate(90deg); } .faq-content h2 { font-size: 1.5em; font-weight: 700; margin: 0 0 20px 0; color: #17cbb3; text-align: center; } .faq-items { text-align: center; } .faq-items p { margin-bottom: 20px; line-height: 1.6; color: #2c3e50; font-size: 1.1em; } .faq-items a { display: inline-block; margin-top: 10px; padding: 12px 25px; background: var(--main-gradient); color: #fff; border-radius: 30px; font-weight: 600; text-decoration: none; font-size: 1.05em; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 6px 15px rgba(23, 203, 179, 0.2); } .faq-items a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 203, 179, 0.3); } .faq-items a i { margin-right: 8px; } /* Register Seller Modal - Updated to match list-account.php styling */ .register-seller-modal { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 12000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; } .register-seller-modal.show { display: flex !important; opacity: 1; } .register-seller-content { background: #fff; border-radius: 20px; max-width: 95vw; width: 450px; padding: 35px 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); text-align: center; color: #2c3e50; position: relative; transform: scale(0.9); opacity: 0; transition: transform 0.3s, opacity 0.3s; border: 1px solid rgba(23, 203, 179, 0.15); } .register-seller-modal.show .register-seller-content { transform: scale(1); opacity: 1; } .register-seller-content .modal-close { position: absolute; right: 20px; top: 20px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(23, 203, 179, 0.1); color: #17cbb3; font-size: 1.2em; cursor: pointer; transition: all 0.3s; z-index: 1; border: none; } .register-seller-content .modal-close:hover { background: rgba(23, 203, 179, 0.2); transform: rotate(90deg); } .register-seller-content h2 { color: #17cbb3; font-size: 1.5em; margin-top: 0; margin-bottom: 15px; font-weight: 700; } .register-seller-content p { margin-bottom: 20px; line-height: 1.6; color: #2c3e50; font-size: 1.1em; } .register-seller-content a { display: inline-block; margin-top: 10px; padding: 12px 25px; background: var(--main-gradient); color: #fff; border-radius: 30px; font-weight: 600; text-decoration: none; font-size: 1.05em; transition: transform 0.3s, box-shadow 0.3s; box-shadow: 0 6px 15px rgba(23, 203, 179, 0.2); } .register-seller-content a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 203, 179, 0.3); } .register-seller-content a i { margin-right: 8px; } /* Mobile responsive navbar */ @media (max-width: 768px) { .navbar-menu { display: none; position: absolute; top: 65px; left: 0; width: 100%; background: var(--main-color); flex-direction: column; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 10px 0; z-index: 1000; gap: 18px; opacity: 0; transform: translateY(-24px); transition: opacity 0.3s cubic-bezier(.42,0,.58,1), transform 0.3s cubic-bezier(.42,0,.58,1); pointer-events: none; } .navbar-menu.active { display: flex; opacity: 1; transform: translateY(0); pointer-events: auto; } .navbar-item { margin: 0; } .navbar-toggle { display: flex; transition: transform 0.3s; } .navbar-toggle.active { transform: rotate(90deg); } } /* Navbar toggle animations */ .navbar-toggle.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); } .navbar-toggle.active .bar:nth-child(2) { opacity: 0; } .navbar-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); } /* Add body class for navbar open state */ @media (max-width: 768px) { body.navbar-open { overflow: hidden; } }