<style>
/* 데스크톱/태블릿용 테이블 */
.desktop-table {
    display: block;
}

/* 모바일용 그리드 시스템 */
.mobile-grid {
    display: none;
}

/* 스마트폰에서는 테이블 숨기고 그리드 표시 */
@media (max-width: 768px) {
    .desktop-table {
        display: none;
    }
    
    .mobile-grid {
        display: block;
        padding: 0 15px;
    }
    
    .grid-item {
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        border: none;
        border-radius: 15px;
        padding: 25px 20px;
        margin-bottom: 20px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
        text-align: center;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
        display: block;
    }
    
    .grid-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #007bff, #6610f2, #007bff);
        background-size: 200% 100%;
        animation: gradientMove 3s ease infinite;
    }
    
    @keyframes gradientMove {
        0% { background-position: 200% 0; }
        50% { background-position: 0% 0; }
        100% { background-position: -200% 0; }
    }
    
    .grid-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
        color: inherit;
        text-decoration: none;
    }
    
    .grid-item:active, .grid-item:focus {
        color: inherit;
        text-decoration: none;
    }
    
    .grid-item .grid-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(45deg, #007bff, #6610f2);
        border-radius: 50%;
        margin: 0 auto 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    }
    
    .grid-item .sub_title {
        font-size: 3.2rem;
        font-weight: bold;
        margin-bottom: 12px;
        color: #007bff;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
    }
    
    .grid-item .sub_title::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, #007bff, #6610f2);
        border-radius: 1px;
    }
    
    .grid-item .content_small {
        font-size: 2.2rem;
        line-height: 1.5;
        color: #555;
        margin-bottom: 15px;
        opacity: 0.9;
    }
    
    .grid-item .grid-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(0,123,255,0.1);
        color: #007bff;
        border-radius: 20px;
        padding: 5px 10px;
        font-size: 0.7rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .grid-item .arrow-icon {
        position: absolute;
        bottom: 15px;
        right: 20px;
        color: #007bff;
        opacity: 0.7;
        transition: all 0.3s ease;
    }
    
    .grid-item:hover .arrow-icon {
        transform: translateX(5px);
        opacity: 1;
    }
    
    /* 특별한 색상 테마 */
    .grid-item.theme-company .grid-icon {
        background: linear-gradient(45deg, #28a745, #20c997);
        box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    }
    
    .grid-item.theme-company .sub_title::after {
        background: linear-gradient(90deg, #28a745, #20c997);
    }
    
    .grid-item.theme-tech .grid-icon {
        background: linear-gradient(45deg, #6f42c1, #e83e8c);
        box-shadow: 0 4px 15px rgba(111,66,193,0.3);
    }
    
    .grid-item.theme-tech .sub_title::after {
        background: linear-gradient(90deg, #6f42c1, #e83e8c);
    }
    
    .grid-item.theme-unit .grid-icon {
        background: linear-gradient(45deg, #fd7e14, #ffc107);
        box-shadow: 0 4px 15px rgba(253,126,20,0.3);
    }
    
    .grid-item.theme-unit .sub_title::after {
        background: linear-gradient(90deg, #fd7e14, #ffc107);
    }
    
    .grid-item.theme-performance .grid-icon {
        background: linear-gradient(45deg, #dc3545, #fd7e14);
        box-shadow: 0 4px 15px rgba(220,53,69,0.3);
    }
    
    .grid-item.theme-performance .sub_title::after {
        background: linear-gradient(90deg, #dc3545, #fd7e14);
    }
    
    .grid-item.theme-location .grid-icon {
        background: linear-gradient(45deg, #17a2b8, #6f42c1);
        box-shadow: 0 4px 15px rgba(23,162,184,0.3);
    }
    
    .grid-item.theme-location .sub_title::after {
        background: linear-gradient(90deg, #17a2b8, #6f42c1);
    }
}
</style>