invite.css 10 KB

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