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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #1a1a2e;
  color: #fff;
  overflow: hidden;
}

.theme-layout {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

#container-inside {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

#circle-small,
#circle-medium,
#circle-large,
#circle-xlarge,
#circle-xxlarge {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#circle-small {
  width: 200px;
  height: 200px;
  animation: pulse 4s ease-in-out infinite;
}

#circle-medium {
  width: 400px;
  height: 400px;
  animation: pulse 4s ease-in-out infinite 0.5s;
}

#circle-large {
  width: 600px;
  height: 600px;
  animation: pulse 4s ease-in-out infinite 1s;
}

#circle-xlarge {
  width: 800px;
  height: 800px;
  animation: pulse 4s ease-in-out infinite 1.5s;
}

#circle-xxlarge {
  width: 1000px;
  height: 1000px;
  animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.6;
  }
}

.comesoon-wraper {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1200px;
  padding: 40px;
}

.logo.top-left {
  position: absolute;
  top: 30px;
  left: 30px;
}

.logo.top-left img {
  max-height: 60px;
  filter: brightness(0) invert(1);
}

.top-right {
  position: absolute;
  top: 30px;
  right: 30px;
}

.top-right a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.top-right a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.come-soon {
  text-align: center;
  padding: 60px 0;
}

.h_iframe-aparat_embed_frame {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.h_iframe-aparat_embed_frame .ratio {
  display: block;
  width: 100%;
  height: auto;
}

.h_iframe-aparat_embed_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.left-bottom,
.right-bottom {
  position: absolute;
  bottom: 30px;
}

.left-bottom {
  left: 30px;
}

.right-bottom {
  right: 30px;
}

#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a2e;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#topcontrol {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#topcontrol:hover {
  background: rgba(255, 255, 255, 0.2);
}

#topcontrol::before {
  content: "↑";
  color: #fff;
  font-size: 18px;
}

@media (max-width: 768px) {
  .comesoon-wraper {
    width: 95%;
    padding: 20px;
  }
  
  .logo.top-left {
    top: 20px;
    left: 20px;
  }
  
  .logo.top-left img {
    max-height: 40px;
  }
  
  .top-right {
    top: 20px;
    right: 20px;
  }
  
  .top-right a {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .come-soon {
    padding: 40px 0;
  }
  
  .left-bottom,
  .right-bottom {
    display: none;
  }
}