body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: white;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #111;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

nav a {
    color: rgb(236, 24, 24);
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

nav a:hover {
    text-shadow: 0 0 10px rgb(236, 24, 24);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
}

button {
    padding: 12px 25px;
    font-size: 16px;
    background: rgb(236, 24, 24);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    box-shadow: 0 0 15px rgb(236, 24, 24);
}

/* Games Section */
.games {
    padding: 40px;
}

.games-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.games-head h2 {
    margin: 0;
    font-size: 28px;
}

.games-desc-label {
    margin: 0;
    font-size: 28px;
}

.game-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgb(236, 24, 24);
}

.game-title {
    margin: 0;
    font-family: inherit;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.55;
}

.game-separator {
    height: 1px;
    background: rgba(255, 0, 0, 0.35);
    margin: 12px 0 14px;
}

.game-description p {
    margin: 6px 0;
}

.description-title {
    margin-bottom: 10px;
}

.description-text {
    line-height: 1.55;
}

.game-pair {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.game-left,
.game-right {
    display: flex;
    flex-direction: column;
}

.game-left {
    position: relative;
}

.title-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.description-card {
    min-height: 120px;
}

@media (max-width: 700px) {
    .game-pair {
        grid-template-columns: 1fr;
    }
}

.back-arrow {
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 28px;
    color: white;
    background-color: red;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    z-index: 9999;
}

body {
    padding-top: 70px;
}

h1 {
    margin-top: 60px;
}

h1 {
    margin-top: 80px;
    margin-left: 20px;
}

.back-arrow {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: white;
    background-color: red;
    padding: 8px 14px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 9999;
}

.news-container {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ΚΕΝΤΡΟ ΟΡΙΖΟΝΤΙΑ */
    justify-content: center;
    text-align: center;
    margin-top: 100px;
}

.news-container textarea {
    width: 400px;
    height: 120px;
    margin-bottom: 15px;
}

.news-container button {
    background-color: red;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.news-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 120px;
}

body, html {
  margin: 0;
  height: 100%;
}

.back-arrow {
    position: fixed;  /* παραμένει πάντα πάνω στην οθόνη */
    top: 20px;
    left: 20px;
    font-size: 28px;
    color: white;
    background-color: red;
    padding: 8px 14px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 9999;    /* πάντα πάνω από όλα */
}

body, html {
  margin: 0;
  height: 100%;
}

.page-wrapper {
  display: flex;
  height: 100vh;       /* γεμίζει όλη την οθόνη */
}

.recent-posts {
  width: 200px;         /* πλάτος sidebar */
  background-color: #222;
  color: white;
  padding: 20px;
}

.news-container {
  flex: 1;              /* παίρνει όλο το υπόλοιπο χώρο */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
}

.back-arrow {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 28px;
    color: white;
    background-color: red;
    padding: 8px 14px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 9999;
}

h1 {
    margin-top: 0;
}

.admin-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  gap: 15px;
  text-align: center;
}

.admin-container textarea {
  width: 500px;
  height: 150px;
  resize: vertical;
}

.admin-container button {
  background-color: red;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#public-links ul {
  list-style: none;
  padding: 0;
}
#public-links li {
  margin: 5px 0;
}
#public-links a {
  color: white;
  background-color: #222;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
}
#public-links a:hover {
  background-color: darkred;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: white;
  height: 100%;
}

.back-arrow {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 28px;
  color: white;
  background-color: red;
  padding: 10px 16px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 9999;
  transition: 0.3s;
}
.back-arrow:hover {
  background-color: darkred;
}

.admin-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  gap: 25px;
  text-align: center;
}

.link-form {
  display: flex;
  gap: 10px;
}

.link-form input {
  width: 400px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: #222;
  color: white;
}

.link-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background-color: red;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.link-form button:hover {
  background-color: darkred;
}

.links-container {
  width: 100%;
  max-width: 600px;
}

#links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

#links-list a {
  display: inline-block;
  background-color: #222;
  padding: 10px 20px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}
#links-list a:hover {
  background-color: red;
}

/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: #0a0a0a;
  color: #fff;
  height: 100%;
}

/* Βελάκι */
.back-arrow {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 28px;
  color: #fff;
  background-color: rgb(255, 0, 0);
  padding: 10px 16px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 0 10px rgb(255, 0, 0);
  transition: 0.3s;
}
.back-arrow:hover {
  background-color: rgb(255, 0, 0);
  box-shadow: 0 0 20px rgb(255, 0, 0);
}

/* Admin panel */
.admin-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
  gap: 30px;
  text-align: center;
}

/* Form */
.link-input {
  display: flex;
  gap: 10px;
}

.link-input input {
  padding: 12px;
  width: 400px;
  border-radius: 8px;
  border: none;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 16px;
  outline: none;
  box-shadow: 0 0 10px #00ffff33 inset;
}

.link-input button {
  padding: 12px 25px;
  background-color: #00ffff;
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px #00ffff;
  transition: 0.3s;
}
.link-input button:hover {
  box-shadow: 0 0 20px #00ffff;
  transform: translateY(-2px);
}

/* Links container */
.links-container {
  width: 100%;
  max-width: 600px;
}

#links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

/* Κουμπιά links */
#links-list a {
  display: inline-block;
  padding: 12px 25px;
  background-color: #111;
  border: 2px solid #00ffff;
  border-radius: 8px;
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px #00ffff;
  transition: 0.3s;
}
#links-list a:hover {
  background-color: #00ffff;
  color: #000000;
  box-shadow: 0 0 20px #00ffff;
  transform: translateY(-2px);
}
/* Reset και Base */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: #000000;
  color: #fff;
  min-height: 100vh;
}

/* Back Arrow */
.back-arrow {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 28px;
  color: #fff;
  background-color: rgb(255, 0, 0);
  padding: 10px 16px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 9999;
  transition: 0.3s;
}
.back-arrow:hover {
  background-color: rgb(255, 0, 0);
  transform: scale(1.1);
}

/* Admin Panel */
.admin-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.admin-panel header h1 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: #00ffff;
}
.admin-panel header p {
  font-size: 1rem;
  color: #aaa;
}

/* Form */
.link-form {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.link-form input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  background-color: #1a1a1a;
  color: #fff;
  box-shadow: inset 0 0 8px #00ffff33;
}

.link-form button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background-color: #00ffff;
  color: #0a0a0a;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.link-form button:hover {
  background-color: #00cccc;
  transform: translateY(-2px);
}

/* Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  width: 100%;
}
.links-grid a {
  display: block;
  padding: 12px 20px;
  background-color: #111;
  border: 2px solid #00ffff;
  border-radius: 8px;
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 0 10px #00ffff;
  transition: 0.3s;
}

#accountAvatar {
  display: none;
}

.account-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  margin-left: 20px;
  border-radius: 50%;
  background: #000;
  vertical-align: middle;
}

.account-avatar::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
}

.account-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 22px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 12px 12px 5px 5px;
  background: #fff;
}
