:root {
  --banner-color: #57053e00;
  --footer-color: #07050a;
  --backgroundtop-color: #ffb703;
  --backgroundbottom-color: #023047;
  --text-color: #ccc;
  --textHovered-color: #ffffff;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(to bottom, #0e060b, #0a060a);
  background-attachment:fixed;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--banner-color);
  padding: 1rem 2rem;
  position:initial;
  top: 0;
  z-index: 10;
}

.logo {
    cursor: pointer;
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;

}

nav a {
  margin-left: 1rem;
  color: #ccc;
  text-decoration: none;
}

nav a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%,-50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: white;
  text-align: center;
  padding: 1rem;
}

.video-overlay h1 {
  font-size: 3rem;
  margin: 0;
}

.video-overlay p {
  font-size: 1.2rem;
}

.video-overlay a {
  text-decoration: none;
  color: var(--text-color);
  padding: 1rem;
}

.video-overlay a:hover {
  color: var(--textHovered-color);
}

.video-overlay img {
  text-decoration: none;
  color: var(--text-color);
  padding: 1rem;
  transition: transform 0.3s;
}

.video-overlay img:hover {
  transform: scale(1.1);
}

/* Hero section */
#hero {
  text-align: center;
  padding: 5rem 2rem;
}

#hero h1 {
  font-size: 2.5rem;
  color: #fff;
}

#hero p {
  margin-top: 1rem;
  color: #ccc;
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
}

h2 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: center;
}

/* Games grid */
.game-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.game-card {
  background: #1b1114;
  border-radius: 3px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px #00000085;
}

.game-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 12px #0000009e;
}

.game-card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
}

.game-card h3 {
  margin: 1rem 0 0.5rem;
  color: #fff;
}

.game-card p {
  color: #aaa;
  padding: 0 1rem 1.5rem;
}

/* Contact section */
#contact {
  text-align: center;
}

.email-link {
  color: #ff4646;
  text-decoration: none;
  font-weight: bold;
}

.email-link:hover {
  text-decoration: underline;
}

.socials {
  margin-top: 1.5rem;
}

.socials a {
  margin: 0 0.5rem;
  color: #ccc;
  text-decoration: none;
}

.socials a:hover {
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--footer-color);
  color: #777;
  font-size: 0.9rem;
}

footer img {
  padding: 1rem;
}