/*
style.css  – base theme styles
*/

/* === GLOBAL === */

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #050910;        /* matches hero gradient start */
  color: #ffffff;
  font-family: 'Orbitron', Arial, sans-serif;
}

main {
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 6rem;
  box-sizing: border-box;
}

/* === HERO (base – customizer overrides details) === */

.hero,
.opsec-hero {
  text-align: center;
  margin: 3rem auto 2rem;
}

.hero h1,
.opsec-hero h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #00ffe6;
  text-shadow: 0 0 2px #00ffe6, 0 0 2px #00ffe6;
}

.hero p,
.opsec-hero p {
  font-size: 1.2rem;
  color: #cccccc;
  max-width: 700px;
  margin: 0 auto;
}

/* === FEATURE CARDS === */

.feature-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 3rem auto;
	background:transparent;
}

.feature-card {
  flex: 1 1 calc(33.333% - 1.5rem);   /* 3 per row by default */
  max-width: 360px;
  background: #111111;
  border: 1px solid #222222;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  color: #eeeeee;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card h2,
.feature-card h3 {
  color: #00ffcc;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 6px rgba(0, 255, 204, 0.4);
}

.feature-card p {
  color: #dddddd;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #00ff7f;
  box-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
}

/* === BUTTONS (base neon look) === */

.btn,
.feature-card .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #00ccff;
  border-radius: 6px;
  background: transparent;
  color: #d1d1d1;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 204, 255, 0.2);
  transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    /* background: #000000; */
    border: 2px solid #00ff7f;
    color: #;
    font-weight: ;
    padding: 10px 20px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s 
ease;

}

.btn:hover,
.feature-card .btn:hover {
  color: #00ffcc;
  box-shadow: 0 0 16px rgba(0, 204, 255, 0.8);
  background: transparent;
  text-decoration: underline;
}

.btn:active,
.feature-card .btn:active {
  transform: scale(0.96);
}

.btn:active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 204, 255, 0.2);
  animation: splash 0.35s ease-out;
  pointer-events: none;
}

@keyframes splash {
  0%   { opacity: 0; transform: scale(0.9); }
  50%  { opacity: 0.4; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1); }
}

/* === NEWS SECTION === */

.yps-news {
  margin: 60px auto;
  padding: 30px;
  background: transparent;
  border: 1px solid #222222;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 127, 0.05);
}

.yps-news h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #00ff7f;
}

.news-items article {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222222;
}

.news-items article:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-bottom: 5px;
}

/* === FOOTER === */

.yps-footer {
	border:1px solid rgba(0,255,204,0.18);
    background: #1A1F30;
  /*  border-color: inherit !important; */
    text-align: center;
    padding: 1.5rem 1rem;
    color: #cfd6dd;
   /* border-top: 1px solid #1f232b; */
}

.yps-footer strong {
  color: #00ff7f;
}

.yps-footer a {
  color: #00c6ff;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.yps-footer a:hover {
  color: #00ff7f;
  text-shadow: 0 0 6px #00ff7f;
}

/* === RESPONSIVE BREAKPOINTS === */

@media (max-width: 1100px) {
  .feature-card {
    flex: 1 1 calc(50% - 1.5rem);     /* 2 per row on medium screens */
  }
}

@media (max-width: 700px) {
  .feature-card {
    flex: 1 1 100%;
    max-width: 100%;                  /* stack on small screens */
  }
  .btn {
    width: 100%;
  }
}
