Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- index.html +428 -336
index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
<head>
|
| 5 |
<meta charset="UTF-8">
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
-
<title>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
| 10 |
/* Underworld Crime UI Framework */
|
|
@@ -159,6 +159,12 @@
|
|
| 159 |
border: 2px solid var(--gold);
|
| 160 |
}
|
| 161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
.uc-btn-block {
|
| 163 |
width: 100%;
|
| 164 |
}
|
|
@@ -697,204 +703,201 @@
|
|
| 697 |
background: linear-gradient(transparent, rgba(212, 175, 55, 0.1);
|
| 698 |
}
|
| 699 |
|
| 700 |
-
/*
|
| 701 |
-
.uc-
|
| 702 |
min-height: 100vh;
|
| 703 |
padding-top: 120px;
|
| 704 |
padding-bottom: 3rem;
|
| 705 |
}
|
| 706 |
|
| 707 |
-
.uc-
|
| 708 |
display: flex;
|
| 709 |
justify-content: space-between;
|
| 710 |
align-items: center;
|
| 711 |
margin-bottom: 2rem;
|
| 712 |
}
|
| 713 |
|
| 714 |
-
.uc-
|
| 715 |
font-size: 2.2rem;
|
| 716 |
color: var(--light-gold);
|
| 717 |
text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
|
| 718 |
}
|
| 719 |
|
| 720 |
-
.uc-
|
| 721 |
color: var(--platinum);
|
| 722 |
opacity: 0.8;
|
| 723 |
margin-top: 0.5rem;
|
| 724 |
}
|
| 725 |
|
| 726 |
-
|
| 727 |
-
|
| 728 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 729 |
margin-bottom: 2rem;
|
| 730 |
}
|
| 731 |
|
| 732 |
-
.uc-
|
| 733 |
-
|
| 734 |
-
|
| 735 |
-
|
| 736 |
-
margin-bottom:
|
| 737 |
}
|
| 738 |
|
| 739 |
-
.uc-
|
| 740 |
-
|
| 741 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 742 |
}
|
| 743 |
|
| 744 |
-
|
| 745 |
-
|
| 746 |
-
|
| 747 |
-
border-radius: 8px;
|
| 748 |
-
border: 1px solid rgba(212, 175, 55, 0.35);
|
| 749 |
-
background: rgba(0, 0, 0, 0.35);
|
| 750 |
-
color: var(--platinum);
|
| 751 |
-
font-size: 0.9rem;
|
| 752 |
}
|
| 753 |
|
| 754 |
-
.uc-
|
| 755 |
-
|
| 756 |
-
|
| 757 |
-
|
| 758 |
-
|
| 759 |
-
background: transparent;
|
| 760 |
-
border: none;
|
| 761 |
-
color: var(--gold);
|
| 762 |
-
cursor: pointer;
|
| 763 |
}
|
| 764 |
|
| 765 |
-
/*
|
| 766 |
-
.uc-
|
| 767 |
-
|
| 768 |
-
justify-content: center;
|
| 769 |
-
align-items: center;
|
| 770 |
-
gap: 0.5rem;
|
| 771 |
-
margin-top: 2rem;
|
| 772 |
}
|
| 773 |
|
| 774 |
-
.uc-
|
| 775 |
-
|
| 776 |
-
|
| 777 |
-
|
| 778 |
-
|
| 779 |
-
|
| 780 |
-
|
|
|
|
| 781 |
transition: all 0.3s ease;
|
| 782 |
}
|
| 783 |
|
| 784 |
-
.uc-
|
| 785 |
-
|
|
|
|
|
|
|
| 786 |
}
|
| 787 |
|
| 788 |
-
.uc-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 789 |
background: linear-gradient(45deg, var(--gold), var(--dark-gold)));
|
| 790 |
color: var(--charcoal);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 791 |
}
|
| 792 |
|
| 793 |
-
.uc-
|
| 794 |
-
|
| 795 |
-
|
| 796 |
-
|
| 797 |
-
|
| 798 |
-
.uc-pagination-info {
|
| 799 |
-
font-size: 0.8rem;
|
| 800 |
-
opacity: 0.7;
|
| 801 |
}
|
| 802 |
|
| 803 |
-
|
| 804 |
-
|
| 805 |
-
|
| 806 |
-
|
| 807 |
-
border: 2px solid var(--gold);
|
| 808 |
-
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
|
| 809 |
-
overflow: hidden;
|
| 810 |
}
|
| 811 |
|
| 812 |
-
.uc-
|
| 813 |
-
|
| 814 |
-
|
| 815 |
-
color: var(--charcoal);
|
| 816 |
-
font-weight: bold;
|
| 817 |
-
text-transform: uppercase;
|
| 818 |
-
letter-spacing: 1px;
|
| 819 |
}
|
| 820 |
|
| 821 |
-
.uc-
|
| 822 |
-
|
| 823 |
-
|
|
|
|
| 824 |
}
|
| 825 |
|
| 826 |
-
.uc-
|
| 827 |
-
|
| 828 |
-
|
| 829 |
-
align
|
| 830 |
-
padding: 0.8rem 1.5rem;
|
| 831 |
-
border-bottom: 1px solid rgba(212, 175, 55, 0.2);
|
| 832 |
-
transition: all 0.3s ease;
|
| 833 |
}
|
| 834 |
|
| 835 |
-
.uc-
|
| 836 |
-
|
|
|
|
| 837 |
}
|
| 838 |
|
| 839 |
-
.uc-
|
| 840 |
-
|
|
|
|
|
|
|
| 841 |
}
|
| 842 |
|
| 843 |
-
|
| 844 |
-
|
| 845 |
-
|
| 846 |
-
|
| 847 |
-
|
|
|
|
|
|
|
| 848 |
}
|
| 849 |
|
| 850 |
-
.uc-
|
| 851 |
-
|
|
|
|
|
|
|
| 852 |
}
|
| 853 |
|
| 854 |
-
.uc-
|
| 855 |
-
|
| 856 |
-
|
|
|
|
|
|
|
| 857 |
}
|
| 858 |
|
| 859 |
-
.uc-
|
| 860 |
-
|
| 861 |
-
|
| 862 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 863 |
}
|
| 864 |
|
| 865 |
-
|
| 866 |
-
|
| 867 |
-
background: linear-gradient(90deg, rgba(212, 175, 55, 0.05), transparent);
|
| 868 |
-
border-left: 3px solid var(--gold);
|
| 869 |
}
|
| 870 |
|
| 871 |
-
.uc-
|
| 872 |
-
font-size:
|
| 873 |
-
|
| 874 |
-
-webkit-background-clip: text;
|
| 875 |
-
-webkit-text-fill-color: transparent;
|
| 876 |
-
text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
|
| 877 |
}
|
| 878 |
|
| 879 |
-
/* Responsive adjustments for
|
| 880 |
@media (max-width: 768px) {
|
| 881 |
-
.uc-
|
| 882 |
-
grid-template-columns:
|
| 883 |
-
|
| 884 |
-
}
|
| 885 |
-
|
| 886 |
-
.uc-rankings-filters {
|
| 887 |
-
flex-direction: column;
|
| 888 |
}
|
| 889 |
|
| 890 |
-
.uc-
|
| 891 |
-
|
| 892 |
}
|
| 893 |
|
| 894 |
-
.uc-
|
| 895 |
-
|
| 896 |
-
gap: 1rem;
|
| 897 |
-
align-items: stretch;
|
| 898 |
}
|
| 899 |
}
|
| 900 |
|
|
@@ -962,18 +965,41 @@
|
|
| 962 |
transform: translateX(5px);
|
| 963 |
}
|
| 964 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 965 |
</style>
|
| 966 |
</head>
|
| 967 |
|
| 968 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 969 |
<header class="uc-header">
|
| 970 |
<div class="uc-container">
|
| 971 |
<nav class="uc-nav">
|
| 972 |
<div class="uc-logo">UNDERWORLD<span>CHRONICLES</span></div>
|
| 973 |
<ul class="uc-nav-menu">
|
| 974 |
<li><a href="#">Home</a></li>
|
| 975 |
-
<li><a href="#"
|
| 976 |
-
<li><a href="#">
|
| 977 |
<li><a href="#">Factions</a></li>
|
| 978 |
<li><a href="#">Leaderboards</a></li>
|
| 979 |
<li><a href="#">Support</a></li>
|
|
@@ -989,243 +1015,309 @@
|
|
| 989 |
<div class="alley-container">
|
| 990 |
<div class="alley-wall left"></div>
|
| 991 |
<div class="alley-wall right"></div>
|
| 992 |
-
<div class="neon-sign">
|
| 993 |
<div class="dripping-effect"></div>
|
| 994 |
</div>
|
| 995 |
|
| 996 |
<div class="uc-app-layout">
|
| 997 |
<aside class="uc-sidebar">
|
| 998 |
-
<h3 class="uc-sidebar-title">
|
| 999 |
<ul class="uc-sidebar-nav">
|
| 1000 |
-
|
| 1001 |
-
|
| 1002 |
-
|
| 1003 |
-
|
| 1004 |
-
|
| 1005 |
-
|
| 1006 |
-
|
| 1007 |
-
|
| 1008 |
-
|
| 1009 |
-
|
| 1010 |
-
|
| 1011 |
-
|
| 1012 |
-
|
| 1013 |
-
<
|
| 1014 |
-
<div class="uc-
|
| 1015 |
-
<div
|
| 1016 |
-
<
|
| 1017 |
-
|
| 1018 |
-
|
| 1019 |
-
|
| 1020 |
-
<div class="uc-rankings-controls">
|
| 1021 |
-
<div class="uc-rankings-search">
|
| 1022 |
-
<input type="text" class="uc-rankings-search-input" placeholder="Search players...">
|
| 1023 |
-
<button class="uc-rankings-search-btn"><i class="fas fa-search"></i></button>
|
| 1024 |
-
</div>
|
| 1025 |
-
</div>
|
| 1026 |
|
| 1027 |
-
|
| 1028 |
-
|
| 1029 |
-
|
| 1030 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1031 |
</div>
|
|
|
|
|
|
|
| 1032 |
|
| 1033 |
-
|
| 1034 |
-
|
| 1035 |
-
|
| 1036 |
-
|
| 1037 |
-
|
| 1038 |
-
|
| 1039 |
-
|
| 1040 |
-
|
| 1041 |
-
|
| 1042 |
-
|
| 1043 |
-
|
| 1044 |
-
|
| 1045 |
-
<div class="uc-rankings-table-row uc-rank-top uc-rank-1">
|
| 1046 |
-
<div class="uc-rank-number">1</div>
|
| 1047 |
-
<div class="uc-rank-username">ShadowKing</div>
|
| 1048 |
-
<div class="uc-rank-city">New York</div>
|
| 1049 |
-
<div class="uc-rank-networth">$45,780,250</div>
|
| 1050 |
-
</div>
|
| 1051 |
-
|
| 1052 |
-
<!-- Rank 2 -->
|
| 1053 |
-
<div class="uc-rankings-table-row uc-rank-top">
|
| 1054 |
-
<div class="uc-rank-number">2</div>
|
| 1055 |
-
<div class="uc-rank-username">CrimsonQueen</div>
|
| 1056 |
-
<div class="uc-rank-city">Los Angeles</div>
|
| 1057 |
-
<div class="uc-rank-networth">$38,920,100</div>
|
| 1058 |
-
</div>
|
| 1059 |
-
|
| 1060 |
-
<!-- Rank 3 -->
|
| 1061 |
-
<div class="uc-rankings-table-row uc-rank-top">
|
| 1062 |
-
<div class="uc-rank-number">3</div>
|
| 1063 |
-
<div class="uc-rank-username">SilentWolf</div>
|
| 1064 |
-
<div class="uc-rank-city">Chicago</div>
|
| 1065 |
-
<div class="uc-rank-networth">$32,450,800</div>
|
| 1066 |
-
</div>
|
| 1067 |
-
|
| 1068 |
-
<!-- Empty rows to demonstrate pagination -->
|
| 1069 |
-
<div class="uc-rankings-table-row">
|
| 1070 |
-
<div class="uc-rank-number">-</div>
|
| 1071 |
-
<div class="uc-rank-username">-</div>
|
| 1072 |
-
<div class="uc-rank-city">-</div>
|
| 1073 |
-
<div class="uc-rank-networth">-</div>
|
| 1074 |
-
</div>
|
| 1075 |
-
|
| 1076 |
-
<div class="uc-rankings-table-row">
|
| 1077 |
-
<div class="uc-rank-number">-</div>
|
| 1078 |
-
<div class="uc-rank-username">-</div>
|
| 1079 |
-
<div class="uc-rank-city">-</div>
|
| 1080 |
-
<div class="uc-rank-networth">-</div>
|
| 1081 |
-
</div>
|
| 1082 |
-
|
| 1083 |
-
<div class="uc-rankings-table-row">
|
| 1084 |
-
<div class="uc-rank-number">-</div>
|
| 1085 |
-
<div class="uc-rank-username">-</div>
|
| 1086 |
-
<div class="uc-rank-city">-</div>
|
| 1087 |
-
<div class="uc-rank-networth">-</div>
|
| 1088 |
-
</div>
|
| 1089 |
-
|
| 1090 |
-
<div class="uc-rankings-table-row">
|
| 1091 |
-
<div class="uc-rank-number">-</div>
|
| 1092 |
-
<div class="uc-rank-username">-</div>
|
| 1093 |
-
<div class="uc-rank-city">-</div>
|
| 1094 |
-
<div class="uc-rank-networth">-</div>
|
| 1095 |
-
</div>
|
| 1096 |
-
|
| 1097 |
-
<div class="uc-rankings-table-row">
|
| 1098 |
-
<div class="uc-rank-number">-</div>
|
| 1099 |
-
<div class="uc-rank-username">-</div>
|
| 1100 |
-
<div class="uc-rank-city">-</div>
|
| 1101 |
-
<div class="uc-rank-networth">-</div>
|
| 1102 |
</div>
|
| 1103 |
-
|
| 1104 |
-
|
| 1105 |
-
<
|
| 1106 |
-
<div class="uc-rank-username">-</div>
|
| 1107 |
-
<div class="uc-rank-city">-</div>
|
| 1108 |
-
<div class="uc-rank-networth">-</div>
|
| 1109 |
</div>
|
| 1110 |
-
|
| 1111 |
-
|
| 1112 |
-
<
|
| 1113 |
-
<div class="uc-rank-username">-</div>
|
| 1114 |
-
<div class="uc-rank-city">-</div>
|
| 1115 |
-
<div class="uc-rank-networth">-</div>
|
| 1116 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1117 |
|
| 1118 |
-
|
| 1119 |
-
|
| 1120 |
-
|
| 1121 |
-
|
| 1122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1123 |
</div>
|
|
|
|
| 1124 |
|
| 1125 |
-
|
| 1126 |
-
|
| 1127 |
-
<div class="uc-
|
| 1128 |
-
<div class="uc-
|
| 1129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1130 |
</div>
|
|
|
|
| 1131 |
|
| 1132 |
-
|
| 1133 |
-
|
| 1134 |
-
|
| 1135 |
-
<div class="uc-
|
| 1136 |
-
<div class="uc-
|
| 1137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1138 |
</div>
|
| 1139 |
</div>
|
| 1140 |
|
| 1141 |
-
|
| 1142 |
-
|
| 1143 |
-
<
|
| 1144 |
-
|
| 1145 |
-
|
| 1146 |
-
|
| 1147 |
-
|
| 1148 |
-
|
| 1149 |
-
|
| 1150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1151 |
</div>
|
| 1152 |
</div>
|
| 1153 |
</div>
|
| 1154 |
-
</
|
| 1155 |
-
</div>
|
| 1156 |
-
|
| 1157 |
-
<footer class="uc-footer">
|
| 1158 |
-
<p>Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a> | Enter at your own risk</p>
|
| 1159 |
-
</footer>
|
| 1160 |
|
| 1161 |
-
|
| 1162 |
-
|
| 1163 |
-
|
| 1164 |
-
|
| 1165 |
-
|
| 1166 |
-
|
| 1167 |
-
|
| 1168 |
-
|
| 1169 |
-
|
| 1170 |
-
|
| 1171 |
-
|
| 1172 |
-
|
| 1173 |
-
|
| 1174 |
-
|
| 1175 |
-
|
| 1176 |
-
|
| 1177 |
-
|
| 1178 |
-
|
| 1179 |
-
|
| 1180 |
-
|
| 1181 |
-
|
| 1182 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1183 |
|
| 1184 |
-
|
| 1185 |
-
|
| 1186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1187 |
|
| 1188 |
-
|
| 1189 |
-
|
| 1190 |
-
});
|
|
|
|
|
|
|
| 1191 |
|
| 1192 |
-
|
| 1193 |
-
|
| 1194 |
-
|
| 1195 |
-
|
| 1196 |
-
|
| 1197 |
-
|
| 1198 |
-
|
| 1199 |
-
|
| 1200 |
-
|
| 1201 |
-
|
| 1202 |
-
|
| 1203 |
-
|
| 1204 |
-
|
| 1205 |
-
|
| 1206 |
-
|
| 1207 |
-
|
| 1208 |
-
|
| 1209 |
-
|
| 1210 |
-
|
| 1211 |
-
const filterType = this.querySelector('i').className;
|
| 1212 |
-
alert('Filtering by: ' + this.textContent.trim());
|
| 1213 |
-
});
|
| 1214 |
-
}
|
| 1215 |
-
|
| 1216 |
-
// Add pulse effect to top ranks
|
| 1217 |
-
const topRanks = document.querySelectorAll('.uc-rank-top');
|
| 1218 |
-
|
| 1219 |
-
topRanks.forEach(rank => {
|
| 1220 |
-
setTimeout(() => {
|
| 1221 |
-
rank.classList.add('uc-pulse');
|
| 1222 |
-
setTimeout(() => {
|
| 1223 |
-
rank.classList.remove('uc-pulse');
|
| 1224 |
-
}, 2000);
|
| 1225 |
-
}, Math.random() * 1000);
|
| 1226 |
-
});
|
| 1227 |
});
|
| 1228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1229 |
</body>
|
| 1230 |
|
| 1231 |
</html>
|
|
|
|
| 4 |
<head>
|
| 5 |
<meta charset="UTF-8">
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>Credits - Underworld Chronicles</title>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
| 10 |
/* Underworld Crime UI Framework */
|
|
|
|
| 159 |
border: 2px solid var(--gold);
|
| 160 |
}
|
| 161 |
|
| 162 |
+
.uc-btn-success {
|
| 163 |
+
background: linear-gradient(45deg, var(--success), #27ae60));
|
| 164 |
+
color: white;
|
| 165 |
+
border: none;
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
.uc-btn-block {
|
| 169 |
width: 100%;
|
| 170 |
}
|
|
|
|
| 703 |
background: linear-gradient(transparent, rgba(212, 175, 55, 0.1);
|
| 704 |
}
|
| 705 |
|
| 706 |
+
/* Credits Page Specific Styles */
|
| 707 |
+
.uc-credits-page {
|
| 708 |
min-height: 100vh;
|
| 709 |
padding-top: 120px;
|
| 710 |
padding-bottom: 3rem;
|
| 711 |
}
|
| 712 |
|
| 713 |
+
.uc-credits-header {
|
| 714 |
display: flex;
|
| 715 |
justify-content: space-between;
|
| 716 |
align-items: center;
|
| 717 |
margin-bottom: 2rem;
|
| 718 |
}
|
| 719 |
|
| 720 |
+
.uc-credits-title {
|
| 721 |
font-size: 2.2rem;
|
| 722 |
color: var(--light-gold);
|
| 723 |
text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
|
| 724 |
}
|
| 725 |
|
| 726 |
+
.uc-credits-subtitle {
|
| 727 |
color: var(--platinum);
|
| 728 |
opacity: 0.8;
|
| 729 |
margin-top: 0.5rem;
|
| 730 |
}
|
| 731 |
|
| 732 |
+
/* Balance Display */
|
| 733 |
+
.uc-balance-display {
|
| 734 |
+
background: linear-gradient(145deg, var(--royal-purple), var(--deep-purple)));
|
| 735 |
+
border-radius: 15px;
|
| 736 |
+
border: 2px solid var(--gold);
|
| 737 |
+
padding: 2rem;
|
| 738 |
+
text-align: center;
|
| 739 |
margin-bottom: 2rem;
|
| 740 |
}
|
| 741 |
|
| 742 |
+
.uc-balance-label {
|
| 743 |
+
font-size: 1rem;
|
| 744 |
+
color: var(--platinum);
|
| 745 |
+
opacity: 0.9;
|
| 746 |
+
margin-bottom: 1rem;
|
| 747 |
}
|
| 748 |
|
| 749 |
+
.uc-balance-amount {
|
| 750 |
+
font-size: 3.5rem;
|
| 751 |
+
font-weight: bold;
|
| 752 |
+
background: linear-gradient(45deg, var(--gold), var(--light-gold)));
|
| 753 |
+
-webkit-background-clip: text;
|
| 754 |
+
-webkit-text-fill-color: transparent;
|
| 755 |
+
text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
|
| 756 |
}
|
| 757 |
|
| 758 |
+
/* Send Credits Section */
|
| 759 |
+
.uc-send-credits {
|
| 760 |
+
margin-bottom: 3rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 761 |
}
|
| 762 |
|
| 763 |
+
.uc-send-form {
|
| 764 |
+
display: grid;
|
| 765 |
+
grid-template-columns: 1fr 1fr auto;
|
| 766 |
+
gap: 1rem;
|
| 767 |
+
align-items: end;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 768 |
}
|
| 769 |
|
| 770 |
+
/* Credits Packages Section */
|
| 771 |
+
.uc-credits-packages {
|
| 772 |
+
margin-top: 3rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 773 |
}
|
| 774 |
|
| 775 |
+
.uc-package-grid {
|
| 776 |
+
display: grid;
|
| 777 |
+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)));
|
| 778 |
+
gap: 1.5rem;
|
| 779 |
+
}
|
| 780 |
+
|
| 781 |
+
.uc-package-card {
|
| 782 |
+
text-align: center;
|
| 783 |
transition: all 0.3s ease;
|
| 784 |
}
|
| 785 |
|
| 786 |
+
.uc-package-card.featured {
|
| 787 |
+
transform: scale(1.05);
|
| 788 |
+
border-width: 3px;
|
| 789 |
+
position: relative;
|
| 790 |
}
|
| 791 |
|
| 792 |
+
.uc-package-badge {
|
| 793 |
+
position: absolute;
|
| 794 |
+
top: -10px;
|
| 795 |
+
left: 50%;
|
| 796 |
+
transform: translateX(-50%);
|
| 797 |
background: linear-gradient(45deg, var(--gold), var(--dark-gold)));
|
| 798 |
color: var(--charcoal);
|
| 799 |
+
padding: 0.3rem 1rem;
|
| 800 |
+
border-radius: 20px;
|
| 801 |
+
font-size: 0.7rem;
|
| 802 |
+
font-weight: bold;
|
| 803 |
}
|
| 804 |
|
| 805 |
+
.uc-package-name {
|
| 806 |
+
font-size: 1.2rem;
|
| 807 |
+
color: var(--light-gold);
|
| 808 |
+
margin-bottom: 0.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 809 |
}
|
| 810 |
|
| 811 |
+
.uc-package-price {
|
| 812 |
+
font-size: 1.8rem;
|
| 813 |
+
font-weight: bold;
|
| 814 |
+
color: var(--gold);
|
|
|
|
|
|
|
|
|
|
| 815 |
}
|
| 816 |
|
| 817 |
+
.uc-package-credits {
|
| 818 |
+
font-size: 1.3rem;
|
| 819 |
+
margin-bottom: 0.3rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 820 |
}
|
| 821 |
|
| 822 |
+
.uc-package-bonus {
|
| 823 |
+
font-size: 0.9rem;
|
| 824 |
+
color: var(--success);
|
| 825 |
+
margin-bottom: 1rem;
|
| 826 |
}
|
| 827 |
|
| 828 |
+
.uc-package-perks {
|
| 829 |
+
list-style: none;
|
| 830 |
+
margin: 1rem 0;
|
| 831 |
+
text-align: left;
|
|
|
|
|
|
|
|
|
|
| 832 |
}
|
| 833 |
|
| 834 |
+
.uc-package-perks li {
|
| 835 |
+
padding: 0.3rem 0;
|
| 836 |
+
font-size: 0.85rem;
|
| 837 |
}
|
| 838 |
|
| 839 |
+
.uc-package-perks li:before {
|
| 840 |
+
content: '✓';
|
| 841 |
+
color: var(--success);
|
| 842 |
+
margin-right: 0.5rem;
|
| 843 |
}
|
| 844 |
|
| 845 |
+
/* Supporter Perks Legend */
|
| 846 |
+
.uc-perks-legend {
|
| 847 |
+
background: linear-gradient(145deg, var(--royal-purple), var(--deep-purple)));
|
| 848 |
+
border-radius: 15px;
|
| 849 |
+
border: 2px solid var(--gold);
|
| 850 |
+
padding: 1.5rem;
|
| 851 |
+
margin-top: 2rem;
|
| 852 |
}
|
| 853 |
|
| 854 |
+
.uc-perks-grid {
|
| 855 |
+
display: grid;
|
| 856 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)));
|
| 857 |
+
gap: 1rem;
|
| 858 |
}
|
| 859 |
|
| 860 |
+
.uc-perk-item {
|
| 861 |
+
display: flex;
|
| 862 |
+
align-items: center;
|
| 863 |
+
gap: 0.8rem;
|
| 864 |
+
padding: 0.5rem;
|
| 865 |
}
|
| 866 |
|
| 867 |
+
.uc-perk-icon {
|
| 868 |
+
width: 40px;
|
| 869 |
+
height: 40px;
|
| 870 |
+
border-radius: 50%;
|
| 871 |
+
background: rgba(212, 175, 55, 0.15);
|
| 872 |
+
display: flex;
|
| 873 |
+
align-items: center;
|
| 874 |
+
justify-content: center;
|
| 875 |
+
color: var(--gold);
|
| 876 |
+
font-size: 1rem;
|
| 877 |
}
|
| 878 |
|
| 879 |
+
.uc-perk-name {
|
| 880 |
+
font-weight: 600;
|
|
|
|
|
|
|
| 881 |
}
|
| 882 |
|
| 883 |
+
.uc-perk-desc {
|
| 884 |
+
font-size: 0.8rem;
|
| 885 |
+
opacity: 0.8;
|
|
|
|
|
|
|
|
|
|
| 886 |
}
|
| 887 |
|
| 888 |
+
/* Responsive adjustments for credits page */
|
| 889 |
@media (max-width: 768px) {
|
| 890 |
+
.uc-send-form {
|
| 891 |
+
grid-template-columns: 1fr;
|
| 892 |
+
gap: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 893 |
}
|
| 894 |
|
| 895 |
+
.uc-package-grid {
|
| 896 |
+
grid-template-columns: 1fr;
|
| 897 |
}
|
| 898 |
|
| 899 |
+
.uc-package-card.featured {
|
| 900 |
+
transform: none;
|
|
|
|
|
|
|
| 901 |
}
|
| 902 |
}
|
| 903 |
|
|
|
|
| 965 |
transform: translateX(5px);
|
| 966 |
}
|
| 967 |
}
|
| 968 |
+
|
| 969 |
+
/* Anycoder attribution */
|
| 970 |
+
.uc-anycoder-attribution {
|
| 971 |
+
position: fixed;
|
| 972 |
+
top: 10px;
|
| 973 |
+
right: 10px;
|
| 974 |
+
z-index: 1001;
|
| 975 |
+
font-size: 0.7rem;
|
| 976 |
+
opacity: 0.8;
|
| 977 |
+
}
|
| 978 |
+
|
| 979 |
+
.uc-anycoder-attribution a {
|
| 980 |
+
color: var(--gold);
|
| 981 |
+
text-decoration: none;
|
| 982 |
+
}
|
| 983 |
+
|
| 984 |
+
.uc-anycoder-attribution a:hover {
|
| 985 |
+
text-decoration: underline;
|
| 986 |
+
}
|
| 987 |
</style>
|
| 988 |
</head>
|
| 989 |
|
| 990 |
<body>
|
| 991 |
+
<div class="uc-anycoder-attribution">
|
| 992 |
+
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">Built with anycoder</a>
|
| 993 |
+
</div>
|
| 994 |
+
|
| 995 |
<header class="uc-header">
|
| 996 |
<div class="uc-container">
|
| 997 |
<nav class="uc-nav">
|
| 998 |
<div class="uc-logo">UNDERWORLD<span>CHRONICLES</span></div>
|
| 999 |
<ul class="uc-nav-menu">
|
| 1000 |
<li><a href="#">Home</a></li>
|
| 1001 |
+
<li><a href="#">Rankings</a></li>
|
| 1002 |
+
<li><a href="#" class="active">Credits</a></li>
|
| 1003 |
<li><a href="#">Factions</a></li>
|
| 1004 |
<li><a href="#">Leaderboards</a></li>
|
| 1005 |
<li><a href="#">Support</a></li>
|
|
|
|
| 1015 |
<div class="alley-container">
|
| 1016 |
<div class="alley-wall left"></div>
|
| 1017 |
<div class="alley-wall right"></div>
|
| 1018 |
+
<div class="neon-sign">CREDITS<br>VAULT</div>
|
| 1019 |
<div class="dripping-effect"></div>
|
| 1020 |
</div>
|
| 1021 |
|
| 1022 |
<div class="uc-app-layout">
|
| 1023 |
<aside class="uc-sidebar">
|
| 1024 |
+
<h3 class="uc-sidebar-title">Financial Operations</h3>
|
| 1025 |
<ul class="uc-sidebar-nav">
|
| 1026 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-home"></i> Headquarters</a></li>
|
| 1027 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-trophy"></i> Rankings</a></li>
|
| 1028 |
+
<li><a href="#" class="uc-sidebar-link active"><i class="fas fa-coins"></i> Credits</a></li>
|
| 1029 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-hand-holding-usd"></i> Black Market</a></li>
|
| 1030 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-money-bill-wave"></i> Money Laundering</a></li>
|
| 1031 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-chart-line"></i> Investments</a></li>
|
| 1032 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-shield-alt"></i> Security</a></li>
|
| 1033 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-piggy-bank"></i> Savings</a></li>
|
| 1034 |
+
<li><a href="#" class="uc-sidebar-link"><i class="fas fa-headset"></i> Support</a></li>
|
| 1035 |
+
</ul>
|
| 1036 |
+
</aside>
|
| 1037 |
+
|
| 1038 |
+
<main class="uc-app-main">
|
| 1039 |
+
<div class="uc-credits-page">
|
| 1040 |
+
<div class="uc-credits-header">
|
| 1041 |
+
<div>
|
| 1042 |
+
<h1 class="uc-credits-title">CREDITS VAULT</h1>
|
| 1043 |
+
<p class="uc-credits-subtitle">Manage your underworld currency and transactions</p>
|
| 1044 |
+
</div>
|
| 1045 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1046 |
|
| 1047 |
+
<!-- Balance Display Section -->
|
| 1048 |
+
<div class="uc-card">
|
| 1049 |
+
<div class="uc-card-header">
|
| 1050 |
+
<span>Current Balance</span>
|
| 1051 |
+
<i class="fas fa-wallet"></i>
|
| 1052 |
+
</div>
|
| 1053 |
+
<div class="uc-card-body">
|
| 1054 |
+
<div class="uc-balance-display">
|
| 1055 |
+
<div class="uc-balance-label">AVAILABLE CREDITS</div>
|
| 1056 |
+
<div class="uc-balance-amount">12,450</div>
|
| 1057 |
</div>
|
| 1058 |
+
</div>
|
| 1059 |
+
</div>
|
| 1060 |
|
| 1061 |
+
<!-- Send Credits Section -->
|
| 1062 |
+
<div class="uc-card uc-send-credits">
|
| 1063 |
+
<div class="uc-card-header">
|
| 1064 |
+
<span>Send Credits</span>
|
| 1065 |
+
<i class="fas fa-paper-plane"></i>
|
| 1066 |
+
</div>
|
| 1067 |
+
<div class="uc-card-body">
|
| 1068 |
+
<div class="uc-send-form">
|
| 1069 |
+
<div class="uc-form-group">
|
| 1070 |
+
<label class="uc-form-label">Recipient ID/Username</label>
|
| 1071 |
+
<input type="text" class="uc-input" placeholder="Enter player ID or username...">
|
| 1072 |
+
<div class="uc-form-text">Type to search for players</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1073 |
</div>
|
| 1074 |
+
<div class="uc-form-group">
|
| 1075 |
+
<label class="uc-form-label">Amount to Send</label>
|
| 1076 |
+
<input type="number" class="uc-input" placeholder="0" min="1" max="10000">
|
|
|
|
|
|
|
|
|
|
| 1077 |
</div>
|
| 1078 |
+
<div class="uc-form-group">
|
| 1079 |
+
<label class="uc-form-label">Round Number (Optional)</label>
|
| 1080 |
+
<input type="number" class="uc-input" placeholder="Leave blank for current round">
|
|
|
|
|
|
|
|
|
|
| 1081 |
</div>
|
| 1082 |
+
</div>
|
| 1083 |
+
<button class="uc-btn uc-btn-success uc-btn-block">
|
| 1084 |
+
<i class="fas fa-paper-plane"></i> Send Credits
|
| 1085 |
+
</button>
|
| 1086 |
+
</div>
|
| 1087 |
+
</div>
|
| 1088 |
|
| 1089 |
+
<!-- Credits Packages Section -->
|
| 1090 |
+
<div class="uc-credits-packages">
|
| 1091 |
+
<div class="uc-card">
|
| 1092 |
+
<div class="uc-card-header">
|
| 1093 |
+
<span>Credit Packages</span>
|
| 1094 |
+
<i class="fas fa-gem"></i>
|
| 1095 |
+
</div>
|
| 1096 |
+
<div class="uc-card-body">
|
| 1097 |
+
<div class="uc-package-grid">
|
| 1098 |
+
<!-- Bronze Package -->
|
| 1099 |
+
<div class="uc-card uc-package-card">
|
| 1100 |
+
<div class="uc-card-body">
|
| 1101 |
+
<div class="uc-package-name">BRONZE PACKAGE</div>
|
| 1102 |
+
<div class="uc-package-price">$4.99</div>
|
| 1103 |
+
<div class="uc-package-credits">500 Credits</div>
|
| 1104 |
+
<div class="uc-package-bonus">+50 Bonus Credits</div>
|
| 1105 |
+
<ul class="uc-package-perks">
|
| 1106 |
+
<li>Bronze Supporter Badge</li>
|
| 1107 |
+
<li>Access to Bronze VIP Lounge</li>
|
| 1108 |
+
<li>5% Faster Money Laundering</li>
|
| 1109 |
+
</ul>
|
| 1110 |
+
<button class="uc-btn uc-btn-outline uc-btn-block">
|
| 1111 |
+
<i class="fab fa-paypal"></i> Purchase
|
| 1112 |
+
</button>
|
| 1113 |
</div>
|
| 1114 |
+
</div>
|
| 1115 |
|
| 1116 |
+
<!-- Silver Package -->
|
| 1117 |
+
<div class="uc-card uc-package-card featured">
|
| 1118 |
+
<div class="uc-package-badge">POPULAR</div>
|
| 1119 |
+
<div class="uc-card-body">
|
| 1120 |
+
<div class="uc-package-name">SILVER PACKAGE</div>
|
| 1121 |
+
<div class="uc-package-price">$9.99</div>
|
| 1122 |
+
<div class="uc-package-credits">1,200 Credits</div>
|
| 1123 |
+
<div class="uc-package-bonus">+300 Bonus Credits</div>
|
| 1124 |
+
<ul class="uc-package-perks">
|
| 1125 |
+
<li>Silver Supporter Badge</li>
|
| 1126 |
+
<li>Access to Silver VIP Lounge</li>
|
| 1127 |
+
<li>10% Faster Money Laundering</li>
|
| 1128 |
+
<li>Exclusive Silver Weapon Skin</li>
|
| 1129 |
+
</ul>
|
| 1130 |
+
<button class="uc-btn uc-btn-primary uc-btn-block">
|
| 1131 |
+
<i class="fab fa-paypal"></i> Purchase
|
| 1132 |
+
</button>
|
| 1133 |
</div>
|
| 1134 |
+
</div>
|
| 1135 |
|
| 1136 |
+
<!-- Gold Package -->
|
| 1137 |
+
<div class="uc-card uc-package-card">
|
| 1138 |
+
<div class="uc-card-body">
|
| 1139 |
+
<div class="uc-package-name">GOLD PACKAGE</div>
|
| 1140 |
+
<div class="uc-package-price">$19.99</div>
|
| 1141 |
+
<div class="uc-package-credits">3,000 Credits</div>
|
| 1142 |
+
<div class="uc-package-bonus">+1,000 Bonus Credits</div>
|
| 1143 |
+
<ul class="uc-package-perks">
|
| 1144 |
+
<li>Gold Supporter Badge</li>
|
| 1145 |
+
<li>Access to Gold VIP Lounge</li>
|
| 1146 |
+
<li>15% Faster Money Laundering</li>
|
| 1147 |
+
<li>Exclusive Gold Weapon Skin</li>
|
| 1148 |
+
<li>Priority Customer Support</li>
|
| 1149 |
+
</ul>
|
| 1150 |
+
<button class="uc-btn uc-btn-outline uc-btn-block">
|
| 1151 |
+
<i class="fab fa-paypal"></i> Purchase
|
| 1152 |
+
</button>
|
| 1153 |
</div>
|
| 1154 |
</div>
|
| 1155 |
|
| 1156 |
+
<!-- Platinum Package -->
|
| 1157 |
+
<div class="uc-card uc-package-card">
|
| 1158 |
+
<div class="uc-card-body">
|
| 1159 |
+
<div class="uc-package-name">PLATINUM PACKAGE</div>
|
| 1160 |
+
<div class="uc-package-price">$49.99</div>
|
| 1161 |
+
<div class="uc-package-credits">8,000 Credits</div>
|
| 1162 |
+
<div class="uc-package-bonus">+3,000 Bonus Credits</div>
|
| 1163 |
+
<ul class="uc-package-perks">
|
| 1164 |
+
<li>Platinum Supporter Badge</li>
|
| 1165 |
+
<li>Access to Platinum VIP Lounge</li>
|
| 1166 |
+
<li>20% Faster Money Laundering</li>
|
| 1167 |
+
<li>Exclusive Platinum Weapon Skin</li>
|
| 1168 |
+
<li>24/7 Priority Support</li>
|
| 1169 |
+
<li>Early Access to New Features</li>
|
| 1170 |
+
<li>Personal Account Manager</li>
|
| 1171 |
+
</ul>
|
| 1172 |
+
<button class="uc-btn uc-btn-outline uc-btn-block">
|
| 1173 |
+
<i class="fab fa-paypal"></i> Purchase
|
| 1174 |
+
</button>
|
| 1175 |
</div>
|
| 1176 |
</div>
|
| 1177 |
</div>
|
| 1178 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1179 |
|
| 1180 |
+
<!-- Supporter Perks Legend -->
|
| 1181 |
+
<div class="uc-card uc-perks-legend">
|
| 1182 |
+
<div class="uc-card-header">
|
| 1183 |
+
<span>Supporter Perks Legend</span>
|
| 1184 |
+
<i class="fas fa-crown"></i>
|
| 1185 |
+
</div>
|
| 1186 |
+
<div class="uc-card-body">
|
| 1187 |
+
<div class="uc-perks-grid">
|
| 1188 |
+
<div class="uc-perk-item">
|
| 1189 |
+
<div class="uc-perk-icon">
|
| 1190 |
+
<i class="fas fa-medal"></i>
|
| 1191 |
+
</div>
|
| 1192 |
+
<div>
|
| 1193 |
+
<div class="uc-perk-name">Supporter Badges</div>
|
| 1194 |
+
<div class="uc-perk-desc">Unique visual indicators of your status</div>
|
| 1195 |
+
</div>
|
| 1196 |
+
</div>
|
| 1197 |
+
<div class="uc-perk-item">
|
| 1198 |
+
<div class="uc-perk-icon">
|
| 1199 |
+
<i class="fas fa-door-open"></i>
|
| 1200 |
+
</div>
|
| 1201 |
+
<div>
|
| 1202 |
+
<div class="uc-perk-name">VIP Lounges</div>
|
| 1203 |
+
<div class="uc-perk-desc">Exclusive areas with special features</div>
|
| 1204 |
+
</div>
|
| 1205 |
+
<div class="uc-perk-item">
|
| 1206 |
+
<div class="uc-perk-icon">
|
| 1207 |
+
<i class="fas fa-tachometer-alt"></i>
|
| 1208 |
+
</div>
|
| 1209 |
+
<div>
|
| 1210 |
+
<div class="uc-perk-name">Faster Operations</div>
|
| 1211 |
+
<div class="uc-perk-desc">Reduced timers for various underworld activities</div>
|
| 1212 |
+
</div>
|
| 1213 |
+
<div class="uc-perk-item">
|
| 1214 |
+
<div class="uc-perk-icon">
|
| 1215 |
+
<i class="fas fa-paint-roller"></i>
|
| 1216 |
+
</div>
|
| 1217 |
+
<div>
|
| 1218 |
+
<div class="uc-perk-name">Exclusive Cosmetics</div>
|
| 1219 |
+
<div class="uc-perk-desc">Unique visual customizations for your character</div>
|
| 1220 |
+
</div>
|
| 1221 |
+
</div>
|
| 1222 |
+
<div class="uc-perk-item">
|
| 1223 |
+
<div class="uc-perk-icon">
|
| 1224 |
+
<i class="fas fa-headset"></i>
|
| 1225 |
+
</div>
|
| 1226 |
+
<div>
|
| 1227 |
+
<div class="uc-perk-name">Priority Support</div>
|
| 1228 |
+
<div class="uc-perk-desc">Faster response times and dedicated help</div>
|
| 1229 |
+
</div>
|
| 1230 |
+
</div>
|
| 1231 |
+
</div>
|
| 1232 |
+
</div>
|
| 1233 |
+
</div>
|
| 1234 |
+
</main>
|
| 1235 |
+
</div>
|
| 1236 |
+
|
| 1237 |
+
<footer class="uc-footer">
|
| 1238 |
+
<p>Enter at your own risk | All transactions are final</p>
|
| 1239 |
+
</footer>
|
| 1240 |
+
|
| 1241 |
+
<script>
|
| 1242 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 1243 |
+
// Send credits functionality
|
| 1244 |
+
const sendBtn = document.querySelector('.uc-send-credits .uc-btn-success');
|
| 1245 |
+
const recipientInput = document.querySelector('.uc-send-credits .uc-input');
|
| 1246 |
+
const amountInput = document.querySelectorAll('.uc-send-credits .uc-input')[1];
|
| 1247 |
+
const roundInput = document.querySelectorAll('.uc-send-credits .uc-input')[2];
|
| 1248 |
+
|
| 1249 |
+
sendBtn.addEventListener('click', function() {
|
| 1250 |
+
const recipient = recipientInput.value.trim();
|
| 1251 |
+
const amount = parseInt(amountInput.value);
|
| 1252 |
+
const round = roundInput.value.trim();
|
| 1253 |
|
| 1254 |
+
if (!recipient || !amount || amount <= 0) {
|
| 1255 |
+
alert('Please enter a valid recipient and amount');
|
| 1256 |
+
return;
|
| 1257 |
+
}
|
| 1258 |
+
|
| 1259 |
+
const confirmation = confirm(`Send ${amount} credits to ${recipient}${round ? ' for round ' + round : ''}?`);
|
| 1260 |
+
|
| 1261 |
+
if (confirmation) {
|
| 1262 |
+
// Show loading state
|
| 1263 |
+
sendBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Processing...';
|
| 1264 |
+
sendBtn.disabled = true;
|
| 1265 |
|
| 1266 |
+
// Simulate API call
|
| 1267 |
+
setTimeout(() => {
|
| 1268 |
+
alert(`Successfully sent ${amount} credits to ${recipient}`);
|
| 1269 |
+
sendBtn.innerHTML = '<i class="fas fa-paper-plane"></i> Send Credits';
|
| 1270 |
+
sendBtn.disabled = false;
|
| 1271 |
|
| 1272 |
+
// Clear form
|
| 1273 |
+
recipientInput.value = '';
|
| 1274 |
+
amountInput.value = '';
|
| 1275 |
+
roundInput.value = '';
|
| 1276 |
+
}, 1500);
|
| 1277 |
+
}
|
| 1278 |
+
});
|
| 1279 |
+
|
| 1280 |
+
// Purchase package functionality
|
| 1281 |
+
const purchaseBtns = document.querySelectorAll('.uc-package-card .uc-btn');
|
| 1282 |
+
|
| 1283 |
+
purchaseBtns.forEach(btn => {
|
| 1284 |
+
btn.addEventListener('click', function() {
|
| 1285 |
+
const packageCard = this.closest('.uc-package-card');
|
| 1286 |
+
const packageName = packageCard.querySelector('.uc-package-name').textContent;
|
| 1287 |
+
const packagePrice = packageCard.querySelector('.uc-package-price').textContent;
|
| 1288 |
+
|
| 1289 |
+
alert(`Redirecting to payment for ${packageName} - ${packagePrice}`);
|
| 1290 |
+
// In real implementation, this would redirect to payment gateway
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1291 |
});
|
| 1292 |
+
});
|
| 1293 |
+
|
| 1294 |
+
// Search player functionality
|
| 1295 |
+
let searchTimeout;
|
| 1296 |
+
recipientInput.addEventListener('input', function() {
|
| 1297 |
+
clearTimeout(searchTimeout);
|
| 1298 |
+
const query = this.value.trim();
|
| 1299 |
+
|
| 1300 |
+
if (query.length >= 2) {
|
| 1301 |
+
searchTimeout = setTimeout(() => {
|
| 1302 |
+
console.log('Searching for player:', query);
|
| 1303 |
+
// In real implementation, this would fetch player suggestions
|
| 1304 |
+
}, 500);
|
| 1305 |
+
}
|
| 1306 |
+
});
|
| 1307 |
+
|
| 1308 |
+
// Add pulse effect to featured package
|
| 1309 |
+
const featuredPackage = document.querySelector('.uc-package-card.featured');
|
| 1310 |
+
|
| 1311 |
+
if (featuredPackage) {
|
| 1312 |
+
setInterval(() => {
|
| 1313 |
+
featuredPackage.classList.add('uc-pulse');
|
| 1314 |
+
setTimeout(() => {
|
| 1315 |
+
featuredPackage.classList.remove('uc-pulse');
|
| 1316 |
+
}, 2000);
|
| 1317 |
+
}, 8000);
|
| 1318 |
+
}
|
| 1319 |
+
});
|
| 1320 |
+
</script>
|
| 1321 |
</body>
|
| 1322 |
|
| 1323 |
</html>
|