.index-page-title-container {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.hero-container {
    margin-bottom: 0;
    padding-bottom: 0;
}

.title-logo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 0.5rem;
    box-sizing: border-box;
    height: 220px;
    overflow: visible;
    margin-bottom: 2.5rem;
}

/* Title animations and styles */
.main-text {
    position: absolute;
    top: 3.5rem;
    left: 0;
    font-size: 4.7rem;
    font-weight: bold;
    background: linear-gradient(
        90deg,
        #4f46e5 0%,
        #a855f7 50%,
        #4f46e5 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: gradient-wave 8s linear infinite;
    text-align: center;
    z-index: 5;
    margin-top: 0;
    width: 100%;
}

.sub-text {
    position: absolute;
    top: 160px;
    right: 0;
    font-size: 2.1rem;
    padding-right: 180px;
    transform: translateX(-50px);
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: pulse 6s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    margin-top: 0;
    z-index: 5;
    width: 100%;
}

/* Tiles styles */
.tiles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(40, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 3px;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
    padding: 5px;
}

.tile {
    background: rgba(79, 70, 229, 0.5);
    border-radius: 2px;
    transition: all 0.8s ease-in-out;
    aspect-ratio: 1;
    filter: blur(0.3px);
}

.tile:nth-child(4n),
.tile:nth-child(4n-1) {
    background: rgba(168, 85, 247, 0.25);
}

.tile.active {
    background: rgba(79, 70, 229, 0.4);
    filter: blur(0);
    box-shadow: 
        0 0 5px rgba(79, 70, 229, 0.4),
        0 0 10px rgba(79, 70, 229, 0.3),
        0 0 15px rgba(79, 70, 229, 0.2);
}

.tile.active:nth-child(4n),
.tile.active:nth-child(4n-1) {
    background: rgba(168, 85, 247, 0.4);
    box-shadow: 
        0 0 5px rgba(168, 85, 247, 0.4),
        0 0 10px rgba(168, 85, 247, 0.3),
        0 0 15px rgba(168, 85, 247, 0.2);
}

/* Particle animation styles */
#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 1);
    pointer-events: none;
    z-index: 1;
}

.particle--purple {
    background-color: rgba(168, 85, 247, 1);
}

.particle--glow {
    box-shadow: 
        0 0 5px rgba(79, 70, 229, 0.8),
        0 0 10px rgba(79, 70, 229, 0.5);
}

.particle--purple.particle--glow {
    box-shadow: 
        0 0 5px rgba(168, 85, 247, 0.8),
        0 0 10px rgba(168, 85, 247, 0.5);
}

.particle-link {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-color: rgba(79, 70, 229, 0.45);
    transform-origin: 0% 50%;
    box-shadow: 0 0 2px rgba(79, 70, 229, 0.2);
}

.particle-link--purple {
    background-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 2px rgba(168, 85, 247, 0.2);
}

/* Add a gradient link color for certain links */
.particle-link--gradient {
    background: linear-gradient(
        90deg,
        rgba(79, 70, 229, 0.5) 0%,
        rgba(168, 85, 247, 0.5) 100%
    );
    box-shadow: 0 0 3px rgba(124, 77, 238, 0.3);
}

@keyframes float-particle {
    0% { transform: translate(0, 0); }
    25% { transform: translate(var(--move-x), var(--move-y)); }
    50% { transform: translate(var(--move-x2), var(--move-y2)); }
    75% { transform: translate(var(--move-x3), var(--move-y3)); }
    100% { transform: translate(0, 0); }
}

@keyframes gradient-wave {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .title-logo {
        padding: 1rem;
        height: 160px;
    }

    .main-text {
        font-size: 3rem;
    }

    .sub-text {
        font-size: 1.5rem;
        padding-right: 100px;
        top: 110px;
    }

    .tiles-container {
        gap: 2px;
        padding: 3px;
    }
} 