index.html 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Mega Loto - Home</title>
  8. <link rel="preconnect" href="https://fonts.googleapis.com">
  9. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  10. <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&display=swap" rel="stylesheet">
  11. <link rel="stylesheet" href="css/all.min.css"/>
  12. <script src="lib/jquery/jquery.min.js"></script>
  13. <script src="js/all.min.js"></script>
  14. </head>
  15. <body>
  16. <div class="main-content h-dvh max-w-[500px] mx-auto bg-[#f5f7fb] relative overflow-hidden">
  17. <!-- Scrollable content area -->
  18. <div class="absolute inset-x-0 top-0 bottom-[88px] overflow-y-auto flex flex-col">
  19. <!-- Top section with header + cards -->
  20. <div class="relative">
  21. <!-- Header gradient background -->
  22. <div class="header-bg relative h-[160px] rounded-b-[40px] overflow-hidden">
  23. <!-- Top bar -->
  24. <div class="flex items-center justify-between px-3 pt-3 relative z-10">
  25. <button class="js-back w-6 h-6 flex items-center justify-center">
  26. <img src="assets/icons/arrow-left.svg" alt="Back" class="w-6 h-6"/>
  27. </button>
  28. <button class="flex items-center gap-2 bg-white/15 rounded-full px-3 py-1 text-white text-sm">
  29. <span>🏴󠁧󠁢󠁥󠁮󠁧󠁿 English</span>
  30. <img src="assets/icons/chevron-down.svg" alt="" class="w-2 h-2"/>
  31. </button>
  32. </div>
  33. <!-- User profile -->
  34. <div class="flex items-center gap-5 px-5 mt-2">
  35. <div class="w-20 h-20 rounded-full overflow-hidden bg-white/20 border-2 border-white shrink-0">
  36. <img src="assets/images/avatar.png" alt="Avatar" class="w-full h-full object-cover"/>
  37. </div>
  38. <div class="flex-1 min-w-0">
  39. <p class="text-white text-base font-semibold leading-tight">Amit Sharma</p>
  40. <div class="flex items-center gap-1 mt-1">
  41. <span class="text-3xl font-condensed text-gold-gradient leading-none">1.000.000</span>
  42. <img src="assets/icons/coin.png" alt="" class="w-5 h-5"/>
  43. <span class="text-white text-sm">Coins</span>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <!-- Floating info card -->
  49. <div class="absolute left-5 right-5 -bottom-[52px] bg-white rounded-2xl shadow-md flex items-center h-20 px-4">
  50. <div class="flex items-center gap-2 flex-1">
  51. <img src="assets/icons/calendar.png" alt="" class="w-6 h-6"/>
  52. <div>
  53. <p class="text-xs text-[#797979]">Next draw</p>
  54. <p class="text-xs font-bold text-black">Friday, Mar 20, 2026</p>
  55. </div>
  56. </div>
  57. <div class="w-px h-12 bg-gray-200"></div>
  58. <div class="flex items-center gap-2 flex-1 pl-4">
  59. <img src="assets/icons/money-bag.png" alt="" class="w-6 h-[34px] object-contain"/>
  60. <div>
  61. <p class="text-xs text-[#797979]">Next est Jackpot</p>
  62. <p class="leading-none">
  63. <span class="text-base font-extrabold text-[#002bff]">30,000,000</span><span class="text-[10.32px] font-extrabold text-black align-top">HTG</span>
  64. </p>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <!-- Result section -->
  70. <div class="px-5 mt-20">
  71. <div class="result-box rounded-[32px] py-3 flex flex-col gap-2">
  72. <div class="flex items-center justify-between px-4">
  73. <div class="flex items-center gap-2 text-xs">
  74. <span class="text-[#797979]">Result</span>
  75. <span class="font-bold text-black">Monday, Mar 20, 2026</span>
  76. </div>
  77. <a href="kq.html" class="flex items-center gap-1 text-[10px] font-bold text-black border border-[#c2c2c2] rounded-lg px-2 py-1">
  78. View all results
  79. <img src="assets/icons/chevron-right.svg" alt="" class="w-[5px] h-2"/>
  80. </a>
  81. </div>
  82. <!-- Result balls -->
  83. <div class="flex items-center justify-between gap-1 px-4">
  84. <div class="ball ball-blue">7</div>
  85. <div class="ball ball-blue">16</div>
  86. <div class="ball ball-blue">32</div>
  87. <div class="ball ball-blue">35</div>
  88. <div class="ball ball-blue">40</div>
  89. <div class="relative">
  90. <img src="assets/icons/crown.png" alt="" class="absolute -top-4 -right-1 w-7 h-auto pointer-events-none rotate-[15deg] z-0"/>
  91. <div class="ball ball-mb relative z-10">
  92. <span>12</span>
  93. <span class="absolute -bottom-1 -right-2 bg-[#ee0033] text-white text-[8px] font-bold px-1.5 py-0.5 rounded z-20">MB</span>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. <!-- Mega Jackpot banner -->
  100. <div class="px-2 mt-6">
  101. <div class="mega-banner relative rounded-[20px] overflow-hidden px-4 py-3 flex flex-col">
  102. <span class="mega-glow" style="left:-79px; top:-101px;"></span>
  103. <span class="mega-glow" style="right:-78px; top:9px;"></span>
  104. <span class="mega-glow" style="right:-107px; top:20px;"></span>
  105. <p class="mega-title relative inline-block text-white text-[22px] font-futura leading-none">
  106. <img src="assets/icons/crown.png" alt="" class="absolute -top-[5px] left-[26px] w-[12px] h-auto rotate-[10deg] pointer-events-none"/>
  107. Mega Jackpot
  108. </p>
  109. <p class="text-white text-xs mt-2">Estimate Jackpot Prize</p>
  110. <p class="leading-none mt-1 flex items-start" style="margin-bottom:18px;">
  111. <span class="mega-amount text-[40px] font-condensed text-gold-gradient tracking-tight leading-none">27.000.000</span>
  112. <span class="text-gold-gradient text-sm font-bold uppercase ml-1">htg</span>
  113. </p>
  114. <p class="text-white text-[10px] mt-1">Be the next millionaire</p>
  115. <!-- Decorative elements -->
  116. <img src="assets/images/crown-balls.png" alt="" class="absolute right-2 top-1/2 -translate-y-1/2 w-44 h-auto pointer-events-none"/>
  117. </div>
  118. </div>
  119. <!-- Play now button + decorative balls -->
  120. <div class="relative shrink-0 -mt-5 z-10">
  121. <img src="assets/images/play-decor.png" alt="" class="block w-full h-auto pointer-events-none"/>
  122. <a href="play.html" class="play-now-outer rounded-full" style="position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:155px; height:155px; padding:11px;">
  123. <div class="play-now-ring rounded-full" style="width:100%;height:100%;padding:4px;">
  124. <div class="play-now-btn rounded-full flex flex-col items-center justify-center text-white text-[32px] font-bold border-[1.8px] border-white" style="width:100%;height:100%;line-height:24px;">
  125. <span>Play</span>
  126. <span>now</span>
  127. </div>
  128. </div>
  129. </a>
  130. </div>
  131. </div><!-- /scrollable -->
  132. <!-- Bottom navigation (fixed at bottom) -->
  133. <nav class="navigation absolute inset-x-3 bottom-3 z-20 px-3 py-2 rounded-2xl">
  134. <div class="flex items-center justify-between">
  135. <a href="index.html" class="nav-item active flex flex-col items-center flex-1">
  136. <img src="assets/icons/nav-home.png" alt="" class="w-7 h-7"/>
  137. <span class="text-xs mt-1 text-[#0062ff] font-semibold">Home</span>
  138. <span class="w-5 h-1 bg-[#0062ff] rounded-full mt-1"></span>
  139. </a>
  140. <a href="#" class="nav-item flex flex-col items-center flex-1">
  141. <img src="assets/icons/nav-rule.png" alt="" class="w-7 h-7"/>
  142. <span class="text-xs mt-1 text-gray-700">Rule</span>
  143. </a>
  144. <a href="#" class="nav-item flex flex-col items-center flex-1">
  145. <img src="assets/icons/nav-history.png" alt="" class="w-7 h-7"/>
  146. <span class="text-xs mt-1 text-gray-700">History</span>
  147. </a>
  148. <a href="#" class="nav-item flex flex-col items-center flex-1">
  149. <img src="assets/icons/nav-faq.png" alt="" class="w-7 h-7"/>
  150. <span class="text-xs mt-1 text-gray-700">FAQ</span>
  151. </a>
  152. <a href="#" class="nav-item flex flex-col items-center flex-1">
  153. <img src="assets/icons/nav-more.png" alt="" class="w-7 h-7"/>
  154. <span class="text-xs mt-1 text-gray-700">More</span>
  155. </a>
  156. </div>
  157. </nav>
  158. </div>
  159. </body>
  160. </html>