@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Animated background */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
	animation: backgroundMove 20s linear infinite;
	z-index: -1;
}

@keyframes backgroundMove {
	0% { transform: translateX(0) translateY(0); }
	100% { transform: translateX(-60px) translateY(-60px); }
}

.main-container {
	padding: 2rem 0;
	animation: slideInFromTop 0.8s ease-out;
}

@keyframes slideInFromTop {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.card {
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95);
	border: none;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	animation: cardEntrance 1s ease-out 0.3s both;
}

@keyframes cardEntrance {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.card-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	/*border-radius: 20px 20px 0 0 !important;*/
	border: none;
	padding: 1.5rem;
	position: relative;
	overflow: hidden;
}

.card-header::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
	animation: headerShine 3s ease-in-out infinite;
}

@keyframes headerShine {
	0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
	50% { transform: translateX(-50%) translateY(-50%) rotate(45deg); }
	100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card-header h2 {
	position: relative;
	z-index: 2;
}

.tier-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 25px;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.tier-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
	transition: left 0.5s;
}

.tier-badge:hover::before {
	left: 100%;
}

.tier-basic {
	background: linear-gradient(45deg, #95a5a6, #bdc3c7);
	color: white;
	animation: badgeFloat 3s ease-in-out infinite;
}
.tier-bronze {
	background: linear-gradient(45deg, #cd7f32, #daa520);
	color: white;
	animation: badgeFloat 3s ease-in-out infinite 0.5s;
}
.tier-silver {
	background: linear-gradient(45deg, #c0c0c0, #e5e5e5);
	color: #333;
	animation: badgeFloat 3s ease-in-out infinite 1s;
}
.tier-gold {
	background: linear-gradient(45deg, #ffd700, #ffed4e);
	color: #333;
	animation: badgeGlow 2s ease-in-out infinite;
	box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}
.tier-vip {
	background: linear-gradient(45deg, #9b59b6, #8e44ad);
	color: white;
	animation: badgeFloat 3s ease-in-out infinite 2s;
}.tier-diamond {	background: linear-gradient(45deg, #11caf0, #2c3e50);	color: white;	animation: badgeFloat 3s ease-in-out infinite 2.5s;}.tier-platinum {	background: linear-gradient(45deg, #34495e, #2c3e50);	color: white;	animation: badgeFloat 3s ease-in-out infinite 2.5s;}
@keyframes badgeFloat {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-3px); }
}

@keyframes badgeGlow {
	0%, 100% {
		transform: translateY(0px) scale(1);
		box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
	}
	50% {
		transform: translateY(-3px) scale(1.05);
		box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
	}
}

@keyframes tableSlideIn {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.custom-table {
	margin: 0;
	font-size: 0.95rem;
}

.custom-table thead th {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: none;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
	padding: 1.2rem 0.8rem;
	position: sticky;
	top: 0;
	z-index: 10;
	transition: all 0.3s ease;
}

/* Gold column highlighting */
.custom-table thead th:nth-child(5) {
	background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
	color: #2c3e50;
	position: relative;
	animation: goldColumnGlow 2s ease-in-out infinite;
}

@keyframes goldColumnGlow {
	0%, 100% {
		box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
	}
	50% {
		box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
	}
}

.custom-table tbody tr {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	transform: translateY(20px);
	animation: rowSlideIn 0.6s ease-out both;
}

.custom-table tbody tr:nth-child(1) { animation-delay: 0.8s; }
.custom-table tbody tr:nth-child(2) { animation-delay: 0.9s; }
.custom-table tbody tr:nth-child(3) { animation-delay: 1.0s; }
.custom-table tbody tr:nth-child(4) { animation-delay: 1.1s; }
.custom-table tbody tr:nth-child(5) { animation-delay: 1.2s; }
.custom-table tbody tr:nth-child(6) { animation-delay: 1.3s; }
.custom-table tbody tr:nth-child(7) { animation-delay: 1.4s; }
.custom-table tbody tr:nth-child(8) { animation-delay: 1.5s; }
.custom-table tbody tr:nth-child(9) { animation-delay: 1.6s; }
.custom-table tbody tr:nth-child(10) { animation-delay: 1.7s; }
.custom-table tbody tr:nth-child(11) { animation-delay: 1.8s; }
.custom-table tbody tr:nth-child(12) { animation-delay: 1.9s; }
.custom-table tbody tr:nth-child(13) { animation-delay: 2.0s; }

@keyframes rowSlideIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.custom-table tbody tr:hover {
	background-color: rgba(102, 126, 234, 0.1);
	transform: scale(1.01);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Gold column cell highlighting */
.custom-table tbody tr td:nth-child(5) {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.05) 100%);
	position: relative;
}

.custom-table tbody tr:hover td:nth-child(5) {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 237, 78, 0.1) 100%);
}

.custom-table td {
	border: none;
	border-bottom: 1px solid #e9ecef;
	padding: 1rem 0.8rem;
	text-align: center;
	vertical-align: middle;
}

.feature-name {
	text-align: left !important;
	font-weight: 600;
	color: #2c3e50;
	padding-left: 1.5rem !important;
}

.feature-name i {
	animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-2px); }
}

.check-icon {
	color: #28a745;
	font-size: 1.2rem;
	animation: checkPulse 2s infinite;
}

@keyframes checkPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.leverage-badge, .spread-badge, .tier-level-badge {
	background: linear-gradient(45deg, #17a2b8, #20c997);
	color: white;
	padding: 0.3rem 0.8rem;
	border-radius: 15px;
	font-weight: 600;
	font-size: 0.85rem;
	white-space: nowrap;
	transition: all 0.3s ease;
	animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

.withdrawal-badge {
	background: linear-gradient(45deg, #dc3545, #fd7e14);
	color: white;
	padding: 0.3rem 0.8rem;
	border-radius: 15px;
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.3s ease;
	animation: badgeShimmer 3s ease-in-out infinite;
}

.price-highlight {
	font-size: 1.1rem;
	font-weight: 700;
	color: #2c3e50;
	animation: priceFloat 2s ease-in-out infinite;
}

@keyframes priceFloat {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-1px); }
}

.tooltip-icon {
	color: #6c757d;
	margin-left: 0.5rem;
	cursor: help;
	animation: tooltipBounce 3s ease-in-out infinite;
}

@keyframes tooltipBounce {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.premium-features {
	background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
	position: relative;
}

.premium-features::before {
	content: '⭐';
	position: absolute;
	left: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
	0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
	50% { opacity: 0.7; transform: translateY(-50%) scale(1.2); }
}

.card-footer {
	animation: footerSlideUp 1s ease-out 2.5s both;
	transform: translateY(20px);
	opacity: 0;
}

@keyframes footerSlideUp {
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Hover effects */
.tier-badge:hover {
	transform: translateY(-2px) scale(1.05);
}

.leverage-badge:hover, .spread-badge:hover, .tier-level-badge:hover, .withdrawal-badge:hover {
	transform: translateY(-2px) scale(1.1);
}

.check-icon:hover {
	color: #218838;
	transform: scale(1.3);
}

@media (max-width: 768px) {
	.tier-badge {
		font-size: 0.7rem;
		padding: 0.2rem 0.5rem;
	}

	.custom-table {
		font-size: 0.85rem;
	}

	.custom-table td, .custom-table th {
		padding: 0.75rem 0.5rem;
	}
}