@import "style.css";

body {
    font-family: var(--font-display), sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 5% 0;
}

.home_content {
    max-width: 900px;
    margin-top: 3%;
}

.home_content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .4s;
    font-family: var(--font-display), sans-serif;
}

.home_content h3 .name {
    font-size: 50px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    font-family: var(--font-display), sans-serif;
    background: linear-gradient(45deg, var(--primary-color), #2ecc71, #00f5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(68, 227, 36, 0.4));
    animation: slideRight 2s ease forwards, textGlow 3s ease-in-out infinite alternate;
    animation-delay: 1s, 3s;
}

.tagline {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 1.5s;
    flex-wrap: wrap;
}

.tag {
    padding: 0.6rem 1.2rem;
    background: rgba(68, 227, 36, 0.1);
    border: 1px solid rgba(68, 227, 36, 0.3);
    border-radius: 14px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(68, 227, 36, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(68, 227, 36, 0.3);
    cursor: grab;
}

.home_content h3:nth-of-type(2) {
    margin-bottom: 20px;
    animation: slideTop 1s ease forwards;
    animation-delay: .2s;
}

.home_content h3 .text {
    color: var(--primary-color);
    font-family: var(--font-display), sans-serif;
}

.home_content #intro_para {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 2px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
    font-family: var(--font-styled), sans-serif;
    color: var(--text-secondary);
}

.home_connect a {
    text-decoration: none;
}

.button-group {
    margin: 15px 0;
}

.btn-box {
    display: inline-block;
    padding: 12px 20px;
    background: var(--primary-color);
    border-radius: 14px;
    margin: 20px 0;
    font-size: 16px;
    color: #000;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    transition: all .5s ease;
    text-decoration: none;
    font-family: var(--font-display), sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-box:nth-of-type(2) {
    margin-left: 20px;
}

.btn-box:hover {
    box-shadow: 0 0 5px var(--primary-color), 0 0 12px var(--primary-color), 0 0 24px var(--primary-color);
}

.home_image_wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
}

.img_circle_wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.img_circle_wrapper::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color), #2ecc71, #00f5a0, var(--primary-color));
    z-index: -1;
    animation: rotate 4s linear infinite;
}

.img_circle_wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    object-fit: cover;
    opacity: 0;
    animation: slideImage 1s ease forwards;
    animation-delay: .8s;
    z-index: 1;
    position: relative;
    transition: all .3s ease;
}

.img_circle_wrapper img:hover {
    box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
}

.home_connect {
    position: absolute;
    left: 75%;
    top: 40%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.home_connect a {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 20px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
    transition: 0.3s;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    background: rgba(68, 227, 36, 0.1);
}

.home_connect a:nth-child(1) {
    top: 4%;
    left: 60%;
    transform: translate(-50%, -50%);
}

.home_connect a:nth-child(2) {
    top: 38%;
    left: 80%;
    transform: translate(-50%, -50%);
}

.home_connect a:nth-child(3) {
    top: 72%;
    left: 80%;
    transform: translate(-50%, -50%);
}

.home_connect a:nth-child(4) {
    top: 105%;
    left: 60%;
    transform: translate(-50%, -50%);
}

.home_connect a:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 40px var(--primary-color);
}

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

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

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideImage {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(68, 227, 36, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(68, 227, 36, 0.6));
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1200px) {
    .home {
        padding: 70px 8% 0;
    }

    .home_content {
        max-width: 900px;
    }

    .img_circle_wrapper {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 1199px) {
    .home {
        padding: 70px 4% 0;
    }

    .home_content h3 {
        font-size: 28px;
    }

    .home_content h3 .name {
        font-size: 42px;
    }

    .home_content #intro_para {
        font-size: 16px;
        line-height: 26px;
    }

    .img_circle_wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 991px) {
    .home {
        flex-direction: column;
        justify-content: start;
        text-align: center;
        padding-top: calc(var(--header-height) + 80px);
        margin-top: calc(var(--header-height) - 40px);
        height: auto;
        min-height: 100vh;
    }

    .home_content {
        max-width: 100%;
        margin-top: 0;
        order: 1;
    }

    .home_content h3 {
        font-size: 26px;
    }

    .home_content h3 .name {
        font-size: 38px;
    }

    .home_content #intro_para {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    .tagline {
        justify-content: center;
        margin: 1rem 0 2rem 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .button-group {
        margin: 20px 10px 30px 10px;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        align-items: start;
    }

    .btn-box {
        margin: 10px 0;
        font-size: 14px;
        padding: 10px 16px;
        border-radius: 10px;
        animation: slideRight 2s ease-in-out forwards;
    }

    .btn-box:nth-of-type(2) {
        margin-left: 0;
    }

    .home_image_wrapper {
        order: 2;
        margin: 20px 0 0 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .img_circle_wrapper {
        width: 250px;
        height: 250px;
    }

    .home_connect {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
        width: 100%;
        height: auto;
        transform: none;
        pointer-events: auto;
    }

    .home_connect a {
        position: static;
        width: 35px;
        height: 35px;
        font-size: 16px;
        transform: none;
        opacity: 1;
        animation: none;
    }

    .home_connect a:nth-child(1),
    .home_connect a:nth-child(2),
    .home_connect a:nth-child(3),
    .home_connect a:nth-child(4) {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        margin: 6px;
    }
}

@media (max-width: 767px) {
    .home {
        padding: calc(var(--header-height) + 20px) 4% 20px;
    }

    .home_content h3 {
        font-size: 22px;
    }

    .home_content h3 .name {
        font-size: 32px;
    }

    .home_content #intro_para {
        font-size: 15px;
        line-height: 22px;
        letter-spacing: 1px;
    }

    .tagline {
        gap: 0.8rem;
        margin: 1rem 0 1.5rem 0;
        justify-content: center;
        flex-direction: row;
    }

    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .button-group {
        align-items: start;
    }

    .btn-box {
        font-size: 13px;
        padding: 8px 14px;
        width: 100%;
        max-width: 160px;
    }

    .img_circle_wrapper {
        width: 220px;
        height: 220px;
    }

    .home_connect {
        gap: 12px;
        margin-top: 15px;
    }

    .home_connect a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .home {
        padding: calc(var(--header-height) + 40px) 3% 20px;
    }

    .home_content h3 {
        font-size: 20px;
    }

    .home_content h3 .name {
        font-size: 28px;
    }

    .home_content #intro_para {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0;
    }

    .tagline {
        gap: 0.6rem;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .button-group {
        flex-direction: row;
        margin-bottom: 25px;
    }

    .btn-box {
        width: 100%;
        max-width: 140px;
        margin: 6px 0;
        font-size: 12px;
        padding: 7px 12px;
    }

    .img_circle_wrapper {
        width: 200px;
        height: 200px;
    }

    .home_connect {
        gap: 10px;
        margin-top: 15px;
        justify-content: flex-start;
    }

    .home_connect a {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}


@media (max-width: 479px) {
    .home {
        padding: calc(var(--header-height) + 40px) 2% 20px;
    }

    .home_content h3 {
        font-size: 18px;
    }

    .home_content h3 .name {
        font-size: 24px;
    }

    .home_content #intro_para {
        font-size: 13px;
        line-height: 18px;
    }

    .tagline {
        gap: 0.5rem;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .btn-box {
        font-size: 11px;
        padding: 6px 10px;
        max-width: 120px;
    }

    .img_circle_wrapper {
        width: 180px;
        height: 180px;
    }

    .home_connect {
        gap: 8px;
        margin-top: 12px;
        justify-content: flex-start;
    }

    .home_connect a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
