* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Vazirmatn', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;

  background:
    radial-gradient(circle at 15% 20%, #b8ffa6 0 140px, transparent 141px),
    radial-gradient(circle at 85% 25%, #ffe8d3 0 160px, transparent 161px),
    radial-gradient(circle at 25% 85%, #ffc7e9 0 180px, transparent 181px),
    linear-gradient(180deg, #b7ecff 0%, #d8fff0 60%, #fff5d6 100%);
}


.back-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.back-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

h1 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: #4caf50;
  opacity: 0.85;
}

h2 {
  margin: 10px 0 30px;
  font-size: 2.4rem;
  color: #333;
}


.frame-wrapper {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 18px;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.12),
    0 0 0 6px rgba(255,255,255,0.6);
}

iframe {
  width: 800px;
  height: 600px;
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 3px #2aeb44;
}


@media (max-width: 860px) {
  iframe {
    width: 95vw;
    height: 520px;
  }
}

@media (max-width: 500px) {
  iframe {
    height: 440px;
  }

  h2 {
    font-size: 1.8rem;
  }
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #ffd3e7;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #c7f7ff;
  border-radius: 10px; 
  border: 3px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #fff6a6;
}


