@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(145deg, #0c0d11, #181b23);
  color: #e0e0e0;
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
  padding-bottom: calc(70px + 5px);
}


header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 50px 20px;
  backdrop-filter: blur(10px);
  background: rgba(20, 20, 25, 0.85);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid #333;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  animation: spin 3s linear infinite;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: rotate(5deg) scale(1.05);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

h1 {
  font-size: 2.8em;
  color: #5ac8fa;
}

h2 {
  font-weight: 400;
  font-size: 1.3em;
  color: #c0c0c0;
  min-height: 1.5em;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; 
}

.logo-container div {
  max-width: 300px; 
}



nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  background: #16171b;
  padding: 14px;
  box-shadow: inset 0 -1px 0 #222;
}
nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05em;
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
nav a:hover {
  background: #5ac8fa33;
  color: #5ac8fa;
  box-shadow: 0 0 12px #5ac8fa44;
}


@media (max-width: 700px) {
  h1 { font-size: 2.2em; }
  h2 { font-size: 1.1em; }
  .carousel-section { max-width: 95%; }
}
.links-section {
  padding: 60px 20px;
  text-align: center;
}

.links-section h1 {
  margin-bottom: 40px;
  color: #5ac8fa;
  font-size: 2em;

}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-items: center;
  padding: 0 20px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(30, 32, 38, 0.9);
  border: 1px solid #333;
  padding: 20px;
  border-radius: 15px;
  text-decoration: none;
  color: #e0e0e0;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.link-card:hover {
  background: rgba(50, 55, 65, 0.95);

  transform: translateY(-5px);
}

.link-logo {
  width: 35px;
  height: 35px;
  object-fit: contain;
  animation: spin 4s linear infinite;

  transition: transform 0.3s ease;
}

.link-card:hover .link-logo {
  transform: rotate(10deg) scale(1.1);
}

footer {
  width: 100%;
  text-align: center;
  padding: 30px 10px 20px 10px;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  margin-top: 10px;
}

footer .link-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(30,32,38,0.9);
  border: 1px solid #333;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1em;
  max-width: 90%;
  transition: all 0.3s ease;
}


@media (max-width: 700px) {
  footer {
    padding: 20px 5px 15px 5px;
  }
}