.home-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    padding: 150px 0 100px;
    overflow: hidden;
}

#code-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.interface {
  position: relative;
  z-index: 1;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(0, 255, 8, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.interface {
    position: relative;
    z-index: 1;
    width: 100%;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.home-content {
    flex: 1;
    max-width: 600px;
}

.title-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
}

.home-title {
    display: flex;
    flex-direction: row;
    align-items: left;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
}

.home-title .greeting {
    display: block;
    color: #00FF08;
    font-size: 50px;
    font-weight: 400;
    padding-right: 10px;
}

.home-title .name {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 50px;
}

.home-title .dot {
    color: #00FF08;
}

.title-decoration {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.title-decoration .line {
    width: 80px;
    height: 3px;
    background: #00FF08;
}

.title-decoration .circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00FF08;
    animation: pulse 2s infinite;
}

.home-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.typing-text {
    border-right: 2px solid #00FF08;
    animation: blink 0.75s step-end infinite;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tech-item {
    background: rgba(0, 255, 8, 0.1);
    color: #00FF08;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 8, 0.3);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 255, 8, 0.2);
    transform: translateY(-2px);
}

.btn-contato {
    margin-bottom: 40px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    color: #00FF08;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #00FF08;
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00FF08;
    z-index: -1;
    transition: width 0.3s ease;
}

.btn:hover {
    color: #000;
}

.btn:hover::before {
    width: 100%;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #00FF08;
    border-color: #00FF08;
    transform: translateY(-3px);
}

.home-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.profile-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: grayscale(20%) contrast(110%);
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(0, 255, 8, 0.2) 0%, transparent 70%);
    border-radius: 30px;
    z-index: 1;
    animation: pulse-glow 4s infinite alternate;
}

.tech-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.tech-dots .dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00FF08;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px #00FF08);
    animation: float-dot calc(var(--i) * 1s) infinite ease-in-out alternate;
}

.tech-dots .dot:nth-child(1) {
    top: 10%;
    left: 5%;
}

.tech-dots .dot:nth-child(2) {
    top: 80%;
    left: 15%;
}

.tech-dots .dot:nth-child(3) {
    top: 30%;
    right: 10%;
}

.tech-dots .dot:nth-child(4) {
    bottom: 20%;
    right: 5%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #00FF08;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #00FF08;
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

.arrow {
    width: 15px;
    height: 15px;
    border-right: 2px solid #00FF08;
    border-bottom: 2px solid #00FF08;
    transform: rotate(45deg);
    margin-top: -5px;
    animation: scroll-arrow 2s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-dot {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.8;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #00FF08;
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes scroll-arrow {
    0%, 20% {
        opacity: 0;
        transform: rotate(45deg) translateY(0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translateY(10px);
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .flex {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .home-content {
        padding-right: 0;
        max-width: 100%;
    }
    
    .title-decoration {
        justify-content: center;
    }
    
    .tech-stack {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}