/*-----------------------------------*\
  #custom.css — Portfolio customisations
  Loaded after style.css (base theme)
\*-----------------------------------*/


/*-----------------------------------*\
  #NAME ACCENT & ANIMATION
\*-----------------------------------*/

.info-content .name {
  background: linear-gradient(90deg, #00ffc8 0%, #b2fff0 45%, #00ffc8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: name-shimmer 4s linear infinite;
}

@keyframes name-shimmer {
  to {
    background-position: 200% center;
  }
}

.author-tag {
  display: inline-block;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 12px;
  margin-top: 6px;
}

/* Resume header & Download button */
.resume-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.download-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 200, 0.12);
  border: 1px solid rgba(0, 255, 200, 0.3);
  color: #00ffc8;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.download-resume-btn:hover {
  background: rgba(0, 255, 200, 0.22);
  border-color: rgba(0, 255, 200, 0.5);
  transform: translateY(-2px);
}

.download-resume-btn ion-icon {
  font-size: 16px;
}


/*-----------------------------------*\
  #CURRENTLY-LEARNING BANNER
\*-----------------------------------*/

.building-banner {
  margin-top: 20px;
  padding: 13px 17px;
  background: rgba(0, 255, 200, 0.08);
  border-left: 3px solid #00ffc8;
  border-radius: 0 10px 10px 0;
  transition: border-color 0.3s ease;
}


.building-banner h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #00ffc8;
  margin-bottom: 8px;
}

.building-banner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.building-banner ul li {
  font-size: 13px;
  color: hsl(240, 2%, 75%);
  padding: 3px 0;
}

.building-banner ul li::before {
  content: "⬡ ";
  color: #00ffc8;
  font-size: 9px;
}


/*-----------------------------------*\
  #CHESS BADGE
\*-----------------------------------*/

.chess-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255, 215, 0, .12), rgba(255, 215, 0, .03));
  border: 1px solid rgba(255, 215, 0, .3);
  color: #ffd700;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin: 10px 0 18px;
  transition: transform 0.25s ease;
}

.chess-badge:hover {
  transform: translateY(-2px);
}


/*-----------------------------------*\
  #SKILL PILLS
\*-----------------------------------*/

.skill-category-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #00ffc8;
  margin: 20px 0 8px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-pill {
  background: rgba(0, 255, 200, .09);
  border: 1px solid rgba(0, 255, 200, .22);
  color: #00ffc8;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: default;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
              background 0.25s ease, 
              border-color 0.25s ease, 
              box-shadow 0.25s ease;
}

.skill-pill:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(0, 255, 200, .18);
  border-color: rgba(0, 255, 200, .55);
  box-shadow: 0 0 12px rgba(0, 255, 200, 0.35);
}


/*-----------------------------------*\
  #PROJECT CARDS & BADGES
\*-----------------------------------*/

.project-item a {
  background: rgba(30, 30, 35, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              background 0.35s ease;
}

.project-item a:hover {
  transform: translateY(-6px);
  background: rgba(35, 35, 42, 0.7);
  border-color: rgba(0, 255, 200, 0.4);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 200, 0.2);
}

.project-img {
  overflow: hidden;
  border-radius: 12px;
}

.project-img img {
  transition: transform 0.4s ease;
}

.project-item a:hover .project-img img {
  transform: scale(1.05);
}

.project-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 10px;
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  vertical-align: middle;
}

.badge-new {
  background: rgba(0, 255, 200, .14);
  color: #00ffc8;
  border: 1px solid rgba(0, 255, 200, .28);
}

.badge-conf {
  background: rgba(255, 193, 7, .12);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, .28);
}

.badge-live {
  background: rgba(76, 175, 80, .12);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, .28);
}

.badge-hack {
  background: rgba(255, 107, 107, .12);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, .28);
}

.project-sub {
  font-size: 11.5px;
  color: hsl(240, 2%, 60%);
  margin: 5px 10px 0;
  line-height: 1.5;
}


/*-----------------------------------*\
  #PLATFORM TAGS
\*-----------------------------------*/

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
  padding: 0 10px;
}

.platform-tag {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: transform 0.2s ease;
}

.platform-tag:hover {
  transform: translateY(-1px);
}

.tag-windows {
  background: rgba(0, 120, 215, .12);
  color: #0078d7;
  border: 1px solid rgba(0, 120, 215, .25);
}

.tag-android {
  background: rgba(61, 220, 132, .12);
  color: #3ddc84;
  border: 1px solid rgba(61, 220, 132, .25);
}

.tag-browser {
  background: rgba(251, 188, 4, .12);
  color: #fbbc04;
  border: 1px solid rgba(251, 188, 4, .25);
}


/*-----------------------------------*\
  #BOOK SHOWCASE
\*-----------------------------------*/

.book-showcase {
  margin-top: 24px;
  margin-bottom: 10px;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 215, 0, .06), rgba(168, 85, 247, .06));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, .15);
  border-radius: 16px;
  padding: 22px;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.book-showcase:hover {
  border-color: rgba(255, 215, 0, .35);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.15);
}

.book-showcase h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #ffd700;
  margin-bottom: 14px;
}

.book-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.book-cover {
  width: 100px;
  min-width: 100px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .5);
}

.book-details {
  flex: 1;
}

.book-title {
  font-size: 14px;
  font-weight: 600;
  color: hsl(0, 0%, 98%);
  margin-bottom: 4px;
  line-height: 1.3;
}

.book-subtitle {
  font-size: 11.5px;
  color: hsl(240, 2%, 65%);
  margin-bottom: 12px;
  line-height: 1.4;
}

.book-links-group {
  margin-bottom: 8px;
}

.book-links-group:last-child {
  margin-bottom: 0;
}

.book-region {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: hsl(240, 2%, 55%);
  margin-bottom: 5px;
}

.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.book-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.book-link:hover {
  transform: translateY(-2px);
}

.book-link-amazon {
  background: rgba(255, 153, 0, .12);
  color: #ff9900;
  border: 1px solid rgba(255, 153, 0, .25);
}

.book-link-amazon:hover {
  background: rgba(255, 153, 0, .22);
  border-color: rgba(255, 153, 0, .5);
}

.book-link-flipkart {
  background: rgba(47, 128, 237, .12);
  color: #2f80ed;
  border: 1px solid rgba(47, 128, 237, .25);
}

.book-link-flipkart:hover {
  background: rgba(47, 128, 237, .22);
  border-color: rgba(47, 128, 237, .5);
}


/*-----------------------------------*\
  #SERVICE & CERTIFICATE ANIMATIONS
\*-----------------------------------*/

.service-item {
  background: rgba(30, 30, 35, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 200, 0.3);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 255, 200, 0.15);
}

.blog-post-item a {
  background: rgba(30, 30, 35, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              background 0.35s ease;
}

.blog-post-item a:hover {
  transform: translateY(-6px);
  background: rgba(35, 35, 42, 0.7);
  border-color: rgba(0, 255, 200, 0.4);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 200, 0.2);
}

.blog-banner-box {
  overflow: hidden;
  border-radius: 12px;
}

.blog-banner-box img {
  transition: transform 0.4s ease;
}

.blog-post-item a:hover .blog-banner-box img {
  transform: scale(1.05);
}

