/* ---------- NEWS ---------- */
:root {
    --heading: #ffffff;
    --title: #00fff7;
    --border: #33ccff;
    --bg: radial-gradient(circle at top, #191f2c, #020304);
    --form-bg: radial-gradient(circle at center, #001f62, #050008);
    --form-title: #6380ff;
    --form-question: #93abff;
    --form-btn: linear-gradient(0deg, #759eff, #2f51c1);
    --form-btnHover: rgba(90, 120, 255, 0.75);
}

.news {
    background: var(--bg);
    color: #e6f1ff;
    font-family: Inter, sans-serif;
    overflow-x: hidden;
}

.news-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    padding: 80px 24px 0px;
    z-index: 2;
}

.news-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 8px;
    background: var(--heading);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-subheading {
    font-size: 14px;
    font-weight: 500;
    text-align: justify;
    color: #a0b2d6;
    margin: 0 40px;
    margin-bottom: 30px;
}

.news-date {
    color: #8aa0b8;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
}

.news-card {
    background: rgba(12, 15, 20, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 0 40px rgba(0, 255, 204, 0.05);
    font-size: 1.05rem;
}

.news-card .news-title {
    color: var(--title);
    margin-top: 0;
}

.news-text {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}

ul {
    padding-left: 18px;
}

li {
    margin: 8px 0;
}

.news-notice {
    border-left: 3px solid var(--title);
    padding-left: 16px;
    margin: 20px 0;
    color: var(--title);
}

.news-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 16px;
}

.nav-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--title);
    padding: 12px 10px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    border-radius: 8px;
    min-width: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-btn:hover {
    background: rgba(0, 255, 204, 0.12);
    transform: translateY(-1px);
}

/* ---------- COUNTDOWN ---------- */   
.countdown {
    padding: 60px 10vw;
    text-align: center;
    position: relative;
    color: #fff;
    background: linear-gradient(#1d0242, #022742, #0d0d0d);
}

.countdown-title {
    margin-top: 20px;
    letter-spacing: 2px;
    color: #5563ff;
    font-size: 18px;
    text-transform: uppercase;
}

.countdown-message {
    color: #fff;
    opacity: 0.8;
    font-size: 14px;
    min-height: 1.2em;
    margin-bottom: 10px;
}

.countdown-text {
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.6;
    margin-top: 18px;
}

.countdown-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px;
}

.countdown .main-container {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.countdown .sub-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 18px;
    flex: 1;
    max-width: 300px;
}

.main-container .timer {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.sub-container .timer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: fit-content;
    margin: 0 auto;
}

.main-container .box,
.sub-container .box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform; 
    transform: translateZ(0);
}

.main-container .box::after,
.sub-container .box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    opacity: 0.4;
    animation: pulseGlow 3s infinite ease-in-out;
    will-change: opacity;
}

.main-container .box {
    min-width: 150px;
    border-radius: 16px;
    padding: 16px 18px;
}
.main-container .box::after {
    box-shadow: 0 0 30px rgba(50, 255, 183, 0.8);
}
.main-container .box span {
    display: block;
    font-size: 65px;
    font-weight: 700;
    background: linear-gradient(180deg, #9fffdc, #95ff5c);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-container .box {
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sub-container .box::after {
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.6);
}
.sub-container .box span {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #df8bfd, #505efa);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-timer.glitch .timer {
    animation: timeGlitch 0.25s infinite;
}

@keyframes timeGlitch {
    0% { transform: translate(0,0); opacity: 1; }
    20% { transform: translate(-3px, 2px); opacity: 0.8; }
    40% { transform: translate(3px, -1px); opacity: 0.9; }
    60% { transform: translate(-1px, -2px); opacity: 1; }
    80% { transform: translate(2px, 1px); opacity: 0.8; }
    100% { transform: translate(0,0); opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(0.98); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

/* ---------- TERMS OF SERVICE ---------- */
.terms-wrapper {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #630d2f 40%, #050008);
    height: 100%;
}

.terms-window {
    max-width: 820px;
    margin: 5vw;
    background: rgba(20, 10, 30, 0.85);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px rgba(255, 80, 80, 0.25);
    display: flex;
    flex-direction: column;
}

.terms-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-header h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 2px;
    color: #ff6363;
}

.version {
    font-size: 11px;
    opacity: 0.6;
}

.terms-content {
    padding: 24px;
    overflow-y: auto;
    line-height: 1.6;
    font-size: 14px;
}

.terms-content h2 {
    margin-top: 28px;
    font-size: 15px;
    color: #ff8c8c;
}

.terms-content ul {
    padding-left: 18px;
}

.terms-content li {
    margin-bottom: 6px;
}

.end-note {
    text-align: center;
    opacity: 0.5;
    margin-top: 40px;
}

.terms-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.terms-footer button {
    padding: 10px 22px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(0deg, #ff7296, #ffa6a6);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.terms-footer button:hover {
    box-shadow: 0 0 15px rgba(255, 90, 90, 0.75);
    transition: all 0.35s ease-in
}

/* ---------- FAQ ---------- */
.faq {
    min-height: 82dvh;
    margin: 0;
    background: radial-gradient(circle at center, #5209a7, #050008);
}

.faq-wrapper {
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.faq-window {
    max-width: 900px;
    margin: 5vw;
    background: rgba(20, 10, 30, 0.85);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 80px rgba(140, 90, 255, 0.35);
    overflow: hidden;
}

.faq-header {
    padding: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-header h1 {
    margin: 0;
    font-size: 22px;
    letter-spacing: 2px;
    color: #c163ff;
}

.faq-header p {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.6;
}

.faq-list {
    padding: 10px 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 28px;
    color: #fff;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 10px;
    cursor: pointer;
    color: #e69bff;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-answer {
    display: grid;
    font-size: 14px;
    grid-template-rows: 0fr;
    opacity: 0;
    padding: 0 28px;
    transform: translateY(-4px);
    transition: transform 0.5s ease-in-out, grid-template-rows 0.5s ease-in-out, padding 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.faq-answer>div {
    overflow: hidden;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
    opacity: 0.8;
    transform: translateY(0);
    padding: 8px 28px 18px 28px;
}

.faq-arrow {
    transition: transform 0.5s ease-in-out;
}

.faq-item.open .faq-arrow {
    transform: rotate(45deg);
}

.faq-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.faq-footer button {
    padding: 10px 22px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(0deg, #6e4de7, #c8a6ff);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.faq-footer button:hover {
    box-shadow: 0 0 15px rgba(140, 90, 255, 0.75);
    transition: all 0.35s ease-in
}

#faqSearch {
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    outline: none;
}

#faqSearch::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- QUESTIONNAIRE ---------- */
.form {
    background: var(--form-bg);
    color: #fff;
    min-height: 82dvh;
}

.form-wrapper {
    display: flex;
    justify-content: center;
    padding: 80px;
}

.form-box {
    background: rgba(20, 10, 30, 0.85);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 85vw;
    max-width: 650px;
    min-width: 350px;
    box-shadow: 0 0 40px rgba(140, 90, 255, 0.25);
}

.form-header {
    padding: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-header h1 {
    margin: 0;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--form-title);
}

.form-header p {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.6;
}

.form-tabs {
    display: flex;
    border-bottom: 5px solid rgba(255, 255, 255, 0.08);
}

.tab {
    flex: 1;
    padding: 14px;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
}

.tab.active {
    color: #fff;
    background: rgba(76, 103, 255, 0.12);
}

.form-section {
    display: none;
    animation: fadeSlide 0.4s ease;
}

.form-section.active {
    display: block;
}

.form-body {
    padding: 0 35px 30px;
    display: flex;
    flex-direction: column;
}

.question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
}

.form-question {
    display: block;
    font-size: 15px;
    color: var(--form-question);
}

.form-question span {
    display: block;
    margin-top: 28px;
    margin-bottom: 10px;
}

input,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
}

.stars {
    display: flex;
    gap: 1dvw;
    cursor: pointer;
    margin-top: 0;
}

.star {
    font-size: 22px;
    opacity: 0.4;
    transition: transform 0.15s, opacity 0.15s;
}

.star.active {
    opacity: 1;
    transform: scale(1.15);
    color: #ffffff;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: 35px;
}

.options label {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 30px;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.options input {
    margin: 0;
    justify-self: start;
}

.other-input {
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
}

.other-option {
    display: flex;
    align-items: center;
}

.consent {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    margin: 32px auto 8px;
    gap: 10px;
    font-size: 13px;
    opacity: 0.85;
    cursor: pointer;
}

.consent input {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    transform: scale(1.1);
    cursor: pointer;
}

.status {
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin: 8px auto 0;
    min-height: 18px;
}

.status.success {
    color: #7cffb3;
}

.status.error {
    color: #ff7c7c;
}

.form-button {
    margin: 0px auto;
    width: 70%;
    border-radius: 14px;
    padding: 10px 22px;
    border: none;
    background: var(--form-btn);
    color: #fff;
    font-size: 14px;;
    cursor: pointer;
    text-align: center;
}

.form-button:hover {
    box-shadow: 0 0 15px var(--form-btnHover);
    transition: all 0.35s ease-in
}

.thank-you {
  text-align: center;
  padding: 60px 20px;
  animation: fadeIn 0.5s ease;
}

.thank-you h2 {
  margin-bottom: 12px;
  color: #7cffb3;
}

.hidden {
  display: none;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 0, 15, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 50;
  transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: #8aa2ff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loading-text {
  margin-top: 14px;
  font-size: 14px;
  color: #cfd7ff;
  letter-spacing: 0.5px;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}