/**
 * Casino Vendor Grid - 완전히 새로운 스타일
 * 기존 스타일과 완전히 분리된 독립 CSS
 */

/* 섹션 컨테이너 */
.casino-vendor-section {
    padding: 20px;
    background: transparent;
}

/* 그리드 래퍼 */
.vendor-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
}

/* 벤더 카드 아이템 */
.vendor-card-item {
    position: relative;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.vendor-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

/* 카드 내부 */
.vendor-card-inner {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: transparent;
}

/* 썸네일 영역 */
.vendor-thumbnail {
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    background: transparent;
}

.vendor-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

/* 로고 없을 때 플레이스홀더 */
.vendor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a3d45 0%, #2f3238 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

/* 호버 오버레이 */
.vendor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.vendor-card-item:hover .vendor-overlay {
    opacity: 1;
}

/* 플레이 아이콘 */
.play-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1a1c21;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.vendor-card-item:hover .play-icon-circle {
    background: #ffffff;
    transform: scale(1.1);
}

/* 벤더 타이틀 */
.vendor-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .vendor-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .vendor-card-item {
        border-radius: 10px;
    }

    .play-icon-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .vendor-title {
        font-size: 14px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .casino-vendor-section {
        padding: 15px;
    }

    .vendor-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vendor-card-item {
        border-radius: 8px;
    }

    .play-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .vendor-title {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .vendor-placeholder {
        font-size: 16px;
        padding: 15px;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vendor-card-item {
    animation: fadeIn 0.4s ease-out backwards;
}

.vendor-card-item:nth-child(1) { animation-delay: 0.05s; }
.vendor-card-item:nth-child(2) { animation-delay: 0.1s; }
.vendor-card-item:nth-child(3) { animation-delay: 0.15s; }
.vendor-card-item:nth-child(4) { animation-delay: 0.2s; }
.vendor-card-item:nth-child(5) { animation-delay: 0.25s; }
.vendor-card-item:nth-child(6) { animation-delay: 0.3s; }
.vendor-card-item:nth-child(7) { animation-delay: 0.35s; }
.vendor-card-item:nth-child(8) { animation-delay: 0.4s; }
.vendor-card-item:nth-child(9) { animation-delay: 0.45s; }
.vendor-card-item:nth-child(10) { animation-delay: 0.5s; }
.vendor-card-item:nth-child(11) { animation-delay: 0.55s; }
.vendor-card-item:nth-child(12) { animation-delay: 0.6s; }
