html,body{
  height:100%;
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,'Helvetica Neue',Arial;
  overflow:hidden;
  background:#000;
}

body{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-align:center;
  position:relative;
}

/* ARKAPLAN VİDEO */
#bgVideo{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  background:#000;
}

body::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.25);
  z-index:1;
  pointer-events:none;
}

.container{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-height:100vh;
  padding:20px;
  box-sizing:border-box;
}

/* LOGO ANİMASYON */
.logo{
  width:600px;
  height:auto;
  margin-bottom:20px;
  opacity:0;
  transform:translateY(-20px) scale(0.96);
  animation:
    logoFadeIn 1s ease-out forwards,
    logoIdle 4.5s ease-in-out infinite 1s;
}

@keyframes logoFadeIn{
  0%{opacity:0; transform:translateY(-20px) scale(0.95);}
  60%{opacity:1; transform:translateY(5px) scale(1.04);}
  100%{opacity:1; transform:translateY(0) scale(1);}
}

@keyframes logoIdle{
  0%{transform:translateY(0) scale(1);}
  30%{transform:translateY(-6px) scale(1.04);}
  60%{transform:translateY(2px) scale(0.98);}
  100%{transform:translateY(0) scale(1);}
}

/* BAŞLIK */
h1{
  font-size:70px;
  margin:0 0 40px;
  font-weight:900;
  text-shadow:0 0 15px rgba(255,184,107,0.9),0 0 30px rgba(255,107,107,0.6);
  font-family:'Orbitron',sans-serif;
  letter-spacing:4px;
}

/* Başlık alanını sabitle */
#title{
  display:inline-block;
  min-height:1.2em;
}

.typewriter{
  overflow:hidden;
  border-right:.15em solid #ffb86b;
  white-space:nowrap;
  margin:0 auto;
  letter-spacing:.08em;
  animation:blink .75s step-end infinite;
  display:inline-block;
}

@keyframes blink{
  50%{border-color:transparent}
}

/* BUTONLAR */
.btns{
  display:flex;
  gap:24px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:20px;
}

.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:16px 40px;
  border:none;
  cursor:pointer;
  font-size:20px;
  font-weight:900;
  font-family:'Orbitron',sans-serif;
  text-transform:uppercase;
  letter-spacing:2px;
  color:#fff;
  border-radius:14px;
  text-decoration:none;
  overflow:hidden;
  transition:transform .18s ease-out,
             box-shadow .18s ease-out,
             filter .18s ease-out;
}

.btn span{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:12px;
}

.btn span img{
  width:28px;
  height:28px;
  filter:drop-shadow(0 0 6px rgba(0,0,0,0.7));
}

.btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:80%;
  height:100%;
  background:linear-gradient(120deg,rgba(255,255,255,0.35),transparent);
  opacity:0;
  transform:skewX(-20deg);
}

.btn.play{background:linear-gradient(90deg,#ff3c3c,#b31217);}
.btn.signup{background:linear-gradient(90deg,#29c46d,#1b7f42);}
.btn.download{background:linear-gradient(90deg,#3a7bd5,#2a5298);}
.btn.info{background:linear-gradient(90deg,#f7971e,#ffd200);}

.btn:hover{
  transform:scale(1.04);
  filter:brightness(1.12);
  box-shadow:0 0 26px rgba(0,0,0,0.9);
}

.btn:hover::before{
  opacity:1;
  animation:btnShine .6s ease-out forwards;
}

@keyframes btnShine{
  0%{left:-120%}
  100%{left:140%}
}

.btn:active{
  transform:scale(0.97);
  box-shadow:0 0 10px rgba(0,0,0,0.7);
  filter:brightness(0.98);
}

/* ALT YAZI */
.intro-text{
  max-width:700px;
  padding:15px 25px;
  border-radius:12px;
  background:rgba(0,0,0,0.35);
  font-size:17px;
  line-height:1.5;
  color:#eee;
  text-shadow:0 0 6px rgba(0,0,0,0.7);
}

/* FOOTER – DESKTOPTA SAĞ ALTTA */
.footer{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  font-size:13px;
  color:#bbb;
  text-align:center;
  z-index:2;
}


.footer a{
  color:#ffb86b;
  text-decoration:none;
}

/* DİSCORD BUTONU (desktop) */
.discord-btn{
  position:absolute;
  bottom:20px;
  left:20px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 22px;
  border-radius:14px;
  text-decoration:none;
  font-size:11px;
  color:#fff;
  font-weight:600;
  background:linear-gradient(135deg,#d2774b,#ffaa24);
  border:2px solid #b7791f;
  box-shadow:0 6px 20px rgba(0,0,0,0.7);
  overflow:visible;
  z-index:2;
}

.discord-btn img{
  width:36px;
  height:36px;
  z-index:1;
}

.discord-text{
  z-index:1;
}

#hoverSound{
  display:none !important;
}

/* ===== MOBİL DÜZENLEMELER ===== */
@media (max-width: 768px){

  html, body{
    height:auto;
    overflow-y:auto;
    overflow-x:hidden;   /* yatay scroll kapalı */
  }

  body{
    align-items:flex-start;
    justify-content:flex-start;
  }

  .container{
    padding-top:40px;
  }

  .logo{
    width:80%;
    max-width:320px;
    margin-bottom:16px;
  }

  h1{
    font-size:32px;
    margin-bottom:24px;
    letter-spacing:2px;
  }

  .typewriter{
    animation:none;
    border-right:none;
    white-space:normal;
  }

  .btns{
    gap:12px;
    margin-bottom:16px;
    flex-direction:column;
    width:100%;
  }

  .btn{
    width:100%;
    justify-content:center;
    padding:12px 18px;
    font-size:14px;
    border-radius:10px;
    box-sizing:border-box;
  }

  .btn span img{
    width:22px;
    height:22px;
  }

  .intro-text{
    max-width:100%;
    font-size:14px;
    padding:10px 14px;
  }

  /* Discord kartı mobilde geniş ve ortalı */
  .discord-btn{
    position:static;
    margin:16px auto 0;
    width:90%;
    justify-content:flex-start;
    text-align:left;
    box-sizing:border-box;
  }

  /* Footer mobilde akışta, ortalanmış */
  .footer{
    position:absolute;
    margin-top:10px;
    font-size:11px;
    padding-bottom:8px;
    text-align:center;
  }
}
