
/* SEKOUM AKADEMI — PREMIUM EXAMINATION V1.5 */

.sae-exam-section {
  padding: 36px 20px;
}

.sae-exam-frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 3px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  background: #d6ad49;
  box-shadow: 0 16px 38px rgba(10,27,50,.18);
}

.sae-exam-frame::before {
  content: "";
  position: absolute;
  width: 200%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  background: conic-gradient(
    transparent 0deg 260deg,
    #d6ad49 280deg,
    #fff8d9 300deg,
    #d6ad49 320deg,
    transparent 340deg 360deg
  );
  animation: sae-orbit 8s linear infinite;
  pointer-events: none;
}

.sae-exam-content {
  position: relative;
  z-index: 1;
  padding: 32px;
  border-radius: 17px;
  background: linear-gradient(135deg,#0b1930,#17385a);
  color: #ffffff;
}

.sae-exam-content > p:first-of-type {
  margin: 0 0 14px;
  color: #e9bf69;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.sae-exam-content > h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(26px,4vw,36px);
  line-height: 1.2;
}

.sae-exam-content > p:nth-of-type(2) {
  margin: 0 0 18px;
  color: #e9bf69;
  font-weight: 700;
}

.sae-exam-content > p:nth-of-type(3) {
  margin: 0 0 24px;
  color: #dbe6f3;
  line-height: 1.7;
}

.sae-exam-content > p:nth-of-type(3) span {
  display: block;
}

.sae-exam-content > p:last-of-type {
  margin: 18px 0 0;
  color: #dbe6f3;
  font-size: 13px;
}

.sae-exam-cta {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 12px;
  background: linear-gradient(
    110deg,#d6ad49,#ffffff,#b88729,#fff0bc
  );
  background-size: 300% 300%;
  animation:
    sae-button-flow 4s ease-in-out infinite alternate,
    sae-button-pulse 3s ease-in-out infinite;
}

.sae-exam-cta a {
  display: block;
  box-sizing: border-box;
  padding: 15px 22px;
  border-radius: 9px;
  background: #e9bf69;
  color: #10233d;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.sae-exam-cta a:hover {
  background: #fff0bc;
}

.sae-exam-cta a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

@keyframes sae-orbit {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

@keyframes sae-button-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes sae-button-pulse {
  0%,100% {
    box-shadow: 0 0 7px rgba(233,191,105,.25);
  }
  50% {
    box-shadow: 0 0 23px rgba(233,191,105,.85);
  }
}

@media (max-width:600px) {
  .sae-exam-content { padding: 23px; }
  .sae-exam-cta { display: block; }
  .sae-exam-cta a { font-size: 14px; }
}

@media (prefers-reduced-motion:reduce) {
  .sae-exam-frame::before,
  .sae-exam-cta {
    animation: none;
  }
}
