body {
  background: #000;
  color: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  text-decoration: none;
}

.logoName {
  margin: 5px 5px;
  font-family: Anta;
  font-size: 1.5em;
  color: rgb(255,255,255);
}

.container {
    width: 90%;
    max-width: 668px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* --- Animated logo border --- */

.logocontainer {
    position: relative;
    width: 150px;
    height: 150px;
    background: linear-gradient(90deg, hsla(213, 77%, 14%, 1) 0%, hsla(201, 27%, 31%, 1) 100%);
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    animation: fadeSlideUp 0.6s ease forwards;
}

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

.logocontainer::before {
    content: '';
    position: absolute;
    inset: -10px 0px;
    background: linear-gradient(315deg, red, black);
    transition: 0.5s;
    animation: animate 2.5s linear infinite;
}

.logocontainer::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, red, black);
    inset: 3px;
    border-radius: 50%;
    z-index: 1;
}

.logo {
    position: absolute;
    inset: 3px;
    border: 1.5px solid rgb(0, 27, 41);
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    pointer-events: none;
    z-index: 3;
}

.name, .about {
  font-family: Raleway;
  padding: 0;
  margin: 0;
}

.name {
  margin-top: 10px;
  margin-bottom: 5px;
}

.about {
  margin-bottom: 15px;
}

/* --- Glassmorphism tiles --- */

.tiles {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: Anta;
    margin: 8px 0;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeSlideUp 0.5s ease forwards;
}

.tiles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
    transform: skew(30deg) translateX(-120%);
    transition: transform 0.5s cubic-bezier(0.3, 1, 0.8, 1);
}

.tiles:hover::before {
    transform: skew(30deg) translateX(0%);
}

.tiles:hover {
    transform: scale(1.03);
}

/* --- Brand color glows --- */

.tiles--facebook:hover  { box-shadow: 0 0 25px rgba(24, 119, 242, 0.5), 0 0 50px rgba(24, 119, 242, 0.2); }
.tiles--instagram:hover { box-shadow: 0 0 25px rgba(228, 64, 95, 0.5), 0 0 50px rgba(228, 64, 95, 0.2); }
.tiles--x:hover         { box-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 0 50px rgba(255, 255, 255, 0.15); }
.tiles--youtube:hover   { box-shadow: 0 0 25px rgba(255, 0, 0, 0.5), 0 0 50px rgba(255, 0, 0, 0.2); }
.tiles--tiktok:hover    { box-shadow: 0 0 25px rgba(0, 242, 234, 0.5), 0 0 50px rgba(0, 242, 234, 0.2); }
.tiles--reddit:hover    { box-shadow: 0 0 25px rgba(255, 69, 0, 0.5), 0 0 50px rgba(255, 69, 0, 0.2); }
.tiles--twitch:hover    { box-shadow: 0 0 25px rgba(145, 70, 255, 0.5), 0 0 50px rgba(145, 70, 255, 0.2); }
.tiles--email:hover     { box-shadow: 0 0 25px rgba(234, 67, 53, 0.5), 0 0 50px rgba(234, 67, 53, 0.2); }

/* --- Staggered entrance delays --- */

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tiles:nth-child(1)  { animation-delay: 0.1s; }
.tiles:nth-child(2)  { animation-delay: 0.15s; }
.tiles:nth-child(3)  { animation-delay: 0.2s; }
.tiles:nth-child(4)  { animation-delay: 0.25s; }
.tiles:nth-child(5)  { animation-delay: 0.3s; }
.tiles:nth-child(6)  { animation-delay: 0.35s; }
.tiles:nth-child(7)  { animation-delay: 0.4s; }
.tiles:nth-child(8)  { animation-delay: 0.45s; }
.tiles:nth-child(9)  { animation-delay: 0.5s; }
.tiles:nth-child(10) { animation-delay: 0.55s; }
.tiles:nth-child(11) { animation-delay: 0.6s; }

.link {
  text-decoration: none;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon {
  display: flex;
  justify-content: flex-start;
  font-size: 2em;
  padding-left: 15px;
}

.social {
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  font-weight: bold;
}

.copy {
  display: flex;
  justify-content: flex-end;
  font-size: 2em;
  padding-right: 15px;
}

footer {
  margin: 15px auto;
  display: flex;
  justify-content: center;
  font-family: Raleway;
  font-size: 0.75em;
}

footer a {
  text-decoration: none;
  color: #0ef;
}

/* --- Mobile responsive --- */

@media (max-width: 480px) {
  header {
    padding: 0 10px;
  }

  .logoName {
    font-size: 1.2em;
  }

  .container {
    width: 95%;
  }

  .logocontainer {
    width: 110px;
    height: 110px;
  }

  .icon {
    font-size: 1.4em;
    padding-left: 10px;
  }

  .social {
    font-size: 0.85em;
    text-align: center;
    word-break: break-word;
    padding: 0 5px;
  }

  .copy {
    font-size: 1.4em;
    padding-right: 10px;
  }

  .tiles:hover {
    transform: scale(1.01);
  }
}

@media (max-width: 360px) {
  .social {
    font-size: 0.75em;
  }

  .icon {
    font-size: 1.2em;
    padding-left: 8px;
  }

  .copy {
    font-size: 1.2em;
    padding-right: 8px;
  }
}
