:root {
  --primary: #00ffff;
  --secondary: #ff00c8;
  --text: white;
  --bg: black;
  --twitter-blue: #1DA1F2;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Segoe UI', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scene {
  height: 65vh;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.cube {
  width: 300px;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.face {
  position: absolute;
  width: 300px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border: 3px solid rgba(0, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  opacity: 0.9;
  transition: opacity 0.3s;
}

.face:hover {
  opacity: 1;
}

.front  { 
  transform: rotateY(0deg) translateZ(150px);
  background-image: url('../images/photo1.png');
}
.back   { 
  transform: rotateY(180deg) translateZ(150px);
  background-image: url('../images/photo2.gif');
}
.right  { 
  transform: rotateY(90deg) translateZ(150px);
  background-image: url('../images/photo3.gif');
}
.left   { 
  transform: rotateY(-90deg) translateZ(150px);
  background-image: url('../images/photo4.gif');
}
.top    { 
  transform: rotateX(90deg) translateZ(150px);
  background-image: url('../images/photo5.png');
}
.bottom { 
  transform: rotateX(-90deg) translateZ(150px);
  background-image: url('../images/photo6.gif');
}

.ui {
  text-align: center;
  margin-top: 50px;
  padding: 0 25px;
}

.text {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00ffff;
  text-shadow: 0 0 12px #00ffff,
               0 0 25px rgba(0, 255, 255, 0.6);
  letter-spacing: 1.5px;
  font-weight: 300;
  text-transform: lowercase;
  animation: glow-pulse 3s ease-in-out infinite;
}

.icon {
  font-size: 40px;
  color: #777;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.icon:hover {
  transform: scale(1.25);
}

.icon .fa-steam { color: #777; }
.icon:hover .fa-steam { color: #171a21; }

.icon .fa-twitter { color: #777; }
.icon:hover .fa-twitter { color: var(--twitter-blue); }

.icon .fa-twitch { color: #777; }
.icon:hover .fa-twitch { color: #9146ff; }

.icon .fa-microchip { color: #777; }
.icon:hover .fa-microchip { color: #00ffff; }

.icons {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

@keyframes glow-pulse {
  0%, 100% { text-shadow: 0 0 12px #00ffff, 0 0 25px rgba(0, 255, 255, 0.6); }
  50% { text-shadow: 0 0 18px #00ffff, 0 0 35px rgba(0, 255, 255, 0.8); }
}

@media (max-width: 600px) {
  .cube, .face {
    width: 200px;
    height: 200px;
  }
  
  .front  { transform: rotateY(0deg) translateZ(100px); }
  .back   { transform: rotateY(180deg) translateZ(100px); }
  .right  { transform: rotateY(90deg) translateZ(100px); }
  .left   { transform: rotateY(-90deg) translateZ(100px); }
  .top    { transform: rotateX(90deg) translateZ(100px); }
  .bottom { transform: rotateX(-90deg) translateZ(100px); }

  .text {
    font-size: 1.8rem;
  }

  .icon {
    width: 65px;
    height: 65px;
    font-size: 32px;
  }
  
  .icons {
    gap: 30px;
  }
}

:root {
  --primary: #00ffff;
  --secondary: #ff00c8;
  --text: white;
  --bg: black;
}