@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");

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

body {
 font-family: "Lato", sans-serif;
 background: linear-gradient(135deg, #0a1a0f 0%, #0f2e1a 50%, #163e20 100%);
 color: #e8e8e8;
 min-height: 100vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 padding: 20px;
 line-height: 1.6;
 overflow-x: hidden;
 position: relative;
}

/* Particle Canvas */
#particles-canvas {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: -1;
 pointer-events: none;
}

/* Floating Elements */
.floating-element {
 position: absolute;
 pointer-events: none;
 opacity: 0.1;
 animation: float 6s ease-in-out infinite;
}

@keyframes float {
 0%,
 100% {
  transform: translateY(0px) rotate(0deg);
 }
 50% {
  transform: translateY(-20px) rotate(180deg);
 }
}

.info-box {
 background: rgba(15, 46, 26, 0.2);
 backdrop-filter: blur(25px);
 border: 1px solid rgba(255, 255, 255, 0.1);
 border-radius: 35px;
 padding: 60px;
 max-width: 750px;
 width: 100%;
 text-align: center;
 box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6),
  inset 0 0 15px rgba(255, 255, 255, 0.05);
 position: relative;
 overflow: hidden;
 animation: slideIn 0.8s ease-out;
}

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

.center-img {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 border: 3px solid #2d8659;
 object-fit: cover;
 transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 box-shadow: 0 10px 30px rgba(52, 219, 152, 0.3);
 position: relative;
}

.center-img:hover {
 transform: scale(1.1) rotate(5deg);
 box-shadow: 0 15px 40px rgba(52, 219, 152, 0.6);
 border-color: #1f5f3f;
}

.title {
 font-size: 2.8em;
 font-weight: 700;
 background: linear-gradient(45deg, #34db98, #29b980, #19d276);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 display: block;
 margin: 25px 0 20px;
 animation: fadeIn 0.8s ease-out 0.3s both,
  titleGlow 2s ease-in-out infinite alternate;
}

@keyframes fadeIn {
 from {
  opacity: 0;
 }
 to {
  opacity: 1;
 }
}

@keyframes titleGlow {
 from {
  filter: drop-shadow(0 0 5px rgba(52, 219, 152, 0.5));
 }
 to {
  filter: drop-shadow(0 0 10px rgba(52, 219, 152, 0.7));
 }
}

.details {
 font-size: 1.2em;
 color: #c8c8c8;
 margin-bottom: 35px;
 animation: fadeIn 0.8s ease-out 0.5s both;
 line-height: 1.8;
}

.details i {
 color: #4ecdc4;
 font-style: italic;
}

a {
 color: #19d276; 
 text-decoration: none;
 transition: color 0.3s ease;
}

a:hover {
 color: #00b356;
 text-decoration: underline;
}

.social-icons {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 20px;
 animation: fadeIn 0.8s ease-out 0.7s both;
 margin-bottom: 20px;
}

.social-icons > div {
 position: relative;
 cursor: pointer;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons > div:hover {
 transform: translateY(-8px) scale(1.05);
}

.social-icons a {
 display: block;
 width: 55px;
 height: 55px;
 border-radius: 15px;
 background: rgba(255, 255, 255, 0.08);
 border: 1px solid rgba(255, 255, 255, 0.15);
 color: #e8e8e8;
 text-decoration: none;
 transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 display: flex;
 align-items: center;
 justify-content: center;
 backdrop-filter: blur(10px);
 position: relative;
 overflow: hidden;
}

.social-icons a::before {
 content: "";
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(
  90deg,
  transparent,
  rgba(255, 255, 255, 0.2),
  transparent
 );
 transition: left 0.5s;
}

.social-icons a:hover::before {
 left: 100%;
}

.social-icons a:hover {
 background: rgba(52, 219, 152, 0.2);
 border-color: #34db98;
 color: #34db98;
 box-shadow: 0 8px 25px rgba(52, 219, 152, 0.4);
 transform: rotate(5deg);
}

.social-icons img {
 width: 26px;
 height: 26px;
 filter: brightness(0) invert(1);
 transition: all 0.3s ease;
}

.social-icons a:hover img {
 transform: scale(1.2);
 filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(52, 219, 152, 0.8));
}

/* Enhanced Tooltip */
.social-icons > div::before {
 content: attr(title);
 position: absolute;
 bottom: 70px;
 left: 50%;
 transform: translateX(-50%);
 background: rgba(0, 0, 0, 0.9);
 color: white;
 padding: 10px 15px;
 border-radius: 8px;
 font-size: 0.85em;
 white-space: nowrap;
 opacity: 0;
 pointer-events: none;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 z-index: 1000;
 backdrop-filter: blur(10px);
 border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons > div::after {
 content: "";
 position: absolute;
 bottom: 62px;
 left: 50%;
 transform: translateX(-50%);
 width: 0;
 height: 0;
 border-left: 6px solid transparent;
 border-right: 6px solid transparent;
 border-top: 6px solid rgba(0, 0, 0, 0.9);
 opacity: 0;
 pointer-events: none;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons > div:hover::before,
.social-icons > div:hover::after {
 opacity: 1;
 transform: translateX(-50%) translateY(-5px);
}

/* Home Button Style */
.home-button {
 display: inline-block;
 padding: 15px 30px;
 background: linear-gradient(45deg, #34db98, #29b980, #19d276);
 color: #ffffff;
 text-decoration: none;
 border-radius: 25px;
 font-weight: 600;
 font-size: 1.1em;
 border: none;
 cursor: pointer;
 transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 box-shadow: 0 8px 20px rgba(52, 219, 152, 0.3);
 position: relative;
 overflow: hidden;
 margin: 20px 0;
}

.home-button::before {
 content: "";
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(
  90deg,
  transparent,
  rgba(255, 255, 255, 0.2),
  transparent
 );
 transition: left 0.5s;
}

.home-button:hover::before {
 left: 100%;
}

.home-button:hover {
 transform: translateY(-3px) scale(1.05);
 box-shadow: 0 15px 35px rgba(52, 219, 152, 0.5);
 background: linear-gradient(45deg, #29b980, #19d276, #00b356);
}

.home-button:active {
 transform: translateY(-1px) scale(1.02);
 box-shadow: 0 8px 20px rgba(52, 219, 152, 0.4);
}

footer {
 text-align: center;
 padding: 20px;
 color: #B9BBBE; 
 border-top: 1px solid #19d276; 
 margin-top: 40px;
 animation: fadeIn 1s ease-in;
}

/* Webkit scrollbar styles */
::-webkit-scrollbar {
 width: 8px;
 height: 8px;
}

::-webkit-scrollbar-track {
 background: #333;
}

::-webkit-scrollbar-thumb {
 background: #19d276;
}

::-webkit-scrollbar-thumb:hover {
 background: #00b356;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
 .info-box {
  padding: 40px 25px;
  margin: 20px;
  border-radius: 25px;
 }
 .title {
  font-size: 2.2em;
 }
 .details {
  font-size: 1.1em;
 }
 .social-icons {
  gap: 15px;
 }
 .social-icons a {
  width: 50px;
  height: 50px;
 }
 .social-icons img {
  width: 22px;
  height: 22px;
 }
 .home-button {
  padding: 12px 25px;
  font-size: 1em;
 }
}

@media (max-width: 480px) {
 .center-img {
  width: 100px;
  height: 100px;
 }
 .title {
  font-size: 2em;
 }
 .social-icons {
  gap: 12px;
 }
 .social-icons a {
  width: 45px;
  height: 45px;
 }
 .social-icons img {
  width: 20px;
  height: 20px;
 }
 .home-button {
  padding: 10px 20px;
  font-size: 0.95em;
 }
}
