/* INDEX.HTML */
.typing-text {
  display: inline-block;
}

/* HERO STYLES */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 2em 1em;
}
.hero-content h1 {
  font-size: 2.8em;
  margin: 0.2em 0;
}
.hero-content p {
  font-size: 1.2em;
  opacity: 0.85;
}
.hero-buttons {
  margin-top: 1em;
  display: flex;
  justify-content: center;
}

/* CAROUSEL */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 2em;
}
.carousel-track {
  display: grid;
  transition: transform 0.6s ease;
}
.carousel-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}
.carousel-slide img {
  width: 100%;
  border-radius: 2rem;
  border: 4px solid #C084FC33;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.carousel-slide h3 {
  margin-top: 0.5em;
  font-weight: 500;
}
.carousel-dots {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 0.5em;
}
.carousel-dots div {
  width: 10px;
  height: 10px;
  background: #C084FC55;
  border-radius: 50%;
  cursor: pointer;
}
.carousel-dots .active {
  background: #C084FC;
}



.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 0 20px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
}

.ecosystem-tag {
    color: #C084FC;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.highlight {
    color: #C084FC;
    position: relative;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 1);
}

/* Button Layout */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.secondary-actions {
    display: flex;
    gap: 2rem;
}

.feature-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    padding: 0.7em 1.2em;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transform: translateY(0px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.feature-link::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: 8px;
    width: 0%;
    height: 2px;
    background: #C084FC;
    transition: width 0.3s ease;
    border-radius: 1px;
}
.feature-link:hover {
    opacity: 1;
}

.feature-link:hover::after {
    width: calc(100% - 20px);
}

.status-tag {
    background: rgba(192, 132, 252, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Visual Side Card */
.visual-info-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(192, 132, 252, 0.3);
}



.hero-visual-side {
  display: flex;
  justify-content: center;
}
.hero-visual-side {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Essential for the 3D tilt */
}

.card {
    position: relative;
    /* Glassmorphism base */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    
    /* The "Glow" */
    box-shadow: 0 0 40px rgba(192, 132, 252, 0.15), 
                inset 0 0 20px rgba(192, 132, 252, 0.05);
}

/* The Animated Back-Glow */
.card::before {
    content: "";
    position: absolute;
    inset: -2px; /* Slightly larger than the card */
    background: linear-gradient(45deg, #c084fc, #6366f1, #c084fc);
    background-size: 400% 400%;
    z-index: -1;
    filter: blur(30px);
    opacity: 0.4;
    border-radius: 26px;
    animation: glow-rotate 8s ease infinite;
}

@keyframes glow-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Inner card visual polish */
.card-username {
    font-size: 2rem;
    font-weight: 900;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.5));
}
.status-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #4ade80;
    border-radius: 50%;
    animation: ripple 2s infinite;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}
.card {
    position: relative;
    /* The Fixed Tilt */
    transform: rotateX(15deg) rotateY(-20deg) rotateZ(2deg);
    transform-style: preserve-3d;
    
    /* Aesthetic */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(192, 132, 252, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    
    /* Smooth transition for when the user hovers */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Floating Animation */
    animation: floating-tilt 6s ease-in-out infinite;
}

/* Let the card gently bob in 3D space */
@keyframes floating-tilt {
    0%, 100% {
        transform: rotateX(15deg) rotateY(-20deg) rotateZ(2deg) translateY(0px);
    }
    50% {
        transform: rotateX(18deg) rotateY(-18deg) rotateZ(1deg) translateY(-15px);
    }
}

/* Interactive Hover: Straighten the card slightly when hovered */
.card:hover {
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(0deg) translateY(-10px) scale(1.02);
    border-color: rgba(192, 132, 252, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(192, 132, 252, 0.2);
}

.hero-visual-side::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: #c084fc;
    filter: blur(120px);
    opacity: 0.2;
    z-index: -2;
    /* Position the glow slightly off-center to match the card's tilt */
    transform: translate(20%, 10%);
}
.card-avatar {
    transform: translateZ(50px); /* Pops the avatar out */
}

.card-username {
    transform: translateZ(30px); /* Pops the name out slightly less */
}

.favorite-section {
    transform: translateZ(40px); /* The button sits between the name and avatar */
}


.ecosystem-overview {
    padding: 6rem 10%;
    background: #050505;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sub-heading {
    color: #C084FC;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(192, 132, 252, 0.1);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(192, 132, 252, 0.4);
    background: rgba(192, 132, 252, 0.05);
}

.feature-card.highlighted {
    border-color: rgba(192, 132, 252, 0.3);
    background: linear-gradient(145deg, rgba(192, 132, 252, 0.05) 0%, transparent 100%);
}

.card-stat {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    background: rgba(192, 132, 252, 0.2);
    padding: 4px 10px;
    border-radius: 1rem;
    color: #C084FC;
}

/* The Live Bar */
.live-pulse-bar {
    display: flex;
    justify-content: space-around;
    background: rgba(192, 132, 252, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid #C084FC;
}

.pulse-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pulse-label {
    font-size: 0.75rem;
    opacity: 0.6;
    text-transform: uppercase;
}

.pulse-value {
    font-weight: 700;
    color: #fff;
}

.status-online {
    color: #4ade80; /* Success Green */
}

/* Animation for the "Developing" tag */
@keyframes pulse-opacity {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}
.pulse {
    animation: pulse-opacity 2s infinite;
}



.cards-ticker-section {
    padding: 4rem 0;
    background: #000;
    overflow: hidden; /* Hide the cards as they exit the screen */
}

.ticker-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ticker-label {
    color: #C084FC;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 4px;
    font-weight: 700;
}

.ticker-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* THE TRACK LOGIC */
.ticker-row {
    display: flex;
    width: 100%;
}

.ticker-track {
    display: flex;
    gap: 1.5rem;
    white-space: nowrap;
    will-change: transform;
}

/* Speed: adjust the '30s' to go faster or slower */
.track-left {
    animation: scroll-left 40s linear infinite;
}

.track-right {
    animation: scroll-right 40s linear infinite;
}

/* THE MINI CARD DESIGN */
.mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(192, 132, 252, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    transition: all 0.3s ease;
}

.mini-card:hover {
    background: rgba(192, 132, 252, 0.1);
    border-color: #C084FC;
    transform: scale(1.05);
    cursor: default;
}

.mini-card.highlight {
    border-color: rgba(192, 132, 252, 0.4);
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(192, 132, 252, 0.5);
}

.mini-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.mini-tag {
    font-size: 0.7rem;
    color: #C084FC;
    opacity: 0.8;
}

/* ANIMATIONS */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls halfway and then snaps back */
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Stop scrolling when the user is looking at a card */
.ticker-row:hover .ticker-track {
    animation-play-state: paused;
}









/*.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.big-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-prefix {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: #C084FC;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    color: #fff;
    letter-spacing: -0.05em;
    font-family: 'Inter', sans-serif;
    cursor: default;
}

.stat-unit {
    font-size: 1.5rem;
    color: #C084FC;
    vertical-align: super;
    margin-left: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 3.5rem;
    }
}*/