-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
186 lines (167 loc) · 5.32 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IPL Betting Game</title>
<style>
/* General Styles */
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to bottom, #1c1c1c, #3b5998, #1e90ff);
color: #fff;
overflow-x: hidden;
}
h1, h2 {
font-weight: bold;
margin: 0;
}
p {
margin: 0;
font-size: 16px;
color: #ddd;
}
/* Header Styles */
.header {
text-align: center;
padding: 30px 20px;
background: linear-gradient(to bottom, #1e90ff, #4682b4);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.header h1 {
font-size: 2.5em;
color: #fff;
}
/* Main Container */
.container {
max-width: 1000px;
margin: 40px auto;
padding: 20px;
background: rgba(0, 0, 0, 0.6);
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.section {
margin-bottom: 30px;
}
.section h2 {
font-size: 1.8em;
margin-bottom: 20px;
text-align: center;
color: #ffdd00;
}
/* Team and Player List */
.team-list, .player-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 20px;
}
.team, .player {
text-align: center;
padding: 15px;
background: linear-gradient(135deg, #222, #444);
border-radius: 10px;
border: 2px solid #333;
transition: transform 0.3s, box-shadow 0.3s;
color: #ffdd00;
font-weight: bold;
cursor: pointer;
}
.team:hover, .player:hover {
transform: translateY(-5px) scale(1.05);
box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
border-color: #ffdd00;
background: linear-gradient(135deg, #555, #888);
}
/* Betting Section */
.bet-section {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
}
.bet-section input {
width: 80%;
padding: 15px;
margin-bottom: 15px;
border: none;
border-radius: 8px;
font-size: 16px;
background: rgba(255, 255, 255, 0.1);
color: #fff;
outline: none;
text-align: center;
}
.bet-section button {
padding: 15px 30px;
background: linear-gradient(135deg, #ff9900, #ffcc00);
border: none;
border-radius: 8px;
font-size: 18px;
font-weight: bold;
color: #1c1c1c;
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s;
}
.bet-section button:hover {
transform: translateY(-3px) scale(1.1);
box-shadow: 0 6px 15px rgba(255, 204, 0, 0.6);
}
/* Responsive Design */
@media (max-width: 768px) {
.team-list, .player-list {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.bet-section input {
width: 90%;
}
}
</style>
</head>
<body>
<div class="header">
<h1>IPL Betting Game</h1>
<p>Pick your favorites and bet with confidence!</p>
</div>
<div class="container">
<!-- Team Selection Section -->
<div class="section">
<h2>Select Your Team</h2>
<div class="team-list">
<div class="team">Mumbai Indians</div>
<div class="team">Chennai Super Kings</div>
<div class="team">Royal Challengers Bangalore</div>
<div class="team">Kolkata Knight Riders</div>
<div class="team">Delhi Capitals</div>
<div class="team">Punjab Kings</div>
<div class="team">Sunrisers Hyderabad</div>
<div class="team">Rajasthan Royals</div>
</div>
</div>
<!-- Player Selection Section -->
<div class="section">
<h2>Pick Your Star Player</h2>
<div class="player-list">
<div class="player">Virat Kohli</div>
<div class="player">MS Dhoni</div>
<div class="player">Rohit Sharma</div>
<div class="player">KL Rahul</div>
<div class="player">Jasprit Bumrah</div>
<div class="player">David Warner</div>
<div class="player">Rashid Khan</div>
<div class="player">Sanju Samson</div>
</div>
</div>
<!-- Betting Section -->
<div class="section">
<h2>Place Your Bet</h2>
<div class="bet-section">
<input type="text" placeholder="Enter your bet amount">
<button>Submit Bet</button>
</div>
</div>
</div>
</body>
</html>