/* ============================================
   REVENUE SECTION STYLES
   ============================================ */

@font-face {
    font-family: 'GmarketSans';
    src: url('https://cdn.jsdelivr.net/gh/fontbee/font@main/Gmarket/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

.revenue-showcase {
    position: relative;
    width: 100%;    
    background: 
        radial-gradient(circle at 0 0, #fff7dc 1px, transparent 1px),
        radial-gradient(circle at 20px 20px, #fff7dc 1px, transparent 1px),
        linear-gradient(45deg, transparent 48%, #faf0ce 29%, #faf0ce 51%, transparent 22%),
        linear-gradient(-45deg, transparent 48%, #faf0ce 29%, #faf0ce 51%, transparent 22%),
        #fffeea;
    background-size: 40px 40px, 40px 40px, 20px 20px, 20px 20px;
    background-position: 0 0, 20px 20px, 0 0, 0 0;
    overflow: hidden;
    min-height: 100vh;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.background-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../img/dot.png') top left;
    z-index: 2;
    pointer-events: none;
}

.background-video > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-video iframe,
.background-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    border: none;
}

.sliding-banner {
    position: relative;
    width: 100%;
    height: 140px;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 2px, transparent 2px),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%),
        #e93c1a;
    background-size: 20px 20px, 20px 20px, 40px 40px;
    padding-top:10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 10;
}

.banner-container {
    display: flex;
    animation: slideLeft 60s linear infinite;
    white-space: nowrap;
    width: 200%; /* 두 배로 늘려서 복제된 내용이 들어갈 공간 확보 */
    will-change: transform;
}

.banner-item {
    display: inline-block;
    color: #fff;
    font-family: 'GmarketSans';
    font-size: 32px;
    font-weight: 300;
    margin-right: 50px;
    padding: 0 20px;
}

.banner-item .highlight {
    color: #fad59c;
    font-weight: 700;
}

.main-content {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 50px;
    text-align: center;
    z-index: 10;
}

.floating-content {
    position: relative;
    z-index: 10;
}

.revenue-section-title {
    margin-top: 60px;
    margin-bottom: 80px;
}

.revenue-title-line {
    font-family: 'GmarketSans';
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.revenue-title-line-large {
    font-size: 57px;
    font-weight: 900;
}

.revenue-title-line-small {
    font-size: 28px;
    font-weight: 500;
}

.revenue-title-line .underline {
    position: relative;
    display: inline-block;
}

.revenue-title-line .underline::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fad59c;
}

.revenue-stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 100px;
    position: relative;
}

.revenue-stats-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 80%;
    background: rgba(255,255,255,0.3);
    z-index: 1;
}

.revenue-stats-box {
    background: transparent;
    border: none;
    padding: 40px 30px;
    min-width: 200px;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.revenue-stats-item {
    font-family: 'GmarketSans';
    color: #fff;
    margin-bottom: 15px;
}

.revenue-stats-item i {
    font-size: 48px;
    color: #e98f1a;
    margin-bottom: 20px;
}

/* 제목 (누적매출, 월 최고매출) */
.revenue-stats-item:nth-child(2) {
    font-size: 42px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
}

/* 숫자 (32억!, 1억7천!) */
.revenue-stats-item:nth-child(3) {
    font-size: 82px;
    font-weight: 700;
    color: #e98f1a;
    margin-bottom: 10px;
}

/* 설명 (홍대점 · 16평 · 24개월 누적) */
.revenue-stats-item:last-child {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
}

.revenue-analysis-section {
    position: relative;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px 150px;
    margin: 0 auto;
    z-index: 10;
}

.revenue-analysis-section .revenue-store-image {
    position: absolute;
    top: -200px;
    left: 50%;
    margin-left: -370px;
    z-index: 10;
    width: auto;
    height: auto;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.revenue-analysis-section .revenue-store-image img {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    position: static !important;
    object-fit: initial !important;
    display: block !important;
}

.revenue-analysis-section .revenue-final-message {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding-top: 400px;
}

.revenue-final-message .revenue-message-list {
    width: 100%;
}

.revenue-final-message .revenue-message-item {
    text-align: center;
    font-family: 'GmarketSans';
    margin: 0 auto;
    line-height: 1.5;
}

/* First line - large bold black */
.revenue-final-message .revenue-message-item:nth-child(1) {
    font-size: 48px;
    font-weight: 700;
    color: #e93c1a;
    margin-bottom: 10px;
}

.revenue-final-message .revenue-message-item:nth-child(1) .bold {
    font-weight: 700;
    font-size: 48px;
}

/* Second line - extra large bright green bold */
.revenue-final-message .revenue-message-item:nth-child(2) {
    font-weight: 700;
    font-size: 64px;
    color: #00c853;
    margin-bottom: 10px;
}

/* Third line - medium black */
.revenue-final-message .revenue-message-item:nth-child(3) {
    font-weight: 400;
    font-size: 24px;
    color: #000;
}

/* Animations */
@keyframes slideRight {
    0% { transform: translate3d(-100%, 0, 0); }
    100% { transform: translate3d(0%, 0, 0); }
}

/* Right-to-left sliding */
@keyframes slideLeft {
    0% { transform: translate3d(0%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Desktop styles */
@media (min-width: 751px) {
    .background-video {
        height: 1050px;
    }
    
    .background-video iframe,
    .background-video video {
        height: 1050px;
        min-height: 1050px;
    }
}

/* Mobile responsive styles */
@media (max-width: 750px) {
    .background-video {
        height: 600px !important;
    }
    
    /* 모바일에서 비디오 풀화면 설정 - hero-section 방식 적용 */
    .background-video > div,
    .background-video div[data-vbg],
    .background-video iframe,
    .background-video video,
    .background-video embed,
    .background-video object,
    .background-video .vbg-video,
    .background-video .vbg-container,
    .background-video .vbg-video-wrapper {
        height: 600px !important;
        width: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: scale(1.2) !important;
    }
    
    .background-video iframe {
        width: 178vh !important;
        left: 50% !important;
        transform: translateX(-50%) scale(1.2) !important;
    }
    
    .main-content {
        padding: 50px 20px;
    }
    
    .revenue-section-title {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    /* 모바일 sliding-banner 설정 */
    .sliding-banner {
        height: 100px;
    }
    
    .banner-item {
        font-size: 24px;
    }
    
    .banner-container {
        animation: slideLeft 10s linear infinite;
    }
    
    .revenue-title-line {
        line-height: 1.3;
    }
    
    .revenue-title-line-large {
        font-size: 28px;
    }
    
    .revenue-title-line-small {
        font-size: 16px;
    }
    
    .revenue-stats-container {
        flex-direction: row;
        gap: 20px;
    }
    
    .revenue-stats-container::after {
        display: block;
    }
    
    .revenue-stats-box {
        padding: 30px 20px;
    }
    
    .revenue-stats-item:nth-child(2) {
        font-size: 16px !important;
    }
    
    .revenue-stats-item:nth-child(3) {
        font-size: 28px !important;
    }
    
    .revenue-stats-item:last-child {
        font-size: 12px !important;
    }
    
    .revenue-analysis-section {
        padding: 0 20px 80px;
        width: 100%;
        max-width: 100%;
    }
    
    .revenue-analysis-section .revenue-store-image {
        position: static;
        top: auto;
        left: auto;
        margin-left: 0;
        margin-bottom: 40px;
        width: 100%;
        text-align: center;
        height: auto;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
    }
    
    .revenue-analysis-section .revenue-store-image img {
        width: 90% !important;
        height: auto !important;
        max-width: 100% !important;
        position: static !important;
        object-fit: initial !important;
        display: block !important;
        margin: 0 auto;
    }
    
    .revenue-analysis-section .revenue-final-message {
        position: static;
        padding-top: 0;
        width: 100%;
        margin-top: 0;
    }
    
    .revenue-title-line-large {
        font-size: 24px;
    }
    
    .revenue-title-line-small {
        font-size: 14px;
    }
    
    .revenue-stats-item:nth-child(2) {
        font-size: 14px !important;
    }
    
    .revenue-stats-item:nth-child(3) {
        font-size: 24px !important;
    }
    
    .revenue-stats-item:last-child {
        font-size: 10px !important;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(1) {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(1) .bold {
        font-size: 18px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(2) {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(3) {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .background-video {
        height: 600px !important;
    }
    
    /* 모바일 sliding-banner 설정 */
    .sliding-banner {
        height: 100px;
    }
    
    .banner-item {
        font-size: 22px;
    }
    
    .banner-container {
        animation: slideRight 10s linear infinite;
    }
    
    .revenue-stats-container {
        flex-direction: row;
        gap: 15px;
    }
    
    .revenue-stats-container::after {
        display: block;
    }
    
    .revenue-stats-box {
        padding: 25px 15px;
    }
    
    .revenue-section-title {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .background-video > div,
    .background-video div[data-vbg],
    .background-video iframe,
    .background-video video,
    .background-video embed,
    .background-video object,
    .background-video .vbg-video,
    .background-video .vbg-container,
    .background-video .vbg-video-wrapper {
        height: 600px !important;
        width: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: scale(1.2) !important;
    }
    
    .background-video iframe {
        width: 178vh !important;
        left: 50% !important;
        transform: translateX(-50%) scale(1.2) !important;
    }
    
    .revenue-analysis-section {
        width: 100%;
        max-width: 100%;
        padding: 0 15px 60px;
    }
    
    .revenue-analysis-section .revenue-store-image {
        position: static;
        top: auto;
        left: auto;
        margin-left: 0;
        margin-bottom: 30px;
        width: 100%;
        height: auto;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
    }
    
    .revenue-analysis-section .revenue-store-image img {
        width: 90% !important;
        height: auto !important;
        max-width: 100% !important;
        position: static !important;
        object-fit: initial !important;
        display: block !important;
        margin: 0 auto;
    }
    
    .revenue-analysis-section .revenue-final-message {
        position: static;
        padding-top: 0;
        width: 100%;
        margin-top: 0;
    }
    
    .revenue-title-line-large {
        font-size: 20px;
    }
    
    .revenue-title-line-small {
        font-size: 12px;
    }
    
    .revenue-stats-item:nth-child(2) {
        font-size: 12px !important;
    }
    
    .revenue-stats-item:nth-child(3) {
        font-size: 20px !important;
    }
    
    .revenue-stats-item:last-child {
        font-size: 9px !important;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(1) {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(1) .bold {
        font-size: 14px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(2) {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(3) {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .background-video {
        height: 600px !important;
    }
    
    /* 모바일 sliding-banner 설정 */
    .sliding-banner {
        height: 100px;
    }
    
    .banner-item {
        font-size: 20px;
    }
    
    .banner-container {
        animation: slideRight 10s linear infinite;
    }
    
    .revenue-stats-container {
        flex-direction: row;
        gap: 10px;
    }
    
    .revenue-stats-container::after {
        display: block;
    }
    
    .revenue-stats-box {
        padding: 20px 10px;
    }
    
    .revenue-section-title {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .background-video > div,
    .background-video div[data-vbg],
    .background-video iframe,
    .background-video video,
    .background-video embed,
    .background-video object,
    .background-video .vbg-video,
    .background-video .vbg-container,
    .background-video .vbg-video-wrapper {
        height: 600px !important;
        width: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: scale(1.2) !important;
    }
    
    .background-video iframe {
        width: 178vh !important;
        left: 50% !important;
        transform: translateX(-50%) scale(1.2) !important;
    }
    
    .revenue-analysis-section {
        width: 100%;
        max-width: 100%;
        padding: 0 10px 50px;
    }
    
    .revenue-analysis-section .revenue-store-image {
        position: static;
        top: auto;
        left: auto;
        margin-left: 0;
        margin-bottom: 25px;
        width: 100%;
        height: auto;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
    }
    
    .revenue-analysis-section .revenue-store-image img {
        width: 90% !important;
        height: auto !important;
        max-width: 100% !important;
        position: static !important;
        object-fit: initial !important;
        display: block !important;
        margin: 0 auto;
    }
    
    .revenue-analysis-section .revenue-final-message {
        position: static;
        padding-top: 0;
        width: 100%;
        margin-top: 0;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(1) {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(1) .bold {
        font-size: 12px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(2) {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .revenue-final-message .revenue-message-item:nth-child(3) {
        font-size: 10px;
    }
}
