html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  text-decoration: none;
  color: #ffffff;
  background-color: #0f0f0f;
  width: 100%;
  height: 100%;
  line-height: 1.6;
}

div {
  font-size: medium;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

div a:link, div a:visited {
  text-decoration: none;
  color: #ff6b6b;
  transition: color 0.3s ease;
}

div a:hover, div a:active {
  color: #fff;
}

.center {
  text-align: center;
  justify-content: center;
}

.social-icon {
  margin: 15px;
  font-size: 24px;
  color: #e5e5e5;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  color: #ff6b6b;
}

.privacy {
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.privacy:hover {
  color: #ff6b6b;
}

h1, h2, h3 {
  color: #ffffff;
}

h3 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 30px;
}

p, li {
  font-size: 16px;
  color: #e5e5e5;
}

.grow { 
  transition: all 0.3s ease-in-out; 
}

/* Comment out or remove this block */
/*
.grow:hover { 
  transform: scale(1.05); 
}
*/

.fadein {
  animation: fadein 1s ease-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.image {
  width: 100%;
  max-width: 400px;
  max-height: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* New styles for better spacing and layout */
body > div > div:first-child {
  margin-top: 40px;
}

body > div > a {
  display: block;
  margin-bottom: 30px;
}

body > div > div:last-child {
  margin-top: 40px;
}

/* New styles for collapsible sections */
.collapsible {
  background-color: #1a1a1a;
  color: #ffffff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  border-radius: 8px;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.active, .collapsible:hover {
  background-color: #2a2a2a;
}

.collapsible:after {
  content: '+';
  font-size: 20px;
  font-weight: bold;
}

.active:after {
  content: '-';
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #0f0f0f;
}

.content-inner {
  padding: 16px 0;
}

/* New semantic layout styles */
.site-header,
main,
.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: #ff6b6b;
  font-weight: 600;
  transition: color 0.3s ease;
}
.site-nav a:hover {
  color: #e05555;
}
.logo {
  max-width: 200px;
  height: auto;
}
.tagline {
  font-size: 1.25rem;
  color: #e5e5e5;
  margin-top: 10px;
}
.site-footer .social,
.site-footer .links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

/* Game cards grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.game-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.game-card img {
  width: 100%;
  display: block;
}

.card-content {
  padding: 16px;
}

.card-content h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #ffffff;
}

.card-content p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #b5b5b5;
  line-height: 1.4;
}

.card-button {
  display: inline-block;
  background-color: #ff6b6b;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.card-button:hover {
  background-color: #e05555;
}

/* Ensure main <main> center alignment */
main {
  max-width: 960px;
  margin: 0 auto;
}
