/* Reset & Base Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
}

/* Header */
header {
  background-color: #1a1a2e;
  color: #fff;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.8rem 1rem;
}

header h1 {
  font-size: 1.6rem;
}

#menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.3rem 0.6rem;
}

nav a:hover {
  color: #ffd369;
}

/* Main / iFrame */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  display: block;
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 1rem 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.social-text {
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(270deg, red, orange, yellow, green, blue, indigo, violet, red);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: animateText 5s linear infinite;
}

@keyframes animateText {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }

  nav.active {
    display: flex;
  }

  header h1 {
    font-size: 1.3rem;
  }

  .logo {
    max-height: 35px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.1rem;
  }

  .logo {
    max-height: 30px;
  }
}

/* Logo + Title alignment */
.logo-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  max-height: 40px;
  height: auto;
  width: auto;
  object-fit: contain;
}
