/* Tokenomics Grid Layout */
.tokenomics-section {
  position: relative;
  padding: 100px 0;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}

.tokenomics-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tokenomics-section .section-subtitle {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #00e5ff, #7b4dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.tokenomics-section .section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00e5ff, #7b4dff);
  border-radius: 3px;
}

/* Grid Layout */
.tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Token Distribution Card */
.token-distribution {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tokenomics-card {
  background: rgba(15, 15, 25, 0.8);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  height: 100%;
  min-height: 600px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tokenomics-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #7b4dff, #00e5ff);
  transition: all 0.3s ease;
}

.tokenomics-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(123, 77, 255, 0.3);
}

.tokenomics-card:hover::before {
  height: 100%;
  opacity: 0.05;
}

.tokenomics-card h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Tokenomics Header */
.tokenomics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.tokenomics-header .hero-product-visual {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  margin-left: 2rem;
}

.tokenomics-header .orbital {
  width: 100%;
  height: 100%;
  position: relative;
  transform: scale(1);
}

.tokenomics-header .section-subtitle {
  margin: 0;
  flex: 1;
}

/* Modern Pie Chart */
.distribution-chart {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 2.5rem;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  --highlight-color: transparent;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.distribution-chart.highlight-segment {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px var(--highlight-color, rgba(123, 77, 255, 0.5)));
}

.chart-pie {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  background: conic-gradient(
    #7B4DFf 0% 10%,
    #FF6B6B 10% 13%,
    #00C4FF 13% 100%
  );
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: relative;
}

/* Pop-out effect for segments */
.chart-pie.pop-segment-ecosystem {
  background: conic-gradient(
    #7B4DFf 0% 10%,
    #FF6B6B 10% 13%,
    #00C4FF 13% 100%
  );
  transform: scale(1.1);
}

.chart-pie.pop-segment-marketing {
  background: conic-gradient(
    #7B4DFf 0% 10%,
    #FF6B6B 10% 13%,
    #00C4FF 13% 100%
  );
  transform: scale(1.1);
}

.chart-pie.pop-segment-lp {
  background: conic-gradient(
    #7B4DFf 0% 10%,
    #FF6B6B 10% 13%,
    #00C4FF 13% 100%
  );
  transform: scale(1.1);
}

/* Pseudo-elements for the gap effect */
.chart-pie::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: transparent;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gap effect for ecosystem segment */
.chart-pie.pop-segment-ecosystem::before {
  background: conic-gradient(
    transparent 0% 10%,
    transparent 10% 100%
  );
  transform: scale(1.1);
}

/* Gap effect for marketing segment */
.chart-pie.pop-segment-marketing::before {
  background: conic-gradient(
    transparent 0% 10%,
    transparent 10% 13%,
    transparent 13% 100%
  );
  transform: scale(1.1);
  background-position: 0 0;
}

/* Gap effect for LP segment */
.chart-pie.pop-segment-lp::before {
  background: conic-gradient(
    transparent 0% 13%,
    transparent 13% 100%
  );
  transform: scale(1.1);
}

.chart-pie:hover {
  transform: scale(1.03);
}

.chart-center {
  position: absolute;
  width: 40%;
  height: 40%;
  background: linear-gradient(145deg, #1a1a2e, #0f0f1f);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    inset 0 0 20px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(123, 77, 255, 0.2);
  border: 2px solid rgba(123, 77, 255, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.chart-total {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7b4dff, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  text-shadow: 0 0 10px rgba(123, 77, 255, 0.5);
  position: relative;
  z-index: 1;
}

.chart-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Chart Legend */
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.legend-item.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(8px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.legend-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  transition: all 0.3s ease;
}

.legend-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.legend-item.ecosystem::before { background: #7B4DFF; }
.legend-item.marketing::before { background: #FF6B6B; }
.legend-item.lp::before { background: #00C4FF; }

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.legend-item.ecosystem .legend-color { background: #7B4DFF; }
.legend-item.marketing .legend-color { background: #FF6B6B; }
.legend-item.lp .legend-color { background: #00C4FF; }

.legend-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  flex-grow: 1;
}

.legend-percent {
  font-weight: 700;
  color: #fff;
  margin-left: 8px;
  min-width: 40px;
  text-align: right;
}

/* Tooltip */
.chart-tooltip {
  position: fixed;
  background: rgba(15, 15, 25, 0.97);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1000;
  pointer-events: none;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 220px;
}

.chart-tooltip:not([hidden]) {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}

.tooltip-title {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.tooltip-value {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85em;
}
  

.chart-center {
  position: absolute;
  width: 60%;
  height: 60%;
  background: #0f0f1f;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}

.chart-total {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7b4dff, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.chart-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Segment-specific styles */
.chart-segment.lp {
  background: conic-gradient(
    #7b4dff 0deg,
    #5e35b1 313.2deg
  );
  transform: rotate(0deg);
}

.chart-segment.ecosystem {
  background: conic-gradient(
    #00e5ff 0deg,
    #00b8d4 36deg
  );
  transform: rotate(313.2deg);
}

.chart-segment.marketing {
  background: conic-gradient(
    #e040fb 0deg,
    #9c27b0 10.8deg
  );
  transform: rotate(349.2deg);
}

/* Position tooltips and labels */
.chart-segment.lp {
  --label-rotation: 140deg;
}

.chart-segment.ecosystem {
  --label-rotation: 0deg;
}

.chart-segment.marketing {
  --label-rotation: 320deg;
}

.chart-segment .segment-percent {
  transform: rotate(calc(var(--label-rotation) + 90deg));
  transform-origin: 50% 50%;
  width: 60%;
  left: 20%;
  top: 20%;
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Position tooltips */
.chart-segment.lp .segment-tooltip {
  left: 70%;
  top: 20%;
}

.chart-segment.ecosystem .segment-tooltip {
  left: 30%;
  top: 80%;
}

.chart-segment.marketing .segment-tooltip {
  left: 75%;
  top: 75%;
}

/* Distribution Details */
.distribution-details {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Total Supply Section */
.total-supply {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.supply-header {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.supply-amount {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.token-symbol {
  color: #7b4dff;
  font-weight: 700;
}

.mint-address {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
}

.mint-address:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(123, 77, 255, 0.3);
}

.mint-address .address {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  padding-right: 10px;
}

/* Show full address on hover */
.mint-address .address::after {
  content: attr(data-full);
  position: absolute;
  left: 0;
  top: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mint-address:hover .address::after {
  opacity: 1;
}

.copy-address {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.copy-address:hover {
  color: #7b4dff;
  background: rgba(123, 77, 255, 0.1);
}

/* Exchange Widget */
.exchange-widget {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.exchange-widget h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.exchange-widget h4::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 77, 255, 0.3), transparent);
  margin-left: 1rem;
  margin-top: 0.5rem;
}

/* Jupiter Terminal Widget */
.exchange-widget {
  margin-top: 2rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.exchange-widget h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jupiter-wrapper {
  background: rgba(15, 14, 22, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(123, 77, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  min-height: 450px;
  width: 100%;
  padding: 1.5rem;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(10px);
}

/* Override Jupiter Terminal styles */
:root {
  --jupiter-primary: #7b4dff;
  --jupiter-secondary: #9b7dff;
  --jupiter-accent: #5e35b1;
  --jupiter-background: #0f0a1f;
  --jupiter-surface: #1a1435;
  --jupiter-text: #ffffff;
  --jupiter-text-secondary: rgba(255, 255, 255, 0.7);
  --jupiter-border: rgba(255, 255, 255, 0.1);
}

/* Ensure the widget takes full width of container */
#jupiter-terminal {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px;
  display: flex !important;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Fix for Jupiter Terminal container */
#jupiter-terminal > div {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  position: relative;
}

/* Ensure the instance container has proper dimensions */
#jupiter-terminal-instance > div {
  width: 100% !important;
  min-height: 400px !important;
  height: 50vh !important;
}

/* Style for dropdown menus */
.jupiter-terminal-container {
  --jupiter-connect-wallet-button-background: rgba(123, 77, 255, 0.2) !important;
  --jupiter-primary: rgba(123, 77, 255, 0.8) !important;
  --jupiter-input-border: 1px solid rgba(123, 77, 255, 0.3) !important;
  --jupiter-menu-shadow: 0 8px 16px rgba(0, 0, 0, 0.5) !important;
  --jupiter-z-index: 1000 !important;
  --jupiter-background: rgba(15, 14, 22, 0.95) !important;
}

/* Ensure dropdowns are visible */
[class*="jupiter-dropdown"],
[class*="jupiter-modal"],
[class*="jupiter-menu"] {
  z-index: 1001 !important;
  position: absolute !important;
  overflow: visible !important;
}

/* Loading and error states */
.jupiter-loading,
.jupiter-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 1rem;
  padding: 2rem;
  text-align: center;
}

.jupiter-error {
  color: #ff6b6b;
}

/* Ensure token selector dropdown is visible */
.token-selector-dropdown {
  z-index: 1002 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-top: 8px !important;
  border-radius: 12px !important;
  background: var(--jupiter-background) !important;
  box-shadow: var(--jupiter-menu-shadow) !important;
  border: 1px solid rgba(123, 77, 255, 0.3) !important;
  overflow: visible !important;
}

/* Make sure the search input is visible */
[class*="search-input"] {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(123, 77, 255, 0.3) !important;
  color: #fff !important;
}

/* Style the token list items */
[class*="token-item"] {
  padding: 12px 16px !important;
  transition: background 0.2s ease !important;
}

[class*="token-item"]:hover {
  background: rgba(123, 77, 255, 0.1) !important;
}

/* Style the widget container */
#jupiter-terminal > div {
  background: transparent !important;
  border-radius: 16px !important;
  border: none !important;
  box-shadow: none !important;
}

/* Style the swap container */
#jupiter-terminal .chakra-container,
#jupiter-terminal .chakra-stack {
  background: var(--jupiter-surface) !important;
  border-radius: 16px !important;
  border: 1px solid var(--jupiter-border) !important;
  padding: 1.5rem !important;
}

/* Style the token selection buttons */
#jupiter-terminal .chakra-button {
  background: var(--jupiter-primary) !important;
  color: white !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

#jupiter-terminal .chakra-button:hover:not(:disabled) {
  background: var(--jupiter-accent) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(123, 77, 255, 0.2) !important;
}

/* Style the input fields */
#jupiter-terminal .chakra-input,
#jupiter-terminal .chakra-input-group {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid var(--jupiter-border) !important;
  border-radius: 8px !important;
  color: white !important;
  font-size: 1.1rem !important;
  padding: 0.5rem 1rem !important;
  height: auto !important;
}

/* Style the swap button */
#jupiter-terminal button[type='submit'] {
  background: var(--jupiter-primary) !important;
  color: white !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.2s ease !important;
}

#jupiter-terminal button[type='submit']:hover:not(:disabled) {
  background: var(--jupiter-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 16px rgba(123, 77, 255, 0.3) !important;
}

/* Style the token list */
#jupiter-terminal .chakra-menu__menu-list {
  background: var(--jupiter-surface) !important;
  border: 1px solid var(--jupiter-border) !important;
  border-radius: 12px !important;
  padding: 0.5rem !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

/* Style the token list items */
#jupiter-terminal .chakra-menu__menuitem {
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  margin: 0.25rem 0 !important;
  transition: all 0.2s ease !important;
}

#jupiter-terminal .chakra-menu__menuitem:hover {
  background: rgba(123, 77, 255, 0.1) !important;
}

/* Style the info and settings buttons */
#jupiter-terminal .chakra-icon-button {
  color: var(--jupiter-text-secondary) !important;
  background: transparent !important;
  border: 1px solid var(--jupiter-border) !important;
}

#jupiter-terminal .chakra-icon-button:hover {
  color: var(--jupiter-primary) !important;
  border-color: var(--jupiter-primary) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .jupiter-terminal-container {
    min-height: 450px;
  }
  
  #jupiter-terminal .chakra-container,
  #jupiter-terminal .chakra-stack {
    padding: 1rem !important;
  }
  
  #jupiter-terminal .chakra-input,
  #jupiter-terminal .chakra-input-group {
    font-size: 1rem !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .total-supply {
    padding: 1rem;
  }
  
  .supply-amount {
    font-size: 1.3rem;
  }
  
  .mint-address {
    font-size: 0.8rem;
  }
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.detail-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.color-dot.lp { background: #7b4dff; }
.color-dot.ecosystem { background: #00e5ff; }
.color-dot.marketing { background: #e040fb; }

.detail-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  flex: 1;
}

.detail-text strong {
  font-weight: 700;
  color: #fff;
  margin-left: 0.3rem;
}

/* Utility Section */
.token-utility {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tokenomics-grid {
    gap: 2rem;
    padding: 0 15px;
  }
  
  .tokenomics-card {
    padding: 2rem;
  }
  
  .chart-segment {
    clip: rect(0, 120px, 240px, 0);
  }
  
  .chart-segment span {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .utility-section {
    padding: 1.5rem;
  }
  
  .utility-header {
    flex-direction: column;
    text-align: center;
  }
  
  .utility-icon {
    margin: 0 0 1rem 0;
  }
}

@media (max-width: 768px) {
  .tokenomics-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 10px;
  }
  
  .distribution-chart {
    max-width: 250px;
    margin: 0 auto 2rem;
  }
  
  .tokenomics-card {
    padding: 1.8rem;
    min-height: auto;
  }
  
  .tokenomics-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    text-align: center;
  }
  
  .utility-section {
    padding: 1.2rem;
  }
  
  .how-it-works {
    padding: 1.2rem;
  }
}

@media (max-width: 576px) {
  .tokenomics-section {
    padding: 50px 0;
  }
  
  .tokenomics-section .section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding: 0 15px;
  }
  
  .tokenomics-card {
    padding: 1.2rem;
    border-radius: 14px;
    min-height: auto;
  }
  
  .chart-segment span {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .segment-label {
    font-size: 0.8rem;
  }
  
  .detail-item {
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .detail-text {
    font-size: 0.9rem;
  }
  
  .utility-content h4 {
    font-size: 1.3rem;
  }
  
  .utility-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .how-it-works h5 {
    font-size: 1.1rem;
  }
  
  .how-it-works li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tokenomics-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.tokenomics-card:nth-child(1) { animation-delay: 0.1s; }
.tokenomics-card:nth-child(2) { animation-delay: 0.2s; }

/* Decorative Elements */
.tokenomics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(123, 77, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.1) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.tokenomics-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48cGF0aCBkPSJNMzAgMTVjOC4yODQgMCAxNSA2LjcxNiAxNSAxNXMtNi43MTYgMTUtMTUgMTVTMTUgMzguMjg0IDE1IDMwczYuNzE2LTE1IDE1LTE1eiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDMpIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=');
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
