site.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /* Custom styles for LotteryV2 */
  2. body.millions-bg {
  3. background: white !important;
  4. /* Changed from dark gradient to brand red */
  5. color: #fff;
  6. min-height: 100vh;
  7. margin: 0;
  8. padding: 0;
  9. /* Ensure page content never sits under fixed bottom navbar */
  10. padding-bottom: calc(96px + env(safe-area-inset-bottom));
  11. }
  12. .millions-container {
  13. padding-top: 50px;
  14. text-align: center;
  15. }
  16. .millions-card {
  17. background: rgba(255, 255, 255, 0.1);
  18. backdrop-filter: blur(10px);
  19. border: 1px solid rgba(255, 255, 255, 0.2);
  20. border-radius: 16px;
  21. padding: 30px;
  22. margin: 20px auto;
  23. max-width: 400px;
  24. box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  25. }
  26. .millions-btn-back {
  27. margin-top: 20px;
  28. background: #FF2E93;
  29. border: none;
  30. border-radius: 20px;
  31. padding: 10px 20px;
  32. font-weight: bold;
  33. color: white;
  34. }
  35. /* Figma Layout Styles for Home */
  36. body {
  37. background-color: white !important;
  38. /* Full red support from figma nodes fills */
  39. font-family: 'Montserrat', sans-serif;
  40. }
  41. .main-container {
  42. width: 100% !important;
  43. max-width: 100% !important;
  44. /* Mặc định tràn viền cho di động */
  45. margin: 0 auto;
  46. background-color: #0062FF;
  47. min-height: 100vh;
  48. /* fallback; most pages also use tailwind pb-24/pb-40 */
  49. padding-bottom: max(30px, calc(96px + env(safe-area-inset-bottom)));
  50. overflow-x: hidden;
  51. }
  52. @media (min-width: 600px) {
  53. .main-container {
  54. max-width: 414px !important;
  55. }
  56. }
  57. .glass-header {
  58. background: transparent;
  59. }
  60. .card-red {
  61. background: linear-gradient(135deg, #3385FF 0%, #004ecb 100%);
  62. border: 1px solid rgba(255, 255, 255, 0.2);
  63. }
  64. .card-blue {
  65. background: linear-gradient(135deg, #1A92F4 0%, #0C5BAA 100%);
  66. border: 1px solid rgba(255, 255, 255, 0.2);
  67. }
  68. .card-orange {
  69. background: linear-gradient(135deg, #F86E22 0%, #B8470B 100%);
  70. border: 1px solid rgba(255, 255, 255, 0.2);
  71. }
  72. /* Hide Scrollbar for fully immersive mobile wrapper view */
  73. html,
  74. body,
  75. .main-container {
  76. -ms-overflow-style: none;
  77. /* IE and Edge */
  78. scrollbar-width: none;
  79. /* Firefox */
  80. }
  81. html::-webkit-scrollbar,
  82. body::-webkit-scrollbar,
  83. .main-container::-webkit-scrollbar {
  84. display: none;
  85. /* Chrome, Safari & Opera */
  86. }
  87. .card-shadow {
  88. box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  89. }
  90. @keyframes btn-pulse {
  91. 0%,
  92. 100% {
  93. transform: scale(1);
  94. }
  95. 50% {
  96. transform: scale(1.05);
  97. }
  98. }
  99. .btn-pulse {
  100. animation: btn-pulse 1s ease-in-out infinite;
  101. }
  102. @keyframes tick-scroll {
  103. 0%,
  104. 40% {
  105. transform: translateY(0);
  106. }
  107. 50%,
  108. 90% {
  109. transform: translateY(-24px);
  110. }
  111. 100% {
  112. transform: translateY(-48px);
  113. }
  114. }
  115. .animate-tick-scroll {
  116. animation: tick-scroll 4s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  117. }
  118. @keyframes slide-up {
  119. 0% {
  120. transform: translateY(100%);
  121. opacity: 0;
  122. }
  123. 15% {
  124. transform: translateY(0);
  125. opacity: 1;
  126. }
  127. 85% {
  128. transform: translateY(0);
  129. opacity: 1;
  130. }
  131. 100% {
  132. transform: translateY(-100%);
  133. opacity: 0;
  134. }
  135. }
  136. .animate-slide-up {
  137. animation: slide-up 2s ease-in-out infinite;
  138. }
  139. /* Global Loading Overlay */
  140. #loading-overlay {
  141. position: fixed;
  142. top: 0;
  143. left: 0;
  144. width: 100%;
  145. height: 100%;
  146. background: rgba(0, 0, 0, 0.3);
  147. backdrop-filter: blur(2px);
  148. display: none;
  149. align-items: center;
  150. justify-content: center;
  151. z-index: 9999;
  152. transition: opacity 0.3s ease;
  153. }
  154. .loading-spinner {
  155. width: 48px;
  156. height: 48px;
  157. border: 5px solid rgba(255, 255, 255, 0.2);
  158. border-radius: 50%;
  159. border-top-color: #fff;
  160. animation: spin 0.8s linear infinite;
  161. box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  162. }
  163. @keyframes spin {
  164. to {
  165. transform: rotate(360deg);
  166. }
  167. }
  168. /* Animation for Play Now button pulse */
  169. .animate-pulse-play {
  170. animation: pulsePlayInward 1.2s ease-in-out infinite;
  171. will-change: transform, filter, opacity;
  172. }
  173. @keyframes pulsePlayInward {
  174. 0% {
  175. scale: 1;
  176. opacity: 1;
  177. box-shadow: 0 1.8px 8.1px rgba(0, 0, 0, 0.55), inset 0 0 0 0 rgba(255, 255, 255, 0.6);
  178. filter: brightness(1) saturate(1);
  179. }
  180. 50% {
  181. scale: 1.18;
  182. opacity: 0.88;
  183. box-shadow:
  184. 0 3px 28px rgba(255, 255, 255, 0.65),
  185. 0 0 34px rgba(0, 98, 255, 0.45),
  186. inset 0 0 30px 5px rgba(255, 255, 255, 0.6);
  187. filter: brightness(1.28) saturate(1.15);
  188. }
  189. 100% {
  190. scale: 1;
  191. opacity: 1;
  192. box-shadow: 0 1.8px 8.1px rgba(0, 0, 0, 0.55), inset 0 0 0 0 rgba(255, 255, 255, 0.6);
  193. filter: brightness(1) saturate(1);
  194. }
  195. }
  196. /* Hide Spinners for input number */
  197. input::-webkit-outer-spin-button,
  198. input::-webkit-inner-spin-button {
  199. -webkit-appearance: none;
  200. margin: 0;
  201. }
  202. input[type=number] {
  203. appearance: textfield;
  204. -moz-appearance: textfield;
  205. }
  206. /* Animation for Jackpot rotation */
  207. .animate-rotate-3s {
  208. animation: rotateCustom 3s linear infinite;
  209. display: inline-block;
  210. }
  211. @keyframes rotateCustom {
  212. 0% {
  213. transform: rotate(-5deg) scale(1);
  214. }
  215. 50% {
  216. transform: rotate(5deg) scale(1.1);
  217. }
  218. 100% {
  219. transform: rotate(-5deg) scale(1);
  220. }
  221. }