:root {
  --bg-color: #f9f9f9;
  --primary: #333;
  --accent: #0d1532;
  --card-bg: #fff;
  --border-radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --icon: #223784;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --primary: #f0f0f0;
  --card-bg: #3e3e3e;
  --accent: #fff;
  --icon: #ffffff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--primary);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#toggle-theme {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 100;
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--accent);
  cursor: pointer;
}
.theme-toggle .fa-moon{color: #ff9b1b;}
.theme-toggle .fa-sun{color: #ffdc54;;}
.profile {
  text-align: center;
  margin-bottom: 30px;
}

.profile img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.profile h1 {
  font-size: 20px;
  margin: 10px 0 5px;
}

.profile p {
  margin: 0;
  font-size: 14px;
  color: #bdbdbd;
}

.links {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.links-group h2 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--accent);
  text-align: left;
}

.link-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 14px 20px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.link-card:hover {transform: translateY(-2px);}
.link-card a i{color: var(--icon);margin-right: 6px;}
.link-card a {
  color: var(--accent);
  text-decoration: none;
  font-size: 16px;
  display: block;
  text-align: left;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.copy-btn:hover {color: #1e90ff;}

.footer {
  margin-top: 40px;
  font-size: 12px;
  color: #aaa;
}

.admitere-card{
  width: 100%;
  height: 300px;
  background: linear-gradient(130.65deg, #0056a7 16.26%, #003971 97.59%);
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.admitere-link {
  text-decoration: none;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  font-size: 20px;
  display: inline-block;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  background-color: #13406b;
  border-radius: 10px;
  width: max-content;
}

.circle {
  display: none;
  position: absolute;
  aspect-ratio: 1/1;
  border-radius: 1000px;
  width: 300px;
  background-color: #0064b0;
}

.circle1{
  width: 350px;
  top: -200px;
  right: -100px;
}

.circle2{
  width: 250px;
  bottom: -50px;
  right: -150px;
}

.circle3{
  width: 300px;
  bottom: -50px;
  left: -150px;
}

.ball {
  position: absolute;
  aspect-ratio: 1/1;
  border-radius: 50%;
  backface-visibility: hidden;
  animation: move linear infinite;
}

.ball:nth-child(odd) {
  width: 350px;
    color: #0064b0;
}

.ball:nth-child(even) {
  width: 250px;
    color: #0064b0;
}

/* Using a custom attribute for variability */
.ball:nth-child(1) {
  top: 77%;
  left: 88%;
  animation-duration: 40s;
  animation-delay: -3s;
  transform-origin: 16vw -2vh;
  box-shadow: 40vmin 0 5.703076368487546vmin currentColor;
}
.ball:nth-child(2) {
  top: 42%;
  left: 2%;
  animation-duration: 53s;
  animation-delay: -29s;
  transform-origin: -19vw 21vh;
  box-shadow: -40vmin 0 5.17594621519026vmin currentColor;
}
.ball:nth-child(3) {
  top: 28%;
  left: 18%;
  animation-duration: 49s;
  animation-delay: -8s;
  transform-origin: -22vw 3vh;
  box-shadow: 40vmin 0 5.248179047256236vmin currentColor;
}
.ball:nth-child(4) {
  top: 50%;
  left: 79%;
  animation-duration: 26s;
  animation-delay: -21s;
  transform-origin: -17vw -6vh;
  box-shadow: 40vmin 0 5.279749632220298vmin currentColor;
}
.ball:nth-child(5) {
  top: 46%;
  left: 15%;
  animation-duration: 36s;
  animation-delay: -40s;
  transform-origin: 4vw 0vh;
  box-shadow: -40vmin 0 5.964309466052033vmin currentColor;
}
.ball:nth-child(6) {
  top: 77%;
  left: 16%;
  animation-duration: 31s;
  animation-delay: -10s;
  transform-origin: 18vw 4vh;
  box-shadow: 40vmin 0 5.178483653434181vmin currentColor;
}
.ball:nth-child(7) {
  top: 22%;
  left: 17%;
  animation-duration: 55s;
  animation-delay: -6s;
  transform-origin: 1vw -23vh;
  box-shadow: -40vmin 0 5.703026794398318vmin currentColor;
}
.ball:nth-child(8) {
  top: 41%;
  left: 47%;
  animation-duration: 43s;
  animation-delay: -28s;
  transform-origin: 25vw -3vh;
  box-shadow: 40vmin 0 5.196265905749415vmin currentColor;
}

@keyframes move {
  100% {
    transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

@media (min-width: 768px) {body {padding: 40px;}}
