:root {
  --main-bg: #ffffff;
  --card-bg: #f9f9f9;
  --text-color: #111111;
  --card-hover: #e6e6e6;
  --font-main: 'Courier New', monospace;
  --shadow: 0 6px 16px rgba(0,0,0,0.15);
  --glow-color: rgba(0, 123, 255, 0.6);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-main);
  background: var(--main-bg);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Container */
.login-container {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Header */
.header {
  margin-bottom: 40px;
}
.header img.app-logo {
  width: 120px; /* mobil başlangıç */
  margin-bottom: 10px;
  transition: width 0.3s ease;
}
.header h1 {
  font-size: 1.8rem;
  margin: 5px 0;
}
.header .subtitle {
  font-size: 1rem;
  color: #555555;
}

/* Kart grid - mobil: 2 sütun */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
}

/* Kartlar */
.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--card-bg);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-color);
  box-shadow: var(--shadow);
  padding: 18px 12px;
  min-height: 200px;
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: center;
}

.card:hover {
  background: var(--card-hover);
  transform: translateY(-6px);
}

/* Kart ikonları */
.card img.card-icon {
  width: 75px;
  height: 75px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.card:hover img.card-icon {
  transform: scale(1.1);
  filter: brightness(1.2);
  box-shadow: 0 0 15px 5px var(--glow-color);
}

.card h2 {
  font-size: 1rem;
  margin: 15px 0 0 0;
  line-height: 1.2;
  word-break: break-word;
}

/* Footer */
.footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #777777;
}

/* Tablet ve Desktop: 4 sütun, logo büyüt */
@media (min-width: 769px) {
  .header img.app-logo {
    width: 150px;
  }
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  .card img.card-icon {
    width: 100px;
    height: 100px;
  }
  .card {
    min-height: 260px;
    padding: 20px;
  }
}
