/* ====== USTAWIENIA ====== */
:root{
  --bg: #0a0a0a;
  --panel: #0e0f12;

  /* Teksty – chłodne, błękitne odcienie */
  --text: #cde6ff;       /* główny kolor tekstu (delikatny błękit) */
  --muted: #94bde0;      /* opisy i subtelne elementy */
  --brand: #1a6bff;      /* kolor akcentu / ramki */

  /* Efekty świetlne i detale */
  --glow: rgba(26,107,255,.35);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Reset & typografia */
*{ box-sizing: border-box; margin:0; padding:0; }
html, body{ height:100%; }
body {
  background: url('centrum.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
  padding: 0;
}


/* Kontener szerokości */
.wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Nagłówek */
header{
  padding: 56px 0 22px;
  text-align: center;
}
h1{
  letter-spacing: 3px;
  font-size: clamp(28px, 5vw, 44px);
}
.lead{
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
}

/* Siatka kafelków */
.grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 18px 0 8px;
}
@media (max-width: 720px){
  .grid{ grid-template-columns: 1fr; }
}

/* Kafelek */
.tile{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 130px;
  padding: 20px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00)) , var(--panel);
  border: 1.8px solid var(--brand);          /* NIEBIESKA RAMKA */
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Delikatny „oddech” światła przy hover */
.tile::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius: calc(var(--radius) + 1px);
  background: radial-gradient(250px 120px at 25% 0%, var(--glow), transparent 60%),
              radial-gradient(300px 140px at 80% 100%, rgba(26,107,255,.18), transparent 60%);
  opacity:.0;
  transition: opacity .18s ease;
  pointer-events:none;
  z-index:-1;
}
.tile:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0,0,0,.45);
  border-color: #4a8aff;
}
.tile:hover::after{ opacity:.9; }

.tile-title{
  font-weight: 800;
  letter-spacing: 2px;
  font-size: clamp(18px, 2.4vw, 22px);
}
.tile-desc{
  color: var(--muted);
  font-size: clamp(14px, 2vw, 16px);
}

/* Sekcja opisu */
.intro {
  margin: 40px auto 50px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  max-width: 800px;            /* <-- szerokość centralna */
  text-align: center;          /* <-- wyrównanie tekstu na środku */
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.intro h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e6ecff;
}

.intro p {
  color: #8ecaff; /* delikatny błękit dopasowany do błysku Grace */
  text-shadow: 0 0 6px rgba(0,180,255,0.35),
               0 0 16px rgba(0,140,255,0.25);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Stopka */
.footer{
  text-align: center;
  padding: 22px 0 34px;
  color: #95a2b3;
  font-size: 14px;
}
.footer a{
  color: #c9d6ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(201,214,255,.45);
}
.footer a:hover{ border-bottom-color: transparent; }
