/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
}

.logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #00bfff;
  animation: logoBounce 2s infinite;
}

.logo-circle img {
  width: 50px;
  height: 50px;
}

header nav {
  display: flex;
  align-items: center;
}

header nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

header nav a:hover, header nav .btn:hover {
  color: #00bfff;
}

/* Legal Page Content */
.legal-section {
  max-width: 900px;
  margin: 80px auto 50px auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: fadeInUp 1s ease-in-out;
}

.legal-section h1, .legal-section h2 {
  color: #111;
  margin-bottom: 20px;
}

.legal-section h1 {
  font-size: 36px;
}

.legal-section h2 {
  font-size: 28px;
  margin-top: 30px;
}

.legal-section p, .legal-section li {
  font-size: 16px;
  margin-bottom: 15px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  animation: fadeInLeft 1s ease forwards;
}

.logo-circle-footer {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #00bfff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  animation: bounce 2s infinite;
}

.logo-circle-footer img {
  width: 40px;
  height: 40px;
}

.footer-text {
  font-size: 14px;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: fadeInRight 1s ease forwards;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

.footer-link::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #00bfff;
  display: block;
  margin-top: 5px;
  transition: 0.3s;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link:hover {
  color: #00bfff;
}

/* Animations */
@keyframes fadeInUp {0%{opacity:0;transform:translateY(30px);}100%{opacity:1;transform:translateY(0);}}
@keyframes logoBounce {0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
@keyframes bounce {0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
@keyframes fadeInLeft {0%{opacity:0; transform: translateX(-50px);}100%{opacity:1; transform: translateX(0);}}
@keyframes fadeInRight {0%{opacity:0; transform: translateX(50px);}100%{opacity:1; transform: translateX(0);}}

@media(max-width:768px){
  .legal-section {margin: 50px 20px; padding: 30px 20px;}
  footer{flex-direction:column; text-align:center;}
  .footer-left, .footer-right{animation:none; margin-bottom:15px;}
  header{flex-direction:column; height:auto; padding:15px;}
  header nav{margin-top:10px; flex-wrap:wrap; justify-content:center;}
}
