/*!
Template :	ICOCrypto @by Softnio
Theme	 :  Default
* Version	 :	2.1.0
* Updated	 :	11/22/2022
*/
/*! WRITE YOUR CUSTOM STYLE **/

/* Responsive improvements */
@media (max-width: 991px) {
  /* Adjust banner text size and layout for tablets and mobiles */
  .banner-caption .title {
    font-size: 2rem;
  }
  .banner-caption .lead {
    font-size: 1rem;
  }
  .header-main {
    padding: 10px 15px;
  }
  .header-logo img {
    height: 30px;
  }
  .btn-grp li {
    margin-bottom: 10px;
  }
  .nk-block {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Mobile specific tweaks */
@media (max-width: 575px) {
  .banner-caption .title {
    font-size: 1.5rem;
  }
  .banner-caption .lead {
    font-size: 0.9rem;
  }
  .btn-grp {
    flex-direction: column;
  }
  .btn-grp li {
    width: 100%;
  }
  .header-navbar {
    width: 100% !important;
    left: 0 !important;
    height: auto !important;
    position: relative !important;
  }
  .header-nav-toggle {
    display: block;
  }
}

/* Light/Dark blended color scheme */
body {
  background: linear-gradient(135deg, #f5f7fe 0%, #0a1992 100%);
  color: #415076;
  transition: background 0.5s ease, color 0.5s ease;
}

body.tc-light, body.bg-white {
  background: #f5f7fe;
  color: #415076;
}

body.tc-light .title, body.tc-light h1, body.tc-light h2, body.tc-light h3 {
  color: #fff;
}

/* Buttons with glowing effect */
.btn-primary, .btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 0 8px 2px rgba(43, 86, 245, 0.7);
  transition: box-shadow 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 0 15px 4px rgba(70, 189, 244, 0.9);
}

/* Crypto/Tech themed animations */

/* Rotating circle animation for banner graphics */
@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.banner-gfx img {
  animation: rotate360 30s linear infinite;
  transform-origin: center center;
}

/* Glowing pulse animation for badges */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 5px 2px rgba(43, 86, 245, 0.6);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(70, 189, 244, 0.9);
  }
}

.badge-primary, .badge-success, .badge-warning, .badge-danger {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Subtle floating animation for icons */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-icon .icon, .header-logo img {
  animation: floatUpDown 6s ease-in-out infinite;
}

/* Particle background effect for banner */
.particles-container {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0 !important;
  background: radial-gradient(circle at center, rgba(43, 86, 245, 0.15) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}

/* Smooth transition for theme changes */
body, .nk-wrap, .nk-header, .nk-footer {
  transition: background 0.5s ease, color 0.5s ease;
}
