/* Global / Dark theme */
:root{
  --bg: #0f0f11;
  --panel: #171718;
  --muted: #6b6b6b;
  --accent: #27ae60;
  --text: #efefef;
  --card: #1d1d1e;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Header */
header{
  height:160px;
  background: black;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  width:100%;
  position: fixed;
  top:0px;
  z-index:100;
}
header div img{ 
 
 height:100% 
}

.Logo_Div{
 background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.5));
height:100% 
}

/* Navigation */
.main-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:28px;
  background: #111;
  position:fixed;
  top:160px;
  width:100%;
padding:10px;
}
.main-nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  opacity:0.9;
}
.main-nav a:hover { color: var(--accent); }



/* Main sections */
main{ 
	padding:200px 20px; 
	width:100%;
  	overflow-y: auto;
}

/* Home hero */
.home-hero{  margin-top:20px; }
.home-hero h1{ font-size:1.8rem; margin:8px 0; color:var(--text); }
.home-hero p{ color:var(--muted); }

.wrapper {
   min-height: 100%;
  position: relative;
  padding-bottom: 60px; /* same height as footer */
  box-sizing: border-box;
}

/* Cards and content */
.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.03);
  padding:18px;
  border-radius:10px;
  margin-bottom:20px;
}

/* Games grid */
.games-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
  margin-top:24px;
}
.game-item{ text-align:center; text-decoration:none; color:var(--text); }
.game-item img{ width:200px; height:200px; object-fit:cover; border-radius:10px; border:1px solid rgba(255,255,255,0.04); }
.game-item p{ margin-top:10px; font-weight:700; }

/* About cards and team */
.pill{ display:inline-block; padding:6px 10px; border-radius:999px; background:#111; color:var(--accent); border:1px solid rgba(255,255,255,0.03); margin-right:8px; }

/* Forms */
form label{ display:block; margin-top:10px; font-weight:700; color:var(--text); }
input[type="text"], input[type="email"], select, textarea{
  width:100%; padding:10px; margin-top:6px; border-radius:8px; border:1px solid rgba(255,255,255,0.04); background:#0f0f10; color:var(--text);
}
.row{ display:flex; gap:12px; }
.row .col{ flex:1; }

/* Buttons */
.btn, button{ background:var(--accent); color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer; font-weight:700; }
.btn:hover, button:hover{ filter:brightness(1.05); }

/* Messages */
.error-message{ color:#fff; background:#c0392b; padding:10px; border-radius:6px; margin-bottom:12px; text-align:center; display:none; }
.success-message{ color:#fff; background:var(--accent); padding:10px; border-radius:6px; margin-bottom:12px; text-align:center; display:none; }

/* Footer */
footer{
  padding:18px 12px;
  text-align:center;
  background:#0b0b0b;
  color:var(--muted);
  margin-top:30px;
  width:100%;
  position: fixed;
  bottom: 0;
  height: 100px;
  color: white;
  z-index: 100;
}
.social-icons{ margin-top:8px; }
.social-icons img{ width:32px; height:32px; margin:0 8px; filter:brightness(0) invert(1); transition: filter 0.25s ease; }
.social-icons img:hover{ filter: invert(64%) sepia(53%) saturate(329%) hue-rotate(81deg) brightness(95%) contrast(94%); }

/* Utility */
.hidden{ display:none; }

/* Responsive */
@media (max-width:700px){
  .row{ flex-direction:column; }
  .games-grid{ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
