/*
Theme Name: TITAN Traders
Theme URI: https://example.com/titan-traders
Author: Titan Trader
Author URI: https://example.com
Description: Professional trading strategy performance theme. TinyMCE only, WooCommerce friendly.
Version: 1.0.1
License: GPL-2.0-or-later
Text Domain: trading-strategy
*/

/* Base Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; direction: ltr; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif; background: #0f1220; color: #e6e8f0; }
a { color: inherit; text-decoration: none; }

/* Gradient UI */
.ts-container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.ts-gradient {
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 50%, #8e54e9 100%);
}
.ts-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ts-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.18); }

/* Header */
.ts-header { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; }
.ts-logo { text-align: center; }

/* Logo Container */
.ts-logo-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	width: 100%;
}

/* Image Logo Styles */
.ts-image-logo {
	display: flex;
	justify-content: center;
	align-items: center;
}

.ts-logo-image {
	height: 52px;
	width: auto;
	max-width: 300px;
	transition: all 0.3s ease;
}

.ts-logo-image:hover {
	transform: scale(1.05);
	filter: brightness(1.1);
}

/* Text Logo Styles */
.ts-text-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.ts-text-logo-link {
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
}

.ts-text-logo-link:hover {
	transform: scale(1.05);
}

.ts-text-logo-text {
	display: inline-block;
	line-height: 1.1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: all 0.3s ease;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Gradient Text Logo */
.ts-text-logo-gradient .ts-text-logo-text {
	background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 40%, #d3a4ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	position: relative;
}

.ts-text-logo-gradient .ts-text-logo-text::before {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 50%, #8e54e9 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	z-index: -1;
	opacity: 0.7;
	transform: translate(2px, 2px);
}

/* Professional Text Logo Effects */
.ts-text-logo-text {
	position: relative;
	overflow: hidden;
}

.ts-text-logo-text::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.ts-text-logo-link:hover .ts-text-logo-text::after {
	left: 100%;
}

/* Logo Layout Options */
.ts-logo-container.both-layout {
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.ts-logo-container.vertical-layout {
	flex-direction: column;
	gap: 10px;
}

.ts-logo-container.horizontal-layout {
	flex-direction: row;
	gap: 20px;
}

/* Responsive Logo */
@media (max-width: 768px) {
	.ts-logo-container {
		gap: 10px;
	}
	
	.ts-logo-image {
		height: 40px;
		max-width: 250px;
	}
	
	.ts-text-logo-text {
		font-size: 36px !important;
	}
	
	.ts-logo-container.both-layout {
		flex-direction: column;
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.ts-logo-image {
		height: 35px;
		max-width: 200px;
	}
	
	.ts-text-logo-text {
		font-size: 28px !important;
		letter-spacing: 0.03em;
	}
	
	.ts-logo-container {
		gap: 8px;
	}
}

/* Logo Animation */
@keyframes logoGlow {
	0%, 100% {
		text-shadow: 0 2px 10px rgba(161, 196, 253, 0.3);
	}
	50% {
		text-shadow: 0 2px 20px rgba(161, 196, 253, 0.6), 0 0 30px rgba(161, 196, 253, 0.4);
	}
}

.ts-text-logo-text:hover {
	animation: logoGlow 2s ease-in-out infinite;
}

/* Logo Focus States */
.ts-text-logo-link:focus {
	outline: 2px solid #a1c4fd;
	outline-offset: 4px;
	border-radius: 4px;
}

.ts-image-logo a:focus {
	outline: 2px solid #a1c4fd;
	outline-offset: 4px;
	border-radius: 4px;
}

/* Logo Loading State */
.ts-logo-container.loading {
	opacity: 0.7;
	pointer-events: none;
}

.ts-logo-container.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(161, 196, 253, 0.3);
	border-top: 2px solid #a1c4fd;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}
.ts-menu { display: flex; gap: 18px; justify-content: center; }

/* Hide toggle button on desktop */
.ts-menu-toggle {
	display: none !important;
}
.ts-menu a { padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,0.06); }
.ts-menu a:hover { background: rgba(255,255,255,0.12); }
/* Enhanced Clock and Date Display */
.ts-clock-date-container {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.ts-clock-inline {
	font-size: 14px;
	font-weight: 600;
	color: rgba(230, 232, 240, 0.8);
	font-variant-numeric: tabular-nums;
}

.ts-date-inline {
	font-size: 16px;
	font-weight: 700;
	color: #e6e8f0;
	background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 40%, #d3a4ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: 0.3px;
	text-shadow: 0 2px 8px rgba(161, 196, 253, 0.3);
	transition: all 0.3s ease;
}

.ts-date-inline:hover {
	transform: scale(1.05);
	text-shadow: 0 4px 15px rgba(161, 196, 253, 0.5);
}

/* Dropdown menu */
.ts-menu .ts-menu-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; align-items: center; }
.ts-menu .ts-menu-list > li { position: relative; }
.ts-menu .ts-menu-list > li > a { display: block; }
.ts-menu .ts-menu-list .sub-menu { position: absolute; left: 0; top: 100%; min-width: 200px; background: rgba(15,18,32,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px; display: none; z-index: 50; }
.ts-menu .ts-menu-list .sub-menu li { display: block; position: relative; }
.ts-menu .ts-menu-list .sub-menu a { display: block; margin: 0; white-space: nowrap; }
.ts-menu .ts-menu-list > li:hover > .sub-menu { display: block; }

/* Support nested submenu (level 2 and 3) */
.ts-menu .ts-menu-list .sub-menu .sub-menu { position: absolute; top: 0; left: 100%; min-width: 200px; background: rgba(15,18,32,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px; display: none; z-index: 60; }
.ts-menu .ts-menu-list .sub-menu li:hover > .sub-menu { display: block; }

/* Minor visual tweaks for nested arrows (optional if using carets) */
.ts-menu .ts-menu-list .sub-menu li > a { padding-right: 18px; }

@media (max-width: 768px) {
  /* On mobile, stack menus; show nested on tap via WP default, ensure positioning becomes static */
  .ts-menu .ts-menu-list { gap: 12px; }
  .ts-menu .ts-menu-list .sub-menu { position: static; display: none; margin-top: 6px; }
  .ts-menu .ts-menu-list > li:hover > .sub-menu { display: block; }
  .ts-menu .ts-menu-list .sub-menu .sub-menu { position: static; display: none; margin-left: 12px; }
  .ts-menu .ts-menu-list .sub-menu li:hover > .sub-menu { display: block; }
}

/* Metrics Grid */
.ts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ts-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ts-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ts-metric-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-bottom: 6px; text-align: center; }
.ts-metric-value { font-size: 28px; font-weight: 700; text-align: center; }
.ts-sub { font-size: 12px; opacity: .7; text-align: center; }

/* Tabs */
.ts-tabs { display: inline-flex; background: rgba(255,255,255,0.06); border-radius: 12px; padding: 4px; }
.ts-tab { padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.ts-tab.active { background: rgba(255,255,255,0.16); }
.ts-filter-section { 
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
	gap: 12px; 
	flex-wrap: wrap; 
}

/* Table */
.ts-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px; min-width: 800px; }
.ts-table th, .ts-table td { padding: 12px 14px; text-align: center; white-space: nowrap; }
.ts-table thead { background: rgba(255,255,255,0.08); }
.ts-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.ts-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.ts-table tfoot td { background: rgba(255,255,255,0.06); font-weight: 700; }

/* Table scroll wrapper */
.ts-table-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  margin: 0 -24px;
  padding: 0 24px;
  -webkit-overflow-scrolling: touch;
}

.ts-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.ts-table-wrapper::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.ts-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.ts-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* Colors */
.ts-green { color: #57ff9a; }
.ts-red { color: #ff5c7a; }

/* Responsive Design */
@media (max-width: 1024px) { 
  .ts-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-container { padding: 16px; }
}

@media (max-width: 768px) {
  .ts-header { flex-direction: column; gap: 8px; margin-top: 8px; }
  .ts-menu { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .ts-menu .ts-menu-list { gap: 12px; }
  .ts-grid { grid-template-columns: 1fr; gap: 12px; }
  .ts-grid-3 { grid-template-columns: 1fr; }
  .ts-grid-2 { grid-template-columns: 1fr; }
  .ts-container { padding: 12px; }
  .ts-card { padding: 16px; }
  .ts-metric-value { font-size: 24px; }
  .ts-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ts-stat { padding: 8px; }
  .ts-stat .value { font-size: 16px; }
  .ts-table { font-size: 14px; }
  .ts-table th, .ts-table td { padding: 8px 6px; }
  .entry-title { font-size: 28px; }
  .ts-filter-section { flex-direction: column; align-items: stretch; gap: 8px; }
  .ts-filter-section .ts-sub { text-align: center; }
}

@media (max-width: 480px) {
  .ts-container { padding: 8px; }
  .ts-card { padding: 12px; }
  .ts-metric-value { font-size: 20px; }
  .ts-stat-grid { grid-template-columns: 1fr; }
  .ts-table { font-size: 12px; }
  .ts-table th, .ts-table td { padding: 6px 4px; }
  .entry-title { font-size: 24px; }
  .ts-menu .ts-menu-list { flex-direction: column; gap: 8px; }
  .ts-menu .ts-menu-list > li { width: 100%; }
  .ts-menu .ts-menu-list > li > a { display: block; text-align: center; }
  .ts-filter-section { flex-direction: column; align-items: center; gap: 6px; }
  .ts-tabs { flex-wrap: wrap; justify-content: center; }
}

/* Pair card enhanced styles */
.ts-pair-title { font-size: 20px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; margin-bottom: 10px; background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 40%, #d3a4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ts-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.ts-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 10px; text-align: center; }
.ts-stat .label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin-bottom: 6px; }
.ts-stat .value { font-size: 18px; font-weight: 800; }
.ts-stat .value.positive { color: #57ff9a; }
.ts-stat .value.negative { color: #ff5c7a; }

/* Post title styling */
.entry-title, .page-title, h1.entry-title { 
	text-align: left; 
	font-size: 32px; 
	font-weight: 800; 
	margin-bottom: 20px; 
	background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 40%, #d3a4ff 100%); 
	-webkit-background-clip: text; 
	background-clip: text; 
	color: transparent; 
	letter-spacing: -0.02em; 
}

/* Post content styling */
.ts-card {
	line-height: 1.6;
}

.ts-card p {
	margin-bottom: 16px;
}

.ts-card h1, .ts-card h2, .ts-card h3, .ts-card h4, .ts-card h5, .ts-card h6 {
	margin-top: 24px;
	margin-bottom: 12px;
	font-weight: 600;
}

/* Image alignment in post content */
.ts-card img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 16px 0;
}

.ts-card img.alignleft {
	float: left;
	margin: 0 20px 16px 0;
}

.ts-card img.alignright {
	float: right;
	margin: 0 0 16px 20px;
}

.ts-card img.aligncenter {
	display: block;
	margin: 16px auto;
	text-align: center;
}

.ts-card img.alignnone {
	display: block;
	margin: 16px auto;
}

/* Center alignment for images with center class */
.ts-card .aligncenter {
	display: block;
	margin: 16px auto;
	text-align: center;
}

.ts-card .aligncenter img {
	display: inline-block;
	margin: 0;
}

/* WordPress default image alignment classes */
.ts-card .wp-caption {
	max-width: 100%;
	margin: 16px 0;
	text-align: center;
}

.ts-card .wp-caption.alignleft {
	float: left;
	margin: 0 20px 16px 0;
}

.ts-card .wp-caption.alignright {
	float: right;
	margin: 0 0 16px 20px;
}

.ts-card .wp-caption.aligncenter {
	display: block;
	margin: 16px auto;
}

.ts-card .wp-caption img {
	display: block;
	margin: 0 auto;
}

.ts-card .wp-caption-text {
	font-size: 14px;
	color: rgba(230, 232, 240, 0.7);
	margin-top: 8px;
	font-style: italic;
}

/* Ensure all images in content are responsive */
.ts-card img {
	box-sizing: border-box;
}

/* Clear floats after images */
.ts-card::after {
	content: "";
	display: table;
	clear: both;
}

/* Responsive image handling */
@media (max-width: 768px) {
	.ts-card img.alignleft,
	.ts-card img.alignright,
	.ts-card .wp-caption.alignleft,
	.ts-card .wp-caption.alignright {
		float: none;
		display: block;
		margin: 16px auto;
	}
}

/* Lightbox - Fixed positioning from viewport */
.ts-lightbox[aria-hidden="true"] { 
  display: none !important; 
}

.ts-lightbox { 
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-lightbox-backdrop { 
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  cursor: pointer;
}

.ts-lightbox-content { 
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0f1220;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  z-index: 1000000;
}

.ts-lightbox-content img { 
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.ts-lightbox-close { 
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 1000001;
}

.ts-lightbox-close:hover { 
  background: rgba(255,255,255,0.2); 
}

/* Additional gallery styles */
.ts-image-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ts-gallery-item { text-align: center; }

/* Disable old lightbox completely */
.ts-lightbox { display: none !important; }

/* Dialog popup (native) */
.ts-dialog { border: 0; border-radius: 12px; padding: 0; background: transparent; }
.ts-dialog::backdrop { background: rgba(0,0,0,0.85); }
.ts-dialog img { display: block; max-width: 90vw; max-height: 85vh; border-radius: 12px; }
.ts-dialog .ts-dialog-close { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.12); border: 0; color: #fff; font-size: 24px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ts-dialog .ts-dialog-close:hover { background: rgba(255,255,255,0.22); }

/* Mobile Lightbox */
@media (max-width: 768px) {
  .ts-lightbox-content { 
    max-width: 95vw;
    max-height: 95vh;
    padding: 15px;
  }
  .ts-lightbox-content img { 
    max-width: 85vw;
    max-height: 80vh;
  }
  .ts-lightbox-close { 
    width: 40px;
    height: 40px;
    font-size: 28px;
    top: 5px;
    right: 5px;
  }
  .ts-image-gallery { 
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .ts-lightbox-content { 
    max-width: 98vw;
    max-height: 98vh;
    padding: 10px;
  }
  .ts-lightbox-content img { 
    max-width: 90vw;
    max-height: 85vh;
  }
  .ts-lightbox-close { 
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
}

/* ========================================
   STRATEGY ANALYTICS DASHBOARD STYLES
   ======================================== */

/* Hero Section */
.ts-analytics-hero {
  background: linear-gradient(135deg, #1a1d29 0%, #2d3748 50%, #1a202c 100%);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ts-analytics-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(91, 134, 229, 0.1) 0%, rgba(54, 209, 220, 0.1) 50%, rgba(142, 84, 233, 0.1) 100%);
  pointer-events: none;
}

.ts-hero-content {
  position: relative;
  z-index: 2;
}

.ts-hero-title {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 40%, #d3a4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ts-hero-subtitle {
  font-size: 18px;
  color: rgba(230, 232, 240, 0.8);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Time Filter Buttons */
.ts-time-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ts-filter-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #e6e8f0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.ts-filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ts-filter-btn.active {
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 25px rgba(91, 134, 229, 0.3);
}

/* Methodology Section */
.ts-methodology-section {
  margin-bottom: 30px;
}

.ts-methodology-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e6e8f0;
  font-size: 20px;
  font-weight: 700;
}

.ts-methodology-toggle:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ts-toggle-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.ts-methodology-toggle.active .ts-toggle-icon {
  transform: rotate(180deg);
}

.ts-methodology-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.ts-methodology-content.active {
  max-height: 1000px;
}

.ts-methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 20px 20px;
}

.ts-method-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.ts-method-card h3 {
  color: #a1c4fd;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ts-method-card p {
  color: rgba(230, 232, 240, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Summary Metrics */
.ts-summary-metrics {
  margin-bottom: 30px;
}

.ts-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ts-metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hide metric icons as requested */
.ts-metric-icon { display: none; }

.ts-metric-content { flex: 1; }

/* Enlarge values/labels for better emphasis */
.ts-metric-value {
  font-size: 34px;
  font-weight: 900;
  color: #e6e8f0;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.ts-metric-label {
  font-size: 15px;
  color: rgba(230, 232, 240, 0.8);
  font-weight: 600;
}

/* Analysis charts readability */
.ts-analysis-card canvas,
.ts-monthly-chart canvas,
#timeSlotsChart,
#durationChart,
#recoveryChart {
  max-height: 360px;
  width: 100% !important;
  height: auto !important;
}

/* Chart container minimal heights */
.ts-chart-container { 
  min-height: 360px; 
  position: relative;
  overflow: hidden;
}

.ts-chart-container canvas {
  max-width: 100% !important;
  height: auto !important;
}

/* Mobile chart improvements */
@media (max-width: 768px) {
  .ts-chart-container { 
    min-height: 250px; 
    margin: 0 -12px;
    padding: 0 12px;
  }
  
  .ts-analysis-card canvas,
  .ts-monthly-chart canvas,
  #timeSlotsChart,
  #durationChart,
  #recoveryChart {
    max-height: 250px;
    width: 100% !important;
    height: auto !important;
  }
  
  .ts-chart-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .ts-chart-content canvas {
    min-width: 300px;
  }
}

@media (max-width: 480px) {
  .ts-chart-container { 
    min-height: 200px; 
  }
  
  .ts-analysis-card canvas,
  .ts-monthly-chart canvas,
  #timeSlotsChart,
  #durationChart,
  #recoveryChart {
    max-height: 200px;
  }
}

.ts-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5b86e5 0%, #36d1dc 50%, #8e54e9 100%);
}

.ts-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.ts-metric-trend {
  font-size: 12px;
  margin-top: 4px;
}

.ts-metric-trend.positive {
  color: #57ff9a;
}

.ts-metric-trend.negative {
  color: #ff5c7a;
}

.ts-metric-quality {
  font-size: 12px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.ts-metric-quality.excellent {
  background: rgba(87, 255, 154, 0.2);
  color: #57ff9a;
}

.ts-metric-quality.good {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.ts-metric-quality.poor {
  background: rgba(255, 92, 122, 0.2);
  color: #ff5c7a;
}

/* Currency Pair Performance */
.ts-pairs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ts-pair-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.ts-pair-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.ts-pair-title {
  font-size: 20px;
  font-weight: 800;
  color: #a1c4fd;
  margin-bottom: 16px;
}

.ts-pair-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ts-pair-stat {
  text-align: center;
}

.ts-pair-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #e6e8f0;
  margin-bottom: 4px;
}

.ts-pair-stat-label {
  font-size: 12px;
  color: rgba(230, 232, 240, 0.7);
}

.ts-pair-score {
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Chart Tabs */
.ts-chart-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-chart-tab {
  padding: 12px 20px;
  background: none;
  border: none;
  color: rgba(230, 232, 240, 0.7);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.ts-chart-tab:hover {
  color: #e6e8f0;
  background: rgba(255, 255, 255, 0.05);
}

.ts-chart-tab.active {
  color: #a1c4fd;
  border-bottom-color: #a1c4fd;
}

.ts-chart-container {
  position: relative;
  min-height: 400px;
}

.ts-chart-content {
  display: none;
  position: relative;
}

.ts-chart-content.active {
  display: block;
}

.ts-chart-content canvas {
  max-width: 100%;
  height: auto;
}

/* Analytics Tabs */
.ts-analytics-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-analytics-tab {
  padding: 12px 20px;
  background: none;
  border: none;
  color: rgba(230, 232, 240, 0.7);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.ts-analytics-tab:hover {
  color: #e6e8f0;
  background: rgba(255, 255, 255, 0.05);
}

.ts-analytics-tab.active {
  color: #a1c4fd;
  border-bottom-color: #a1c4fd;
}

.ts-analytics-content {
  position: relative;
}

.ts-analytics-panel {
  display: none;
}

.ts-analytics-panel.active {
  display: block;
}

.ts-monthly-stats {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.ts-monthly-chart {
  min-height: 300px;
}

.ts-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ts-analysis-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.ts-analysis-card h3 {
  color: #a1c4fd;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ts-behavioral-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ts-behavioral-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.ts-behavioral-card h3 {
  color: #a1c4fd;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ts-streak-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ts-streak-item {
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.ts-streak-value {
  font-size: 24px;
  font-weight: 800;
  color: #e6e8f0;
  margin-bottom: 4px;
}

.ts-streak-label {
  font-size: 12px;
  color: rgba(230, 232, 240, 0.7);
}

/* Table Controls */
.ts-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.ts-table-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.ts-table-controls select,
.ts-table-controls input {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e6e8f0;
  font-size: 14px;
}

/* Ensure native dropdown lists use dark background where supported */
.ts-table-controls select option {
  background-color: #0f1220;
  color: #e6e8f0;
}

/* Improve native select appearance and focus state */
.ts-table-controls select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #a1c4fd 50%), linear-gradient(135deg, #a1c4fd 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(1em + 2px), calc(100% - 11px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
  color-scheme: dark;
}

.ts-table-controls select:focus,
.ts-table-controls input:focus {
  outline: none;
  border-color: #a1c4fd;
  box-shadow: 0 0 0 2px rgba(161, 196, 253, 0.2);
}

.ts-table-container {
  overflow-x: auto;
  margin-bottom: 20px;
}

.ts-table-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.ts-table-pagination button {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e6e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ts-table-pagination button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.ts-table-pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* Loading Overlay */
.ts-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 18, 32, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ts-loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ts-loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #a1c4fd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ts-loading-text {
  color: #e6e8f0;
  font-size: 16px;
  font-weight: 600;
}

/* Responsive Design for Analytics */
@media (max-width: 1024px) {
  .ts-hero-title {
    font-size: 36px;
  }
  
  .ts-metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .ts-monthly-stats {
    grid-template-columns: 1fr;
  }
  
  .ts-analysis-grid {
    grid-template-columns: 1fr;
  }
  
  .ts-behavioral-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ts-analytics-hero {
    padding: 24px;
  }
  
  .ts-hero-title {
    font-size: 28px;
  }
  
  .ts-hero-subtitle {
    font-size: 16px;
  }
  
  .ts-time-filters {
    gap: 8px;
  }
  
  .ts-filter-btn {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .ts-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ts-metric-card {
    padding: 20px;
  }
  
  .ts-metric-value {
    font-size: 24px;
  }
  
  .ts-pairs-grid {
    grid-template-columns: 1fr;
  }
  
  .ts-chart-tabs {
    flex-wrap: wrap;
  }
  
  .ts-chart-tab {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .ts-analytics-tabs {
    flex-wrap: wrap;
  }
  
  .ts-analytics-tab {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .ts-table-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .ts-table-controls {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ts-analytics-hero {
    padding: 20px;
  }
  
  .ts-hero-title {
    font-size: 24px;
  }
  
  .ts-methodology-grid {
    grid-template-columns: 1fr;
  }
  
  .ts-metric-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .ts-metric-icon {
    font-size: 28px;
  }
  
  .ts-metric-value {
    font-size: 20px;
  }
  
  .ts-chart-container {
    min-height: 300px;
  }
  
  .ts-table-container {
    font-size: 12px;
  }
  
  .ts-table th,
  .ts-table td {
    padding: 8px 4px;
  }
}

/* Performance Overview - elevate labels above values */
.ts-metric-card { display: flex; align-items: center; gap: 16px; }
.ts-metric-content { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
/* Show label above value and emphasize */
.ts-metric-label { order: 0; font-size: 18px; font-weight: 800; color: #cfd3e2; letter-spacing: 0.02em; margin-bottom: 6px; text-transform: none; }
.ts-metric-value { order: 1; font-size: 40px; font-weight: 900; letter-spacing: -0.02em; }

@media (max-width: 768px) {
	.ts-metric-label { font-size: 16px; }
	.ts-metric-value { font-size: 32px; }
}

/* Multi-level submenu support (up to 3 levels) */
.ts-menu .ts-menu-list > li { position: relative; }
.ts-menu .ts-menu-list li:hover > .sub-menu { display: block; }
.ts-menu .ts-menu-list .sub-menu { position: absolute; left: 0; top: 100%; min-width: 220px; background: rgba(15,18,32,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px; display: none; z-index: 1000; }
.ts-menu .ts-menu-list .sub-menu li { position: relative; }
.ts-menu .ts-menu-list .sub-menu .sub-menu { position: absolute; top: 0; left: 100%; min-width: 220px; background: rgba(15,18,32,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px; display: none; z-index: 1001; }
.ts-menu .ts-menu-list .sub-menu li:hover > .sub-menu { display: block; }
/* Third level */
.ts-menu .ts-menu-list .sub-menu .sub-menu .sub-menu { position: absolute; top: 0; left: 100%; min-width: 220px; background: rgba(15,18,32,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 8px; display: none; z-index: 1002; }
.ts-menu .ts-menu-list .sub-menu .sub-menu li:hover > .sub-menu { display: block; }

@media (max-width: 768px) {
	/* Mobile slide-out menu design */
	.ts-menu {
		position: relative;
	}
	
	.ts-menu .ts-menu-list { 
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background: rgba(15,18,32,0.98);
		border-left: 1px solid rgba(255,255,255,0.1);
		padding: 20px;
		z-index: 9999;
		transition: right 0.3s ease;
		overflow-y: auto;
		backdrop-filter: blur(10px);
	}
	
	.ts-menu .ts-menu-list.active {
		right: 0;
	}
	
	.ts-menu .ts-menu-list > li { 
		width: 100%; 
		margin-bottom: 8px;
	}
	
	.ts-menu .ts-menu-list > li > a { 
		display: block; 
		text-align: left; 
		width: 100%;
		padding: 12px 16px;
		font-size: 16px;
		border-radius: 8px;
		background: rgba(255,255,255,0.08);
		transition: all 0.2s ease;
		margin-bottom: 4px;
		border-left: 3px solid transparent;
	}
	
	.ts-menu .ts-menu-list > li > a:hover {
		background: rgba(255,255,255,0.15);
		border-left-color: #5b86e5;
		transform: translateX(5px);
	}
	
	/* Mobile menu toggle button */
	.ts-menu-toggle {
		display: block !important;
		background: rgba(255,255,255,0.1);
		border: 1px solid rgba(255,255,255,0.2);
		border-radius: 6px;
		padding: 8px 12px;
		color: #e6e8f0;
		cursor: pointer;
		text-align: center;
		font-size: 14px;
		transition: all 0.2s ease;
		width: 100%;
		margin-bottom: 8px;
	}
	
	.ts-menu-toggle:hover {
		background: rgba(255,255,255,0.15);
	}
	
	.ts-menu-toggle::after {
		content: "☰";
		margin-left: 8px;
	}
	
	.ts-menu-toggle.active::after {
		content: "✕";
	}
	
	/* Menu overlay */
	.ts-menu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.5);
		z-index: 9998;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}
	
	.ts-menu-overlay.active {
		opacity: 1;
		visibility: visible;
	}
	
	/* Mobile submenu design */
	.ts-menu .ts-menu-list .sub-menu, 
	.ts-menu .ts-menu-list .sub-menu .sub-menu,
	.ts-menu .ts-menu-list .sub-menu .sub-menu .sub-menu { 
		position: static; 
		display: none; 
		margin-top: 8px; 
		margin-left: 20px;
		background: rgba(255,255,255,0.05);
		border-left: 2px solid rgba(91,134,229,0.3);
		border-radius: 0 8px 8px 0;
		padding: 8px 12px;
		width: calc(100% - 20px);
		box-sizing: border-box;
		transition: all 0.3s ease;
	}
	
	.ts-menu .ts-menu-list .sub-menu.active {
		display: block;
		animation: slideDown 0.3s ease;
	}
	
	.ts-menu .ts-menu-list .sub-menu a,
	.ts-menu .ts-menu-list .sub-menu .sub-menu a,
	.ts-menu .ts-menu-list .sub-menu .sub-menu .sub-menu a {
		display: block;
		padding: 8px 12px;
		margin: 2px 0;
		border-radius: 6px;
		background: rgba(255,255,255,0.08);
		text-align: left;
		font-size: 14px;
		transition: all 0.2s ease;
		border-left: 2px solid transparent;
	}
	
	.ts-menu .ts-menu-list .sub-menu a:hover,
	.ts-menu .ts-menu-list .sub-menu .sub-menu a:hover,
	.ts-menu .ts-menu-list .sub-menu .sub-menu .sub-menu a:hover {
		background: rgba(255,255,255,0.12);
		border-left-color: #5b86e5;
		transform: translateX(3px);
	}
	
	.ts-menu .ts-menu-list .sub-menu .sub-menu a,
	.ts-menu .ts-menu-list .sub-menu .sub-menu .sub-menu a {
		margin-left: 16px;
		font-size: 13px;
	}
	
	/* Visual indicator for items with submenus */
	.ts-menu .ts-menu-list > li > a.has-active-submenu {
		background: rgba(91,134,229,0.15);
		border-left-color: #5b86e5;
	}
	
	.ts-menu .ts-menu-list > li > a.has-active-submenu::after {
		content: "▼";
		float: right;
		font-size: 12px;
		transition: transform 0.3s ease;
	}
	
	.ts-menu .ts-menu-list > li > a:not(.has-active-submenu)::after {
		content: "▶";
		float: right;
		font-size: 12px;
		opacity: 0.6;
	}
	
	/* Animation for submenu */
	@keyframes slideDown {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
}

/* Blog Layout */
.ts-blog-layout { margin: 16px 0 24px; }

/* Blog Grid for posts with featured images */
.ts-blog-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin-bottom: 24px; 
}

.ts-blog-card { 
  background: rgba(255,255,255,0.06); 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 16px; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; 
}

.ts-blog-card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 14px 36px rgba(0,0,0,0.35); 
  border-color: rgba(255,255,255,0.16); 
}

.ts-blog-thumb img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  display: block; 
}

.ts-blog-content { 
  padding: 16px; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.ts-blog-title { 
  font-size: 20px; 
  margin: 0; 
  font-weight: 800; 
  letter-spacing: -0.01em; 
}

.ts-blog-title a { 
  color: #e6e8f0; 
  text-decoration: none;
}

.ts-blog-title a:hover { 
  color: #a1c4fd; 
}

.ts-blog-meta { 
  font-size: 12px; 
  color: rgba(230,232,240,0.7); 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}

.ts-blog-excerpt { 
  font-size: 14px; 
  color: rgba(230,232,240,0.9); 
  margin: 0; 
  line-height: 1.6; 
}

.ts-blog-readmore { 
  align-self: flex-start; 
  padding: 8px 12px; 
  border-radius: 8px; 
  background: rgba(255,255,255,0.08); 
  border: 1px solid rgba(255,255,255,0.12); 
  font-size: 13px; 
  text-decoration: none;
  color: #e6e8f0;
  transition: all 0.3s ease;
}

.ts-blog-readmore:hover { 
  background: rgba(255,255,255,0.14); 
  border-color: rgba(255,255,255,0.22); 
  color: #a1c4fd;
}

/* Blog List for posts without featured images */
.ts-blog-list { 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}

.ts-blog-list-item { 
  background: rgba(255,255,255,0.06); 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 12px; 
  padding: 20px; 
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; 
}

.ts-blog-list-item:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.25); 
  border-color: rgba(255,255,255,0.15); 
}

.ts-blog-list-item .ts-blog-title { 
  font-size: 18px; 
  margin-bottom: 8px; 
}

.ts-blog-list-item .ts-blog-meta { 
  margin-bottom: 8px; 
}

.ts-blog-list-item .ts-blog-excerpt { 
  margin-bottom: 12px; 
}

/* Pagination */
.ts-pagination { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 10px; 
  margin-bottom: 24px; 
}

.ts-pagination .page-numbers { 
  padding: 8px 12px; 
  border-radius: 8px; 
  background: rgba(255,255,255,0.06); 
  border: 1px solid rgba(255,255,255,0.1); 
  text-decoration: none;
  color: #e6e8f0;
  transition: all 0.3s ease;
}

.ts-pagination .page-numbers.current { 
  background: rgba(255,255,255,0.16); 
  border-color: rgba(255,255,255,0.2); 
  font-weight: 700; 
}

.ts-pagination .page-numbers:hover { 
  background: rgba(255,255,255,0.12); 
}

@media (max-width: 1024px) { 
  .ts-blog-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
  } 
  .ts-blog-thumb img { 
    height: 180px; 
  } 
}

@media (max-width: 640px) { 
  .ts-blog-grid { 
    grid-template-columns: 1fr; 
    gap: 12px;
  } 
  .ts-blog-thumb img { 
    height: 160px; 
  } 
  
  .ts-blog-list-item {
    padding: 16px;
  }
  
  .ts-blog-list-item .ts-blog-title {
    font-size: 16px;
  }
}

/* ========================================
   STRATEGY INTRODUCTION PAGE STYLES
   ======================================== */

/* Hero Section */
.ts-strategy-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1d29 0%, #2d3748 50%, #1a202c 100%);
  border-radius: 20px;
  padding: 60px 40px;
  margin-bottom: 40px;
  text-align: center;
  overflow: hidden;
}

.ts-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.ts-hero-pattern {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(91, 134, 229, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(54, 209, 220, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(142, 84, 233, 0.3) 0%, transparent 50%);
}

.ts-hero-content {
  position: relative;
  z-index: 2;
}

.ts-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.ts-badge-icon {
  font-size: 16px;
}

.ts-hero-title {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 40%, #d3a4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.ts-hero-subtitle {
  font-size: 20px;
  color: rgba(230, 232, 240, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.ts-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ts-stat-item {
  text-align: center;
}

.ts-stat-value {
  font-size: 36px;
  font-weight: 900;
  color: #e6e8f0;
  margin-bottom: 8px;
}

.ts-stat-label {
  font-size: 14px;
  color: rgba(230, 232, 240, 0.7);
  font-weight: 600;
}

/* Section Titles */
.ts-section-title {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 40%, #d3a4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Strategy Overview */
.ts-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.ts-overview-item {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.ts-overview-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.ts-overview-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.ts-overview-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #e6e8f0;
  margin-bottom: 12px;
}

.ts-overview-item p {
  color: rgba(230, 232, 240, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Features Section */
.ts-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ts-feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.ts-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.ts-feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ts-feature-icon {
  font-size: 32px;
}

.ts-feature-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #e6e8f0;
  margin: 0;
}

.ts-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ts-feature-list li {
  color: rgba(230, 232, 240, 0.8);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ts-feature-list li:last-child {
  border-bottom: none;
}

/* Performance Section */
.ts-performance-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.ts-performance-chart {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  min-height: 300px;
}

.ts-performance-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ts-performance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.ts-performance-label {
  font-size: 14px;
  color: rgba(230, 232, 240, 0.8);
  font-weight: 600;
}

.ts-performance-value {
  font-size: 18px;
  font-weight: 800;
}

.ts-performance-value.positive {
  color: #57ff9a;
}

.ts-performance-value.negative {
  color: #ff5c7a;
}

/* Testimonials */
.ts-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.ts-testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.ts-testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.ts-testimonial-content {
  margin-bottom: 20px;
}

.ts-testimonial-content p {
  color: rgba(230, 232, 240, 0.9);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.ts-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ts-author-avatar {
  font-size: 32px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-author-name {
  font-size: 16px;
  font-weight: 700;
  color: #e6e8f0;
}

.ts-author-title {
  font-size: 14px;
  color: rgba(230, 232, 240, 0.7);
}

/* FAQ Section */
.ts-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ts-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e6e8f0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.ts-faq-question:hover {
  color: #a1c4fd;
}

.ts-faq-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.ts-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.ts-faq-item.open .ts-faq-answer { max-height: 500px; }
.ts-faq-question.open { color: #a1c4fd; }

.ts-faq-answer p {
  color: rgba(230, 232, 240, 0.8);
  line-height: 1.6;
  margin: 0 0 20px 0;
  padding: 0 20px 0 0;
}

/* Pricing Section */
.ts-pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.ts-pricing-subtitle {
  font-size: 18px;
  color: rgba(230, 232, 240, 0.8);
  margin-top: 10px;
}

.ts-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.ts-pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.ts-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.ts-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ts-pricing-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #e6e8f0;
  margin-bottom: 16px;
  text-align: center;
}

.ts-pricing-price {
  text-align: center;
  margin-bottom: 24px;
}

.ts-price-old {
  font-size: 16px;
  color: rgba(230, 232, 240, 0.5);
  text-decoration: line-through;
  margin-right: 8px;
}

.ts-price-current {
  font-size: 36px;
  font-weight: 900;
  color: #e6e8f0;
}

.ts-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.ts-pricing-features li {
  color: rgba(230, 232, 240, 0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ts-pricing-features li:last-child {
  border-bottom: none;
}

/* CTA Button */
.ts-cta-button {
  width: 100%;
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

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

.ts-cta-button:hover::before {
  left: 100%;
}

.ts-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(91, 134, 229, 0.4);
}

.ts-cta-button.ts-cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ts-cta-button.ts-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ts-cta-icon {
  font-size: 20px;
}

.ts-cta-text {
  font-size: 16px;
  font-weight: 700;
}

.ts-cta-subtitle {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 500;
}

/* Payment Methods */
.ts-payment-methods {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.ts-payment-title {
  font-size: 16px;
  font-weight: 600;
  color: #e6e8f0;
  margin-bottom: 16px;
}

.ts-payment-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.ts-payment-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-payment-note {
  font-size: 14px;
  color: rgba(230, 232, 240, 0.7);
  margin: 0;
}

/* Contact Section */
.ts-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.ts-contact-item {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.ts-contact-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.ts-contact-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #e6e8f0;
  margin-bottom: 8px;
}

.ts-contact-item p {
  color: rgba(230, 232, 240, 0.8);
  margin: 0;
}

/* Purchase Modal */
.ts-purchase-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ts-purchase-modal.active {
  opacity: 1;
  visibility: visible;
}

.ts-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.ts-modal-content {
  position: relative;
  background: #0f1220;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.ts-purchase-modal.active .ts-modal-content {
  transform: scale(1);
}

.ts-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #e6e8f0;
  margin: 0;
}

.ts-modal-close {
  background: none;
  border: none;
  color: #e6e8f0;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.ts-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ts-modal-body {
  padding: 24px;
}

.ts-payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-payment-option {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ts-payment-option:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.ts-payment-option.selected {
  border-color: #a1c4fd;
  background: rgba(161, 196, 253, 0.1);
}

.ts-payment-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ts-payment-option h4 {
  font-size: 16px;
  font-weight: 700;
  color: #e6e8f0;
  margin: 0;
}

.ts-payment-discount {
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.ts-payment-option p {
  color: rgba(230, 232, 240, 0.8);
  margin: 0;
  font-size: 14px;
}

.ts-modal-footer {
  display: flex;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-modal-cancel,
.ts-modal-confirm {
  flex: 1;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ts-modal-cancel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e6e8f0;
}

.ts-modal-confirm {
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
  border: none;
  color: white;
}

.ts-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
}

.ts-modal-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(91, 134, 229, 0.3);
}

/* Responsive Design for Strategy Intro */
@media (max-width: 1024px) {
  .ts-hero-title {
    font-size: 36px;
  }
  
  .ts-hero-stats {
    gap: 24px;
  }
  
  .ts-performance-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .ts-pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ts-strategy-hero {
    padding: 40px 24px;
  }
  
  .ts-hero-title {
    font-size: 28px;
  }
  
  .ts-hero-subtitle {
    font-size: 16px;
  }
  
  .ts-hero-stats {
    gap: 16px;
  }
  
  .ts-stat-value {
    font-size: 28px;
  }
  
  .ts-section-title {
    font-size: 24px;
  }
  
  .ts-overview-grid,
  .ts-features-grid,
  .ts-testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .ts-pricing-card {
    padding: 24px;
  }
  
  .ts-modal-content {
    width: 95%;
    margin: 20px;
  }
}

/* Crypto Payment Modal Styles */
.ts-package-info {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.ts-package-info h3 {
  color: #e6e8f0;
  margin-bottom: 15px;
  font-size: 24px;
}

.ts-price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ts-price-label {
  color: rgba(230, 232, 240, 0.8);
  font-size: 16px;
}

.ts-price-amount {
  color: #4ade80;
  font-size: 28px;
  font-weight: 700;
}

.ts-payment-instructions {
  margin-bottom: 30px;
}

.ts-payment-instructions h4 {
  color: #e6e8f0;
  margin-bottom: 15px;
  font-size: 18px;
}

.ts-instructions-list {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}

.ts-instruction-step {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.ts-instruction-step:last-child {
  margin-bottom: 0;
}

.ts-step-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.ts-step-text {
  color: rgba(230, 232, 240, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.ts-crypto-options {
  margin-bottom: 30px;
}

.ts-crypto-option {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.ts-crypto-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.ts-crypto-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.ts-crypto-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-crypto-header h4 {
  color: #e6e8f0;
  margin: 0;
  font-size: 16px;
}

.ts-crypto-address {
  display: flex;
  gap: 10px;
}

.ts-crypto-address input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  color: #e6e8f0;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

.ts-crypto-address button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ts-crypto-address button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.ts-payment-proof {
  text-align: center;
}

.ts-payment-proof h4 {
  color: #e6e8f0;
  margin-bottom: 15px;
  font-size: 18px;
}

.ts-whatsapp-button {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ts-whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.ts-whatsapp-icon {
  font-size: 20px;
}

@media (max-width: 480px) {
  .ts-strategy-hero {
    padding: 32px 16px;
  }
  
  .ts-hero-title {
    font-size: 24px;
  }
  
  .ts-hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .ts-stat-value {
    font-size: 24px;
  }
  
  .ts-pricing-card {
    padding: 20px;
  }
  
  .ts-cta-button {
    padding: 14px 20px;
  }
  
  .ts-cta-text {
    font-size: 14px;
  }
}

/* ========================================
   ENHANCED BLOG AND POST STYLES
   ======================================== */

/* Post Thumbnail Positioning */
.ts-post-thumbnail {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ts-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ts-post-thumbnail:hover img {
  transform: scale(1.02);
}

/* Thumbnail positioning styles */
.ts-thumbnail-top,
.ts-thumbnail-top-center {
  margin-bottom: 24px;
  text-align: center;
}

.ts-thumbnail-top-left {
  margin-bottom: 24px;
  text-align: left;
}

.ts-thumbnail-top-right {
  margin-bottom: 24px;
  text-align: right;
}

.ts-thumbnail-bottom,
.ts-thumbnail-bottom-center {
  margin-top: 24px;
  text-align: center;
}

.ts-thumbnail-bottom-left {
  margin-top: 24px;
  text-align: left;
}

.ts-thumbnail-bottom-right {
  margin-top: 24px;
  text-align: right;
}

/* Horizontal layout for side positioning */
.ts-content-with-thumbnail {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.ts-thumbnail-left {
  flex-shrink: 0;
  width: 300px;
}

.ts-thumbnail-right {
  flex-shrink: 0;
  width: 300px;
}

.ts-content-area {
  flex: 1;
  min-width: 0;
}

/* Thumbnail size adjustments for side positioning */
.ts-content-with-thumbnail .ts-post-thumbnail {
  width: 100%;
  margin: 0;
}

.ts-content-with-thumbnail .ts-post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Shortcode Guidance Styles */
.ts-shortcode-guidance {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 12px;
	padding: 20px;
	margin: 30px 0;
	box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.ts-guidance-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.ts-guidance-icon {
	font-size: 24px;
	margin-right: 12px;
}

.ts-guidance-header h3 {
	color: white;
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.ts-guidance-content p {
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 15px 0;
	font-size: 16px;
}

.ts-shortcode-examples {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 15px;
}

.ts-shortcode-item {
	display: flex;
	align-items: center;
	gap: 15px;
	background: rgba(255, 255, 255, 0.1);
	padding: 12px 16px;
	border-radius: 8px;
	backdrop-filter: blur(10px);
}

.ts-shortcode-item code {
	background: rgba(0, 0, 0, 0.3);
	color: #ffd700;
	padding: 6px 12px;
	border-radius: 6px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	font-weight: 600;
	min-width: 200px;
	text-align: center;
}

.ts-shortcode-item span {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}

.ts-guidance-note {
	background: rgba(255, 255, 255, 0.15);
	padding: 12px 16px;
	border-radius: 8px;
	border-left: 4px solid #ffd700;
}

.ts-guidance-note strong {
	color: #ffd700;
}

.ts-guidance-note {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	margin: 0;
}

@media (max-width: 768px) {
	.ts-shortcode-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	
	.ts-shortcode-item code {
		min-width: auto;
		width: 100%;
		text-align: left;
	}
}

/* Post Navigation */
.ts-post-navigation {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.ts-nav-item {
  flex: 1;
}

.ts-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: #e6e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ts-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(161, 196, 253, 0.1), transparent);
  transition: left 0.5s ease;
}

.ts-nav-link:hover::before {
  left: 100%;
}

.ts-nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.15);
}

.ts-nav-prev .ts-nav-link {
  flex-direction: row;
}

.ts-nav-next .ts-nav-link {
  flex-direction: row-reverse;
  text-align: right;
}

.ts-nav-arrow {
  font-size: 24px;
  font-weight: 300;
  color: #a1c4fd;
  transition: transform 0.3s ease;
}

.ts-nav-link:hover .ts-nav-arrow {
  transform: scale(1.2);
}

.ts-nav-content {
  flex: 1;
}

.ts-nav-label {
  font-size: 12px;
  color: rgba(230, 232, 240, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ts-nav-title {
  font-size: 16px;
  font-weight: 600;
  color: #e6e8f0;
  line-height: 1.4;
}


/* Thumbnail Position Selector (Admin) */
.ts-thumbnail-position-selector {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.ts-thumbnail-position-selector label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #e6e8f0;
}

.ts-thumbnail-position-selector select {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e6e8f0;
  font-size: 14px;
}

.ts-thumbnail-position-selector select:focus {
  outline: none;
  border-color: #a1c4fd;
  box-shadow: 0 0 0 2px rgba(161, 196, 253, 0.2);
}

/* Coming Soon Page Styles */
.ts-coming-soon-container {
	min-height: 100vh;
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #0a0a0a;
	margin: 0;
	padding: 0;
}

/* Hide any header/menu elements on coming soon page */
body.page-template-page-coming-soon .ts-header,
body.page-template-page-coming-soon .ts-navigation,
body.page-template-page-coming-soon .ts-menu,
body.page-template-page-coming-soon header,
body.page-template-page-coming-soon nav,
body.page-template-page-coming-soon .site-header,
body.page-template-page-coming-soon .main-navigation,
body.page-template-page-coming-soon .menu,
body.page-template-page-coming-soon .navbar,
body.page-template-page-coming-soon .header,
body.page-template-page-coming-soon .top-bar,
body.page-template-page-coming-soon .site-branding {
	display: none !important;
}

/* Ensure full screen coverage */
body.page-template-page-coming-soon {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.ts-coming-soon-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
	z-index: 1;
}

.ts-coming-soon-particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.ts-particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	animation: floatUp 5s linear infinite;
}

@keyframes floatUp {
	0% {
		transform: translateY(100vh) rotate(0deg);
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translateY(-100px) rotate(360deg);
		opacity: 0;
	}
}

.ts-coming-soon-gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
				radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.ts-coming-soon-shapes {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.ts-shape {
	position: absolute;
	border-radius: 50%;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	animation: float 6s ease-in-out infinite;
}

.ts-shape-1 {
	width: 200px;
	height: 200px;
	top: 10%;
	left: 10%;
	animation-delay: 0s;
}

.ts-shape-2 {
	width: 150px;
	height: 150px;
	top: 60%;
	right: 15%;
	animation-delay: 2s;
}

.ts-shape-3 {
	width: 100px;
	height: 100px;
	top: 30%;
	right: 30%;
	animation-delay: 4s;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(180deg); }
}

.ts-coming-soon-content {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	text-align: center;
}

.ts-coming-soon-logo {
	margin-bottom: 50px;
	text-align: center;
}

.ts-logo-icon {
	font-size: 64px;
	margin-bottom: 15px;
	display: block;
	animation: pulse 2s ease-in-out infinite;
}

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

.ts-logo-text {
	color: white;
	font-size: 42px;
	font-weight: 800;
	margin: 0 0 10px 0;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	background: linear-gradient(45deg, #fff, #a1c4fd, #c2e9fb);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ts-logo-subtitle {
	color: rgba(255, 255, 255, 0.8);
	font-size: 18px;
	font-weight: 500;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.ts-coming-soon-main {
	max-width: 800px;
	width: 100%;
}

.ts-coming-soon-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.2);
	padding: 8px 20px;
	border-radius: 25px;
	margin-bottom: 30px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.ts-badge-icon {
	font-size: 16px;
}

.ts-badge-text {
	color: white;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ts-coming-soon-title {
	color: white;
	font-size: 48px;
	font-weight: 800;
	margin: 0 0 20px 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	line-height: 1.2;
}

.ts-coming-soon-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 20px;
	line-height: 1.6;
	margin: 0 0 40px 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}


.ts-coming-soon-countdown {
	margin-bottom: 50px;
}

.ts-countdown-title {
	color: white;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 30px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ts-countdown-timer {
	display: flex;
	justify-content: center;
	gap: 25px;
	flex-wrap: wrap;
}

.ts-countdown-item {
	background: rgba(255, 255, 255, 0.1);
	padding: 25px 20px;
	border-radius: 20px;
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	min-width: 120px;
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.ts-countdown-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.ts-countdown-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.ts-countdown-item:hover::before {
	opacity: 1;
}

.ts-countdown-number {
	color: white;
	font-size: 42px;
	font-weight: 900;
	margin-bottom: 10px;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	background: linear-gradient(45deg, #fff, #a1c4fd);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	position: relative;
	z-index: 1;
}

.ts-countdown-label {
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	z-index: 1;
}

.ts-launched {
	color: #4ade80;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	padding: 20px;
	background: rgba(74, 222, 128, 0.1);
	border-radius: 12px;
	border: 2px solid rgba(74, 222, 128, 0.3);
}

/* Trade Counter Styles */
.ts-trade-counter {
	margin-top: 30px;
	padding: 25px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.ts-trade-counter-title {
	color: white;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 20px;
	text-align: center;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ts-trade-counter-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.ts-trade-count {
	text-align: center;
}

.ts-trade-number {
	color: #4ade80;
	font-size: 48px;
	font-weight: 900;
	display: block;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	background: linear-gradient(45deg, #4ade80, #22c55e);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ts-trade-label {
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ts-trade-progress {
	width: 100%;
	max-width: 400px;
}

.ts-progress-bar {
	width: 100%;
	height: 8px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 10px;
}

.ts-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #4ade80, #22c55e);
	border-radius: 4px;
	transition: width 0.3s ease;
}

.ts-progress-text {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

/* Status Indicators */
.ts-status-open {
	background: #22c55e;
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.ts-status-closed {
	background: #3b82f6;
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.ts-coming-soon-notify {
	margin-bottom: 50px;
}

.ts-coming-soon-notify h3 {
	color: white;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ts-notify-form {
	display: flex;
	gap: 12px;
	max-width: 400px;
	margin: 0 auto 15px auto;
}

.ts-notify-form input {
	flex: 1;
	padding: 12px 16px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	background: rgba(255, 255, 255, 0.9);
	color: #333;
}

.ts-notify-form input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.ts-notify-button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
	color: white;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ts-notify-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

.ts-notify-icon {
	font-size: 16px;
}

.ts-notify-note {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	margin: 0;
}

.ts-coming-soon-social {
	margin-bottom: 40px;
}

.ts-social-title {
	color: white;
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ts-social-links {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.ts-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ts-social-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	background: rgba(255, 255, 255, 0.2);
}

.ts-social-icon {
	font-size: 20px;
}

.ts-coming-soon-footer {
	position: relative;
	z-index: 2;
	padding: 20px;
	text-align: center;
}

.ts-footer-content p {
	color: rgba(255, 255, 255, 0.7);
	margin: 5px 0;
	font-size: 14px;
}

/* Admin Notice for Coming Soon Page */
.ts-admin-notice {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: white;
	padding: 20px;
	margin: 20px 0;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.ts-admin-notice h2 {
	margin: 0 0 10px 0;
	font-size: 24px;
}

.ts-admin-notice p {
	margin: 5px 0;
	font-size: 16px;
}

/* Responsive Design for Coming Soon */
@media (max-width: 768px) {
	.ts-coming-soon-title {
		font-size: 32px;
	}
	
	.ts-coming-soon-subtitle {
		font-size: 16px;
	}
	
	.ts-logo-text {
		font-size: 36px;
	}
	
	.ts-logo-subtitle {
		font-size: 16px;
	}
	
	
	.ts-countdown-timer {
		gap: 15px;
	}
	
	.ts-countdown-item {
		min-width: 90px;
		padding: 20px 15px;
	}
	
	.ts-countdown-number {
		font-size: 32px;
	}
	
	.ts-countdown-label {
		font-size: 10px;
	}
	
	.ts-notify-form {
		flex-direction: column;
		max-width: 300px;
	}
	
	.ts-social-links {
		gap: 15px;
	}
	
	.ts-social-link {
		width: 45px;
		height: 45px;
	}
	
	.ts-social-icon {
		font-size: 18px;
	}
	
	.ts-shape-1, .ts-shape-2, .ts-shape-3 {
		display: none;
	}
}

/* Table Horizontal Scroll for Mobile */
.ts-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 20px 0;
	width: 100%;
	max-width: 100%;
}

.ts-table-wrapper::-webkit-scrollbar {
	height: 8px;
}

.ts-table-wrapper::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.ts-table-wrapper::-webkit-scrollbar-thumb {
	background: rgba(161, 196, 253, 0.6);
	border-radius: 4px;
}

.ts-table-wrapper::-webkit-scrollbar-thumb:hover {
	background: rgba(161, 196, 253, 0.8);
}

.ts-table {
	min-width: 600px;
	width: 100%;
	border-collapse: collapse;
}

/* Prevent tables from shrinking on desktop */
@media (min-width: 769px) {
	.ts-table {
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
	}
	
	.ts-table-wrapper {
		overflow-x: visible;
		width: 100% !important;
	}
	
	/* Ensure tables maintain full width on desktop */
	.ts-card .ts-table-wrapper {
		overflow-x: visible;
		margin: 20px 0;
		width: 100% !important;
	}
	
	/* Force full width for all tables on desktop */
	.ts-card table,
	.ts-card .ts-table {
		width: 100% !important;
		min-width: 100% !important;
	}

	/* Keep default wrapping for cells; visual consistency with site tables */
}

/* Shortcode tables: force full width on desktop only for shortcode blocks */
@media (min-width: 769px) {
	.ts-shortcode-block .ts-table-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		margin: 20px 0 !important;
		padding: 0 !important;
		overflow-x: visible !important;
	}
	.ts-shortcode-block .ts-table {
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
	}
}

/* Keep desktop behavior consistent with other tables (no hard overrides) */

/* Ensure tables in posts don't overflow */
.ts-card .ts-table-wrapper {
	margin: 15px 0;
}

/* Mobile specific table adjustments */
@media (max-width: 768px) {
	.ts-table-wrapper {
		margin: 10px -10px;
		padding: 0 10px;
		-webkit-overflow-scrolling: touch;
		overflow-x: auto !important;
		width: 100%;
	}
	
	.ts-table {
		min-width: 500px;
		font-size: 14px;
		width: max-content !important;
	}
	
	.ts-table th,
	.ts-table td {
		padding: 8px 6px;
		white-space: nowrap;
	}
	
	/* Force horizontal scroll for all tables on mobile */
	table,
	.ts-table,
	.ts-card table {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch !important;
	}
	
	/* Ensure all table containers have scroll */
	.ts-card,
	.post-content,
	.entry-content,
	.single-post {
		overflow-x: auto;
	}
	
	
	/* Mobile font sizing for shortcodes */
	.ts-card {
		font-size: 14px;
	}
	
	.ts-metric-title {
		font-size: 16px !important;
	}
	
	.ts-metric-card {
		font-size: 13px;
	}
	
	.ts-metric-value {
		font-size: 18px !important;
	}
	
	.ts-metric-label {
		font-size: 11px !important;
	}
	
	.ts-metric-icon {
		font-size: 12px !important;
	}
	
	.ts-summary-stats {
		font-size: 13px !important;
	}
}

/* Ensure all tables in posts have horizontal scroll */
.post-content .ts-table-wrapper,
.entry-content .ts-table-wrapper,
.single-post .ts-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 15px 0;
	width: 100%;
}

/* Force horizontal scroll for any table in posts - mobile only */
@media (max-width: 768px) {
	.post-content table,
	.entry-content table,
	.single-post table {
		max-width: none !important;
		width: max-content !important;
		min-width: 500px;
	}

	/* Wrap any table in posts with scroll container */
	.post-content table,
	.entry-content table,
	.single-post table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* ==========================
   Shortcode Trading Table - Final Overrides
   Ensures full-width on desktop even inside post content rules above
   ========================== */
@media (min-width: 769px) {
	.post-content .ts-shortcode-block .ts-table,
	.entry-content .ts-shortcode-block .ts-table,
	.single-post .ts-shortcode-block .ts-table {
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		table-layout: auto !important;
	}
	.post-content .ts-shortcode-block .ts-table-wrapper,
	.entry-content .ts-shortcode-block .ts-table-wrapper,
	.single-post .ts-shortcode-block .ts-table-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: visible !important;
		margin: 20px 0 !important;
		padding: 0 !important;
	}
}

/* Medium screens: keep full width but allow natural layout */
@media (min-width: 481px) and (max-width: 768px) {
	.ts-shortcode-block .ts-table { width: 100% !important; table-layout: auto; }
	.ts-shortcode-block .ts-table-wrapper { width: 100%; max-width: 100%; overflow-x: auto; }
}

/* Mobile: horizontal scroll (kept), optional sticky first column for better context */
@media (max-width: 480px) {
	.ts-shortcode-block .ts-table { min-width: 500px; }
	.ts-shortcode-block .ts-table th:first-child,
	.ts-shortcode-block .ts-table td:first-child {
		position: sticky; left: 0; z-index: 2;
		background: rgba(15,18,32,0.98);
	}
}

/* Trading table explicit classes to avoid theme conflicts */
.trading-table-container { width: 100%; max-width: 100%; overflow-x: auto; }
.trading-table { width: 100%; min-width: 800px; table-layout: auto; }
.trading-table td, .trading-table th { padding: 12px 15px; white-space: nowrap; }

@media (min-width: 769px) {
	.post-content .trading-table,
	.entry-content .trading-table,
	.single-post .trading-table {
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		table-layout: auto !important;
	}
	.post-content .trading-table-container,
	.entry-content .trading-table-container,
	.single-post .trading-table-container {
		width: 100% !important; max-width: 100% !important; overflow-x: visible !important; margin: 20px 0 !important; padding: 0 !important;
	}
}

/* Back to Top Button */
.ts-back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	opacity: 0;
	visibility: hidden;
	transform: translateY(30px) scale(0.8);
	z-index: 1000;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.ts-back-to-top::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
}

.ts-back-to-top:hover::before {
	transform: translateX(100%);
}

.ts-back-to-top:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
	background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #f093fb 100%);
}

.ts-back-to-top:active {
	transform: translateY(-2px) scale(0.98);
}

.ts-back-to-top-visible {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) scale(1) !important;
}

.ts-back-to-top-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.ts-back-to-top-icon {
	width: 24px;
	height: 24px;
	color: white;
	transition: all 0.3s ease;
}

.ts-back-to-top:hover .ts-back-to-top-icon {
	transform: translateY(-2px);
}

.ts-back-to-top-ripple {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.6s ease;
	pointer-events: none;
}

.ts-back-to-top:active .ts-back-to-top-ripple {
	width: 100px;
	height: 100px;
	opacity: 0;
}

/* Mobile adjustments for back to top button */
@media (max-width: 768px) {
	.ts-back-to-top {
		bottom: 20px;
		right: 20px;
		width: 55px;
		height: 55px;
		background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
		box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
		border: 2px solid rgba(255, 255, 255, 0.3);
	}
	
	.ts-back-to-top:hover {
		transform: translateY(-3px) scale(1.08);
		box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
	}
	
	.ts-back-to-top-icon {
		width: 22px;
		height: 22px;
	}
	
	/* Enhanced mobile touch feedback */
	.ts-back-to-top:active {
		transform: translateY(-1px) scale(0.95);
		box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
	}
}

/* Responsive Design for Blog Enhancements */
@media (max-width: 768px) {
  .ts-post-navigation {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  
  .ts-table-wrapper {
    margin: 15px -10px;
    padding: 0 10px;
  }
  
  .ts-table {
    min-width: 500px;
  }
  
  .ts-nav-link {
    padding: 16px;
    gap: 12px;
  }
  
  .ts-nav-arrow {
    font-size: 20px;
  }
  
  .ts-nav-title {
    font-size: 14px;
  }
  
  .ts-clock-date-container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }
  
  .ts-clock-inline {
    font-size: 12px;
  }
  
  .ts-date-inline {
    font-size: 14px;
    letter-spacing: 0.2px;
  }
}

@media (max-width: 480px) {
  .ts-post-thumbnail {
    margin: 16px 0;
    border-radius: 8px;
  }
  
  .ts-nav-link {
    padding: 12px;
    gap: 8px;
  }
  
  .ts-nav-arrow {
    font-size: 18px;
  }
  
  .ts-nav-title {
    font-size: 13px;
  }
  
  .ts-nav-label {
    font-size: 11px;
  }
  
  .ts-clock-container,
  .ts-date-container {
    padding: 10px 12px;
  }
  
  .ts-current-time,
  .ts-current-date {
    font-size: 14px;
  }
  
  .ts-clock-inline {
    font-size: 11px;
  }
  
  .ts-date-inline {
    font-size: 12px;
    letter-spacing: 0.1px;
  }
  
  /* Mobile responsive for thumbnail positioning */
  .ts-content-with-thumbnail {
    flex-direction: column;
    gap: 16px;
  }
  
  .ts-thumbnail-left,
  .ts-thumbnail-right {
    width: 100%;
  }
  
  .ts-content-with-thumbnail .ts-post-thumbnail {
    margin: 0;
  }
}

/* Trade Gallery (Global styles to ensure grid layout, centered and robust) */
.ts-trade-gallery { 
  clear: both; /* prevent float interference from post content */
  margin: 24px auto; 
  text-align: center; 
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  max-width: 1100px; /* keep it nicely centered on wide screens */
}
.ts-trade-gallery h3 { 
  margin: 0 0 16px; 
  color: #e6e8f0; 
  font-size: 20px; 
  font-weight: 700;
}
.ts-trade-gallery .gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 8px;
  align-items: start;
  justify-items: center; /* center cards within their grid cells */
}
.ts-trade-gallery .gallery-item { 
  text-align: center; 
  width: 100%;
  max-width: 320px; /* keep items visually balanced */
}
.ts-trade-gallery .gallery-item img {
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.ts-trade-gallery .gallery-item img:hover { 
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

@media (max-width: 640px) {
  .ts-trade-gallery { padding: 16px; }
  .ts-trade-gallery h3 { font-size: 18px; margin-bottom: 12px; }
  .ts-trade-gallery .gallery-grid { gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .ts-trade-gallery .gallery-item { max-width: 260px; }
}

/* Custom Footer Styles */
.ts-custom-footer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding: 30px 0;
  backdrop-filter: blur(10px);
}

.ts-custom-footer .ts-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.ts-footer-html-content {
  width: 100%;
}

/* Desktop and Mobile Footer Display */
.ts-footer-desktop {
  display: block;
}

.ts-footer-mobile {
  display: none;
}

/* For post pages: Show mobile footer on mobile, desktop footer on desktop */
.ts-footer-post .ts-footer-desktop {
  display: block;
}

.ts-footer-post .ts-footer-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* For post pages: Show mobile footer on mobile */
  .ts-footer-post .ts-footer-desktop {
    display: none;
  }
  
  .ts-footer-post .ts-footer-mobile {
    display: block;
  }
  
  /* For other pages: Always show desktop footer (no mobile footer) */
  .ts-footer-page .ts-footer-desktop {
    display: block;
  }
  
  .ts-footer-page .ts-footer-mobile {
    display: none;
  }
  
  /* Mobile footer specific styles */
  .ts-footer-mobile .ts-footer-html-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .ts-footer-mobile .ts-footer-html-content table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content table tbody {
    display: block !important;
    width: 100% !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content table tr {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 15px 10px !important;
    margin-bottom: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content table td:last-child {
    margin-bottom: 0 !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content h3 {
    font-size: 16px !important;
    margin-bottom: 12px !important;
    color: #e6e8f0 !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content button,
  .ts-footer-mobile .ts-footer-html-content input[type="button"],
  .ts-footer-mobile .ts-footer-html-content input[type="submit"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    background: rgba(91, 134, 229, 0.8) !important;
    border: 1px solid rgba(91, 134, 229, 0.3) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content button:hover,
  .ts-footer-mobile .ts-footer-html-content input[type="button"]:hover,
  .ts-footer-mobile .ts-footer-html-content input[type="submit"]:hover {
    background: rgba(91, 134, 229, 1) !important;
    transform: translateY(-1px) !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content a {
    display: block !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    text-align: center !important;
    color: #5b86e5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
  }
  
  .ts-footer-mobile .ts-footer-html-content a:hover {
    color: #36d1dc !important;
    text-decoration: underline !important;
  }
  
  .ts-footer-mobile .ts-footer-text-content {
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #a0a8c0 !important;
    margin-top: 20px !important;
  }
  
  /* Mobile Footer Simple Styles */
  .mobile-footer-simple {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  .mobile-footer-simple .footer-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
  }
  
  .mobile-footer-simple .footer-section h3 {
    color: #e6e8f0;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-align: center;
  }
  
  .mobile-footer-simple .footer-section button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(91, 134, 229, 0.3);
    margin-bottom: 8px;
  }
  
  .mobile-footer-simple .footer-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 134, 229, 0.4);
  }
  
  .mobile-footer-simple .footer-section a {
    display: block;
    padding: 10px 16px;
    color: #5b86e5;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(91, 134, 229, 0.1);
    border: 1px solid rgba(91, 134, 229, 0.2);
    margin-bottom: 6px;
  }
  
  .mobile-footer-simple .footer-section a:hover {
    color: #36d1dc;
    background: rgba(54, 209, 220, 0.1);
    border-color: rgba(54, 209, 220, 0.3);
    transform: translateY(-1px);
  }
  
  /* Mobile Footer Two Column Layout */
  .mobile-footer-two-column {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .mobile-footer-two-column .footer-column-left,
  .mobile-footer-two-column .footer-column-right {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
  }
  
  .mobile-footer-two-column h3 {
    color: #e6e8f0;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-align: center;
  }
  
  /* Buttons Section */
  .mobile-footer-two-column .buttons-section {
    margin-bottom: 20px;
  }
  
  .mobile-footer-two-column .buttons-section button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(91, 134, 229, 0.3);
    margin-bottom: 8px;
  }
  
  .mobile-footer-two-column .buttons-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 134, 229, 0.4);
  }
  
  /* Links Section */
  .mobile-footer-two-column .links-section {
    margin-bottom: 0;
  }
  
  .mobile-footer-two-column .links-section a {
    display: block;
    padding: 10px 16px;
    color: #5b86e5;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(91, 134, 229, 0.1);
    border: 1px solid rgba(91, 134, 229, 0.2);
    margin-bottom: 6px;
  }
  
  .mobile-footer-two-column .links-section a:hover {
    color: #36d1dc;
    background: rgba(54, 209, 220, 0.1);
    border-color: rgba(54, 209, 220, 0.3);
    transform: translateY(-1px);
  }
  
  /* Text Content Section */
  .mobile-footer-two-column .text-content {
    text-align: left;
  }
  
  .mobile-footer-two-column .text-content p {
    color: #a0a8c0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    text-align: justify;
  }
  
  .mobile-footer-two-column .text-content p:last-child {
    margin-bottom: 0;
  }
  
  /* Responsive adjustments for smaller screens */
  @media (max-width: 480px) {
    .mobile-footer-two-column .footer-column-left,
    .mobile-footer-two-column .footer-column-right {
      padding: 12px;
    }
    
    .mobile-footer-two-column h3 {
      font-size: 16px;
      margin-bottom: 12px;
    }
    
    .mobile-footer-two-column .buttons-section button {
      padding: 10px 14px;
      font-size: 13px;
    }
    
    .mobile-footer-two-column .links-section a {
      padding: 8px 14px;
      font-size: 13px;
    }
    
    .mobile-footer-two-column .text-content p {
      font-size: 13px;
      line-height: 1.5;
    }
  }
}


.ts-footer-html-content * {
  color: inherit;
  font-family: inherit;
}

.ts-footer-html-content h1,
.ts-footer-html-content h2,
.ts-footer-html-content h3,
.ts-footer-html-content h4,
.ts-footer-html-content h5,
.ts-footer-html-content h6 {
  color: #e6e8f0;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.ts-footer-html-content p {
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.ts-footer-html-content a {
  color: #5b86e5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ts-footer-html-content a:hover {
  color: #36d1dc;
  text-decoration: underline;
}

.ts-footer-html-content ul,
.ts-footer-html-content ol {
  margin: 0 0 15px 0;
  padding-left: 20px;
}

.ts-footer-html-content li {
  margin: 5px 0;
}

.ts-footer-text-content {
  color: #a0a8c0;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .ts-custom-footer {
    padding: 20px 0;
    margin-top: 30px;
  }
  
  .ts-custom-footer .ts-container {
    gap: 15px;
  }
  
  .ts-footer-text-content {
    font-size: 13px;
    padding: 10px 0;
  }
}

/* Social Media Icons Styles */
.ts-social-media-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--icon-spacing, 15px);
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ts-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--icon-size, 20px) + 16px);
  height: calc(var(--icon-size, 20px) + 16px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.ts-social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ts-social-icon:hover::before {
  opacity: 1;
}

.ts-social-icon i {
  font-size: var(--icon-size, 20px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.ts-social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.ts-social-icon:hover i {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Individual platform hover effects */
.ts-social-icon[aria-label*="Facebook"]:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(24, 119, 242, 0.4);
}

.ts-social-icon[aria-label*="Twitter"]:hover {
  background: rgba(29, 161, 242, 0.2);
  border-color: rgba(29, 161, 242, 0.4);
}

.ts-social-icon[aria-label*="Instagram"]:hover {
  background: rgba(228, 64, 95, 0.2);
  border-color: rgba(228, 64, 95, 0.4);
}

.ts-social-icon[aria-label*="LinkedIn"]:hover {
  background: rgba(0, 119, 181, 0.2);
  border-color: rgba(0, 119, 181, 0.4);
}

.ts-social-icon[aria-label*="YouTube"]:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.4);
}

.ts-social-icon[aria-label*="Telegram"]:hover {
  background: rgba(0, 136, 204, 0.2);
  border-color: rgba(0, 136, 204, 0.4);
}

.ts-social-icon[aria-label*="WhatsApp"]:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.4);
}

.ts-social-icon[aria-label*="Discord"]:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.4);
}

.ts-social-icon[aria-label*="TikTok"]:hover {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 0, 0, 0.4);
}

.ts-social-icon[aria-label*="Snapchat"]:hover {
  background: rgba(255, 252, 0, 0.2);
  border-color: rgba(255, 252, 0, 0.4);
}

.ts-social-icon[aria-label*="GitHub"]:hover {
  background: rgba(51, 51, 51, 0.2);
  border-color: rgba(51, 51, 51, 0.4);
}

.ts-social-icon[aria-label*="Reddit"]:hover {
  background: rgba(255, 69, 0, 0.2);
  border-color: rgba(255, 69, 0, 0.4);
}

/* Responsive Social Media Icons */
@media (max-width: 768px) {
  .ts-social-media-icons {
    gap: calc(var(--icon-spacing, 15px) * 0.8);
    margin-top: 15px;
    padding: 15px 0;
  }
  
  .ts-social-icon {
    width: calc(var(--icon-size, 20px) + 12px);
    height: calc(var(--icon-size, 20px) + 12px);
  }
  
  .ts-social-icon i {
    font-size: calc(var(--icon-size, 20px) * 0.9);
  }
}

@media (max-width: 480px) {
  .ts-social-media-icons {
    gap: calc(var(--icon-spacing, 15px) * 0.6);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .ts-social-icon {
    width: calc(var(--icon-size, 20px) + 10px);
    height: calc(var(--icon-size, 20px) + 10px);
  }
  
  .ts-social-icon i {
    font-size: calc(var(--icon-size, 20px) * 0.8);
  }
}

/* Custom Data Table Styles */
.ts-custom-data-table-container {
  margin: 30px 0;
  width: 100%;
}

.ts-custom-data-table {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

/* Title Row */
.ts-table-title-row {
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 50%, #8e54e9 100%);
  padding: 25px 30px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-table-title {
  color: white;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

/* Data Rows */
.ts-table-data-rows {
  padding: 0;
}

.ts-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.ts-table-row:nth-child(odd) {
  background: rgba(91, 134, 229, 0.05);
}

.ts-table-row:nth-child(even) {
  background: rgba(54, 209, 220, 0.05);
}

.ts-table-row:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.ts-table-row:last-child {
  border-bottom: none;
}

.ts-table-cell {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.6;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  min-height: 60px;
}

.ts-table-cell:last-child {
  border-right: none;
}

.ts-cell-left {
  background: rgba(255, 255, 255, 0.02);
  color: #e6e8f0;
  font-weight: 500;
}

.ts-cell-right {
  background: rgba(255, 255, 255, 0.04);
  color: #e6e8f0;
  font-weight: 600;
  text-align: center;
  justify-content: center;
}

/* Color Classes */
.ts-field-11.ts-positive {
  color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.15) !important;
  border-left: 4px solid #4ade80;
  font-weight: 700;
}

.ts-field-11.ts-negative {
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.15) !important;
  border-left: 4px solid #f87171;
  font-weight: 700;
}

/* Image Row */
.ts-table-image-row {
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ts-table-image-cell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ts-table-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.ts-table-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Button Row */
.ts-table-button-row {
  padding: 20px 30px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.ts-table-button {
  background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(91, 134, 229, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ts-table-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91, 134, 229, 0.4);
  background: linear-gradient(135deg, #4a7ce8 0%, #2bc4d1 100%);
}

.ts-table-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(91, 134, 229, 0.3);
}


/* Error and No Data Messages */
.ts-error, .ts-no-data {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  font-weight: 500;
}

.ts-no-data {
  background: rgba(156, 163, 175, 0.1);
  border-color: rgba(156, 163, 175, 0.3);
  color: #9ca3af;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .ts-table-title {
    font-size: 20px;
  }
  
  .ts-table-cell {
    padding: 12px 15px;
    font-size: 13px;
    min-height: 50px;
  }
  
  .ts-table-row {
    grid-template-columns: 1fr 1fr;
    overflow-x: auto;
  }
  
  .ts-table-cell {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    white-space: nowrap;
  }
  
  .ts-cell-right {
    text-align: center;
    justify-content: center;
  }
  
  .ts-table-button {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .ts-custom-data-table {
    overflow-x: auto;
  }
  
  .ts-table-data-rows {
    min-width: 400px;
  }
}

@media (max-width: 480px) {
  .ts-table-title-row {
    padding: 20px 15px;
  }
  
  .ts-table-title {
    font-size: 18px;
  }
  
  .ts-table-cell {
    padding: 10px 12px;
    font-size: 12px;
    min-height: 45px;
  }
  
  .ts-table-data-rows {
    min-width: 350px;
  }
  
  .ts-table-image-row {
    padding: 20px 15px;
  }
  
  .ts-table-button-row {
    padding: 15px 15px 25px;
  }
  
  .ts-table-button {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .ts-table-cell {
    padding: 8px 10px;
    font-size: 11px;
    min-height: 40px;
  }
  
  .ts-table-data-rows {
    min-width: 320px;
  }
  
  .ts-table-title {
    font-size: 16px;
  }
}

/* Footer Table Responsive Styles */
@media (max-width: 768px) {
  .ts-footer-html-content table {
    display: block !important;
    width: 100% !important;
  }
  
  .ts-footer-html-content table tbody {
    display: block !important;
    width: 100% !important;
  }
  
  .ts-footer-html-content table tr {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  
  .ts-footer-html-content table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 20px 10px !important;
    margin-bottom: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .ts-footer-html-content table td:last-child {
    margin-bottom: 0 !important;
  }
  
  .ts-footer-html-content h3 {
    font-size: 16px !important;
    margin-bottom: 15px !important;
  }
  
  .ts-footer-html-content button {
    width: 100% !important;
    padding: 10px !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
  }
  
  .ts-footer-html-content a {
    display: block !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
    text-align: center !important;
  }
  
  /* Override post-specific CSS for footer content */
  .single-post .ts-footer-html-content,
  .post-content .ts-footer-html-content,
  .entry-content .ts-footer-html-content {
    overflow-x: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
  
  .single-post .ts-footer-html-content table,
  .post-content .ts-footer-html-content table,
  .entry-content .ts-footer-html-content table {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
  
  .single-post .ts-footer-html-content button,
  .post-content .ts-footer-html-content button,
  .entry-content .ts-footer-html-content button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
  
  /* Force footer content to stay within viewport */
  .single-post .ts-custom-footer,
  .post-content .ts-custom-footer,
  .entry-content .ts-custom-footer {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
}

@media (max-width: 480px) {
  .ts-footer-html-content table td {
    padding: 15px 10px !important;
  }
  
  .ts-footer-html-content h3 {
    font-size: 15px !important;
  }
  
  .ts-footer-html-content button {
    padding: 8px !important;
    font-size: 13px !important;
  }
  
  .ts-footer-html-content a {
    display: block !important;
    font-size: 13px !important;
    text-align: center !important;
    padding: 6px 0 !important;
  }
  
  /* Override post-specific CSS for footer content on small screens */
  .single-post .ts-footer-html-content,
  .post-content .ts-footer-html-content,
  .entry-content .ts-footer-html-content {
    overflow-x: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
  
  .single-post .ts-footer-html-content button,
  .post-content .ts-footer-html-content button,
  .entry-content .ts-footer-html-content button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
  
  /* Force footer content to stay within viewport on small screens */
  .single-post .ts-custom-footer,
  .post-content .ts-custom-footer,
  .entry-content .ts-custom-footer {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
}

/* About Me Page Styles */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}
.about-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.about-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}
.about-hero .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.stat-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #10b981;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.about-sidebar {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    height: fit-content;
}
.about-main {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}
.skill-name {
    font-weight: 600;
    color: #2d3748;
}
.skill-level {
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    width: 100px;
    overflow: hidden;
}
.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.experience-item {
    border-left: 3px solid #10b981;
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}
.experience-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
}
.experience-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}
.experience-company {
    color: #10b981;
    font-weight: 600;
    margin-bottom: 5px;
}
.experience-date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.experience-desc {
    color: #4a5568;
    line-height: 1.6;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.achievement-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.achievement-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.achievement-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-section {
    background: #1a202c;
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}
.contact-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}
.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-hero h1 {
        font-size: 2rem;
    }
    .about-hero .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}