/* 기본 스타일 초기화 */

html, body {
    overflow-x: hidden;
    width: 100%;
}

body, ul, li, h1, p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: #000; /* 비디오가 로드되기 전 배경색 */
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    height: 80px;
    cursor: pointer;
}

/* 햄버거 메뉴 기본 스타일 */
.hamburger-menu {
    display: none; /* 기본은 안보임 */
    cursor: pointer;
}

.hamburger-menu img {
    width: 30px;
    height: 30px;
}

/* 메뉴 활성화 시 보이도록 설정 */
.nav-menu.active {
    display: block;
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 100;
}

.nav-menu.active ul {
    flex-direction: column;
    gap: 15px;
}

.nav-menu.active ul li {
    color: white;
    padding: 10px;
    cursor: pointer;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: stretch;  /* center에서 stretch로 변경 */
    flex-wrap: wrap;
    height: 40px;  /* 헤더 메뉴의 고정 높이 설정 */
}

.nav-menu ul li {
    font-weight: 900;
    color: #FFFFFF;
    cursor: pointer;
    position: relative;
    text-align: center;
    line-height: 1.2;
    padding: 5px 10px;
    white-space: nowrap;
    word-break: keep-all;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Splitting.js 문자 스타일 */
.nav-menu ul li .char {
    display: inline-block;
    position: relative;
    transform-origin: center;
    transform: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform, filter;
}

/* 기존의 ::before 가상 요소 제거 */
.nav-menu ul li::before {
    display: none;
}

@media (max-width: 1200px) {
    .nav-menu ul {
        gap: 15px;
    }

    .nav-menu ul li {
        font-size: 0.95em;
        white-space: normal;  /* 너비가 부족하면 자동 줄바꿈 */
    }
}

.swiper-container {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.swiper-pagination {
    bottom: 20px;
}

/* 공지사항, 대출후기, 상담하기 섹션 */
.content-section {
    overflow: visible;  /* overflow 문제 해결 */
    text-align: center;
    padding: 50px 20px;
}

.content-section h2 {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 30px;
}

.content-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.content-item {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
    transition: background 0.3s;
}

.content-item img {
    display: none;
}

/* 초기 이미지 설정 */
.content-item:nth-child(1) {
    background-image: url('/assets/img/공지사항.png');
}

.content-item:nth-child(2) {
    background-image: url('/assets/img/대출후기.png');
}

.content-item:nth-child(3) {
    background-image: url('/assets/img/상담하기.png');
}

/* Hover 시 이미지 변경 */
.content-item:nth-child(1):hover {
    background-image: url('/assets/img/공지사항_hover.png');
}

.content-item:nth-child(2):hover {
    background-image: url('/assets/img/대출후기_hover.png');
}

.content-item:nth-child(3):hover {
    background-image: url('/assets/img/상담하기_hover.png');
}


.content-item:hover .content-overlay h3 {
    color: black;
}

.content-item:hover .content-overlay p {
    color: black;
}

.content-item:hover button{
    border: 1px solid black;
    color: black;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.content-overlay h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.content-overlay p {
    font-size: 0.9em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.content-overlay button {
    padding: 10px 20px;
    border: 1px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.content-overlay button:hover {
    background: black;
    color: white;
}

@media (max-width: 768px) {
    .content-grid {
        flex-direction: column;
        align-items: center;
    }

    .content-item {
        width: 90%;
    }
}

/* 채무통합이란? 섹션 */
.debt-section {
    background: url('/assets/img/채무통합_banner.png') no-repeat center center;
    background-size: cover;
    padding: 60px 20px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
}

.debt-content {
    max-width: 800px;
    margin: 0 auto;
}

.debt-content h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.debt-content h3 {
    font-size: 1.4em;
    color: #A4A4A4;
    margin-bottom: 30px;
}

.debt-content p {
    font-size: 1em;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.debt-content p .highlight {
    color: #00cc66;
    font-weight: bold;
}

/* 간편 상담으로 신속한 승인 안내 섹션 */
.step-section {
    text-align: center;
    padding: 50px 20px;
}

.step-section h2 {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 10px;
}

.step-section p {
    font-size: 1em;
    color: #666666;
    margin-bottom: 40px;
}

.step-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.step-item {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

.step-item:hover img {
    transform: scale(1.05); /* Hover 시 이미지 확대 */
}


.step-connector {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-connector img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* JNS AD 브랜드 섹션 */
.brand-section {
    background: url('/assets/img/협력사_배경.png') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

.brand-content {
    max-width: 1200px;
    margin: 0 auto;
}

.brand-section h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.brand-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #ffffff;
}

.brand-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.brand-item {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s, opacity 0.3s;
}

.brand-item:hover img {
    transform: scale(1.1); /* Hover 시 이미지 확대 */
    opacity: 1;
}

@media (max-width: 1024px) {
    .brand-grid {
        gap: 20px;
    }

    .brand-item {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .brand-grid {
        flex-direction: column;
        align-items: center;
    }

    .brand-item {
        width: 80px;
        height: 80px;
    }
}


/* Footer 섹션 */
.footer-section {
    color: #CCCCCC;
    padding: 50px 20px;
    font-size: 0.85em;
    position: relative;
    width: 100%;
    z-index: 3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-logo {
    flex-shrink: 0;
    margin-right: 30px;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-menu {
    margin-top: 35px;
    flex-grow: 1;
    text-align: left;
}

.footer-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    color: #CCCCCC;
    font-size: 0.9em;
    cursor: pointer;
}

/* 텍스트 정렬 */
.footer-text {
    margin-left: 130px;  /* 로고 오른쪽에 가상의 벽 생성 */
    color: #AAAAAA;
    line-height: 1.6;
    font-size: 0.85em;
    text-align: left;
}

.footer-text p {
    margin: 5px 0;
    word-break: keep-all;
}

.footer-text p + p {
    margin-top: 10px;
}

.company-info {
    color: #FFFFFF;
    line-height: 1.6;
    font-size: 0.85em;
    text-align: left;
    padding: 20px 0px;
}

.company-info .company-title {
    color: #CCCCCC;
    font-weight: normal;
    margin-right: 5px;
    display: inline-block;
}

.company-info .company-content {
    color: #FFFFFF;
    font-weight: bold;
    display: inline-block;
}


.footer-text .copyright {
    color: #555555;
    font-size: 0.75em;
    margin-top: 30px;
}

/* 반응형 적용 */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        margin-bottom: 0;
        /*align-items: center;*/
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-text {
        margin-left: 0;
        text-align: center;
    }
}


/*모바일*/
/* 반응형 모바일 전용 스타일 */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        position: fixed;
        background: rgba(0, 0, 0, 0.1);
        justify-content: flex-start;
        height: 50px;
        padding: 10px 5px;
    }

    /* 로고 왼쪽 정렬 */
    .logo img {
        height: 60px;
        margin-right: auto;
    }

    /* 햄버거 메뉴 아이콘 */
    .hamburger-menu {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 30px;  /* 위치 조정 */
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }

    .hamburger-menu img {
        width: 24px;
        height: 24px;
    }

    /* 모바일 메뉴 */
    .nav-menu {
        display: none;  /* 기본적으로 숨김 */
    }

    /* 모바일 메뉴 활성화 시 */
    .nav-menu.active {
        border-radius: 10px;
        display: block;
        position: fixed;
        top: 70px;
        left: 0px;
        width: calc(100% - 20px);
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        z-index: 99;
        height: auto;
        max-height: max-content;
    }

    .nav-menu.active ul {
        display: block;
        margin: 0;
        padding: 20px 0;
        height: auto;
    }

    .nav-menu.active ul li {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        color: #fff;
        font-size: 16px;
        line-height: 1.4;
        display: inline-block;
        margin-bottom: 15px;
        min-height: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        word-break: keep-all;
        white-space: normal;
        transition: all 0.3s ease;
        overflow: hidden;
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    .nav-menu.active ul li:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .nav-menu.active ul li .char {
        display: inline-block;
        transform-origin: center;
    }

    /* Swiper Container */
    .swiper-container {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
        height: 70vh;
    }

    .swiper-slide {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }

    .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: none; /* 기본 이미지는 숨김 */
    }

    /* 모바일 전용 배경 이미지 적용 */
    .swiper-slide:nth-child(1) {
        background: url('/assets/img/mobile/banner1_mobile.png') no-repeat center center;
        background-size: cover;
    }

    .swiper-slide:nth-child(2) {
        background: url('/assets/img/mobile/banner2_mobile.png') no-repeat center center;
        background-size: cover;
    }

    .swiper-slide:nth-child(3) {
        background: url('/assets/img/mobile/banner3_mobile.png') no-repeat center center;
        background-size: cover;
    }

    /* Swiper Pagination */
    .swiper-pagination {
        bottom: 300px !important;
        text-align: center !important;
    }

    .content-section h2 {
        font-size: 1.4em;
        color: #003366;
        margin-bottom: 30px;
    }

    /* 채무통합이란? 섹션 */
    .debt-section {
        background: url('/assets/img/mobile/채무통합_banner_mobile.png');
        background-size: cover;
        padding: 75px 20px;
        text-align: center;
        color: #FFFFFF;
        position: relative;
    }

    .debt-content {
        margin: 55px auto;
    }

    .debt-content h2 {
        font-size: 1.3em;
    }

    .debt-content h3 {
        font-size: 1.0em;
    }

    .debt-content p {
        font-size: 1.0em;
    }

    .step-section h2 {
        font-size: 1.4em;
    }

    .step-section p{
        font-size: 0.8em;
    }

    /* 브랜드 섹션 모바일 배경 */
    .brand-section {
        background: url('/assets/img/협력사_배경_mobile.png') no-repeat center center;
        background-size: cover;
    }

    /* 브랜드 섹션 내부 여백 및 텍스트 정렬 */
    .brand-section {
        padding: 40px 10px;
        text-align: center;
    }

    .brand-section h2 {
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    .brand-section p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 브랜드 그리드 2열 정렬 */
    .brand-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }

    /* 브랜드 아이템 크기 조정 */
    .brand-item {
        width: 120px;
        height: 120px;
    }

    /* 모바일 전용 brand-item 이미지 설정 */
    .brand-item:nth-child(1) img {
        content: url('/assets/img/mobile/TI_icon_mobile.png');
    }

    .brand-item:nth-child(2) img {
        content: url('/assets/img/mobile/채무조정_지원센터_icon_mobile.png');
    }

    .brand-item:nth-child(3) img {
        content: url('/assets/img/mobile/YJC_icon_mobile.png');
    }

    .brand-item:nth-child(4) img {
        content: url('/assets/img/mobile/에이스금융대부_icon_mobile.png');
    }

    .brand-item:nth-child(5) img {
        content: url('/assets/img/mobile/요정론_icon_mobile.png');
    }

    .brand-item:nth-child(6) img {
        content: url('/assets/img/mobile/나비론_icon_mobile.png');
    }

    .brand-item:nth-child(7) img {
        content: url('/assets/img/mobile/통대환박사_icon_mobile.png');
    }

    .brand-item img {
        max-width: 90%;
        max-height: 90%;
    }

    /* 마지막 줄 가운데 정렬 */
    .brand-grid:last-child {
        justify-items: center;
    }

    /* Footer 섹션 전체 */
    .footer-section {
        padding: 30px 15px;
    }

    .footer-container {
        max-width: 100%;
    }

    /* 로고 중앙 정렬 및 크기 조정 */
    .footer-logo {
        text-align: center;
        width: 100%;
        margin: 0 auto 20px;
    }

    .footer-logo img {
        width: 120px;
        height: auto;
    }

    /* 메뉴 항목 중앙 정렬 및 세로 배치 */
    .footer-menu {
        text-align: left;
        margin: 20px 15px;
        font-weight: bold;
    }

    .footer-menu ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 0;
    }

    .footer-menu ul li {
        color: #CCCCCC;
        font-size: 0.8em;
        font-width: 900;
        cursor: pointer;
    }

    /* 텍스트 섹션 중앙 정렬 */
    .footer-text {
        margin-left: 0;
        color: #CCCCCC;
        line-height: 1.5;
        font-size: 0.9em;
        text-align: left;
        padding: 0 15px;
    }

    .footer-text p {
        margin: 20px 0;
        word-break: keep-all;
        font-weight: normal;
    }

    .company-info-p-tag{
        margin: 15px 0 !important;
    }

    /* 마지막 copyright 스타일 */
    .footer-text .copyright {
        text-align: center;
        color: #777777;
        font-size: 0.7em;
        margin-top: 20px;
    }

    /* 스텝 섹션 모바일 스타일 */
    .step-grid {
        flex-direction: column;
        align-items: center;
        gap: 0;  /* 간격 제거 */
    }

    .step-connector {
        width: 30px;
        height: 30px;
        margin: 10px 0;  /* 상하 여백 추가 */
    }

    .step-connector img {
        transform: rotate(90deg);  /* 화살표를 90도 회전하여 아래 방향으로 */
        width: 20px;
        height: 20px;
    }

    .step-item {
        margin: 10px 0;  /* 아이템 간 여백 추가 */
    }
}

/* 헤더 고정 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;  /* 다른 요소들 위에 표시 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);  /* 그림자 효과 */
}

/* 헤더 아래 컨텐츠 여백 조정 */
.financial-visual,
.company-visual {
    margin-top: 80px;  /* 헤더 높이만큼 여백 추가 */
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
    .header {
        position: fixed;  /* 모바일에서도 고정 */
    }

    .financial-visual,
    .company-visual {
        margin-top: 60px;  /* 모바일 헤더 높이에 맞춰 조정 */
    }
}

/* 비디오 배경 스타일 */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.background-video,
#videoFallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.background-video {
    z-index: 1;
}

#videoFallback {
    z-index: 2;
    transition: opacity 0.5s;
    background: #000;
}

/* 기존 컨텐츠가 비디오 위에 보이도록 z-index 조정 */
.main-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* 히어로 섹션 */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 100px 20px;
}

/* 타이틀 컨테이너 */
.title-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    font-size: 48px;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.sub-title {
    font-size: 24px;
    color: #FFFFFF;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.description {
    font-size: 18px;
    color: #FFFFFF;
    font-weight: normal;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* 로고 애니메이션 컨테이너 */
.logo-animation-container {
    width: 450px;
    height: 450px;
    perspective: 1000px;
    margin: 40px auto;
}

.logo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 2s;
}

.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    backface-visibility: hidden;
    transition: opacity 0.5s;
}

.logo-img:nth-child(2) {
    opacity: 0;
}

/* 소셜 미디어 아이콘 컨테이너 */
.social-icons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-icon a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #FFB800;
    gap: 8px;
}

.social-icon img {
    background: #FFFFFF;
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 50%;
    padding: 10px;
    transition: all 0.3s ease;
}

.social-icon span {
    font-size: 12px;
    color: #FFB800;
    font-weight: 500;
}

.social-icon:hover img {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Tokenomics 섹션 */
.tokenomics-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.tokenomics-title {
    color: #FFB800;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.tokenomics-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.network-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 12px 24px;
    color: #FFFFFF;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.network-badge img {
    width: 24px;
    height: 24px;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 20px;
    color: #FFFFFF;
    font-size: 14px;
}

.supply-info {
    color: #FFB800;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}

.contract-address {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 12px 24px;
    color: #FFB800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto 40px;
    width: fit-content;
    min-width: 300px;
}

.contract-address .address-label {
    font-weight: bold;
    color: #FFB800;
    white-space: nowrap;
}

.contract-address .address-text {
    margin: 0 10px;
    text-align: center;
}

.contract-address .copy-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contract-address.copied {
    background: rgba(255, 184, 0, 0.2);
    animation: copyFlash 1s ease;
}

@keyframes copyFlash {
    0% {
        background: rgba(255, 184, 0, 0.4);
    }
    50% {
        background: rgba(255, 184, 0, 0.2);
    }
    100% {
        background: rgba(255, 255, 255, 0.1);
    }
}

.contract-address:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px;
        min-height: 100vh;
        justify-content: flex-start;
    }

    .title-container {
        margin-top: 60px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-title {
        font-size: 28px;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }

    .sub-title {
        font-size: 16px;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }

    .contract-address {
        width: 100%;
        max-width: 300px;
        padding: 10px;
        margin: 15px auto;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contract-address .address-label {
        font-size: 13px;
        color: #FFB800;
        font-weight: bold;
        margin-right: 8px;
        white-space: nowrap;
    }

    .contract-address .address-text {
        font-size: 13px;
        color: #FFB800;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
        flex: 1;
        min-width: 0;
    }

    .contract-address .copy-icon {
        width: 16px;
        height: 16px;
        margin-left: 8px;
        flex-shrink: 0;
        cursor: pointer;
    }

    .description {
        font-size: 14px;
        line-height: 1.6;
        margin: 15px auto;
        width: 100%;
        text-align: center;
        word-break: keep-all;
        padding: 0 10px;
    }

    .logo-animation-container {
        width: 280px;
        height: 280px;
        margin: 30px auto;
    }

    .social-icons-container {
        width: 100%;
        gap: 15px;
        padding: 0;
        margin-top: 30px;
        justify-content: center;
    }

    .background-video {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 영역을 꽉 채우면서 비율 유지 */
        object-position: center; /* 중앙 정렬 */
        position: absolute;
        top: 0;
        left: 0;
        transform: none; /* 기존 transform 제거 */
    }
}

/* 복사 완료 알림 스타일 */
.copy-alert {
    position: fixed;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(35, 47, 255, 0.3);
    box-shadow: 0 0 10px #232FFF,
                0 0 20px rgba(35, 47, 255, 0.5);
}

/* PC 버전 - 오른쪽 상단에 표시 */
@media (min-width: 769px) {
    .copy-alert {
        top: 20px;
        right: 20px;
    }
}

/* 모바일 버전 - 상단 중앙에 표시 */
@media (max-width: 768px) {
    .copy-alert {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        justify-content: center;
    }
}

/* 복사 알림 표시 애니메이션 */
.copy-alert.show {
    opacity: 1;
}

/* 체크 아이콘 스타일 */
.copy-alert::before {
    content: '✓';
    color: #232FFF;
    font-weight: bold;
    font-size: 16px;
}

.visit-count{
    font-size: 20px;
    color: greenyellow;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .visit-count{
        font-size: 12px;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
}
