invite.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. font-family:
  8. "PingFang SC",
  9. -apple-system,
  10. BlinkMacSystemFont,
  11. "Segoe UI",
  12. Roboto,
  13. "Helvetica Neue",
  14. Arial,
  15. sans-serif;
  16. background-color: #121212;
  17. color: #ffffff;
  18. min-height: 100vh;
  19. overflow-x: hidden;
  20. }
  21. .container {
  22. width: 100%;
  23. min-height: 100vh;
  24. padding-bottom: env(safe-area-inset-bottom);
  25. }
  26. .header {
  27. padding: 16px;
  28. }
  29. .header img {
  30. height: 30px;
  31. }
  32. .header .placeholder {
  33. width: 42px;
  34. }
  35. .header-title {
  36. font-size: 17px;
  37. font-weight: 600;
  38. color: #ffffff;
  39. }
  40. .banner-section {
  41. position: relative;
  42. width: 100%;
  43. }
  44. .invite-download{
  45. position: relative;
  46. }
  47. .invite-download .banner-bg img {
  48. width: 98px;
  49. margin: 60px auto 24px;
  50. }
  51. .invite-download .download-card img {
  52. width: 100%;
  53. }
  54. .banner-bg {
  55. width: 100%;
  56. height: 100%;
  57. }
  58. .banner-bg img {
  59. display: block;
  60. margin-left: auto;
  61. width: 290px;
  62. }
  63. .banner-content {
  64. position: relative;
  65. z-index: 1;
  66. padding: 0 16px;
  67. }
  68. .logo-wrapper {
  69. width: 98px;
  70. height: 92px;
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. margin-bottom: 24px;
  75. }
  76. .logo-wrapper img {
  77. width: 290px;
  78. }
  79. .banner-title {
  80. font-size: 20px;
  81. font-weight: 600;
  82. text-align: center;
  83. line-height: 32px;
  84. color: #ffffff;
  85. margin-bottom: 32px;
  86. }
  87. .invite-highlight {
  88. display: flex;
  89. align-items: center;
  90. justify-content: space-between;
  91. gap: 8px;
  92. margin: 16px 0 24px;
  93. }
  94. .invite-highlight-text {
  95. font-size: 14px;
  96. font-weight: 500;
  97. color: #fd6f23;
  98. text-align: center;
  99. }
  100. .invite-highlight-line {
  101. width: 38px;
  102. display: flex;
  103. }
  104. .invite-highlight-line img {
  105. width: 100%;
  106. }
  107. .btn-box{
  108. display: flex;
  109. gap: 12px;
  110. justify-content: space-between;
  111. }
  112. .form-section {
  113. padding: 0 16px;
  114. margin-bottom: 18px;
  115. }
  116. .form-group {
  117. margin-bottom: 16px;
  118. }
  119. .form-group.invite-code-group {
  120. margin-bottom: 24px;
  121. }
  122. .input-wrapper {
  123. position: relative;
  124. background-color: #191919;
  125. border-radius: 8px;
  126. height: 52px;
  127. display: flex;
  128. align-items: center;
  129. padding: 0 16px;
  130. transition: border-color 0.3s ease;
  131. }
  132. .input-wrapper:focus-within {
  133. border: 1px solid #fd6f23;
  134. }
  135. .input-wrapper input {
  136. flex: 1;
  137. height: 100%;
  138. background: transparent;
  139. border: none;
  140. outline: none;
  141. color: #ffffff;
  142. font-size: 14px;
  143. font-weight: 400;
  144. }
  145. .input-wrapper input::placeholder {
  146. color: #888888;
  147. }
  148. .input-label {
  149. position: absolute;
  150. left: 16px;
  151. top: 50%;
  152. transform: translateY(-50%);
  153. color: #888888;
  154. font-size: 14px;
  155. pointer-events: none;
  156. transition: all 0.3s ease;
  157. }
  158. .input-wrapper input:focus + .input-label,
  159. .input-wrapper input:not(:placeholder-shown) + .input-label {
  160. top: 8px;
  161. font-size: 10px;
  162. color: #fd6f23;
  163. }
  164. .invite-code-box {
  165. background-color: rgba(25, 25, 25, 0.5);
  166. border-radius: 8px;
  167. padding: 8px 16px;
  168. display: flex;
  169. align-items: center;
  170. justify-content: space-between;
  171. }
  172. .invite-code-label {
  173. font-size: 14px;
  174. color: #888888;
  175. margin-bottom: 8px;
  176. }
  177. .invite-code-value {
  178. font-size: 14px;
  179. color: rgba(255, 255, 255, 0.5);
  180. font-weight: 400;
  181. }
  182. .invite-code-copy {
  183. width: 24px;
  184. height: 24px;
  185. display: flex;
  186. align-items: center;
  187. justify-content: center;
  188. cursor: pointer;
  189. }
  190. .invite-code-copy svg {
  191. width: 16px;
  192. height: 16px;
  193. fill: none;
  194. stroke: #888888;
  195. stroke-width: 1.5;
  196. }
  197. .invite-code-copy:hover svg {
  198. stroke: #fd6f23;
  199. }
  200. .btn-primary {
  201. width: 100%;
  202. height: 44px;
  203. background-color: #ffffff;
  204. border: none;
  205. border-radius: 8px;
  206. color: #000000;
  207. font-size: 14px;
  208. font-weight: 500;
  209. cursor: pointer;
  210. transition: all 0.3s ease;
  211. display: flex;
  212. align-items: center;
  213. justify-content: center;
  214. gap: 8px;
  215. }
  216. .btn-primary.primary {
  217. background-color: #fd6f23;
  218. color: #ffffff;
  219. }
  220. .btn-primary:hover {
  221. background-color: #f0f0f0;
  222. }
  223. .btn-primary:active {
  224. transform: scale(0.98);
  225. }
  226. .btn-primary:disabled {
  227. background-color: #333333;
  228. color: #666666;
  229. cursor: not-allowed;
  230. }
  231. .agreement-text {
  232. font-size: 12px;
  233. color: #888888;
  234. margin-top: 16px;
  235. line-height: 18px;
  236. }
  237. .agreement-text a {
  238. color: #fd6f23;
  239. text-decoration: none;
  240. }
  241. .agreement-text a:hover {
  242. text-decoration: underline;
  243. }
  244. .features-section {
  245. padding: 32px 16px;
  246. background-color: #121212;
  247. }
  248. .features-title {
  249. text-align: center;
  250. font-size: 16px;
  251. font-weight: 600;
  252. color: #ffffff;
  253. margin-bottom: 20px;
  254. }
  255. .features-grid {
  256. display: grid;
  257. grid-template-columns: repeat(2, 1fr);
  258. gap: 12px;
  259. }
  260. .feature-card {
  261. background-color: #191919;
  262. border: 1px solid #333333;
  263. border-radius: 8px;
  264. padding: 16px;
  265. display: flex;
  266. flex-direction: column;
  267. align-items: center;
  268. gap: 8px;
  269. transition: all 0.3s ease;
  270. }
  271. .feature-card:hover {
  272. border-color: #fd6f23;
  273. background-color: rgba(253, 111, 35, 0.05);
  274. }
  275. .feature-icon {
  276. width: 24px;
  277. height: 24px;
  278. display: flex;
  279. align-items: center;
  280. justify-content: center;
  281. }
  282. .feature-icon svg {
  283. width: 100%;
  284. height: 100%;
  285. fill: none;
  286. stroke: #ffffff;
  287. stroke-width: 1.5;
  288. }
  289. .feature-name {
  290. font-size: 12px;
  291. font-weight: 500;
  292. color: #ffffff;
  293. }
  294. .stats-section {
  295. padding: 32px 16px;
  296. background-color: #121212;
  297. }
  298. .stats-section > img {
  299. width: 100%;
  300. }
  301. .stats-grid {
  302. display: grid;
  303. grid-template-columns: repeat(2, 1fr);
  304. gap: 16px;
  305. }
  306. .stat-item {
  307. display: flex;
  308. flex-direction: column;
  309. align-items: center;
  310. gap: 8px;
  311. }
  312. .stat-value {
  313. font-size: 28px;
  314. font-weight: 600;
  315. color: #fd6f23;
  316. }
  317. .stat-label {
  318. font-size: 14px;
  319. color: #888888;
  320. text-align: center;
  321. }
  322. .download-section {
  323. padding: 32px 16px;
  324. background-color: #121212;
  325. }
  326. .download-card {
  327. border-radius: 16px;
  328. padding: 24px 0;
  329. display: flex;
  330. flex-direction: column;
  331. align-items: center;
  332. gap: 24px;
  333. }
  334. .download-title {
  335. font-size: 20px;
  336. font-weight: 600;
  337. color: #ffffff;
  338. text-align: center;
  339. line-height: 32px;
  340. }
  341. .download-screenshots {
  342. display: flex;
  343. gap: 8px;
  344. overflow: hidden;
  345. width: 100%;
  346. justify-content: center;
  347. }
  348. .screenshot-item {
  349. width: 140px;
  350. height: 300px;
  351. border-radius: 18px;
  352. overflow: hidden;
  353. border: 1px solid #333333;
  354. flex-shrink: 0;
  355. }
  356. .screenshot-item img {
  357. width: 100%;
  358. height: 100%;
  359. object-fit: cover;
  360. }
  361. .download-content{
  362. position: fixed;
  363. bottom: 0;
  364. left: 0;
  365. padding: 20px 16px 30px;
  366. width: 100%;
  367. background-color: #121212;
  368. box-shadow: 0 -50px 50px #121212;
  369. }
  370. .download-btn {
  371. width: 100%;
  372. height: 44px;
  373. background-color: #ffffff;
  374. border: none;
  375. border-radius: 8px;
  376. color: #000000;
  377. font-size: 14px;
  378. font-weight: 500;
  379. cursor: pointer;
  380. display: flex;
  381. align-items: center;
  382. justify-content: center;
  383. gap: 8px;
  384. transition: all 0.3s ease;
  385. }
  386. .download-btn:hover {
  387. background-color: #f0f0f0;
  388. }
  389. .download-btn-icon {
  390. width: 20px;
  391. height: 20px;
  392. }
  393. .download-btn-icon svg {
  394. width: 100%;
  395. height: 100%;
  396. }
  397. .footer-section {
  398. padding: 24px 16px;
  399. text-align: center;
  400. background-color: #121212;
  401. border-top: 1px solid #191919;
  402. }
  403. .footer-copy {
  404. font-size: 12px;
  405. color: #666666;
  406. }
  407. .verification-section {
  408. padding: 0 16px;
  409. margin-top: 80px;
  410. }
  411. .verification-timer {
  412. position: absolute;
  413. right: 16px;
  414. top: 50%;
  415. transform: translateY(-50%);
  416. font-size: 14px;
  417. color: rgba(253, 111, 35, 0.5);
  418. }
  419. .timer-active {
  420. color: #fd6f23;
  421. }
  422. .resend-code {
  423. color: #fd6f23;
  424. cursor: pointer;
  425. }
  426. .resend-code:hover {
  427. text-decoration: underline;
  428. }
  429. .success-overlay {
  430. position: fixed;
  431. top: 0;
  432. left: 0;
  433. right: 0;
  434. bottom: 0;
  435. background-color: rgba(0, 0, 0, 0.8);
  436. display: flex;
  437. align-items: center;
  438. justify-content: center;
  439. z-index: 1000;
  440. animation: fadeIn 0.3s ease;
  441. }
  442. @keyframes fadeIn {
  443. from {
  444. opacity: 0;
  445. }
  446. to {
  447. opacity: 1;
  448. }
  449. }
  450. .success-content {
  451. background-color: #191919;
  452. border-radius: 12px;
  453. padding: 32px;
  454. text-align: center;
  455. animation: scaleIn 0.3s ease;
  456. }
  457. @keyframes scaleIn {
  458. from {
  459. transform: scale(0.9);
  460. opacity: 0;
  461. }
  462. to {
  463. transform: scale(1);
  464. opacity: 1;
  465. }
  466. }
  467. .success-icon {
  468. width: 64px;
  469. height: 64px;
  470. margin: 0 auto 20px;
  471. background-color: #fd6f23;
  472. border-radius: 50%;
  473. display: flex;
  474. align-items: center;
  475. justify-content: center;
  476. }
  477. .success-icon svg {
  478. width: 32px;
  479. height: 32px;
  480. fill: #ffffff;
  481. }
  482. .success-title {
  483. font-size: 18px;
  484. font-weight: 600;
  485. color: #ffffff;
  486. margin-bottom: 8px;
  487. }
  488. .success-desc {
  489. font-size: 14px;
  490. color: #888888;
  491. }
  492. @media screen and (min-width: 428px) {
  493. .container {
  494. max-width: 428px;
  495. margin: 0 auto;
  496. box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  497. }
  498. }
  499. @media screen and (max-width: 320px) {
  500. .features-grid {
  501. grid-template-columns: 1fr;
  502. }
  503. .stats-grid {
  504. grid-template-columns: repeat(2, 1fr);
  505. }
  506. }
  507. .loading-overlay {
  508. position: fixed;
  509. top: 0;
  510. left: 0;
  511. right: 0;
  512. bottom: 0;
  513. background-color: rgba(18, 18, 18, 0.9);
  514. display: flex;
  515. align-items: center;
  516. justify-content: center;
  517. z-index: 1000;
  518. }
  519. .loading-content {
  520. display: flex;
  521. flex-direction: column;
  522. align-items: center;
  523. gap: 16px;
  524. }
  525. .loading-spinner {
  526. width: 40px;
  527. height: 40px;
  528. border: 3px solid #333333;
  529. border-top-color: #fd6f23;
  530. border-radius: 50%;
  531. animation: spin 1s linear infinite;
  532. }
  533. @keyframes spin {
  534. to {
  535. transform: rotate(360deg);
  536. }
  537. }
  538. .loading-text {
  539. font-size: 14px;
  540. color: #888888;
  541. }
  542. .error-overlay {
  543. position: fixed;
  544. top: 0;
  545. left: 0;
  546. right: 0;
  547. bottom: 0;
  548. background-color: rgba(18, 18, 18, 0.9);
  549. display: flex;
  550. align-items: center;
  551. justify-content: center;
  552. z-index: 1000;
  553. }
  554. .error-content {
  555. display: flex;
  556. flex-direction: column;
  557. align-items: center;
  558. gap: 16px;
  559. padding: 32px;
  560. }
  561. .error-icon {
  562. width: 64px;
  563. height: 64px;
  564. background-color: #ff4444;
  565. border-radius: 50%;
  566. display: flex;
  567. align-items: center;
  568. justify-content: center;
  569. font-size: 32px;
  570. font-weight: bold;
  571. color: #ffffff;
  572. }
  573. .error-text {
  574. font-size: 14px;
  575. color: #888888;
  576. text-align: center;
  577. }
  578. .error-retry {
  579. padding: 12px 32px;
  580. background-color: #ffffff;
  581. border: none;
  582. border-radius: 8px;
  583. color: #000000;
  584. font-size: 14px;
  585. font-weight: 500;
  586. cursor: pointer;
  587. }
  588. .error-retry:hover {
  589. background-color: #f0f0f0;
  590. }
  591. .error-message {
  592. display: none;
  593. font-size: 12px;
  594. color: #ff4444;
  595. margin-top: 8px;
  596. padding-left: 16px;
  597. }
  598. .password-rule {
  599. font-size: 12px;
  600. color: #666666;
  601. margin-top: 8px;
  602. padding-left: 8px;
  603. }