-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbedwars-store.html
More file actions
229 lines (201 loc) · 9.23 KB
/
Copy pathbedwars-store.html
File metadata and controls
229 lines (201 loc) · 9.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<title>Hellcore | Bedwars Store</title>
<style>
/* --- LOGO ANIMATION --- */
.logo {
display: block;
margin: 0 auto;
max-width: 200px;
padding: 20px 0;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
cursor: pointer;
filter: drop-shadow(0 0 0px transparent);
}
.logo:hover {
transform: scale(1.1) rotate(2deg);
filter: drop-shadow(0 0 20px rgba(255, 78, 0, 0.6));
}
/* --- STORE STYLING --- */
.price { color: #00ff00; font-weight: bold; font-size: 1.3rem; margin: 10px 0; display: block; }
.buy-btn { width: 100%; margin-top: 15px; font-weight: bold; }
.section-title {
grid-column: 1 / -1;
border-bottom: 2px solid #ff00ff;
padding-bottom: 10px;
margin-top: 30px;
color: #ff00ff;
text-transform: uppercase;
letter-spacing: 2px;
}
/* HOVER ANIMATIONS */
.rank-card, .item-card {
cursor: pointer;
transition: all 0.3s ease-in-out;
position: relative;
overflow: hidden;
background: rgba(255, 255, 255, 0.02);
border: 2px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 25px;
}
.rank-card:hover, .item-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(255, 0, 255, 0.3);
background: rgba(255, 255, 255, 0.05);
border-color: #ff00ff;
}
/* Shine Sweep Effect */
.rank-card::after, .item-card::after {
content: "";
position: absolute;
top: 0; left: -150%;
width: 50%; height: 100%;
background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
transform: skewX(-25deg);
transition: 0.6s;
}
.rank-card:hover::after, .item-card:hover::after {
left: 150%;
}
/* Input Styling */
.amount-input {
width: 80%;
padding: 10px;
margin-top: 10px;
background: rgba(0,0,0,0.5);
border: 1px solid #ff00ff;
color: #fff;
border-radius: 5px;
text-align: center;
outline: none;
transition: 0.3s;
}
.amount-input:focus {
box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
background: #000;
}
/* MODAL STYLES */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0; top: 0; width: 100%; height: 100%;
background-color: rgba(0,0,0,0.95);
backdrop-filter: blur(5px);
}
.modal-content {
background: #111;
margin: 10% auto;
padding: 30px;
border: 2px solid #ff00ff;
width: 90%;
max-width: 400px;
border-radius: 15px;
text-align: left;
position: relative;
box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}
.close-btn { position: absolute; right: 20px; top: 10px; color: #aaa; font-size: 28px; cursor: pointer; }
.close-btn:hover { color: #fff; }
.perk-list { list-style: none; padding: 0; }
.perk-list li { margin: 10px 0; padding-left: 25px; position: relative; color: #ccc; }
.perk-list li::before { content: "✔"; position: absolute; left: 0; color: #00ff00; font-weight: bold; }
</style>
</head>
<body>
<div id="perkModal" class="modal">
<div class="modal-content">
<span class="close-btn" onclick="closeModal()">×</span>
<h2 id="modalRankName" style="margin-bottom: 15px;">Rank Perks</h2>
<ul id="modalPerkList" class="perk-list"></ul>
<button class="btn buy-btn" onclick="closeModal()">Close</button>
</div>
</div>
<div class="overlay">
<header>
<a href="home.html">
<img src="logo.webp" class="logo" alt="Hellcore Logo">
</a>
</header>
<nav>
<a href="store.html" style="color: #ff00ff; font-weight: bold; text-decoration: none; transition: 0.3s;">
← Back to Store Hub
</a>
</nav>
<div class="container">
<h1 style="text-align: center; color: white; font-size: 2.5rem; margin-top: 20px;">Bedwars Department</h1>
<div class="grid" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 30px;">
<h2 class="section-title">Bedwars Ranks</h2>
<div class="rank-card" onclick="openModal('VIP', ['Fly Access in Lobby', 'Force Start Games', 'Green Prefix', '2x Coins Multiplier'])" style="text-align: center; border-top: 4px solid #55ff55;">
<h3 style="color: #55ff55;">VIP</h3>
<span class="price">$5.00</span>
<button class="btn buy-btn">View Perks</button>
</div>
<div class="rank-card" onclick="openModal('VIP+', ['All VIP Perks', 'Create Your Own Guild', 'Unique Chat Icons', 'Access to /nick'])" style="text-align: center; border-top: 4px solid #00aa00;">
<h3 style="color: #00aa00;">VIP+</h3>
<span class="price">$10.00</span>
<button class="btn buy-btn">View Perks</button>
</div>
<div class="rank-card" onclick="openModal('MVP', ['All VIP+ Perks', 'Blue Tag', 'Wardrobe Access', '3x Coins Multiplier'])" style="text-align: center; border-top: 4px solid #55ffff;">
<h3 style="color: #55ffff;">MVP</h3>
<span class="price">$20.00</span>
<button class="btn buy-btn">View Perks</button>
</div>
<div class="rank-card" onclick="openModal('MVP+', ['All MVP Perks', 'PRIVATE GAMES ACCESS', 'Custom Kill Messages', 'Gold Tag', '5x Coins Multiplier'])" style="text-align: center; border-top: 4px solid #ffaa00;">
<h3 style="color: #ffaa00;">MVP+</h3>
<span class="price">$35.00</span>
<button class="btn buy-btn">View Perks</button>
</div>
<h2 class="section-title">Currency & Crates</h2>
<div class="item-card" style="text-align: center; border-top: 4px solid #ff00ff;">
<h3 style="color: white;">Mystery Boxes</h3>
<p style="color: #aaa;">Unlock random cosmetics</p>
<input type="number" class="amount-input" placeholder="Quantity" min="1">
<button class="btn buy-btn">Add to Cart</button>
</div>
<div class="item-card" style="text-align: center; border-top: 4px solid #ffd700;">
<h3 style="color: white;">Bedwars Coins</h3>
<p style="color: #aaa;">Buy cosmetics directly</p>
<input type="number" class="amount-input" placeholder="Amount" min="100">
<button class="btn buy-btn">Add to Cart</button>
</div>
<div class="item-card" style="text-align: center; border-top: 4px solid #55ffff;">
<h3 style="color: white;">Mystery Dust</h3>
<p style="color: #aaa;">Craft specific items</p>
<input type="number" class="amount-input" placeholder="Quantity" min="1">
<button class="btn buy-btn">Add to Cart</button>
</div>
</div>
</div>
</div>
<script>
function openModal(rank, perks) {
document.getElementById('modalRankName').innerText = rank + " Perks";
document.getElementById('modalRankName').style.color = getRankColor(rank);
const list = document.getElementById('modalPerkList');
list.innerHTML = "";
perks.forEach(perk => {
let li = document.createElement('li');
li.innerText = perk;
list.appendChild(li);
});
document.getElementById('perkModal').style.display = "block";
}
function closeModal() { document.getElementById('perkModal').style.display = "none"; }
function getRankColor(rank) {
if(rank === 'VIP') return '#55ff55';
if(rank === 'VIP+') return '#00aa00';
if(rank === 'MVP') return '#55ffff';
if(rank === 'MVP+') return '#ffaa00';
return '#fff';
}
window.onclick = function(event) {
if (event.target == document.getElementById('perkModal')) { closeModal(); }
}
</script>
</body>
</html>