@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
--bg-color-dark: #0d1117;
--bg-color-light: #161b22;
--primary-color: #5865f2;
--accent-color-1: #7289da;
--accent-color-2: #23a55a;
--border-color: #30363d;
--border-active: #6366f1;
--card-bg: rgba(22, 27, 34, 0.7);
--card-bg-hover: #21262d;
--text-color: #c9d1d9;
--text-muted: #8b949e;
--accent-glow: rgba(88, 101, 242, 0.4);
--accent-glow-strong: rgba(88, 101, 242, 0.6);
--success-color: var(--accent-color-2);
--success-glow: rgba(35, 165, 90, 0.3);
--warning-color: #f04747;
--warning-glow: rgba(240, 71, 71, 0.3);
--gradient-primary: linear-gradient(135deg, #5865f2 0%, #7983f5 50%, #8b5cf6 100%);
--gradient-success: linear-gradient(135deg, #23a55a 0%, #56d364 50%, #39d353 100%);
--gradient-warning: linear-gradient(135deg, #f04747 0%, #ff6b6b 50%, #fd7e7e 100%);
--shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
--shadow-card-hover: 0 12px 40px rgba(88, 101, 242, 0.3);
--shadow-glow: 0 0 30px var(--accent-glow);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
font-family: 'Poppins', sans-serif;
background:
linear-gradient(-45deg,
#0d1117,
#161b22,
#1a1f26,
#0f1419
);
background-size: 400% 400%;
animation: gradient-shift 20s ease infinite;
color: var(--text-color);
display: flex;
justify-content: center;
align-items: flex-start;
padding: 50px 20px;
min-height: 100vh;
overflow-x: hidden;
line-height: 1.6;
position: relative;
}

@keyframes gradient-shift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}

body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(1.5px 1.5px at 90px 40px, rgba(255, 165, 0, 0.9), transparent),
radial-gradient(2px 2px at 250px 120px, rgba(255, 100, 0, 0.8), transparent),
radial-gradient(1.2px 1.2px at 50px 180px, rgba(255, 150, 0, 0.9), transparent),
radial-gradient(0.8px 0.8px at 180px 150px, rgba(255, 130, 0, 0.7), transparent),
radial-gradient(1px 1px at 10px 240px, rgba(255, 120, 0, 0.8), transparent),
radial-gradient(1.8px 1.8px at 220px 200px, rgba(255, 180, 20, 1), transparent);
background-repeat: repeat;
background-size: 350px 250px;
animation:
glow-embers 5s ease-in-out infinite alternate,
ember-drift-1 80s linear infinite;
pointer-events: none;
z-index: -2;
}


body::after {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(1px 1px at 20px 30px, rgba(255, 120, 0, 0.8), transparent),
radial-gradient(1px 1px at 160px 30px, rgba(255, 140, 0, 0.7), transparent),
radial-gradient(1.8px 1.8px at 120px 220px, rgba(255, 190, 40, 1), transparent),
radial-gradient(1.5px 1.5px at 280px 50px, rgba(255, 165, 0, 0.8), transparent),
radial-gradient(2.2px 2.2px at 340px 190px, rgba(255, 200, 50, 1), transparent),
radial-gradient(1.5px 1.5px at 300px 150px, rgba(255, 160, 0, 0.9), transparent);
background-repeat: repeat;
background-size: 400px 300px;
animation:
glow-embers-fast 3.5s ease-in-out infinite alternate,
ember-drift-2 50s linear infinite;
pointer-events: none;
z-index: -1;
}

@keyframes glow-embers {
from { opacity: 0.5; filter: brightness(0.8) saturate(0.7); }
to { opacity: 1; filter: brightness(1.6) saturate(1.5); }
}

@keyframes glow-embers-fast {
from { opacity: 0.6; filter: brightness(1) saturate(1); }
to { opacity: 1; filter: brightness(1.8) saturate(1.6); }
}

@keyframes ember-drift-1 {
from { transform: translate(0, 0); }
to { transform: translate(-30px, -120px); } /* Increased upward drift */
}

@keyframes ember-drift-2 {
from { transform: translate(0, 0); }
to { transform: translate(25px, -150px); } /* Increased upward drift */
}


.container {
background:
linear-gradient(145deg, rgba(13, 17, 23, 0.9), rgba(22, 27, 34, 0.8)),
radial-gradient(circle at 20% 80%, rgba(88, 101, 242, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
backdrop-filter: blur(20px) saturate(1.2);
-webkit-backdrop-filter: blur(20px) saturate(1.2);
padding: 30px 40px;
border-radius: 32px;
border: 2px solid transparent;
background-clip: padding-box;
box-shadow:
0 20px 50px rgba(0, 0, 0, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
width: 100%;
max-width: 1100px;
text-align: center;
position: relative;
overflow: hidden;
}


.container::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
border-radius: 32px;
border: 2px solid transparent;
background: linear-gradient(120deg, #ff8c00, #ff4500, #ffD700, #ff6347) border-box;
-webkit-mask:
linear-gradient(#fff 0 0) padding-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: destination-out;
mask-composite: exclude;
z-index: -1;
animation: fiery-border-glow 4s ease-in-out infinite;
}

@keyframes fiery-border-glow {
0% { background-position: 0% 50%; opacity: 0.7; }
50% { background-position: 100% 50%; opacity: 1; }
100% { background-position: 0% 50%; opacity: 0.7; }
}

.container::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background:
radial-gradient(circle at 30% 70%, rgba(88, 101, 242, 0.03) 0%, transparent 50%),
radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
animation: container-glow 20s ease-in-out infinite;
pointer-events: none;
}

@keyframes container-glow {
0%, 100% {
opacity: 0.5;
filter: brightness(1);
}
50% {
opacity: 0.8;
filter: brightness(1.2);
}
}

.login-prompt {
min-height: 60vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.login-prompt p { font-size: 1.1rem; color: var(--text-muted); margin: 15px 0 30px; }

.header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 40px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border-color);
}

.shop-title {
font-size: 2.5rem;
font-weight: 700;
background: var(--gradient-primary);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 20px var(--accent-glow), 0 0 8px var(--primary-color);
text-align: left;
letter-spacing: -0.02em;
}

.user-info {
display: flex;
align-items: center;
gap: 15px;
padding: 15px 20px;
background: var(--card-bg);
border-radius: 20px;
border: 1px solid var(--border-color);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
transition: all 0.3s ease;
}

.user-info:hover {
border-color: var(--border-active);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), var(--shadow-glow);
}

#user-avatar {
width: 48px; height: 48px; border-radius: 50%;
border: 2px solid var(--primary-color);
box-shadow: 0 0 10px var(--accent-glow);
transition: all 0.3s ease;
}

#user-avatar:hover {
transform: scale(1.1);
box-shadow: 0 0 30px var(--accent-glow-strong);
}

#welcome-message {
font-size: 1.1rem;
font-weight: 500;
background: var(--gradient-primary);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.logout-button {
color: var(--text-muted);
font-size: 0.9em;
text-decoration: none;
transition: all 0.3s ease;
padding: 8px 16px;
border-radius: 12px;
border: 1px solid transparent;
}

.logout-button:hover {
color: var(--warning-color);
background: rgba(248, 81, 73, 0.1);
border-color: var(--warning-color);
box-shadow: 0 0 15px var(--warning-glow);
text-decoration: underline;
}

.category-nav {
display: flex;
justify-content: center;
gap: 12px;
margin-bottom: 50px;
flex-wrap: wrap;
padding: 20px;
background: rgba(22, 27, 34, 0.6);
border-radius: 20px;
border: 1px solid var(--border-color);
}

.nav-button {
background: transparent;
border: 2px solid var(--border-color);
color: var(--text-muted);
padding: 10px 25px;
border-radius: 30px;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
outline: none;
position: relative;
overflow: hidden;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.nav-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: var(--gradient-primary);
transition: left 0.4s ease;
z-index: -1;
}

.nav-button:hover {
color: white;
border-color: var(--primary-color);
transform: translateY(-3px) scale(1.05);
box-shadow: var(--shadow-glow);
}

.nav-button:hover::before {
left: 0;
}

.nav-button.active {
color: #fff;
background-color: var(--primary-color);
border-color: var(--primary-color);
box-shadow: 0 0 20px var(--accent-glow);
}

.nav-button.active::before {
left: 0;
}

#prestige-items {
background:
linear-gradient(145deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.05)),
radial-gradient(circle at 30% 70%, rgba(244, 63, 94, 0.08) 0%, transparent 50%),
radial-gradient(circle at 70% 30%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
border: 2px solid rgba(168, 85, 247, 0.3);
border-radius: 24px;
padding: 40px 30px;
position: relative;
overflow: hidden;
}

#prestige-items::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #a855f7, #8b5cf6, #f43f5e, #fbbf24);
border-radius: 24px 24px 0 0;
animation: prestige-glow 3s ease-in-out infinite;
}

#prestige-items::after {
content: '🐉';
position: absolute;
top: 20px;
right: 20px;
font-size: 2rem;
animation: gentle-float 2.2s ease-in-out infinite;
}

@keyframes prestige-glow {
0%, 100% { opacity: 0.7; }
50% { opacity: 1; }
}

@keyframes gentle-float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}

#prestige-items .shop-category > h2 {
background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 25%, #f43f5e 50%, #fbbf24 75%, #a855f7 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 2.2rem;
text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
animation: prestige-title-glow 4s ease-in-out infinite;
}

@keyframes prestige-title-glow {
0%, 100% { filter: brightness(1) saturate(1); }
50% { filter: brightness(1.3) saturate(1.5); }
}

.shop-category {
margin-bottom: 50px;
opacity: 0;
animation: fadeInUp 0.8s ease forwards;
}

.shop-category:nth-child(2) { animation-delay: 0.1s; }
.shop-category:nth-child(3) { animation-delay: 0.2s; }
.shop-category:nth-child(4) { animation-delay: 0.3s; }
.shop-category:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.shop-category > h2 {
position: relative;
font-size: 2rem;
font-weight: 700;
background: var(--gradient-primary);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
padding-bottom: 15px;
margin-bottom: 30px;
display: inline-block;
text-transform: uppercase;
letter-spacing: 1px;
}


.shop-category > h2::after {
content: '';
position: absolute;
bottom: 0; left: 50%;
transform: translateX(-50%);
width: 60%; height: 3px;
background: linear-gradient(90deg, #ff8c00, #ffD700, #ff4500, #ff8c00);
background-size: 200% 100%;
border-radius: 2px;
animation: fire-underline 3s linear infinite;
}

@keyframes fire-underline {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}


.item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.item-card {
background: linear-gradient(145deg, var(--card-bg), var(--card-bg-hover));
padding: 25px;
border-radius: 16px;
border: 2px solid var(--border-color);
border-top: 3px solid;
border-image-slice: 1;
border-image-source: linear-gradient(90deg, var(--primary-color), var(--accent-color-1));
display: flex;
flex-direction: column;
text-align: left;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
box-shadow: var(--shadow-card);
}

.item-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.3) 0%, transparent 60%),
radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
radial-gradient(circle at 100% 100%, rgba(35, 165, 90, 0.15) 0%, transparent 60%);
opacity: 0;
transition: opacity 0.5s ease;
z-index: 0;
}

.item-card::after {
content: '🐉';
position: absolute;
top: 15px;
right: -30px;
font-size: 1.2rem;
opacity: 0;
transition: all 0.8s ease;
z-index: 2;
}

.item-card:hover::after {
right: 15px;
opacity: 1;
animation: gentle-float 2s ease-in-out infinite;
}

.item-card:hover {
transform: translateY(-8px) scale(1.02);
border-color: var(--accent-color-1);
box-shadow:
var(--shadow-card-hover),
0 0 40px rgba(88, 101, 242, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
animation: glow-pulse 2s infinite, card-aurora 3s ease-in-out infinite;
}

@keyframes glow-pulse {
0%, 100% { box-shadow: var(--shadow-card); }
50% { box-shadow: var(--shadow-card-hover); }
}

@keyframes card-aurora {
0%, 100% {
border-image: linear-gradient(90deg, var(--primary-color), var(--accent-color-1)) 1;
}
25% {
border-image: linear-gradient(90deg, var(--accent-color-1), rgba(139, 92, 246, 0.8)) 1;
}
50% {
border-image: linear-gradient(90deg, rgba(139, 92, 246, 0.8), rgba(168, 85, 247, 0.8)) 1;
}
75% {
border-image: linear-gradient(90deg, rgba(168, 85, 247, 0.8), var(--primary-color)) 1;
}
}

.item-card:hover::before {
opacity: 1;
}

.item-card h4 {
margin: 0 0 8px 0;
font-size: 1.3rem;
font-weight: 600;
background: var(--gradient-primary);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
z-index: 1;
}

.item-card .price {
font-size: 1.8rem;
font-weight: 700;
color: var(--accent-color-2);
margin-bottom: 15px;
text-shadow: 0 0 10px var(--success-glow);
display: flex;
align-items: center;
gap: 8px;
position: relative;
z-index: 1;
}

.item-card .price::before {
content: '🔥';
font-size: 1.2em;
transition: all 0.3s ease;
}

.item-card:hover .price::before {
animation: coin-bounce 0.8s ease-in-out infinite;
}

@keyframes coin-bounce {
0%, 100% { transform: translateY(0); }
25% { transform: translateY(-2px); }
50% { transform: translateY(-4px); }
75% { transform: translateY(-2px); }
}

#prestige-items .item-card {
background:
linear-gradient(145deg, rgba(168, 85, 247, 0.15), rgba(139, 92, 246, 0.1)),
radial-gradient(circle at 30% 70%, rgba(244, 63, 94, 0.1) 0%, transparent 60%);
border: 2px solid rgba(168, 85, 247, 0.4);
position: relative;
overflow: hidden;
}

#prestige-items .item-card::before {
background:
radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.4) 0%, transparent 60%),
radial-gradient(circle at 0% 100%, rgba(244, 63, 94, 0.3) 0%, transparent 60%),
radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.2) 0%, transparent 60%);
}

#prestige-items .item-card::after {
content: '🔥';
animation: gentle-float 2.5s ease-in-out infinite;
}

.item-card .description {
font-size: 1rem;
color: var(--text-muted);
flex-grow: 1;
margin-bottom: 25px;
line-height: 1.6;
position: relative;
z-index: 1;
}

.owned-notice {
font-size: 0.9rem;
font-weight: 600;
text-align: center;
color: var(--success-color);
margin-top: 15px;
padding: 10px;
background: linear-gradient(135deg, rgba(35, 165, 90, 0.2), rgba(35, 165, 90, 0.1));
border-radius: 8px;
border: 1px solid rgba(35, 165, 90, 0.5);
box-shadow: 0 0 20px var(--success-glow);
animation: float 3s ease-in-out infinite;
position: relative;
z-index: 1;
}

@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}

.owned-notice::before {
content: '✅ ';
font-size: 1.2em;
}

.button-group {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: auto;
position: relative;
z-index: 1;
}

.buy-button, .test-button {
width: 100%;
padding: 14px;
border: none;
border-radius: 8px;
font-size: 1.05rem;
font-weight: 600;
color: white;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
background-size: 200% auto;
text-transform: uppercase;
letter-spacing: 0.5px;
position: relative;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.buy-button:active, .test-button:active, .discord-button:active {
transform: scale(0.97);
}

.buy-button:disabled {
background: linear-gradient(135deg, #363c46, #2d3339);
cursor: not-allowed;
color: var(--text-muted);
box-shadow: none;
transform: none;
}

.buy-button {
background: var(--gradient-success);
border: 2px solid var(--success-color);
}

.buy-button:hover:not(:disabled) {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 8px 25px var(--success-glow);
border-color: #56d364;
}

.test-button {
background: var(--gradient-warning);
border: 2px solid var(--warning-color);
animation: pulse-fire 3s infinite; /* NEW: Pulsing fire effect */
}

@keyframes pulse-fire {
0% { box-shadow: 0 0 15px var(--warning-glow); border-color: var(--warning-color); }
50% { box-shadow: 0 0 30px rgba(240, 71, 71, 0.6); border-color: #ff6b6b; }
100% { box-shadow: 0 0 15px var(--warning-glow); border-color: var(--warning-color); }
}

.test-button:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 8px 25px var(--warning-glow);
border-color: #ff6b6b;
animation-play-state: paused; /* Pause animation on hover for better control */
}

.discord-button {
background: var(--gradient-primary);
color: white;
padding: 15px 40px;
border: 2px solid var(--primary-color);
border-radius: 8px;
text-decoration: none;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
background-size: 200% auto;
display: inline-block;
font-size: 1.1rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
animation: pulse 2.5s infinite;
position: relative;
overflow: hidden;
}

.discord-button::before {
content: '🎮 ';
font-size: 1.3em;
margin-right: 8px;
}

.discord-button:hover {
transform: translateY(-5px) scale(1.05);
box-shadow: 0 12px 35px var(--accent-glow-strong);
border-color: var(--accent-color-1);
animation-play-state: paused;
}

@keyframes pulse {
0% { transform: scale(1); box-shadow: 0 0 0 0 var(--accent-glow); }
70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(88, 101, 242, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

@media (max-width: 768px) {
body { padding: 20px 15px; }
.container { padding: 20px; }
.header { flex-direction: column; align-items: flex-start; }
.shop-title { font-size: 2rem; }
.user-info { margin-top: 10px; }
.category-nav { gap: 8px; }
.nav-button { padding: 8px 18px; font-size: 0.9rem; }
.shop-category > h2 { font-size: 1.7rem; }
.item-grid { grid-template-columns: 1fr; gap: 20px; }
}

#bundles {
background:
linear-gradient(145deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05)),
radial-gradient(circle at 10% 90%, rgba(253, 224, 71, 0.1) 0%, transparent 50%);
border: 2px solid rgba(251, 191, 36, 0.3);
border-radius: 24px;
padding: 40px 30px;
position: relative;
overflow: hidden;
}

#bundles::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 4px;
background: linear-gradient(90deg, #fbbf24, #f59e0b, #facc15);
border-radius: 24px 24px 0 0;
}

#bundles::after {
content: '🔥'; /* CHANGED ICON */
position: absolute;
top: 20px; right: 20px;
font-size: 2rem;
animation: gentle-float 2.8s ease-in-out infinite;
}

#bundles .shop-category > h2 {
background: linear-gradient(135deg, #fde047, #fbbf24, #f59e0b);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

#misc {
background:
linear-gradient(145deg, rgba(209, 213, 219, 0.1), rgba(156, 163, 175, 0.05)),
radial-gradient(circle at 90% 10%, rgba(249, 250, 251, 0.1) 0%, transparent 50%);
border: 2px solid rgba(156, 163, 175, 0.3);
border-radius: 24px;
padding: 40px 30px;
position: relative;
overflow: hidden;
}

#misc::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 4px;
background: linear-gradient(90deg, #e5e7eb, #d1d5db, #9ca3af);
border-radius: 24px 24px 0 0;
}

#misc::after {
content: '🐉';
position: absolute;
top: 20px; right: 20px;
font-size: 2rem;
animation: gentle-float 3s ease-in-out infinite;
}

#misc .shop-category > h2 {
background: linear-gradient(135deg, #f9fafb, #e5e7eb, #d1d5db);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 30px rgba(229, 231, 235, 0.5);
}

/* --- Added Styles for Support Modal --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-color-light);
    padding: 30px 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: var(--shadow-card-hover);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-content h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-content .discord-button {
    font-size: 1rem;
    padding: 12px 30px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-button:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

/* Ensure the support button in the header is spaced correctly */
.header {
    align-items: center;
    gap: 15px; /* Adjust gap for the new button */
}