-card a.btn:hover {
transform: translateY(-3px) !important;
text-decoration: none !important;
color: #0d3305 !important;
animation-duration: 2s !important;
box-shadow: 0 10px 35px rgba(255, 215, 0, 0.6) !important;
}
.tournament-card a.btn:active {
transform: translateY(0px) !important;
box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5) !important;
}
.tournament-detail-page {
width: 60%;
background: url(https://i.postimg.cc/ZKS9LfhG/image-q80-compressed.webp) no-repeat center center;
background-size: cover;
font-family: Arial, s
transform: translateY(-3px) !important;
text-decoration: none !important;
color: #0d3305 !important;
animation-duration: 2s !important;
box-shadow: 0 10px 35px rgba(255, 215, 0, 0.6) !important;
}
.tournament-card a.btn:active {
transform: translateY(0px) !important;
box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5) !important;
}
.tournament-detail-page {
width: 60%;
background: url(https://i.postimg.cc/ZKS9LfhG/image-q80-compressed.webp) no-repeat center center;
background-size: cover;
font-family: Arial, s
-card a.btn:hover {
transform: translateY(-3px) !important;
text-decoration: none !important;
color: #0d3305 !important;
animation-duration: 2s !important;
box-shadow: 0 10px 35px rgba(255, 215, 0, 0.6) !important;
}
.tournament-card a.btn:active {
transform: translateY(0px) !important;
box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5) !important;
}
.tournament-detail-page {
width: 60%;
background: url(https://i.postimg.cc/ZKS9LfhG/image-q80-compressed.webp) no-repeat center center;
background-size: cover;
font-family: Arial, sans-serif;
padding: 20px;
position: fixed;
top: 61%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 99999 !important;
overflow-y: auto;
box-sizing: border-box;
height: 1000px;
}
@media (max-width: 768px) {
.tournament-detail-page {
width: 100%;
padding: 10px;
top: 50%;
height: auto;
max-height: 90vh;
transform: translate(-50%, -50%);
}
.back-btn {
font-size: 12px !important;
padding: 8px 15px !important;
top: 5px !important;
left: 5px !important;
}
.tournament-detail-page h1 {
font-size: 20px !important;
margin-bottom: 15px !important;
}
.tournament-detail-page .subtitle {
font-size: 14px !important;
}
}
.tournament-page-overlay {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
background: rgba(0, 0, 0, 0.95) !important;
z-index: 99998 !important;
width: 100vw !important;
height: 100vh !important;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.85);
display: flex;
align-items: center;
justify-content: center;
z-index: 99999;
padding: 10px;
box-sizing: border-box;
}
.modal-content {
background: linear-gradient(145deg, #000000, #000000);
border-radius: 15px;
width: 95%;
max-width: 800px;
max-height: 90vh;
overflow-y: auto;
position: relative;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
.modal-content {
width: 98%;
max-height: 95vh;
border-radius: 10px;
}
}
.modal-close {
position: absolute;
top: 15px;
right: 15px;
background: rgba(255, 255, 255, 0.2);
border: none;
color: #a0b3c7;
font-size: 20px;
cursor: pointer;
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
z-index: 100001;
}
.modal-close:hover {
background: rgba(255, 255, 255, 0.3);
color: #fff;
}
.back-btn {
background: linear-gradient(135deg, #7f8c8d, #95a5a6);
color: #fff;
border: none;
padding: 12px 25px;
border-radius: 5px;
// Tournament Cards - Mobile Responsive Version
(function () {
console.log('Tournament script starting - mobile responsive version');
// Inject CSS immediately
const css = `
.tournament-cards-container {
position: relative !important;
display: block !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 1000 !important;
margin: 10px 0 !important;
padding: 10px !important;
text-align: center !important;
background: transparent !important;
width: 100% !important;
}
/* Mobile: posisi setelah button daftar */
@media (max-width: 768px) {
.buttonjoin + .tournament-cards-container,
#versi-wap + .tournament-cards-container {
position: relative !important;
margin: 20px auto !important;
padding: 10px !important;
width: 95% !important;
max-width: 400px !important;
}
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes buttonGlow {
0% {
background-position: 0% 50%;
box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}
50% {
background-position: 100% 50%;
box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}
100% {
background-position: 0% 50%;
box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}
}
@keyframes cardGlow {
0% {
box-shadow: 0 8px 32px rgba(51, 113, 21, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
50% {
box-shadow: 0 12px 40px rgba(76, 175, 80, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
100% {
box-shadow: 0 8px 32px rgba(51, 113, 21, 0.3),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
}
.tournament-card {
width: 260px !important;
background: url(https://i.postimg.cc/j53x1Vnw/image.png)!important;
animation: gradientShift 6s ease infinite, cardGlow 4s ease infinite !important;
border-radius: 16px !important;
padding: 15px 20px !important;
margin: 8px auto !important;
color: #ffffff !important;
text-align: center !important;
display: block !important;
visibility: visible !important;
opacity: 1 !important;
position: relative !important;
border: 1.5px solid rgba(139, 195, 74, 0.3) !important;
transform: translateX(-10px) !important;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
backdrop-filter: blur(10px) !important;
overflow: hidden !important;
height: 220px !important;
}
@media (max-width: 767px) {
.tournament-card {
width: 100% !important;
max-width: 350px !important;
transform: translateX(0) !important;
margin: 8px auto !important;
}
}
.tournament-card::before {
content: '' !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
border-radius: 16px !important;
background: linear-gradient(
135deg,
rgba(139, 195, 74, 0.15),
transparent,
rgba(76, 175, 80, 0.1)
) !important;
pointer-events: none !important;
}
.tournament-card h3 {
font-size: 14px !important;
margin: 10px 0 !important;
color: #000000 !important;
font-weight: 700 !important;
line-height: 1.3 !important;
text-shadow: none !important;
letter-spacing: 0.5px !important;
background: #ffd700 !important;
padding: 6px 10px !important;
border-radius: 8px !important;
display: inline-block !important;
}
.tournament-card .date {
font-size: 13px !important;
color: #000000 !important;
margin-bottom: 12px !important;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
font-weight: bold !important;
letter-spacing: 0.3px !important;
text-align: center !important;
background: #ffd700 !important;
padding: 4px 8px !important;
border-radius: 6px !important;
display: inline-block !important;
}
.tournament-card .prize {
font-weight: 800 !important;
background: linear-gradient(
90deg,
#ffd700,
#ffed4e,
#fff176,
#ffed4e,
#ffd700
) !important;
background-size: 200% 200% !important;
animation: gradientShift 3s ease infinite !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent !important;
background-clip: text !important;
margin: 14px 0 !important;
font-size: 20px !important;
text-shadow: none !important;
letter-spacing: 0.8px !important;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}
.tournament-card a.btn {
display: inline-block !important;
text-align: center !important;
padding: 4px 4px !important;
background: linear-gradient(
135deg,
#ffd700,
#ffed4e,
#ffc107,
#ffed4e
) !important;
background-size: 200% 200% !important;
animation: buttonGlow 4s ease infinite !important;
color: #000000 !important;
border-radius: 12px !important;
text-decoration: none !important;
font-weight: 700 !important;
margin: 1px auto !important;
text-transform: uppercase !important;
font-size: 14px !important;
text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;