@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PT Serif', serif;
  background: #191919;
  color: #e5e7eb;
  padding: 40px;
  min-height: 100vh;
}

body.widget-page {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

h1 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid>div {
  border-radius: 12px;
  padding: 24px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grid>div:hover {
  transform: translateY(-2px);
}

.grid>div>a {
  text-decoration: inherit;
  color: #9ca3af;
  width: inherit;
  height: inherit;
}

.grid div iframe {
  width: 100%;
  height: 450px;
  border: none;
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.chart-container {
  width: 100%;
  height: 100vh;
  background: #1e1e1e;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.widget-page .chart-container {
  background: #1e1e1e;
  border: none;
  border-radius: 0;
}

canvas {
  width: inherit;
  height: inherit;
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}