/* 기본 설정 및 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GPU 가속 및 부드러운 전환을 위한 전역 최적화 */
*,
*::before,
*::after {
    backface-visibility: hidden;
    perspective: 1000;
    transform-style: preserve-3d;
}

/* 부드러운 전환을 위한 기본 transition */
.smooth-transition,
.cta-button,
.feature-card,
.review-card,
.betting-slide,
.instant-consultation-box {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

/* 스크롤 최적화 */
.scroll-optimized {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
}

/* 스크롤 성능 최적화 */
html {
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
    height: 100%;
    scrollbar-gutter: stable;
}

/* Webkit 스크롤바 스타일링 */
::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    border: none;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 217, 255, 0.5);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* 모든 요소 스크롤 및 애니메이션 최적화 */
*, *::before, *::after {
    max-width: 100vw;
    box-sizing: border-box;
}

/* 애니메이션 최적화 */
[class*="animate"], 
[class*="scale"],
[class*="transform"],
.instant-consultation-box,
.hero-section,
.features-section,
.betting-history-section,
.reviews-section,
.cta-section {
    transform-origin: center center;
    will-change: transform, opacity;
    contain: layout style paint;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* 섹션별 오버플로우 제어 */
section {
    overflow: visible;
    contain: layout style paint;
    isolation: isolate;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    position: relative;
    will-change: auto;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    min-height: 100vh;
    scroll-behavior: smooth;
    will-change: scroll-position;
    backface-visibility: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 217, 255, 0.3) transparent;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(0, 0, 0);
}

/* 스크롤바 공간 예약으로 깜빡임 방지 */
body {
    margin-right: calc(100vw - 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 애니메이션 정의 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 히어로섹션 전용 애니메이션 */
@keyframes heroTitleSlide {
    0% {
        opacity: 0;
        transform: translate3d(0, -50px, 0) scale(0.8);
    }
    70% {
        opacity: 0.8;
        transform: translate3d(0, 10px, 0) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

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

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

@keyframes heroButtonBounce {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.3);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05);
    }
    70% {
        transform: translateY(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
    }
    50% {
        text-shadow: 0 4px 30px rgba(0, 217, 255, 0.6);
    }
}

/* 타이핑 효과 */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-title::after {
    content: '|';
    color: #00d9ff;
    font-weight: 100;
    animation: blink 1s infinite;
}

.hero-title.typing-complete::after {
    display: none;
}

.hero-title.typing-complete {
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: var(--target-width);
    }
}

/* 헤더 영역 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('images/히어로섹션.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 20, 40, 0.8) 100%);
    z-index: 0;
}

.nav-bar {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    padding: 0 50px;
    z-index: 10;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #00d9ff;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    animation: fadeIn 1s ease-out;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00d9ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
    line-height: 1.2;
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 2.4em;
    will-change: transform, opacity;
}

.hero-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #e0e0e0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.hero-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: #b0b0b0;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.6s;
}

.hero-description.animate {
    opacity: 1;
    transform: translateY(0);
}

/* CTA 버튼 */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* 히어로섹션 CTA 버튼 - 애니메이션 제거 */
.hero-cta {
    opacity: 1;
}

.cta-button:hover {
    transform: translate3d(0, -4px, 0) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.5);
    animation: pulse 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover:before {
    left: 100%;
}

/* 섹션 공통 스타일 */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #00d9ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
    animation: sectionTitleSlide 0.8s ease-out forwards;
}

/* 섹션별 텍스트 애니메이션 */
@keyframes sectionTitleSlide {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

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

.animate-text-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animate-text-left.animate {
    opacity: 1;
    transform: translateX(0);
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.animate-text-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-text-right.animate {
    opacity: 1;
    transform: translateX(0);
    animation: slideInFromRight 0.8s ease-out forwards;
}

.animate-fade-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.animate-fade-scale.animate {
    opacity: 1;
    transform: scale(1);
    animation: fadeInScale 0.8s ease-out forwards;
}

/* 전략 추천 섹션 */
.strategy-section {
    background: url('images/오늘의추천전략섹션.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    min-height: 600px;
}

.strategy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.strategy-section .container {
    position: relative;
    z-index: 1;
}

.match-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.match-card {
    flex: 0 0 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

.match-card:nth-child(2) {
    animation-delay: 0.2s;
}

.match-card:nth-child(3) {
    animation-delay: 0.4s;
}

.match-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
    border-color: #00d9ff;
}

.match-time {
    color: #00d9ff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag {
    font-size: 1.5rem;
}

.team-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.vs {
    font-weight: 700;
    color: #00d9ff;
    font-size: 1.2rem;
}

.odds {
    color: #b0b0b0;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.strategy {
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.probability-badge {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

/* 결과 섹션 */
.results-section {
    background: 
        url('images/전략시스템섹션.jpg') no-repeat center center,
        linear-gradient(45deg, rgba(30, 30, 30, 0.9) 25%, transparent 25%, transparent 75%, rgba(30, 30, 30, 0.9) 75%),
        linear-gradient(-45deg, rgba(30, 30, 30, 0.9) 25%, transparent 25%, transparent 75%, rgba(30, 30, 30, 0.9) 75%),
        linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    background-size: cover, 60px 60px, 60px 60px, 100% 100%;
    background-position: center center, 0 0, 30px 30px, 0 0;
    position: relative;
    min-height: 600px;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.results-section .container {
    position: relative;
    z-index: 1;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 1; /* 기본적으로 보이게 변경 */
    transform: translateY(0); /* 기본 위치로 변경 */
    animation: fadeInUp 0.8s ease; /* 바로 애니메이션 적용 */
}

.result-card.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: fadeInUp 0.8s ease !important;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.result-date {
    color: #00d9ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-strategy {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-profit {
    color: #00ff88;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-status.success {
    color: #00ff88;
    font-weight: 600;
    margin-bottom: 20px;
}

.profit-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.profit-fill {
    height: 100%;
    background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
    border-radius: 4px;
    animation: progressBar 1.5s ease-out;
}

/* 기능 소개 섹션 */
.features-section {
    background: url('images/기능소개섹션.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    min-height: 600px;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 20, 40, 0.8) 0%, rgba(10, 30, 60, 0.8) 100%),
        radial-gradient(circle at 30% 70%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 200, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    will-change: transform, opacity;
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.feature-icon {
    width: 250px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #00d9ff;
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.4);
    background: #fff;
    padding: 8px;
    transition: all 0.3s ease;
    cursor: default !important;
    pointer-events: none !important;
}

.feature-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 10px;
    transition: transform 0.3s ease;
    background: #f8f9fa;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: default !important;
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.feature-icon img[src*=".png"], 
.feature-icon img[src*=".jpg"] {
    max-width: 100%;
    max-height: 100%;
}

/* 전략시스템 이미지 호버 효과 비활성화 */
.feature-icon:hover {
    transform: none !important;
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.4) !important;
}

.feature-icon:hover img {
    transform: none !important;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00d9ff;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.8;
}

/* 후기 섹션 */
.reviews-section {
    background: 
        url('images/후기섹션.jpg') no-repeat center center,
        radial-gradient(circle at 20% 80%, rgba(40, 60, 40, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(60, 80, 60, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #1a1f1a 0%, #2a2f2a 50%, #1a1f1a 100%);
    background-size: cover, 100% 100%, 100% 100%, 100% 100%;
    position: relative;
    min-height: 600px;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.reviews-section .container {
    position: relative;
    z-index: 1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.review-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translate3d(0, -6px, 0) scale(1.02);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.review-user {
    color: #00d9ff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-text {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.review-profit {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.2rem;
}

/* CTA 섹션 */
.cta-section {
    background: 
        url('images/CTA섹션.jpg') no-repeat center center,
        radial-gradient(circle at 30% 40%, rgba(120, 80, 200, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(80, 200, 160, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #2a1f3d 0%, #1f3d32 50%, #3d1f2a 100%);
    background-size: cover, 100% 100%, 100% 100%, 100% 100%;
    text-align: center;
    padding: 120px 0;
    position: relative;
    min-height: 600px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(100, 200, 255, 0.05) 0%, transparent 70%),
        rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* CTA 옵션 레이아웃 */
/* 즉시 상담 박스 (중앙 배치) */
.instant-consultation-box {
    max-width: 600px;
    margin: 50px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.instant-consultation-box:hover {
    transform: translate3d(0, -3px, 0) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
}

.instant-consultation-box h3 {
    color: #00d9ff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.instant-consultation-box p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

.cta-option {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cta-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
    border-color: #00d9ff;
}

.cta-option h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d9ff;
    margin-bottom: 15px;
}

.cta-option p {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* 즉시 상담 세부 정보 */
.instant-details {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    text-align: center;
    width: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.detail-item:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.4);
    transform: translate3d(0, -2px, 0) scale(1.01);
}

.detail-icon {
    font-size: 1.5rem;
    margin: 0 auto 8px;
    min-width: 30px;
    display: block;
    text-align: center;
    width: 100%;
}

.detail-content {
    flex: 1;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.detail-content strong {
    display: block;
    color: #00d9ff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.detail-content p {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* 즉시 상담 버튼 위치 조정 */
.instant-chat {
    margin-top: 25px;
    width: 100%;
    text-align: center;
    padding: 16px 30px;
}

/* 상담 신청 폼 스타일 */
.consultation-form {
    text-align: left;
    margin-top: 20px;
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.consultation-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.form-group input::placeholder,
.consultation-form textarea::placeholder {
    color: #888;
}

.form-group select option {
    background: #2a2a2a;
    color: #ffffff;
}

.consultation-form textarea {
    resize: vertical;
    margin-bottom: 25px;
}

/* 버튼 스타일 차별화 */
.instant-chat {
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
}

.consultation-submit {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    width: 100%;
    margin-top: 10px;
}

.instant-chat:hover {
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.4);
}

.consultation-submit:hover {
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.4);
}

/* 실제 배팅내역 섹션 */
.betting-history-section {
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
    min-height: auto;
    overflow: visible;
    padding: 100px 0;
}

.betting-history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.betting-history-section .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 슬라이드 컨테이너 */
.betting-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 80px;
    overflow: hidden;
    padding: 0 100px;
}

.betting-slider {
    display: flex !important;
    gap: 20px;
    width: 100% !important;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: visible;
    padding: 10px 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.betting-slide {
    flex: 0 0 calc(33.333% - 15px) !important;
    min-width: 280px !important;
    background: transparent;
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    overflow: hidden;
    height: fit-content;
    min-height: auto;
    padding: 0;
}

.betting-slide:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
}

.betting-slide-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 18px;
    margin: 0;
    background: #333;
    display: block !important;
}

.betting-slide-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
    /* 고품질 이미지 렌더링 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: bicubic;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
}

/* 홈페이지 배팅 이미지 특별 품질 개선 */
.betting-slide:nth-child(6) .betting-slide-image img,
.betting-slide:nth-child(7) .betting-slide-image img,
.betting-slide:nth-child(8) .betting-slide-image img {
    /* PNG 파일 고품질 렌더링 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    
    /* 화질 개선 필터 */
    filter: contrast(1.15) brightness(1.08) saturate(1.15) sharpen(1px);
    -webkit-filter: contrast(1.15) brightness(1.08) saturate(1.15);
    
    /* 안티앨리어싱 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* 하드웨어 가속 */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    
    /* 고해상도 디스플레이 최적화 */
    image-orientation: from-image;
}

.betting-slide:hover .betting-slide-image img {
    transform: scale(1.05);
}

.betting-slide:hover .betting-slide-image img {
    transform: scale(1.1);
}

/* 이미지 모달 스타일 - 완전히 숨김 */
.image-modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: -9999 !important;
    background: transparent;
    backdrop-filter: none;
    pointer-events: none !important;
}

.image-modal.active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    animation: none !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    border: 2px solid rgba(0, 217, 255, 0.5);
}

.modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.4);
}

.modal-close:hover {
    background: linear-gradient(135deg, #ff6666 0%, #ff4444 100%);
    transform: scale(1.1);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.9) 0%, rgba(0, 150, 255, 0.9) 100%);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev {
    left: -80px;
}

.modal-next {
    right: -80px;
}

.modal-prev:hover,
.modal-next:hover {
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.6);
}

.modal-info {
    margin-top: 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 15px;
    padding: 20px 30px;
    backdrop-filter: blur(10px);
    min-width: 300px;
}

.modal-date {
    color: #00d9ff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.modal-strategy {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-amount {
    color: #b0b0b0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.modal-return {
    color: #00ff88;
    font-weight: 600;
    font-size: 1.2rem;
}

/* 모달 애니메이션 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 20px;
    }
    
    .modal-prev,
    .modal-next {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-image {
        max-height: 60vh;
    }
    
    .modal-info {
        min-width: auto;
        width: 100%;
        margin-top: 15px;
        padding: 15px 20px;
    }
}

/* 호버 오버레이 완전 제거 */

.betting-info {
    display: none !important;
    visibility: hidden !important;
}

.betting-date {
    color: #00d9ff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.betting-strategy {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.betting-amount {
    color: #b0b0b0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.betting-return {
    color: #00ff88;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 슬라이드 네비게이션 */
.betting-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    pointer-events: none;
    height: 0;
    overflow: visible;
}

.betting-prev-btn,
.betting-next-btn {
    background: linear-gradient(135deg, rgba(0, 217, 255, 1) 0%, rgba(0, 150, 255, 1) 100%);
    border: 2px solid #ffffff;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 25px rgba(0, 217, 255, 0.6),
        0 0 0 3px rgba(255, 255, 255, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.betting-prev-btn {
    left: 10px;
}

.betting-next-btn {
    right: 10px;
}

.betting-prev-btn:hover,
.betting-next-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #00d9ff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(0, 217, 255, 0.8),
        0 0 0 4px rgba(255, 255, 255, 0.8),
        inset 0 2px 15px rgba(0, 217, 255, 0.3);
    border-color: #00d9ff;
}

/* 슬라이드 인디케이터 */
.betting-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.betting-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.betting-dot.active {
    background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.betting-dot:hover:not(.active) {
    background: rgba(0, 217, 255, 0.6);
    transform: scale(1.1);
}

/* 통계 요약 */
.betting-summary {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.betting-summary.animate {
    opacity: 1;
    transform: translateX(0);
}

.summary-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 30px 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 217, 255, 0.2);
    border-color: #00d9ff;
}

.summary-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.summary-label {
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 500;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #00d9ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(50px);
}

.cta-title.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1s ease;
}

.main-cta {
    font-size: 1.4rem;
    padding: 20px 50px;
    opacity: 0;
    transform: translateY(30px);
}

.main-cta.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1s ease 0.3s both;
}

/* 푸터 */
.footer {
    background: #000000;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00d9ff;
    margin-bottom: 15px;
}

.footer-item {
    margin-bottom: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.footer-label {
    color: #ffffff;
    font-weight: 500;
    margin-right: 5px;
    flex-shrink: 0;
}

.footer-value {
    color: #b0b0b0;
    flex: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #00d9ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.3);
}

/* 법적 링크 섹션 */
.footer-legal {
    margin: 40px 0 30px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.legal-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-link:hover {
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
    transform: translateY(-2px);
}

.legal-notice {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
}

.legal-notice p {
    margin-bottom: 8px;
}

.legal-notice p:first-child {
    color: #999;
    font-weight: 500;
}

.legal-notice p:last-child {
    color: #ff6b6b;
    font-weight: 600;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* 태블릿 대응 */
@media (max-width: 1024px) {
    .betting-slider-container {
        max-width: 900px;
        padding: 0 80px;
    }
    
    .betting-slide {
        flex: 0 0 320px !important;
    }
    
    .betting-slide-image {
        height: 210px;
    }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        animation: heroTitleSlide 1.2s ease-out 0.3s both;
        min-height: 2em;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        animation: heroSubtitleSlide 1s ease-out 0.8s both;
    }

    .hero-description {
        font-size: 1.1rem;
        animation: heroDescriptionFade 0.8s ease-out 1.3s both;
    }

    .hero-cta {
        opacity: 1;
    }

    .section-title {
        font-size: 2.2rem;
        line-height: 1.3;
        word-break: keep-all;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* WINFLOW 전략시스템 제목 특별 처리 */
    .features-section .section-title {
        font-size: 1.8rem;
        line-height: 1.4;
        white-space: normal;
        word-break: keep-all;
        text-align: center;
        margin-bottom: 60px;
    }
    
    /* 실제 배팅 내역 섹션 제목 모바일 최적화 */
    .betting-history-section .section-title {
        font-size: 1.7rem;
        line-height: 1.4;
        white-space: normal;
        word-break: keep-all;
        text-align: center;
        padding: 0 15px;
        overflow: visible;
        text-overflow: initial;
    }

    .nav-bar {
        padding: 0 20px;
    }

    .logo {
        font-size: 24px;
    }

    .match-slider {
        gap: 20px;
    }

    .match-card {
        flex: 0 0 280px;
        padding: 20px;
    }

    .results-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
    }
    
    .feature-card {
        min-height: 300px;
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 200px;
        height: 140px;
        margin: 0 auto 20px;
        padding: 5px;
    }

    /* 모바일에서 기능 모달 스타일 조정 */
    .feature-modal .modal-overlay {
        padding: 0;
        width: 100vw;
        height: 100vh;
    }
    
    .feature-modal .modal-content {
        max-width: 98vw;
        max-height: 98vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-modal .modal-image {
        max-width: 95vw;
        max-height: 70vh;
        margin: 0 auto;
    }
    
    .feature-modal .modal-info {
        display: none !important;
        /* 전략시스템 이미지 모달에서는 이미지만 표시 */
    }
    
    .feature-modal .modal-prev {
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .feature-modal .modal-next {
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .feature-modal .modal-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .feature-modal-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .feature-modal-description {
        font-size: 14px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-details {
        margin: 0;
        max-width: 100%;
        padding: 0 20px;
        text-align: left;
    }
    
    .footer-item {
        font-size: 0.8rem;
        margin-bottom: 8px;
        word-break: keep-all;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .footer-label {
        margin-right: 5px;
        margin-bottom: 0;
    }
    
    .footer-value {
        margin-left: 0;
        flex: 1;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    /* 모바일에서는 background-attachment fixed 제거 */
    .hero-section {
        background-attachment: scroll;
    }

    .strategy-section,
    .features-section,
    .results-section,
    .reviews-section,
    .cta-section {
        min-height: 400px;
    }

    /* 모바일 푸터 법적 링크 */
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .legal-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 12px 20px;
    }

    .legal-notice {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .footer-legal {
        margin: 30px 0 20px;
        padding: 20px 0;
    }

    /* CTA 옵션 모바일 대응 */
    .cta-options {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .cta-option {
        padding: 30px 20px;
    }

    .form-group {
        flex-direction: column;
        gap: 15px;
    }

    .cta-option h3 {
        font-size: 1.3rem;
    }

    /* 즉시 상담 세부 정보 모바일 대응 */
    .detail-item {
        flex-direction: column;
        text-align: center;
        padding: 12px;
        margin-bottom: 15px;
    }

    .detail-icon {
        margin-right: 0;
        margin-bottom: 8px;
        font-size: 1.3rem;
    }

    .detail-content strong {
        font-size: 0.95rem;
    }

    .detail-content p {
        font-size: 0.85rem;
    }

    .instant-chat {
        padding: 14px 25px;
        font-size: 1rem;
    }

    /* 배팅내역 섹션 모바일 대응 */
    .betting-history-section {
        padding: 60px 0;
    }
    
    .betting-slider-container {
        max-width: 100%;
        margin: 0 auto 50px;
        padding: 0 60px;
        overflow: hidden;
    }
    
    .betting-slider {
        gap: 15px !important;
    }
    
    .betting-slide {
        flex: 0 0 calc(50% - 10px) !important;
        max-width: none;
        min-width: 250px;
    }
    
    .betting-slide-image {
        height: 200px;
    }
    
    .betting-prev-btn,
    .betting-next-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        border-width: 2px;
        background: rgba(0, 217, 255, 0.9);
        backdrop-filter: blur(10px);
    }
    
    .betting-prev-btn {
        left: 10px;
        z-index: 10;
    }
    
    .betting-next-btn {
        right: 10px;
        z-index: 10;
    }

    .betting-summary {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .summary-card {
        padding: 20px 30px;
    }

    .summary-number {
        font-size: 2.5rem;
    }

    .betting-profit {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    /* 실제 배팅 내역 섹션 부제목 모바일 최적화 */
    .betting-history-section .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        word-break: keep-all;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    
    .betting-slider-dots {
        margin-top: 20px;
        gap: 8px;
    }
    
    .betting-dot {
        width: 10px;
        height: 10px;
    }
}

/* 작은 모바일 대응 */
@media (max-width: 480px) {
    /* WINFLOW 전략시스템 제목 작은 화면 최적화 */
    .features-section .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 10px;
        margin-bottom: 50px;
    }
    
    .feature-modal .modal-overlay {
        padding: 0;
        width: 100vw;
        height: 100vh;
        align-items: center;
        justify-content: center;
    }
    
    .feature-modal .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    
    .feature-modal .modal-image {
        max-width: 98vw;
        max-height: 65vh;
        margin: auto;
        display: block;
    }
    
    /* 전략시스템 이미지 모달에서 모든 텍스트 숨기기 */
    .feature-modal .modal-info,
    .feature-modal-title,
    .feature-modal-description,
    #featureModalTitle,
    #featureModalDescription {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .feature-modal .modal-prev {
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .feature-modal .modal-next {
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .feature-modal .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .feature-modal-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .feature-modal-description {
        font-size: 13px;
        line-height: 1.5;
    }
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    /* 작은 화면 푸터 최적화 */
    .footer-details {
        max-width: 100%;
        padding: 0 15px;
        text-align: left;
    }
    
    .footer-item {
        font-size: 0.75rem;
        margin-bottom: 6px;
        line-height: 1.4;
    }
    
    .footer-label {
        font-size: 0.75rem;
    }
    
    .footer-value {
        font-size: 0.75rem;
        margin-left: 0;
    }
    
    .footer-label {
        margin-right: 4px;
    }

    .match-card {
        flex: 0 0 250px;
        padding: 15px;
    }

    .cta-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    /* 실제 배팅 내역 섹션 제목 모바일 최적화 */
    .betting-history-section .section-title {
        font-size: 1.5rem;
        line-height: 1.4;
        word-break: keep-all;
        white-space: normal;
        text-align: center;
        padding: 0 15px;
    }
    
    /* 실제 배팅 내역 섹션 부제목 작은 모바일 최적화 */
    .betting-history-section .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        word-break: keep-all;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    /* 작은 모바일에서는 1개씩만 표시 - iPhone SE 최적화 */
    .betting-history-section {
        padding: 40px 0;
    }
    
    .betting-slider-container {
        padding: 0 20px;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .betting-slide {
        flex: 0 0 calc(100vw - 80px) !important;
        max-width: 280px !important;
        min-width: 250px !important;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .betting-slide-image {
        height: 160px;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .betting-prev-btn,
    .betting-next-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-width: 2px;
    }
    
    .betting-prev-btn {
        left: 5px;
    }
    
    .betting-next-btn {
        right: 5px;
    }
    
    /* 배팅 정보 텍스트 숨기기 */
    .betting-info {
        display: none !important;
    }
    
    .betting-date,
    .betting-strategy,
    .betting-amount,
    .betting-return {
        display: none !important;
    }
}

.image-modal .modal-return {
    color: #00ff88;
    font-size: 16px;
    font-weight: bold;
}

/* WINFLOW 기능 모달 - 완전히 비활성화됨 */
.feature-modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 모달이 활성화되었을 때 다른 섹션들의 z-index 강제 억제 */
body:has(.feature-modal.active) .hero-section,
body:has(.feature-modal.active) .strategy-section,
body:has(.feature-modal.active) .results-section,
body:has(.feature-modal.active) .features-section,
body:has(.feature-modal.active) .reviews-section,
body:has(.feature-modal.active) .betting-history-section,
body:has(.feature-modal.active) .cta-section,
body:has(.feature-modal.active) .footer {
    z-index: 1 !important;
    position: relative !important;
}

.feature-modal.active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 전략시스템 이미지 모달에서 모든 텍스트 숨기기 */
.feature-modal .modal-info,
.feature-modal-title,
.feature-modal-description,
#featureModalTitle,
#featureModalDescription {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.feature-modal-title {
    color: #00d9ff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 217, 255, 0.5);
}

.feature-modal-description {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* 모달 오버레이 - 뷰포트 중앙 정렬 */
.feature-modal .modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.feature-modal .modal-content {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 40px) !important;
    max-height: calc(100vh - 40px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.feature-modal .modal-image {
    display: block !important;
    max-width: min(85vw, 900px) !important;
    max-height: min(75vh, 700px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 15px;
    border: 3px solid rgba(0, 217, 255, 0.6);
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.3),
        0 0 50px rgba(0, 150, 255, 0.2);
    background: #000;
    margin: 0 !important;
    position: relative !important;
    transform: none !important;
}

/* 버튼들이 이미지를 가리지 않도록 조정 */
.feature-modal .modal-prev,
.feature-modal .modal-next {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000002 !important;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.9) 0%, rgba(0, 150, 255, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-modal .modal-prev {
    left: 40px !important;
}

.feature-modal .modal-next {
    right: 40px !important;
}

.feature-modal .modal-close {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    z-index: 1000002 !important;
    background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 68, 68, 0.4);
}

.feature-modal .modal-close:hover {
    background: linear-gradient(135deg, #ff6666 0%, #ff4444 100%);
    transform: scale(1.1);
}

.feature-modal .modal-prev:hover,
.feature-modal .modal-next:hover {
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.6);
}

/* 정책 모달 스타일 - 동적 위치 배치 */
.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: none;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    margin: 0;
    padding: 0;
    transform: none;
}

.policy-modal.active {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.policy-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.95) 0%, rgba(25, 35, 50, 0.95) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 60px rgba(0, 217, 255, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    margin: 0 auto;
    transform: none;
}

.policy-header {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 150, 255, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    padding: 25px 30px;
    text-align: center;
}

.policy-header h2 {
    color: #00d9ff;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(0, 217, 255, 0.5);
}

.policy-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.policy-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 30px;
    color: #ffffff;
    line-height: 1.8;
    font-size: 15px;
}

.policy-content h3 {
    color: #00d9ff;
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p {
    margin: 15px 0;
    color: rgba(255, 255, 255, 0.9);
}

.policy-content ul, .policy-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-content li {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.85);
}

.policy-content strong {
    color: #00ff88;
    font-weight: 600;
}

.policy-content em {
    color: #ffaa00;
    font-style: normal;
    font-weight: 500;
}

.policy-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
    z-index: 10001;
}

.policy-modal .modal-close:hover {
    background: linear-gradient(135deg, #ff6666 0%, #ff4444 100%);
    transform: scale(1.1);
}

/* 정책 모달 스크롤바 */
.policy-content::-webkit-scrollbar {
    width: 8px;
}

.policy-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.policy-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    border-radius: 4px;
}

.policy-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00b8e6 0%, #007aa3 100%);
}

/* 반응형 - 정책 모달 */
@media (max-width: 768px) {
    /* 정책 모달 모바일 동적 배치 */
    .policy-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        margin: 0;
        padding: 0;
        transform: none;
    }
    
    .policy-modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 0 auto;
        position: relative;
        transform: none;
    }
    
    .policy-header {
        padding: 20px 25px;
    }
    
    .policy-header h2 {
        font-size: 20px;
    }
    
    .policy-content {
        padding: 25px 20px;
        max-height: 75vh;
        font-size: 14px;
    }
    
    .policy-content h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .policy-modal-content {
        width: 98%;
        max-height: 98vh;
        margin: 5px;
    }
    
    .policy-header {
        padding: 15px 20px;
    }
    
    .policy-header h2 {
        font-size: 18px;
    }
    
    .policy-content {
        padding: 20px 15px;
        max-height: 80vh;
        font-size: 13px;
    }
    
    .policy-content h3 {
        font-size: 15px;
        margin: 20px 0 12px 0;
    }
    
    .policy-modal .modal-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    /* 정책 모달 작은 모바일 동적 배치 */
    .policy-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        margin: 0;
        padding: 0;
        transform: none;
    }
    
    .policy-modal-content {
        width: 95%;
        max-width: 450px;
        max-height: 85vh;
        margin: 0 auto;
        position: relative;
        transform: none;
    }
}

/* 전략 로딩 스타일 */
.strategy-loading {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 217, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d9ff;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 20px auto;
}

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

.strategy-loading p {
    font-size: 16px;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 동적 전략 카드 스타일 강화 */
.match-slider {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

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

.match-card {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.9) 0%, rgba(25, 35, 50, 0.9) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 320px;
    min-height: 280px;
    box-shadow: 
        0 15px 35px rgba(0, 217, 255, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d9ff, #0099cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.match-card:hover::before {
    transform: scaleX(1);
}

.match-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 
        0 25px 50px rgba(0, 217, 255, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.4);
}

.match-time {
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.league-badge {
    background: linear-gradient(135deg, #00d9ff, #0099cc);
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    gap: 10px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.team-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.flag {
    font-size: 24px;
    margin-bottom: 5px;
}

.vs {
    color: #00d9ff;
    font-weight: 800;
    font-size: 16px;
    text-shadow: 0 2px 10px rgba(0, 217, 255, 0.5);
    flex-shrink: 0;
}

.odds {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-align: center;
    margin: 15px 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy {
    color: #ffaa00;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 15px 0;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    border: 2px solid rgba(255, 170, 0, 0.3);
    border-radius: 15px;
    text-shadow: 0 2px 10px rgba(255, 170, 0, 0.3);
}

.probability-badge {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.strategy-reason {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    line-height: 1.4;
    font-style: italic;
}

/* 반응형 - 전략 섹션 */
@media (max-width: 1024px) {
    .match-slider {
        gap: 25px;
        margin-top: 30px;
    }
    
    .match-card {
        width: 300px;
        padding: 20px;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .match-slider {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 25px;
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .match-card {
        width: calc(100% - 40px) !important;
        max-width: 320px !important;
        min-width: auto !important;
        min-height: 200px;
        padding: 12px !important;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .strategy-section .container {
        padding: 0 20px;
    }
    
    .match-teams {
        margin: 15px 0;
    }
    
    .team-name {
        font-size: 13px;
    }
    
    .strategy {
        font-size: 15px;
        padding: 10px;
    }
    
    .strategy-loading {
        padding: 40px 15px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .match-slider {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .match-card {
        width: calc(100% - 30px) !important;
        max-width: 300px !important;
        min-width: auto !important;
        padding: 10px !important;
        min-height: 180px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .match-time {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .league-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .team-name {
        font-size: 10px;
        line-height: 1.1;
        word-break: keep-all;
        text-align: center;
    }
    
    .match-teams {
        margin: 8px 0;
        gap: 5px;
    }
    
    .vs {
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .odds {
        font-size: 12px;
        margin: 6px 0;
    }
    
    .league-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .match-time {
        font-size: 12px;
        padding: 4px 8px;
        margin-bottom: 8px;
    }
    
    .strategy-section .container {
        padding: 0 30px;
    }
    
    .strategy-recommendation {
        font-size: 13px !important;
        padding: 8px !important;
        margin: 5px 0 !important;
        word-break: keep-all;
        line-height: 1.3 !important;
    }
    
    .probability-badge {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .strategy-reason {
        font-size: 10px;
        line-height: 1.3;
        padding: 4px;
        word-break: keep-all;
    }
    
    .flag {
        font-size: 20px;
    }
    
    .vs {
        font-size: 14px;
    }
    
    .odds {
        font-size: 12px;
        padding: 6px;
    }
    
    .strategy {
        font-size: 14px;
        padding: 8px;
    }
    
    .probability-badge {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .strategy-reason {
        font-size: 11px;
        padding: 6px;
    }
}

/* 추천 전략 강조 박스 */
.strategy-recommendation {
    background: linear-gradient(45deg, #ff0066, #ff3399) !important;
    color: white !important;
    padding: 15px !important;
    border-radius: 12px !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin: 15px 0 !important;
    box-shadow: 0 8px 25px rgba(255, 0, 102, 0.5) !important;
    font-size: 16px !important;
    border: 3px solid #ffffff !important;
    display: block !important;
    width: calc(100% - 6px) !important;
    position: relative !important;
    z-index: 999 !important;
    height: auto !important;
    min-height: 50px !important;
    line-height: 1.4 !important;
}

.strategy-recommendation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4) !important;
}

/* ========== CTA 섹션 모바일 반응형 ========== */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
        min-height: auto;
    }
    
    .cta-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .cta-options {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .cta-option {
        padding: 25px 15px;
        text-align: center;
    }
    
    .cta-option h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .cta-option p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        line-height: 1.5;
        text-align: center;
    }
    
    .instant-details {
        margin: 20px 0;
        text-align: left;
    }
    
    .detail-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .detail-icon {
        font-size: 1.2rem;
        margin-right: 10px;
        min-width: 25px;
    }
    
    .detail-content strong {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .detail-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .instant-chat, .submit-consultation {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .consultation-form {
        margin-top: 15px;
    }
    
    .form-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-group input, .form-group select, .consultation-form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .cta-options {
        padding: 0 15px;
    }
    
    .cta-option {
        padding: 18px 10px !important;
        margin-bottom: 20px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 12px !important;
    }
    
    .cta-option h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
        text-align: center !important;
        color: #00d9ff !important;
    }
    
    .cta-option p {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
        line-height: 1.4 !important;
        text-align: center !important;
        color: #e0e0e0 !important;
    }
    
    .instant-details {
        margin: 20px 0 !important;
        padding: 0 8px !important;
    }
    
    .cta-section .detail-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 16px 12px !important;
        margin-bottom: 15px !important;
        background: rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(0, 217, 255, 0.4) !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: blur(10px) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .cta-section .detail-icon {
        font-size: 1.4rem !important;
        margin-right: 12px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        height: 28px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        filter: brightness(1.2) !important;
        text-align: center !important;
    }
    
    .cta-section .detail-content {
        flex: 1 !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        width: calc(100% - 40px) !important;
        display: block !important;
    }
    
    .cta-section .detail-content strong {
        display: block !important;
        color: #00d9ff !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
        text-align: left !important;
    }
    
    .cta-section .detail-content p {
        color: #ffffff !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        word-wrap: break-word !important;
        opacity: 0.9 !important;
        text-align: left !important;
        display: block !important;
    }
    
    .instant-chat, .submit-consultation {
        padding: 14px 25px !important;
        font-size: 1rem !important;
        margin: 20px auto !important;
        display: block !important;
        width: calc(100% - 20px) !important;
        max-width: 280px !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
    }
    
    .form-group input, .form-group select, .consultation-form textarea {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* ========== 폼 응답 모달 스타일 ========== */
.form-response-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.form-response-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
    animation: modalSlideIn 0.4s ease-out;
}

.form-response-body {
    padding: 40px 30px;
    text-align: center;
}

.response-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.response-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
}

.response-message {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.response-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.response-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.response-btn.success {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: white;
}

.response-btn.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.response-btn.error {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
}

.response-btn.error:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

/* 로딩 애니메이션 */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .form-response-content {
        width: 95%;
        margin: 20px;
    }
    
    .form-response-body {
        padding: 30px 20px;
    }
    
    .response-icon {
        font-size: 3rem;
    }
    
    .response-title {
        font-size: 1.5rem;
    }
    
    .response-message {
        font-size: 0.9rem;
    }
    
    .response-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .form-response-body {
        padding: 25px 15px;
    }
    
    .response-icon {
        font-size: 2.5rem;
    }
    
    .response-title {
        font-size: 1.3rem;
    }
    
    .response-message {
        font-size: 0.85rem;
    }
    
    /* 작은 화면에서는 슬라이드 1개씩 */
    .betting-slide {
        flex: 0 0 calc(100% - 20px) !important;
        min-width: 260px;
    }
    
    .betting-slider-container {
        padding: 0 40px;
    }
    
    /* ========== 즉시상담 박스 모바일 반응형 ========== */
    .instant-consultation-box {
        max-width: calc(100vw - 40px) !important;
        margin: 30px auto 0 !important;
        padding: 25px 20px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .instant-consultation-box * {
        text-align: center !important;
    }
    
    .instant-consultation-box h3 {
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
    
    .instant-consultation-box p {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
    
    .instant-consultation-box .instant-details {
        width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .instant-consultation-box .detail-item {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto 15px !important;
        padding: 12px !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .instant-consultation-box .detail-icon {
        text-align: center !important;
        margin: 0 auto 8px !important;
        display: block !important;
        width: auto !important;
    }
    
    .instant-consultation-box .detail-content {
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .instant-consultation-box .detail-content strong,
    .instant-consultation-box .detail-content p {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    .instant-consultation-box .instant-chat {
        padding: 14px 25px !important;
        font-size: 1rem !important;
        width: calc(100% - 10px) !important;
        max-width: none !important;
        margin: 20px auto !important;
        display: block !important;
        text-align: center !important;
    }
}

/* 즉시 상담 중앙정렬 강화 */
.instant-consultation-box *,
.instant-consultation-box .detail-item *,
.instant-consultation-box .detail-content *,
.instant-consultation-box .instant-details * {
    text-align: center !important;
}

.instant-consultation-box .instant-chat {
    display: block;
    margin: 30px auto 0;
    padding: 15px 40px;
    background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.instant-consultation-box .instant-chat:hover {
    transform: translate3d(0, -2px, 0) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.6);
    background: linear-gradient(135deg, #00e6ff 0%, #00b3d9 100%);
}

/* WINFLOW 기능 모달 모바일 뷰포트 중앙 정렬 */
@media (max-width: 768px) {
    .feature-modal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.95) !important;
    }
    
    .feature-modal.active {
        display: flex !important;
        opacity: 1 !important;
    }
    
    .feature-modal .modal-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    
    .feature-modal .modal-content {
        position: relative !important;
        width: auto !important;
        height: auto !important;
        max-width: calc(100vw - 30px) !important;
        max-height: calc(100vh - 100px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }
    
    .feature-modal .modal-image {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: calc(100vw - 40px) !important;
        max-height: calc(100vh - 120px) !important;
        object-fit: contain !important;
        margin: 0 !important;
        position: relative !important;
        transform: none !important;
        border-radius: 12px;
        border: 2px solid rgba(0, 217, 255, 0.6);
        background: #000;
        box-shadow: 
            0 20px 60px rgba(0, 217, 255, 0.3),
            0 0 50px rgba(0, 150, 255, 0.2);
    }
    
    .feature-modal .modal-prev {
        position: fixed !important;
        left: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        z-index: 1000001 !important;
    }
    
    .feature-modal .modal-next {
        position: fixed !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        z-index: 1000001 !important;
    }
    
    .feature-modal .modal-close {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
        z-index: 1000001 !important;
    }
}

/* 태블릿 반응형 - 2개씩 표시 */
@media (max-width: 1024px) and (min-width: 769px) {
    .betting-slide {
        flex: 0 0 calc(50% - 10px) !important;
        min-width: 300px;
    }
    
    .betting-slider-container {
        max-width: 900px;
        padding: 0 80px;
    }
}
 