faq.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /* FAQ Stylesheet Settings */
  2. :root {
  3. --primary-blue: #0062FF;
  4. --dark-blue: #004ecc;
  5. --bg-light: #ffffff;
  6. --text-dark: #1A1A1A;
  7. --text-muted: #666666;
  8. }
  9. body {
  10. -webkit-tap-highlight-color: transparent;
  11. -webkit-font-smoothing: antialiased;
  12. overscroll-behavior-y: none;
  13. font-family: 'Bricolage Grotesque', sans-serif;
  14. }
  15. .millions-faq-page {
  16. background-color: var(--primary-blue);
  17. min-height: 100vh;
  18. display: flex;
  19. flex-direction: column;
  20. position: relative;
  21. max-width: 430px;
  22. margin: 0 auto;
  23. }
  24. /* Header with Chevron Pattern */
  25. .millions-faq-page .header {
  26. background-color: var(--primary-blue);
  27. background-image: url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15 L15 0 L30 15 L45 0 L60 15 L60 30 L45 15 L30 30 L15 15 L0 30 Z' fill='%23004ecc' fill-opacity='0.4'/%3E%3C/svg%3E");
  28. height: 64px;
  29. display: flex;
  30. align-items: center;
  31. padding: 0 16px;
  32. color: #fff;
  33. position: sticky;
  34. top: 0;
  35. z-index: 100;
  36. }
  37. .millions-faq-page .back-btn {
  38. width: 32px;
  39. height: 32px;
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. color: #fff;
  44. text-decoration: none;
  45. font-size: 18px;
  46. cursor: pointer;
  47. background: transparent;
  48. border: none;
  49. }
  50. .millions-faq-page .header-title {
  51. flex: 1;
  52. text-align: center;
  53. font-size: 20px;
  54. font-weight: 800;
  55. margin-right: 32px; /* balance back button */
  56. }
  57. /* Content Card */
  58. .millions-faq-page .content-card {
  59. background-color: #ffffff;
  60. flex: 1;
  61. border-radius: 40px 40px 0 0;
  62. overflow-y: auto;
  63. padding-bottom: 120px; /* space for navbar */
  64. box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  65. position: relative;
  66. }
  67. /* Custom Scrollbar */
  68. .custom-scrollbar::-webkit-scrollbar {
  69. width: 4px;
  70. }
  71. .custom-scrollbar::-webkit-scrollbar-track {
  72. background: transparent;
  73. }
  74. .custom-scrollbar::-webkit-scrollbar-thumb {
  75. background-color: #D9D9D9;
  76. border-radius: 4px;
  77. }
  78. /* Fluid Animation for the Mascot image */
  79. @keyframes faqFloat {
  80. 0% {
  81. transform: translateY(0px) rotate(0deg);
  82. }
  83. 50% {
  84. transform: translateY(-8px) rotate(-1.5deg);
  85. }
  86. 100% {
  87. transform: translateY(0px) rotate(0deg);
  88. }
  89. }
  90. .faq-float-anim {
  91. animation: faqFloat 6s ease-in-out infinite;
  92. transform-origin: bottom center;
  93. }
  94. /* Glowing text shadow for Impact question mark */
  95. .faq-question-mark {
  96. background: linear-gradient(155deg, rgba(229, 40, 62, 1) 38%, rgba(127, 22, 34, 1) 100%);
  97. -webkit-background-clip: text;
  98. background-clip: text;
  99. text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  100. -webkit-text-stroke: 3px #fff;
  101. }