ChooseApp.cshtml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. @{
  2. ViewData["Title"] = "Choose App";
  3. Layout = "~/Views/Shared/_NothingLayout.cshtml";
  4. }
  5. @using LotteryWebApp.Languages;
  6. <style>
  7. /* Override the layout backgrounds */
  8. body {
  9. background: #2D0506 !important;
  10. background-image: none !important;
  11. margin: 0 !important;
  12. padding: 0 !important;
  13. }
  14. .all-screen {
  15. max-width: 393px !important;
  16. background: #2D0506 !important;
  17. position: relative !important;
  18. overflow: hidden !important;
  19. height: 100dvh !important;
  20. }
  21. .float-button-navigator-back-to-app {
  22. display: none !important;
  23. }
  24. /* ========== CHOOSE APP CUSTOM STYLES ========== */
  25. .ca-wrap {
  26. position: relative;
  27. width: 100%;
  28. height: 100%;
  29. }
  30. /* Hero background - covers the ENTIRE container */
  31. .ca-hero {
  32. position: absolute;
  33. top: 0;
  34. left: -20%;
  35. width: 140%;
  36. height: 100%;
  37. z-index: 0;
  38. }
  39. .ca-hero img {
  40. width: 100%;
  41. height: 100%;
  42. object-fit: cover;
  43. object-position: center top;
  44. }
  45. /* Gradient fades the image into the dark background color */
  46. .ca-hero-overlay {
  47. position: absolute;
  48. top: 0;
  49. left: 0;
  50. right: 0;
  51. bottom: 0;
  52. background: linear-gradient(180deg,
  53. rgba(45, 5, 6, 0) 0%,
  54. rgba(45, 5, 6, 0) 45%,
  55. rgba(45, 5, 6, 0.6) 58%,
  56. rgba(45, 5, 6, 0.9) 68%,
  57. rgba(45, 5, 6, 1) 78%);
  58. }
  59. /* Logo */
  60. .ca-logo-wrap {
  61. position: absolute;
  62. top: 10px;
  63. left: 0;
  64. right: 0;
  65. z-index: 5;
  66. text-align: center;
  67. }
  68. .ca-logo-wrap img {
  69. width: 275px;
  70. height: auto;
  71. filter: drop-shadow(0 6px 16px rgba(0,0,0,0.6));
  72. display: inline-block;
  73. }
  74. .ca-cards-section {
  75. position: absolute;
  76. top: 58dvh;
  77. bottom: 4dvh;
  78. left: 20px;
  79. right: 20px;
  80. z-index: 10;
  81. display: flex;
  82. flex-direction: column;
  83. justify-content: space-evenly;
  84. align-items: center;
  85. }
  86. /* Card base */
  87. .ca-game-card {
  88. position: relative;
  89. width: 100%;
  90. height: 88px;
  91. border-radius: 12px;
  92. overflow: hidden;
  93. display: flex;
  94. align-items: center;
  95. justify-content: space-between;
  96. padding: 0 12px;
  97. text-decoration: none !important;
  98. border: 2px solid rgba(255, 255, 255, 0.15);
  99. box-sizing: border-box;
  100. cursor: pointer;
  101. }
  102. .ca-game-card:hover { opacity: 0.95; }
  103. .ca-game-card:active { transform: scale(0.98); }
  104. .ca-card-blue { background: #211ABF; }
  105. .ca-card-orange { background: linear-gradient(90deg, #FF921E 0%, #FF1E1E 100%); }
  106. /* Translucent circles (decorative) */
  107. .ca-deco-circle {
  108. position: absolute;
  109. border-radius: 50%;
  110. background: rgba(255, 255, 255, 0.07);
  111. pointer-events: none;
  112. }
  113. /* Left: game name + balls */
  114. .ca-left {
  115. display: flex;
  116. align-items: center;
  117. gap: 6px;
  118. z-index: 2;
  119. flex-shrink: 0;
  120. }
  121. .ca-game-name {
  122. font-family: 'Montserrat', sans-serif !important;
  123. font-weight: 800 !important;
  124. font-size: 22px;
  125. color: #fff;
  126. line-height: 1.1;
  127. text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  128. }
  129. .ca-game-lotto {
  130. font-family: 'Montserrat', sans-serif !important;
  131. font-weight: 800 !important;
  132. font-style: italic;
  133. font-size: 30px;
  134. line-height: 0.95;
  135. color: #fff;
  136. text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  137. }
  138. /* Lottery balls */
  139. .ca-ball {
  140. width: 56px;
  141. height: 56px;
  142. border-radius: 50%;
  143. display: flex;
  144. align-items: center;
  145. justify-content: center;
  146. font-family: 'Bricolage Grotesque', sans-serif !important;
  147. font-weight: 800 !important;
  148. color: #000;
  149. position: relative;
  150. box-shadow: 3px 3px 9px rgba(0,0,0,0.45);
  151. }
  152. .ca-ball-sm {
  153. width: 44px;
  154. height: 44px;
  155. }
  156. .ca-ball-md {
  157. width: 52px;
  158. height: 52px;
  159. }
  160. .ca-ball::after {
  161. content: "";
  162. position: absolute;
  163. top: 12%;
  164. left: 20%;
  165. width: 50%;
  166. height: 30%;
  167. background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.05) 100%);
  168. border-radius: 50%;
  169. }
  170. /* Right: asset image + button */
  171. .ca-right {
  172. display: flex;
  173. flex-direction: column;
  174. align-items: center;
  175. justify-content: center;
  176. height: 100%;
  177. z-index: 2;
  178. flex-shrink: 0;
  179. position: relative;
  180. padding-top: 10px;
  181. }
  182. .ca-asset-img {
  183. object-fit: contain;
  184. filter: drop-shadow(0 0 4px rgba(255,255,255,0.7));
  185. margin-bottom: -8px;
  186. position: relative;
  187. z-index: 3;
  188. }
  189. /* Play now button */
  190. .ca-play-btn {
  191. background: linear-gradient(44deg, #EFAD19 0%, #FFF385 100%);
  192. border: 2px solid rgba(255, 255, 255, 0.4);
  193. border-radius: 12px;
  194. box-shadow: 0px 3px 8px rgba(0,0,0,0.25);
  195. padding: 5px 30px;
  196. font-family: 'Bricolage Grotesque', sans-serif !important;
  197. font-weight: 800 !important;
  198. font-size: 12px;
  199. color: #000 !important;
  200. text-decoration: none !important;
  201. text-transform: uppercase;
  202. white-space: nowrap;
  203. line-height: 1.3;
  204. }
  205. /* Small decorative dots */
  206. .ca-dot {
  207. position: absolute;
  208. border-radius: 50%;
  209. pointer-events: none;
  210. }
  211. </style>
  212. <link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@800&family=Montserrat:ital,wght@0,800;1,800&display=swap" rel="stylesheet">
  213. <div class="ca-wrap">
  214. <!-- Full background image -->
  215. <div class="ca-hero">
  216. <img src="~/LotteryV2/img/ChooseApp/main_bg.png" alt="" />
  217. <div class="ca-hero-overlay"></div>
  218. </div>
  219. <!-- Logo -->
  220. <div class="ca-logo-wrap">
  221. <img src="~/LotteryV2/img/ChooseApp/logo.png" alt="NATCOM LOTO" />
  222. </div>
  223. <!-- Game Cards -->
  224. <div class="ca-cards-section">
  225. <!-- BoLèt Lotto -->
  226. <a href="/Home" class="ca-game-card ca-card-blue">
  227. <div class="ca-deco-circle" style="width:150px;height:150px;right:-35px;top:-35px;"></div>
  228. <div class="ca-deco-circle" style="width:150px;height:150px;right:-15px;top:-15px;"></div>
  229. <div class="ca-deco-circle" style="width:150px;height:150px;left:-65px;bottom:-85px;"></div>
  230. <div class="ca-dot" style="width:10px;height:10px;background:#CAF7FF;left:55%;top:28%;"></div>
  231. <div class="ca-dot" style="width:14px;height:14px;background:rgba(255,255,255,0.7);left:50%;top:0;"></div>
  232. <div class="ca-dot" style="width:6px;height:6px;background:rgba(255,255,255,0.6);left:46%;top:2px;"></div>
  233. <div class="ca-left">
  234. <div>
  235. <div class="ca-game-name">BòLèt</div>
  236. <div class="ca-game-lotto">Lotto</div>
  237. </div>
  238. <div class="ca-ball" style="background:#6868FF;font-size:26px;margin-left:4px;">20</div>
  239. </div>
  240. <div class="ca-right">
  241. <img src="~/LotteryV2/img/ChooseApp/money_stack.png" class="ca-asset-img" style="width:65px;height:40px;" alt="" />
  242. <span class="ca-play-btn">@Lang.play</span>
  243. </div>
  244. </a>
  245. <!-- MEGA Lotto -->
  246. <a href="/LotteryV2/Home" class="ca-game-card ca-card-orange">
  247. <div class="ca-deco-circle" style="width:150px;height:150px;right:-35px;top:-35px;"></div>
  248. <div class="ca-deco-circle" style="width:150px;height:150px;right:-15px;top:-15px;"></div>
  249. <div class="ca-deco-circle" style="width:150px;height:150px;left:-65px;bottom:-85px;"></div>
  250. <div class="ca-dot" style="width:10px;height:10px;background:#FFD43D;left:48%;top:16px;"></div>
  251. <div class="ca-dot" style="width:14px;height:14px;background:rgba(255,255,255,0.7);left:54%;bottom:8px;"></div>
  252. <div class="ca-dot" style="width:6px;height:6px;background:rgba(255,255,255,0.6);left:46%;top:12px;"></div>
  253. <div class="ca-left">
  254. <div>
  255. <div class="ca-game-name">MEGA</div>
  256. <div class="ca-game-lotto">Lotto</div>
  257. </div>
  258. <!-- Overlapping balls: 88 behind, 66 in front -->
  259. <div style="position:relative;width:70px;height:68px;margin-left:2px;">
  260. <div class="ca-ball ca-ball-sm" style="background:#FFD43D;font-size:18px;position:absolute;left:0;top:0;z-index:1;">88</div>
  261. <div class="ca-ball ca-ball-md" style="background:#52A34D;font-size:22px;position:absolute;left:18px;top:14px;z-index:2;">66</div>
  262. </div>
  263. </div>
  264. <div class="ca-right">
  265. <img src="~/LotteryV2/img/ChooseApp/gold_bag.png" class="ca-asset-img" style="width:50px;height:50px;" alt="" />
  266. <span class="ca-play-btn">@Lang.play</span>
  267. </div>
  268. </a>
  269. </div>
  270. </div>