
.section {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}


h1, h2, h3 {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
}

h1 {
    font-family: 'Fira Sans', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ee2a7b, #8dc63f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-weight: bold;
    font-size: 2.5rem;
}


.section p {
    font-size: 1.2rem;
    line-height: 2.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s 0.3s, transform 1s 0.3s;
}

.section.active p {
    opacity: 1;
    transform: translateY(0);
}


.active h1, .active h2, .active h3, .active p, .active .card {
    opacity: 1;
    transform: translateY(0);
}

.photo-placeholder {
    background: linear-gradient(45deg, #ee2a7b, #8dc63f);
    margin: 40px 0;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s 0.6s, transform 1s 0.6s;
}

.active .photo-placeholder {
    opacity: 1;
    transform: scale(1);
}

.card-grid {
    display: grid;
    gap: 20px;
}

.four-column {
    grid-template-columns: repeat(4, 1fr);
}

.three-column {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, opacity 1s, transform 1s;
    opacity: 0;
    transform: translateY(30px);
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 3rem;
    color: #8dc63f;
    margin-bottom: 15px;
}

.card p {
    font-size: 1.1rem;
}

.trader-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin-bottom: 15px;
}

.common-traits {
    text-align: center;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s, transform 1s;
}

.active .common-traits {
    opacity: 1;
    transform: translateY(0);
}

.traits-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trait-item {
    width: 200px;
    height: 100px;
    border: solid 3px;
    border-color: #8dc63f;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    transition: transform 0.3s ease;
}

.trait-item:hover {
    transform: scale(1.05);
}

.trait-content {
    text-align: center;
    color: #8dc63f;
}

.trait-content i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.trait-content span {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.price-item {
    width: 200px;
    height: 50px;
    border: solid 3px;
    border-color: #8dc63f;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    transition: transform 0.3s ease;
}

.price-item:hover {
    transform: scale(1.05);
}

.price-content {
    text-align: center;
    color: #8dc63f;
    font-size: 1.1rem;
    font-weight: bold;
}


.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ee2a7b, #8dc63f);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s 0.9s, transform 1s 0.9s, background 0.3s;
}

.active .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(238, 42, 123, 0.4);
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(238, 42, 123, 0.1) 0%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: opacity 1s;
}

.active .bg-animation {
    opacity: 1;
}

@media (max-width: 1200px) {
    .four-column {
        grid-template-columns: repeat(2, 1fr);
    }
    .three-column {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .four-column, .three-column {
        grid-template-columns: 1fr;
    }
}


.nature-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.nature-item {
    display: flex;
    align-items: center;
    background-color: rgba(40, 40, 40, 0.9);
    padding: 20px;
    border-radius: 10px;
    width: 80%;
}

.nature-item.left {
    padding-right: 40px;
    align-self: flex-start;
}

.nature-item.right {
    padding-left: 40px;
    align-self: flex-end;
    flex-direction: row-reverse;
}

.item-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ee2a7b;
    margin: 0 20px;
}

.item-content {
    flex-grow: 1;
}

.nature-item h3 {
    color: #8dc63f;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.nature-item p {
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    word-break: keep-all;
}

.word-keek {
    word-break: keep-all;
}

@media (max-width: 768px) {
    .nature-item {
        width: 100%;
        flex-direction: column;
        align-items: center; /* 모든 항목을 중앙으로 정렬 */
        text-align: center;
    }

    .nature-item.left {
        padding-right: 20px;
        align-self: flex-start;
    }

    .nature-item.right {
        padding-left: 20px;
        flex-direction: column; /* 짝수 항목도 수직 정렬로 변경 */
        align-items: center;
    }

    .item-number {
        font-size: 3rem;
        margin-bottom: 10px;
        margin: 0 auto 10px; /* 넘버를 중앙에 배치 */
    }

    .item-content {
        text-align: center;
    }

    h1{
        font-size: 3.5rem;
    }
}
