@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --container-bg-color: #333;
  --left-bg-color: rgba(0, 0, 0, 0.4);
  --right-bg-color: rgba(0, 0, 0, 0.4);
  --hover-width: 75%;
  --other-width: 25%;
  --speed: 0.8s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--container-bg-color);
  overflow-x: hidden;
}

.top-logo {
  width: 100%;
  background: black;
  text-align: center;
  padding: 10px 0;
}
.top-logo img {
  height: 60px;
  max-width: 90vw;
}

main.container {
  flex: 1;
  display: flex;
  width: 100%;
  height: calc(100vh - 80px); /* adjust if needed for logo/footer height */
  position: relative;
  overflow: hidden;
  transition: all var(--speed);
}

.split {
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: width var(--speed);
}

.split.left {
  background: url("../images/VisualsBackground.jpg") left center no-repeat;
  background-size: cover;
}

.split.right {
  background: url("../images/GamesBackground.jpg") right center no-repeat;
  background-size: cover;
}

.split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.split.left::before {
  background: var(--left-bg-color);
}

.split.right::before {
  background: var(--right-bg-color);
}

.split a {
  z-index: 1;
}

.split-logo {
  width: 30vw;
  max-width: 300px;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  cursor: pointer;
}

.split.left .split-logo:hover {
  filter: drop-shadow(0 0 25px rgba(245, 196, 48, 0.7));
  transform: scale(1.1);
}
.split.right .split-logo:hover {
  filter: drop-shadow(0 0 25px rgba(36, 118, 230, 0.7));
  transform: scale(1.1);
}

/* Hover efektleri */
.hover-left .left {
  width: var(--hover-width);
}
.hover-left .right {
  width: var(--other-width);
}
.hover-right .right {
  width: var(--hover-width);
}
.hover-right .left {
  width: var(--other-width);
}

.page-footer {
  background: black;
  color: #ccc;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
}
.page-footer .social-icons {
  font-size: 20px;
  margin-bottom: 10px;
}
.page-footer .social-icons a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}
.page-footer .sub-brands {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
}

/* MOBİL: Dikey görünüm */
@media screen and (max-width: 768px) {
  main.container {
    flex-direction: column;
    height: auto;
  }

  .split {
    width: 100% !important;
    height: 50vh;
  }

  .split-logo {
    width: 60vw;
    max-width: 250px;
  }

  /* Hover sınıflarını etkisizleştir */
  .hover-left .left,
  .hover-left .right,
  .hover-right .left,
  .hover-right .right {
    width: 100%;
  }
}