/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(to bottom, #4b1d96 0%, #2a1554 100%);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Section */
.header {
  width: 100%;
  background: url("header-bg.png") no-repeat center top;
  background-size: cover;
  padding: 20px 20px 0;
  position: relative;
  overflow: hidden;
}

.header-content {
  min-height: 270px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo {
  width: 300px;
  height: auto;
  position: relative;
  z-index: 2;
}

.water-match {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 900px;
  height: auto;
  z-index: 1;
}

/* Main Section */
.main {
  width: 100%;
  height: 620px;
  background: url("main-bg.jpg") no-repeat center;
  background-size: cover;
  padding: 110px 20px 0;
  position: relative;
}

.container {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left Content */
.content-left {
  flex: 1;
  max-width: 600px;
}

.game-info {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 40px;
  width: 580px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.game-icon {
  flex-shrink: 0;
  width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
  animation: float 3s ease-in-out infinite;
}

.main-title {
  font-size: 46px;
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings: "wdth" 100;

  line-height: 1.2;
  margin-bottom: 30px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.description {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #e8e8ff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-google {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-google img {
  width: 310px;
  height: auto;
  display: block;
}

.btn-google:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Right Content */
.content-right {
  position: absolute;
  right: -50px;
  bottom: 0;
}

.game-screenshots {
  width: 100%;
  max-width: 835px;
  height: auto;
  vertical-align: middle;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.5));
}

/* Footer Section */
.footer {
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(30, 10, 70, 0.8),
    rgba(20, 5, 50, 0.9)
  );
  padding: 60px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 1px;
  color: #ffffff;
}

.contact-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #d8d8e8;
}

.contact-email {
  font-size: 15px;
  margin-bottom: 15px;
  color: #ffffff;
}

.privacy-link {
  display: inline-block;
  font-size: 15px;
  color: #b8b8d8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-link:hover {
  color: #ffe500;
  text-decoration: underline;
}

.btn-contact {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, #ffe500 0%, #ffcc00 100%);
  color: #2a1554;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 229, 0, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 229, 0, 0.6);
  background: linear-gradient(135deg, #ffed33 0%, #ffd700 100%);
}

/* Responsive Design */
@media screen and (max-width: 1500px) {
  .content-right {
    right: 0;
    max-width: 50%;
  }
  .water-match {
    max-width: 60%;
  }
}

@media screen and (max-width: 1200px) {
  .main {
    height: auto;
    padding: 80px 20px 60px;
  }
  .content-right {
    bottom: -60px;
  }

  .container {
    align-items: flex-start;
  }

  .game-info {
    width: 100%;
    gap: 30px;
  }

  .game-icon {
    width: 150px;
  }

  .main-title {
    font-size: 40px;
  }

  .description {
    font-size: 20px;
  }

  .btn-google img {
    width: 260px;
  }

  .content-right {
    right: -20px;
  }
}

@media screen and (max-width: 992px) {
  .main {
    height: auto;
    padding: 60px 20px;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .content-left {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .game-info {
    flex-direction: column;
    gap: 20px;
    width: auto;
  }

  .main-title {
    margin-bottom: 0;
  }

  .content-right {
    position: relative;
    right: auto;
    max-width: 70%;
  }

  .game-screenshots {
    max-width: 600px;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
  }

  .water-match {
    position: relative;
    width: 100%;
    max-width: 70%;
    margin-top: 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  .header {
    padding: 30px 15px 0;
  }
  .water-match {
    max-width: 80%;
  }

  .logo {
    width: 200px;
  }

  .main {
    padding: 50px 15px;
  }

  .content-right {
    bottom: -50px;
    max-width: 85%;
  }

  .game-info {
    gap: 15px;
  }

  .game-icon {
    width: 120px;
  }

  .main-title {
    font-size: 32px;
  }

  .description {
    font-size: 18px;
  }

  .btn-google img {
    width: 220px;
  }

  .game-screenshots {
    max-width: 100%;
  }

  .footer {
    padding: 40px 15px;
  }

  .contact-title {
    font-size: 16px;
  }

  .contact-text,
  .contact-email,
  .privacy-link {
    font-size: 14px;
  }

  .btn-contact {
    padding: 15px 40px;
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .logo {
    width: 160px;
  }

  .water-match {
    max-width: 400px;
  }

  .main {
    padding: 40px 15px;
  }

  .content-right {
    bottom: -40px;
    max-width: 95%;
  }

  .game-info {
    gap: 12px;
  }

  .game-icon {
    width: 100px;
  }

  .main-title {
    font-size: 26px;
  }

  .main-title br {
    display: none;
  }

  .description {
    font-size: 15px;
  }

  .description br {
    display: none;
  }

  .contact-text br {
    display: none;
  }

  .btn-contact {
    padding: 12px 30px;
    font-size: 16px;
  }
}
