/* Layout wrapper around everything */
.ser-redirect-wrapper {
  max-width: 980px;
  margin: 30px auto;
  padding: 0 10px;
}

/* Outside top/bottom ads */
.ser-top-outside,
.ser-bottom-outside {
  margin: 15px 0;
  text-align: center;
}

/* Horizontal layout: left ad | box | right ad */
.ser-redirect-layout {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

/* Left/Right outside ad slots */
.ser-left-outside,
.ser-right-outside {
  width: 300px;
  max-width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* The redirect box */
.ser-redirect-box {
  flex: 0 1 620px;
  max-width: 620px;
  margin: 0 auto;
  padding: 30px;
  border: 2px solid #0073aa;
  border-radius: 8px;
  background-color: #f8f9fa;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
}

.ser-redirect-box p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.ser-counter {
  font-weight: bold;
  margin: 0 3px;
  display: inline-block;
  transition: all 0.3s ease;
}

#ser-go-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.ser-redirect-graphic {
  width: 100px;
  height: 100px;
  margin: 0 auto 18px;
}

/* Inside ad slots */
.ser-top-inside,
.ser-bottom-inside {
  margin: 15px 0;
  text-align: center;
}

/* Honeypot */
.ser-honeypot { position:absolute; left:-9999px; height:0; overflow:hidden; }

/* Turnstile container */
#ser-turnstile-container { margin:20px 0; display:none; }

/* Mobile stacking:
   - Left/Right outside ads move below the box (centered)
*/
@media (max-width: 768px) {
  .ser-redirect-layout {
    flex-direction: column;
  }
  .ser-left-outside,
  .ser-right-outside {
    width: 100%;
    order: 2;
    margin-top: 12px;
  }
  .ser-redirect-box {
    order: 1;
    width: 100%;
  }
}
