/* General Body Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #0d0b1f, #1f1433);
  color: #ffffff;
  overflow-x: hidden;
}

/* Star Background */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: transparent;
  pointer-events: none;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  opacity: 0.8;
  animation: twinkle 2s infinite ease-in-out;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* Main Container */
.container {
  max-width: 700px;
  margin: 5vh auto;
  background: rgba(60, 30, 100, 0.8);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(150, 100, 255, 0.4);
  backdrop-filter: blur(12px);
}

/* Heading */
h1 {
  font-size: 3rem;
  color: #e0c2ff;
  margin-bottom: 1rem;
  animation: glow 2s infinite ease-in-out;
}
@keyframes glow {
  0% { text-shadow: 0 0 5px #c8a2ff; }
  50% { text-shadow: 0 0 20px #e0c2ff, 0 0 30px #c8a2ff; }
  100% { text-shadow: 0 0 5px #c8a2ff; }
}

/* Profile Image */
img.profile {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #c8a2ff;
  margin-bottom: 1.5rem;
}

/* Game Title */
.game-title {
  font-size: 1.5rem;
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.game-title img {
  width: 30px;
  height: 30px;
}

/* Ranks */
.ranks {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  margin-top: 1rem;
}
.rank {
  text-align: center;
  font-size: 0.95rem;
  width: 100px;
}
.rank-label {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 5px;
}
.rank img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.rank-bronze img {
  filter: drop-shadow(0 0 4px #cd7f32);
}
.rank-plat img {
  filter: drop-shadow(0 0 4px #a0a0ff);
}

/* Discord Link Box */
.discord {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.discord img {
  width: 24px;
  height: 24px;
}
.copy-box {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  color: #c8a2ff;
  font-family: monospace;
  transition: background 0.3s ease;
  text-decoration: none;
}
.copy-box:hover {
  background: rgba(255, 255, 255, 0.2);
}
.copy-box img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Clock */
.clock {
  position: fixed;
  top: 15px;
  right: 20px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 10px;
  color: #fff;
  font-family: monospace;
}

/* Inner Info Box */
.inner-box {
  margin-top: 2rem;
  padding: 1rem;
  background: #2a0f4a;
  border-radius: 15px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Specs Grid */
.specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 2.5rem;
}
.spec {
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #e0c2ff;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
.spec:hover {
  transform: scale(1.1);
}
.spec img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px #a57aff) drop-shadow(0 0 4px #c8a2ff);
}
.spec-label {
  margin-top: 4px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: #e0c2ff;
  max-width: 100px;
  word-wrap: break-word;
}

/* About Me */
.about-me {
  margin-top: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0 10px;
}
.about-row {
  display: flex;
  gap: 10px;
  color: #e0c2ff;
}
.about-row .label {
  font-weight: bold;
  min-width: 100px;
  color: #ffffff;
}

/* Fade-in effect for entire site */
.site-fade-in {
  opacity: 0;
  animation: fadeWholeSiteIn 2.5s ease-out forwards;
}
@keyframes fadeWholeSiteIn {
  to { opacity: 1; }
}

/* 💬 CONTACT FORM STYLES - bottom left */
#contact {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(42, 15, 74, 0.85);
  color: white;
  padding: 20px;
  border-radius: 15px;
  width: 320px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
  font-family: 'Segoe UI', sans-serif;
  z-index: 1000;
}
#contact h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
  color: #e0c2ff;
  text-align: left;
}
#contact form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#contact input,
#contact textarea {
  width: 95%;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 5px;
  color: white;
  font-size: 1rem;
  font-family: monospace;
  outline: none;
  resize: vertical;
}
#contact input:focus,
#contact textarea:focus {
  background: rgba(10, 5, 25, 0.85);
  border: 1px solid #c8a2ff;
}
#contact input::placeholder,
#contact textarea::placeholder {
  color: #ccc;
}
#contact button {
  background: #6a4fcf;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}
#contact button:hover {
  background: #7e63ff;
  box-shadow: 0 0 10px #7e63ff;
}
