.hero {
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 204, 153, 0.1) 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  z-index: 1;
  animation: fadeIn 1.5s ease;
  max-width: 80rem;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 9rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5rem;
}

.typewriter {
  margin: 3rem 0;
  height: 4rem;
  overflow: hidden;
}

.typewriter p {
  color: var(--accent-primary);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
}

.hero-buttons {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.hero-buttons .btn {
  min-width: 18rem;
  transform: translateY(100px);
  opacity: 0;
  animation: slideUp 0.8s forwards;
  animation-delay: 0.8s;
}

.hero-buttons .btn:nth-child(2) {
  animation-delay: 1.2s;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.floating-element {
  position: absolute;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: rgba(0, 204, 153, 0.1);
  filter: blur(30px);
  animation: float 15s infinite;
}

.floating-element:nth-child(1) {
  top: 15%;
  left: 15%;
  width: 25rem;
  height: 25rem;
  background: rgba(0, 204, 153, 0.08);
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  left: 75%;
  width: 20rem;
  height: 20rem;
  background: rgba(205, 127, 50, 0.08);
  animation-delay: 3s;
}

.floating-element:nth-child(3) {
  top: 70%;
  left: 20%;
  width: 18rem;
  height: 18rem;
  background: rgba(0, 204, 153, 0.06);
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-30px) translateX(20px);
  }
  50% {
    transform: translateY(15px) translateX(-15px);
  }
  75% {
    transform: translateY(20px) translateX(25px);
  }
}


:root {
    --sage-green: #00cc99;
    --copper: #00cc99;
}

.hero-image {
    position: relative;
    width: 350px;
    height: 350px;
    z-index: 1;
    opacity: 0;
    animation: appearRotate 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s forwards;
    filter: drop-shadow(0 0 15px rgba(139, 170, 154, 0.4));
    perspective: 1000px;
    transform-style: preserve-3d;
    margin: 0 auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 5px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}


.hero-image .shape {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% 100%;
    box-shadow: 
        0 15px 50px rgba(139, 170, 154, 0.3),
        0 0 0 2px rgba(139, 170, 154, 0.2),
        inset 0 0 20px rgba(183, 110, 121, 0.15);
    animation: morphAdvanced 12s ease-in-out infinite alternate;
    transform-style: preserve-3d;
   
    background-color: rgba(139, 170, 154, 0.3);
   
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
}


.hero-image .shape img.shape-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 1;
    transition: opacity 0.5s ease;
}


@keyframes appearRotate {
    0% {
        opacity: 0;
        transform: rotate(-8deg) scale(0.8) translateY(30px);
        filter: blur(15px) brightness(1.5);
    }
    30% {
        filter: blur(5px) brightness(1.2) contrast(1.3) hue-rotate(15deg);
    }
    60% {
        filter: blur(0) brightness(1.1) saturate(1.2);
    }
    80% {
        filter: contrast(1.1) brightness(1.05) saturate(1.1);
        transform: rotate(3deg) scale(0.95) translateY(5px);
    }
    90% {
        transform: rotate(-2deg) scale(1.02) translateY(0);
    }
    100% {
        opacity: 1;
        transform: rotate(0) scale(1) translateY(0);
        filter: none;
    }
}



.hero-image .shape {
    position: absolute;
    width: 100%;
    height: 100%;
   
    background: url('../image/foto-profile/ryan2.jpg') no-repeat center;
    background-size: cover;
   
    background-image: 
        url('../image/foto-profile/ryan2.jpg'),
        url('./image/foto-profile/ryan2.jpg'),
        url('image/foto-profile/ryan2.jpg'),
        url('../image/foto profile/ryan2.jpg'),
        url('./image/foto profile/ryan2.jpg'),
        url('image/foto profile/ryan2.jpg');
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% 100%;
    box-shadow: 
        0 15px 50px rgba(139, 170, 154, 0.3),
        0 0 0 2px rgba(139, 170, 154, 0.2),
        inset 0 0 20px rgba(183, 110, 121, 0.15);
    animation: morphAdvanced 12s ease-in-out infinite alternate;
    transform-style: preserve-3d;
   
    background-color: linear-gradient(135deg, #8baa9a, #b76e79);
   
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
}



.hero-image .shape .profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}


.hero-image .shape.image-error .profile-img {
    opacity: 1;
}


.hero-image .shape.image-loaded {
    background-image: none;
}

.hero-image .shape.image-loaded .profile-img {
    opacity: 1;
}



.hero-image .shape.all-images-failed {
    background: linear-gradient(135deg, 
        rgba(139, 170, 154, 0.8) 0%,
        rgba(183, 110, 121, 0.8) 50%,
        rgba(139, 170, 154, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image .shape.all-images-failed::before {
    content: '👤';
    font-size: 4rem;
    opacity: 0.7;
}


.hero-image .shape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: hologramScan 4s linear infinite;
    pointer-events: none;
    border-radius: inherit;
    z-index: 2;
}


.hero-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: 
        radial-gradient(circle, rgba(139, 170, 154, 0.2) 0%, transparent 70%),
        conic-gradient(from 215deg, transparent, rgba(139, 170, 154, 0.3), var(--copper), rgba(139, 170, 154, 0.3), transparent);
    z-index: -1;
    border-radius: 50%;
    animation: rotateBg 12s linear infinite;
    transform-style: preserve-3d;
    filter: blur(5px);
}


.hero-image::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    border: 1px solid rgba(139, 170, 154, 0.3);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: morphAdvanced 12s ease-in-out infinite alternate 0.5s, glitchBorder 8s linear infinite;
    box-shadow: 
        0 0 30px rgba(139, 170, 154, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}


.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: floatIcon 4s ease-in-out infinite;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}


.floating-icon:nth-child(1) {
    top: 10%;
    right: -5%;
    background: linear-gradient(135deg, #f7df1e, #f0db50);
    color: #323330;
    animation-delay: 0s;
    animation-duration: 3.5s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    left: -5%;
    background: linear-gradient(135deg, #e34f26, #f06529);
    color: #fff;
    animation-delay: 0.8s;
    animation-duration: 4.2s;
}

.floating-icon:nth-child(3) {
    top: 45%;
    right: -10%;
    background: linear-gradient(135deg, #1572b6, #33a9dc);
    color: #fff;
    animation-delay: 1.5s;
    animation-duration: 3.8s;
}

.floating-icon:nth-child(4) {
    top: 50%;
    left: -10%;
    background: linear-gradient(135deg, #777bb4, #8892bf);
    color: #fff;
    animation-delay: 2.2s;
    animation-duration: 4.5s;
}

.floating-icon:nth-child(5) {
    bottom: 20%;
    right: -5%;
    background: linear-gradient(135deg, #61dafb, #21c7f7);
    color: #20232a;
    animation-delay: 3s;
    animation-duration: 3.2s;
}

.floating-icon:nth-child(6) {
    bottom: 15%;
    left: -5%;
    background: linear-gradient(135deg, #3776ab, #ffd43b);
    color: #fff;
    animation-delay: 1.2s;
    animation-duration: 4s;
}

.floating-icon:nth-child(7) {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #21759b, #0085ba);
    color: #fff;
    animation-delay: 2.8s;
    animation-duration: 3.7s;
}

.floating-icon:nth-child(8) {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00758f, #f29111);
    color: #fff;
    animation-delay: 0.5s;
    animation-duration: 4.3s;
}

.floating-icon:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(139, 170, 154, 0.5);
    z-index: 10;
}


@keyframes hologramScan {
    0%, 100% { 
        background: linear-gradient(125deg, transparent, rgba(255,255,255,0), transparent);
        opacity: 0;
    }
    25%, 75% { 
        background: linear-gradient(125deg, transparent, rgba(255,255,255,0.2), transparent);
        opacity: 1;
    }
    30% { 
        transform: translateY(0%);
    }
    70% { 
        transform: translateY(100%);
    }
}

@keyframes glitchBorder {
    0%, 100% {
        border-color: rgba(139, 170, 154, 0.3);
        box-shadow: 0 0 30px rgba(139, 170, 154, 0.15);
    }
    25% {
        border-color: rgba(183, 110, 121, 0.3);
        box-shadow: 0 0 30px rgba(183, 110, 121, 0.15);
    }
    26%, 74% {
        border-color: rgba(139, 170, 154, 0.3);
    }
    75% {
        border-color: rgba(183, 110, 121, 0.3);
        box-shadow: 0 0 30px rgba(183, 110, 121, 0.15);
    }
    78%, 79% {
        border-color: transparent;
        box-shadow: none;
    }
    80%, 85% {
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    }
    86%, 95% {
        border-color: rgba(139, 170, 154, 0.4);
    }
}

@keyframes morphAdvanced {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: scale(1) rotate(0deg) translateZ(0px);
        box-shadow: 0 15px 50px rgba(139, 170, 154, 0.3),
                    0 0 0 2px rgba(139, 170, 154, 0.2),
                    inset 0 0 20px rgba(183, 110, 121, 0.15);
    }
    25% {
        border-radius: 58% 42% 55% 45% / 52% 56% 44% 48%;
        transform: scale(1.02) rotate(2deg) translateZ(10px);
    }
    50% {
        border-radius: 70% 30% 46% 54% / 60% 40% 60% 40%;
        transform: scale(1.05) rotate(5deg) translateZ(20px);
        box-shadow: 0 15px 50px rgba(183, 110, 121, 0.25),
                    0 0 0 3px rgba(139, 170, 154, 0.1),
                    inset 0 0 30px rgba(183, 110, 121, 0.2);
    }
    75% {
        border-radius: 40% 60% 33% 67% / 47% 30% 70% 53%;
        transform: scale(1.02) rotate(-2deg) translateZ(10px);
    }
    100% {
        border-radius: 46% 54% 70% 30% / 35% 70% 30% 65%;
        transform: scale(1) rotate(-5deg) translateZ(0px);
        box-shadow: 0 15px 50px rgba(139, 170, 154, 0.3),
                    0 0 0 2px rgba(139, 170, 154, 0.2),
                    inset 0 0 20px rgba(183, 110, 121, 0.15);
    }
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-image:hover .shape {
    animation-play-state: paused;
}

.hero-image:hover::before {
    filter: blur(8px);
    background: 
        radial-gradient(circle, rgba(183, 110, 121, 0.3) 0%, transparent 70%),
        conic-gradient(from 180deg, transparent, rgba(139, 170, 154, 0.4), var(--copper), rgba(139, 170, 154, 0.3), transparent);
}


@media (max-width: 1024px) {
    .hero-image {
        width: 320px;
        height: 320px;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        width: 280px;
        height: 280px;
    }
    
    .floating-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .floating-icon:nth-child(1) { top: 15%; right: 0%; }
    .floating-icon:nth-child(2) { top: 25%; left: 0%; }
    .floating-icon:nth-child(3) { top: 50%; right: -5%; }
    .floating-icon:nth-child(4) { top: 55%; left: -5%; }
    .floating-icon:nth-child(5) { bottom: 25%; right: 0%; }
    .floating-icon:nth-child(6) { bottom: 20%; left: 0%; }
    .floating-icon:nth-child(7) { top: 8%; left: 50%; }
    .floating-icon:nth-child(8) { bottom: 12%; left: 50%; }
}

@media (max-width: 480px) {
    .hero-image {
        width: 220px;
        height: 220px;
    }
    
    .floating-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .floating-icon:nth-child(1) { top: 18%; right: 5%; }
    .floating-icon:nth-child(2) { top: 28%; left: 5%; }
    .floating-icon:nth-child(3) { top: 55%; right: 0%; }
    .floating-icon:nth-child(4) { top: 60%; left: 0%; }
    .floating-icon:nth-child(5) { bottom: 28%; right: 5%; }
    .floating-icon:nth-child(6) { bottom: 23%; left: 5%; }
    .floating-icon:nth-child(7) { top: 10%; left: 50%; }
    .floating-icon:nth-child(8) { bottom: 15%; left: 50%; }
}

@media (max-width: 768px) {
    @keyframes floatIcon {
        0%, 100% {
            transform: translateY(0px) scale(1);
        }
        50% {
            transform: translateY(-8px) scale(1.03);
        }
    }
    
    .floating-icon:hover {
        transform: scale(1.15) translateY(-3px);
    }
}


@media (max-width: 1024px) {
    .hero-image {
        width: 320px;
        height: 320px;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        width: 280px;
        height: 280px;
    }
    
    .floating-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
   
    .floating-icon:nth-child(1) { top: 15%; right: 0%; }
    .floating-icon:nth-child(2) { top: 25%; left: 0%; }
    .floating-icon:nth-child(3) { top: 50%; right: -5%; }
    .floating-icon:nth-child(4) { top: 55%; left: -5%; }
    .floating-icon:nth-child(5) { bottom: 25%; right: 0%; }
    .floating-icon:nth-child(6) { bottom: 20%; left: 0%; }
    .floating-icon:nth-child(7) { top: 8%; left: 50%; }
    .floating-icon:nth-child(8) { bottom: 12%; left: 50%; }
}

@media (max-width: 480px) {
    .hero-image {
        width: 220px;
        height: 220px;
    }
}

.floating-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
}




.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: futuristicReveal 2.5s cubic-bezier(0.17, 0.84, 0.44, 1) 1.8s forwards;
    transition: all 0.4s ease;
}

.hero-scroll a {
    color: var(--sage-green);
    font-size: 1.5rem;
    display: block;
    position: relative;
    text-shadow: 0 0 10px var(--sage-green), 0 0 20px rgba(139, 170, 154, 0.4);
    animation: digitalPulse 3s infinite alternate;
    transform-style: preserve-3d;
    perspective: 500px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-scroll a:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 0 15px #fff, 0 0 25px rgba(255, 255, 255, 0.5);
}

.hero-scroll a::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(139, 170, 154, 0.3), transparent 70%);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%) translateZ(-20px);
    bottom: -10px;
    z-index: -1;
    filter: blur(2px);
    box-shadow: 0 0 15px var(--sage-green);
    animation: hologramPulse 2.5s infinite;
}

.hero-scroll a:hover::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
    box-shadow: 0 0 20px #fff, 0 0 30px rgba(255, 255, 255, 0.5);
    animation: hologramPulse 1.5s infinite;
}

.hero-scroll a::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--sage-green), transparent);
    left: 50%;
    transform: translateX(-50%);
    bottom: -35px;
    opacity: 0.7;
    filter: blur(1px);
    animation: scanLine 1.5s infinite ease-out;
}

.hero-scroll a:hover::after {
    background: linear-gradient(to bottom, #fff, transparent);
    height: 40px;
    opacity: 0.9;
}


@keyframes futuristicReveal {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes digitalPulse {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes hologramPulse {
    0% {
        opacity: 0.3;
        transform: translateX(-50%) translateZ(-20px) scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) translateZ(-20px) scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: translateX(-50%) translateZ(-20px) scale(0.9);
    }
}

@keyframes scanLine {
    0% {
        height: 0;
        opacity: 0;
        transform: translateX(-50%);
    }
    50% {
        height: 30px;
        opacity: 0.7;
        transform: translateX(-50%);
    }
    100% {
        height: 0;
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    
}


.hero-scroll .scroll-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage-green);
    opacity: 0;
    white-space: nowrap;
    animation: fadeInOut 4s infinite;
}
.floating-icon:hover {
    transform: scale(1.15) translateY(-3px);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.7; }
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 5.5rem;
    }
    
    .typewriter p {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero-buttons .btn {
        min-width: 20rem;
    }

    .hero-scroll {
        bottom: 20px;
    }
    
    .hero-scroll a {
        font-size: 1.2rem;
    }
    
    .hero-scroll a::before {
        width: 30px;
        height: 30px;
    }
    
    .hero-scroll a::after {
        height: 20px;
        bottom: -25px;
    }
    
    .hero-scroll .scroll-text {
        font-size: 0.7rem;
        bottom: -40px;
    }
}


@media (prefers-color-scheme: dark) {
    .hero-scroll a {
        text-shadow: 0 0 12px var(--sage-green), 0 0 24px rgba(139, 170, 154, 0.6);
    }
    
    .hero-scroll a::before {
        box-shadow: 0 0 18px var(--sage-green);
    }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 7rem;
  }
  
  .typewriter p {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}




.welcome-text .highlight, 
#userName {
    background: linear-gradient(135deg, #00cc99, #ccd6f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: inline-block;
    padding: 0 5px;
    font-weight: 800;
    text-shadow: none;
    transform: translateZ(0);
    opacity: 0;
    animation: cyberpunkGlitch 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}


@keyframes cyberpunkGlitch {
    0% {
        opacity: 0;
        transform: translateX(-10px) skewX(-5deg);
        filter: blur(10px);
    }
    10% {
        transform: translateX(5px) skewX(5deg);
        filter: blur(0);
        text-shadow: -3px 0 var(--copper), 3px 3px var(--sage-green);
    }
    20% {
        transform: translateX(-5px) skewX(-3deg);
        text-shadow: 3px 0 var(--sage-green), -3px -2px var(--copper);
    }
    23% {
        transform: translateX(3px);
        filter: hue-rotate(90deg) contrast(1.5);
    }
    25% {
        transform: translateX(-2px);
        filter: hue-rotate(0) contrast(1);
    }
    40% {
        opacity: 1;
        transform: translateX(0) skewX(0);
        filter: brightness(1.2) contrast(1.2);
    }
    45% {
        filter: brightness(1) contrast(1) hue-rotate(20deg);
    }
    50% {
        filter: brightness(1.3) contrast(1) hue-rotate(0);
    }
    90% {
        transform: translateX(0) scale(1);
    }
    92% {
        transform: translateX(2px) scale(1.04);
        filter: brightness(1.2);
    }
    94% {
        transform: translateX(-1px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: none;
    }
}


.welcome-text .highlight::after,
#userName::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--copper), var(--sage-green));
    border-radius: 2px;
    opacity: 0;
    animation: digitalScan 1.4s cubic-bezier(0.17, 0.67, 0.83, 0.67) 1.2s forwards;
}


@keyframes digitalScan {
    0% {
        width: 0;
        opacity: 0;
        box-shadow: 0 0 0 rgba(139, 170, 154, 0);
    }
    20% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(139, 170, 154, 0.9), 0 0 5px #fff;
    }
    40% {
        box-shadow: 0 0 5px rgba(139, 170, 154, 0.5);
    }
    60% {
        box-shadow: 0 0 15px rgba(139, 170, 154, 0.9), 0 0 5px #fff;
    }
    100% {
        width: 100%;
        opacity: 0.8;
        box-shadow: 0 0 8px rgba(139, 170, 154, 0.6);
    }
}


.welcome-text .highlight::before,
#userName::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(183, 110, 121, 0.3), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: holoExpand 1.8s cubic-bezier(0.19, 1, 0.22, 1) 1.5s forwards;
}


@keyframes holoExpand {
    0% {
        width: 0;
        height: 0;
        top: 50%;
        left: 50%;
        opacity: 0;
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 20px rgba(139, 170, 154, 0.5);
    }
    100% {
        width: 130%;
        height: 130%;
        top: -15%;
        left: -15%;
        opacity: 0.4;
        box-shadow: 0 0 10px rgba(139, 170, 154, 0.3);
    }
}


:root {
    --copper: #00cc99;
}



@media screen and (min-width: 1440px) {
    .hero-image {
        width: 380px;
        height: 380px;
    }
    
    .hero-image .shape {
        border-radius: 35% 65% 65% 35% / 35% 35% 65% 65%;
    }
}


@media screen and (min-width: 992px) and (max-width: 1439px) {
    .hero-image {
        width: 340px;
        height: 340px;
    }
}


@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-image {
        width: 300px;
        height: 300px;
        margin-right: 10px;
    }
    
    .hero-image .shape {
        border-radius: 33% 67% 67% 33% / 33% 33% 67% 67%;
    }
}


@media screen and (min-width: 576px) and (max-width: 767px) {
    .hero-image {
        width: 260px;
        height: 260px;
        margin: 20px auto;
    }
    
    .hero-image .shape {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    
   
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-content {
        margin-top: 20px;
        text-align: center;
    }
}


@media screen and (max-width: 575px) {
    .hero-image {
        width: 220px;
        height: 220px;
        margin: 15px auto 30px;
    }
    
    .hero-image .shape {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
       
        animation: morphAdvanced 15s ease-in-out infinite alternate;
    }
    
   
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px 15px;
        gap: 10px;
    }
    
    .hero-content {
        margin-top: 10px;
        text-align: center;
    }
}


@media screen and (max-width: 380px) {
    .hero-image {
        width: 180px;
        height: 180px;
        margin: 10px auto 20px;
    }
    
    .hero-image .shape {
       
        border-radius: 25% 75% 75% 25% / 25% 25% 75% 75%;
    }
}



@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero-image {
        width: 180px;
        height: 180px;
        margin-left: 20px;
    }
    
    .hero .container {
        flex-direction: row;
        align-items: center;
        padding: 20px;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        text-align: left;
        margin-top: 0;
    }
}


@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
    }
    
    .hero-image .shape {
        box-shadow: 
            0 15px 60px rgba(139, 170, 154, 0.4),
            0 0 0 2px rgba(139, 170, 154, 0.3),
            inset 0 0 20px rgba(183, 110, 121, 0.2);
    }
}


@media (prefers-color-scheme: dark) {
    .hero-image .shape {
        box-shadow: 
            0 15px 60px rgba(139, 170, 154, 0.4),
            0 0 0 2px rgba(139, 170, 154, 0.2),
            inset 0 0 20px rgba(183, 110, 121, 0.2);
    }
}

@media (prefers-color-scheme: light) {
    .hero-image .shape {
        box-shadow: 
            0 15px 50px rgba(139, 170, 154, 0.25),
            0 0 0 2px rgba(139, 170, 154, 0.1),
            inset 0 0 20px rgba(183, 110, 121, 0.1);
    }
}

