/* 기본 스타일 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 바디 스타일 */
body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* 히어로 섹션 */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('71087529-de2e-4d11-8e03-9cb45f65d047.png') center no-repeat;
    background-size: contain; /* 이미지가 잘리지 않도록 */
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

/* 반투명 오버레이 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* hero-content 내부 요소 간격 조정 */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    animation: slideInFromTop 1s ease-out;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 1.5em;
    color: #fff;
    animation: slideInFromTop 1.5s ease-out;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    margin: 0 0 20px;
}

.hero-content h3 {
    font-size: 1em;
    color: #fff;
    margin: 5px 0;
    word-break: break-all;
}

.hero-content h3:first-of-type {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.contract-address {
    font-size: 0.7em;
    color: #ccc;
    word-break: break-all;
    display: block;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
    position: relative;
}

.contract-address:hover,
.contract-address:active {
    color: #ffd700;
}

.copy-message {
    position: absolute;
    font-size: 0.8em;
    color: #ffd700;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: -30px;
    margin-left: 0;
    animation: fadeOut 2s ease forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.hero-content .btn {
    background-color: #ffd700;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: slideInFromTop 2s ease-out;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    margin-top: 20px;
}

.hero-content .btn:hover {
    transform: scale(1.1);
    background-color: #e6c200;
}

/* 페이드인 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 슬라이드인 애니메이션 */
@keyframes slideInFromTop {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 메인 콘텐츠 섹션 */
main {
    padding: 20px;
}

section {
    padding: 50px 0;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* #community를 제외한 섹션에 배경 이미지와 오버레이 추가 */
#about {
    background: url('v.png') center no-repeat;
    background-size: contain; /* 이미지가 잘리지 않도록 */
}

#tokenomics {
    background: url('wine.png') center no-repeat;
    background-size: contain;
}

#roadmap {
    background: url('dance.png') center no-repeat;
    background-size: contain;
}

/* 반투명 오버레이 추가 */
#about::before,
#tokenomics::before,
#roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 콘텐츠는 오버레이 위에 표시 */
#about > *,
#tokenomics > *,
#roadmap > * {
    position: relative;
    z-index: 2;
}

/* #community는 배경 없음 */
#community {
    background: none;
    min-height: auto;
}

section h2 {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 2em;
}

/* 각 섹션의 h2 크기 통일 */
#about h2 {
    color: #ffd700;
    font-size: 2.5em;
}

#tokenomics h2 {
    color: #00ff00;
    font-size: 2em;
}

#roadmap h2 {
    color: #ff69b4;
    font-size: 1.8em;
}

#community h2 {
    color: #1e90ff;
    font-size: 1.6em;
}

/* main 안의 h3 스타일 */
main h3 {
    font-size: 1.5em;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

main h3:hover {
    transform: scale(1.05);
    color: #ffd700;
}

section p, section ul {
    font-size: 1em;
    max-width: 800px;
    margin: 0 auto;
}

ul {
    list-style: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* 푸터 */
footer {
    background-color: #222;
    padding: 20px;
    text-align: center;
    font-size: 0.8em;
    color: #888;
}

/* 반응형 디자인 최소화 */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}
