/* =========================================================
   CARDURI DISCORD + SERVER RAGEMP (footer si sus, in dreapta)
   ========================================================= */
a.osky-dcx:link,
a.osky-dcx:visited,
.osky-rgx {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 14px;
  border-radius: 14px;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.osky-side .osky-dcx,
.osky-side .osky-rgx {
  margin-bottom: 18px;
}

/* ---------- Discord ---------- */
a.osky-dcx {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, #5865f2 0%, #4752c4 55%, #3b2bb8 100%);
  box-shadow: 0 14px 34px rgba(88, 101, 242, 0.35);
}

a.osky-dcx:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(88, 101, 242, 0.55);
}

a.osky-dcx::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.3 4.4A19.8 19.8 0 0 0 15.4 3l-.6 1.3a18.4 18.4 0 0 0-5.6 0L8.6 3a19.7 19.7 0 0 0-4.9 1.4C.6 9 0 13.5.3 18a19.9 19.9 0 0 0 6 3l1.3-2a13 13 0 0 1-2-1l.5-.4a14.2 14.2 0 0 0 12 0l.5.4-2 1 1.3 2a19.8 19.8 0 0 0 6-3c.4-5.2-.7-9.7-3.6-13.6zM8.5 15.3c-1.2 0-2.2-1.1-2.2-2.4s1-2.4 2.2-2.4 2.2 1.1 2.2 2.4-1 2.4-2.2 2.4zm7 0c-1.2 0-2.2-1.1-2.2-2.4s1-2.4 2.2-2.4 2.2 1.1 2.2 2.4-1 2.4-2.2 2.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.12;
  transform: rotate(-14deg);
  pointer-events: none;
}

.osky-dcx-head,
.osky-rgx-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.osky-dcx-logo,
.osky-rgx-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.osky-dcx-logo svg,
.osky-rgx-logo svg {
  width: 20px;
  height: 20px;
}

.osky-dcx-logo {
  background: rgba(255, 255, 255, 0.18);
}

.osky-dcx-head b,
.osky-rgx-head b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.osky-dcx-head small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #e3e6ff;
  font-size: 11px;
}

.osky-dcx-head small i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ba55d;
  box-shadow: 0 0 0 3px rgba(59, 165, 93, 0.35);
  animation: oskyPulse 1.8s ease-in-out infinite;
}

.osky-dcx-head small b {
  display: inline;
  font-size: 11px;
}

.osky-dcx-avs {
  position: relative;
  display: flex;
  min-height: 24px;
  margin: 10px 0 0 6px;
}

.osky-dcx-avs img {
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #4752c4;
  object-fit: cover;
}

.osky-dcx-btn {
  position: relative;
  display: block;
  margin-top: 10px;
  padding: 9px;
  border-radius: 10px;
  background: #ffffff;
  color: #4752c4;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: letter-spacing 0.2s ease;
}

a.osky-dcx:hover .osky-dcx-btn {
  letter-spacing: 0.5px;
}

/* ---------- Server RageMP ---------- */
.osky-rgx {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 46, 77, 0.35), transparent 55%),
    linear-gradient(160deg, #1a0b1f 0%, #10183a 60%, #0a1230 100%);
  border: 1px solid rgba(255, 46, 77, 0.45);
  box-shadow: 0 14px 34px rgba(196, 18, 47, 0.3);
}

.osky-rgx:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(196, 18, 47, 0.5);
}

.osky-rgx::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px);
  pointer-events: none;
}

.osky-rgx-logo {
  background: linear-gradient(135deg, #c4122f, #ff2e4d);
  box-shadow: 0 6px 16px rgba(255, 46, 77, 0.45);
}

.osky-rgx-head > div {
  flex: 1;
  min-width: 0;
}

.osky-rgx-head small {
  display: block;
  margin-top: 2px;
  color: #ffb3be;
  font-size: 11px;
}

.osky-rgx-badge {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.16);
  border: 1px solid rgba(255, 210, 63, 0.6);
  color: #ffd23f;
  font-size: 11px;
  font-weight: 700;
}

.osky-rgx-badge.on {
  background: rgba(46, 230, 107, 0.16);
  border-color: rgba(46, 230, 107, 0.6);
  color: #2ee66b;
}

.osky-rgx-players {
  position: relative;
  margin-top: 12px;
  font-size: 11px;
  color: #c9d4ea;
}

.osky-rgx-players span {
  display: flex;
  justify-content: space-between;
}

.osky-rgx-players b {
  color: #ffffff;
}

.osky-rgx-bar {
  height: 6px;
  margin-top: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.osky-rgx-bar i {
  display: block;
  width: 4%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #c4122f, #ff2e4d);
}

.osky-rgx-ip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 6px 6px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.osky-rgx-ip code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-family: Consolas, monospace !important;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.osky-rgx-ip span {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.osky-rgx-ip:hover span {
  background: #2ee66b;
  color: #04210f;
}

a.osky-rgx-btn:link,
a.osky-rgx-btn:visited {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px;
  border-radius: 10px;
  background: linear-gradient(90deg, #c4122f, #ff2e4d);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 46, 77, 0.4);
  overflow: hidden;
}

a.osky-rgx-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: oskyShineBtn 3s ease-in-out infinite;
}

@keyframes oskyShineBtn {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}

@keyframes oskyPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(59, 165, 93, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(59, 165, 93, 0); }
}

/* ---------- benzile mici din footer ---------- */
a.osky-ftc:link,
a.osky-ftc:visited {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

a.osky-ftc:hover {
  transform: translateX(4px);
  filter: brightness(1.12);
}

a.osky-ftc-rg {
  background: linear-gradient(90deg, rgba(196, 18, 47, 0.35), rgba(16, 24, 58, 0.7));
  border: 1px solid rgba(255, 46, 77, 0.45);
}

a.osky-ftc-dc {
  background: linear-gradient(90deg, #5865f2, #4752c4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.osky-ftc-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.16);
}

a.osky-ftc-rg .osky-ftc-ico {
  background: linear-gradient(135deg, #c4122f, #ff2e4d);
}

.osky-ftc-t {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.osky-ftc-t b {
  display: block;
  font-size: 13px;
}

.osky-ftc-t small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.osky-ftc-t small i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ba55d;
}

.osky-ftc-t small i.soon {
  background: #ffd23f;
}

.osky-ftc-go {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
}