
.anagram-container{
  background: #f5fbff;
  padding: 20px;
}
.anagram-container .container{
  width: 100%;
  max-width: 600px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
  padding: 20px;
}
.anagram-container .container h1 {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  position: relative;
  color: #0f394c;
}

.anagram-container .container h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background:#49b5e7;
  border-radius:2px;
}

.anagram-container .content {
  margin-top: 30px;
}

.anagram-container .content .word{
  font-size: 24px;
  letter-spacing: 4px;
  margin: 30px 0;
  font-weight: 700;
  color: #0f394c;
  background-color: #f5fbff;
  padding: 15px;
  border-radius: 12px;
  border: 1px dashed rgba(73, 181, 231, 0.4);
  word-break: break-all;
  text-transform: uppercase;
  text-align: center;
}
.anagram-container .content .details{
  margin: 25px 0 20px;
}
.anagram-container .details p{
  font-size: 18px;
  margin-bottom: 10px;
}
.anagram-container .details p b{
  font-weight: 500;
}

.anagram-container .time {
  font-weight: 600;
  background-color: #f5fbff;
  border-radius: 50px;
  padding: 8px 16px;
  border: 1px solid rgba(73, 181, 231, 0.3);
  color: #0f394c;
  text-align: center;
}

.anagram-container .content input{
  width: 100%;
  height: 50px;
  outline: none;
  padding: 0 16px;
  font-size: 18px;
  border-radius: 12px;
  border: 2px solid rgba(73, 181, 231, 0.3);
  color: #0f394c;
}
.anagram-container .content input:focus{
  box-shadow: 0px 2px 4px rgba(0,0,0,0.08);
}
.anagram-container .content input::placeholder{
  color: rgba(15, 57, 76, 0.4);
}
.anagram-container .content input:focus::placeholder{
  color: #bfbfbf;
}
.anagram-container .content .buttons{
  display: flex;
  margin-top: 30px;
  gap: 10px;
}
.anagram-container .buttons button {
  border: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  padding: 15px 0;
  font-size: 17px;
  transition: all 0.3s ease;
  flex: 1;
}
.anagram-container .buttons button:active{
  transform: scale(0.97);
}
.anagram-container .buttons .refresh-word {
  color: #49b5e7;
  border: 2px solid #49b5e7;
  background: #fff;
}
.anagram-container .buttons .refresh-word:hover{
  background: #f5fbff;
}
.anagram-container .buttons .check-word{
  background: #49b5e7;
}
.anagram-container .buttons .check-word:hover{
  background-color: #3aa1d1;
}

.anagram-container .buttons button {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.anagram-container .buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(73, 181, 231, 0.4);
}
.details .hint {
	background-color: #f5fbff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid rgba(73, 181, 231, 0.2);
  text-align: center;
}

.details .hint p {
  color: #49b5e7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.loading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms, visibility 500ms;
    visibility: visible;
    opacity: 1;
    z-index: 99;
}

.popup-content {
	min-width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}
.loading span {
    position: absolute;
    height: 10px;
    width: 84px;
    overflow: hidden;
	top: 88%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.loading span > i {
    position: absolute;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    -webkit-animation: wait 4s infinite;
    -moz-animation: wait 4s infinite;
    -o-animation: wait 4s infinite;
    animation: wait 4s infinite;
}
.loading span > i:nth-of-type(1) {
    left: -28px;
    background: yellow;
}
.loading span > i:nth-of-type(2) {
    left: -21px;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    background: lightgreen;
}

@-webkit-keyframes wait {
    0%   { left: -7px  }
    30%  { left: 52px  }
    60%  { left: 22px  }
    100% { left: 100px }
}
@-moz-keyframes wait {
    0%   { left: -7px  }
    30%  { left: 52px  }
    60%  { left: 22px  }
    100% { left: 100px }
}
@-o-keyframes wait {
    0%   { left: -7px  }
    30%  { left: 52px  }
    60%  { left: 22px  }
    100% { left: 100px }
}
@keyframes wait {
    0%   { left: -7px  }
    30%  { left: 52px  }
    60%  { left: 22px  }
    100% { left: 100px }
}
.popup-content p {
	font-weight: 600;
	color: orange;
}
.popup-content img {
	width: 60px;
}


.anagram-container .container .ana-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-content: center;
}

.anagram-container .container .ana-header p {
  margin: 0;
}

.game-info {
  margin-top: 60px;
  padding: 20px;
  background-color: rgba(73, 181, 231, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(73, 181, 231, 0.2);
}

.game-info h2 {
  text-align: center;
  color: #0f394c;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.game-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.feature-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(15, 57, 76, 0.08);
}

.feature-card h3 {
  color: #0f394c;
  margin-top: 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card p {
  margin: 0;
}

.feature-icon {
  font-size: 1.5rem;
}