@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Mono", monospace;
}
body {
    background: #000;
    position: relative;
    overflow: hidden;
}
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}


.main {
    height: 100vh;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}


.main .image-container {
    padding: 10px;
    text-align: center;
}

.main .image-container .image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main .image-container .image::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 250px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 188, 212, 0.8),
        transparent
    );
}

.main .image-container .image img {
    width: 320px;
    max-width: 90%;
    max-height: 40vh;
    object-fit: contain;
    align-items: center;
}

.main .image-container h1 {
    color: #00bcd4;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 38px;
    letter-spacing: 12px;
}

.main .image-container p {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 20px;
    font-size: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.main .input {
    display: flex;
    align-items: center;
    width: min(500px, 90%);
    min-height: 90px;
    padding: 20px 25px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 188, 212, 0.2);
    backdrop-filter: blur(10px);
    gap: 18px;
    margin-bottom: 20px;
}

.main .input .talk {
    background: linear-gradient(135deg, #00bcd4, #0066ff);
    outline: none;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
    flex-shrink: 0;
    align-self: center;
}
 
.main .input .talk:hover {
 
    transform: scale(1.05);
}

.main .input .talk i {
    font-size: 16px;
    color: #aed0d0;
}

.main .input .content {
    color: #dfe6e9;
    font-size: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: left;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .main .image-container .image img {
        width: 280px;
        max-width: 85%;
        align-items: center;
    }
    .main .image-container h1 {
        color: #00bcd4;
        text-align: center;
        margin-top: 20px; /* Reduced from 35px */
        margin-bottom: 8px; /* Reduced from 10px */
        font-size: 42px; /* Slightly optimized from 48px */
        letter-spacing: 12px;
    }
}
@media (max-width: 500px) {
    .main .input {
        flex-direction: column;
        border-radius: 25px;
        padding: 30px 20px;
        gap: 24px;
    }
    .main .input .content {
        text-align: center;
        justify-content: center;
    }
}
.status-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.status-text {
    color: #7f8c8d;
    font-size: 12px;
    margin-top: 4px;
}
.main .input .talk.active {
    background:
        linear-gradient(
            135deg,
            #ff4d4d,
            #ff0000
        );
    position: relative;
    will-change: transform;
}
.main .input .talk.active::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid
        rgba(255,0,0,0.7);
    animation:
        pulse 1.2s infinite;
        backface-visibility: hidden;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.wave-container {
    display: none;
    align-items: center;
    gap: 4px;
    height: 25px;
    margin-top: 8px;
}

.wave-container.active {
    display: flex;
}

.wave-container span {
    width: 4px;
    height: 8px;
    border-radius: 10px;
    background: #00bcd4;
    animation:
        wave 1s infinite ease-in-out;
}

.wave-container span:nth-child(2){
    animation-delay: 0.15s;
}
.wave-container span:nth-child(3){
    animation-delay: 0.3s;
}
.wave-container span:nth-child(4){
    animation-delay: 0.45s;
}
.wave-container span:nth-child(5){
    animation-delay: 0.6s;
}

@keyframes wave {
    0%,100% {height: 8px;}
    50% {height: 24px;}
}