@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Könnyen módosítható fő színek - mindkét szerver az egységes arany akcentust használja */
  --pvp-primary: #e8ab33;
  --economy-primary: #e8ab33;
  --pvp-primary-rgb: 232, 171, 51;
  --economy-primary-rgb: 232, 171, 51;

  --portal-body: #0b0b0d;
  --portal-text: #f5f5f7;
  --portal-muted: #a7a7af;
  --portal-surface: rgba(26, 26, 31, 0.85);
  --portal-border: rgba(255, 255, 255, 0.06);
  --portal-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --portal-radius: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background-color: var(--portal-body);
  background-image:
    radial-gradient(800px 550px at 50% -15%, rgba(232, 171, 51, 0.20), transparent 60%),
    radial-gradient(600px 500px at 90% 100%, rgba(232, 171, 51, 0.10), transparent 60%),
    linear-gradient(160deg, #111116 0%, #0b0b0d 100%);
  background-attachment: fixed;
  color: var(--portal-text);
  min-height: 100vh;
  overflow-x: hidden;
}

.logo-wrapper {
  display: none;
}

.logo-wrapper img {
  width: min(320px, 76vw);
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.35));
}

.card-container {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  gap: 96px; /* Távolabb egymástól */
  padding: 0 64px;
}

.portal-prompt {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  z-index: 5;
  pointer-events: none;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.portal-prompt span {
  color: inherit;
}

/* Csempe (az Economy kártyák stílusát követi, de egyszerűsítve) */
.e-card {
  margin: 0;
  width: 360px;
  max-width: 92vw;
  background: linear-gradient(150deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 16px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.18);
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.e-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 56px rgba(var(--tile-primary-rgb), 0.22);
}

.portal-tile {
  --tile-primary: var(--economy-primary);
  --tile-primary-rgb: var(--economy-primary-rgb);
  --tile-glow: rgba(232, 171, 51, 0.25);
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.portal-tile--pvp {
  --tile-primary: var(--pvp-primary);
  --tile-primary-rgb: var(--pvp-primary-rgb);
  --tile-glow: rgba(145, 249, 21, 0.25);
}

.portal-tile::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(ellipse 60% 30% at 20% 20%, var(--tile-glow), transparent 55%),
    radial-gradient(ellipse 60% 30% at 80% 0%, rgba(0, 0, 0, 0.25), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.portal-tile__media {
  position: relative;
  height: 190px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.portal-tile__text {
  position: relative;
  padding: 18px 18px 26px;
  text-align: center;
  margin-top: auto;
}

.portal-tile__title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.portal-tile__title span {
  color: var(--tile-primary);
}

.portal-tile__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--portal-muted);
  font-weight: 500;
}

.portal-tile__cta {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--portal-body);
  background: linear-gradient(135deg, var(--tile-primary) 0%, rgba(0, 0, 0, 0.12) 180%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* A két csempe teljes kattinthatósága */
.portal-link {
  text-decoration: none;
  color: inherit;
}

/* Letiltott (karbantartás alatt álló) csempe */
.portal-tile-wrapper {
  position: relative;
  width: 360px;
  max-width: 92vw;
}

.portal-tile--disabled {
  filter: blur(2px) grayscale(0.7);
  opacity: 0.5;
  user-select: none;
  transform: none !important;
}

/* Csak az 1-es (fejlesztés alatt, tényleg nem elérhető) állapotban teljesen inaktív. */
.portal-tile-wrapper--blocked {
  pointer-events: none;
  cursor: not-allowed;
}

.portal-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.portal-tile__overlay span {
  background: rgba(13, 13, 15, 0.85);
  color: #fafafa;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .portal-prompt {
    top: 14px;
    font-size: 15px;
    padding: 0 14px;
    line-height: 1.35;
  }
  .card-container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 82px 12px 48px;
  }
  .e-card {
    width: 100%;
    max-width: 420px;
  }
}

